Quantcast
Channel: SCN : All Content - SAP NetWeaver Gateway Developer Center
Viewing all 750 articles
Browse latest View live

How can I get the SAP logon certificate file in ES1 system


Missing ODATA services in Netweaver Gateway

$
0
0

Hi,

 

I am trying to configure the UI5 based landing page for Employee Self-Sevice as mentioned in link :http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/63/6be17d43d04048940982115b7ec1f4/content.htm

 

As a pre requisite , I am trying to activate the below mentioned services by traversing to SAP NetWeaver Gateway ->OData Channel-> Administration-> General Settings-> Activate and Maintain Services but I am unable to find below mentioned service. Any idea how to get these services?

 

 

/UI2/PAGE_BUILDER_CONF

/UI2/PAGE_BUILDER_CUST

/UI2/PAGE_BUILDER_PERS

 

 

Regards ,

Navya.

External Service registration on SAP Net weaver Gateway

$
0
0

Hello

 

I have deployed net weaver gateway "Hub architecture with development on the server" and my issue is the RFC is getting executed on Hub server only it does not go to Back end to get this resolve I tried to create Alias for Back end system and registration of service with that Back end system Alias but not happening getting below Error.

 

Could not connect to the selected system. Check log for details.

Message no. /IWBEP/CM_SBLMTOOLS015

Diagnosis

The following errors might have occurred while connecting to the selected Gateway hub system:

 

  • Communication failure, System failure

 

System Response

Could not connect to the selected system..

Procedure

 

Check the error log in the current system using the transaction /IWBEP/ERROR_LOG.

Contact your system administrator.

 

So what's the right approach to get this resolved?

Order Status , KeyValue Pairs , Dropdowns

$
0
0

Dear Friends,

 

This is regarding the situations we encounter on any runtime data in SAP.

 

We have a scenario where by the Consumer ( Client application ) has to set the status of the Order at the Client Side.

 

Now, the list of available statues ( say, E0001 Open ) would be a "key-value" pair which the client has to select from.

 

(1) How do we manage "key-value" pairs? ( Create Entity named OrderStatus and request the Client to invoke a Query on OrderStatus?)

 

(2) How do we manage the "key-value" pairs across multiple entities in the application? ( Status , AddressTypes, ProductTypes, etc etc ) ?

 

Is there a recommended best practice available for such a case in NetWeaver Gateway?.

 

 

Note:

RESTful clients can be chatty ..however, if there are multiple dropdowns in the Client app ...all inter-dependent .. the modeling might need be clever+careful enough to avoid too many client <-> gateway/backend calls?

 

Many thanks, Suresh

odata services

$
0
0

Can u please help me, How to call Odata services url using java

Reg Gateway URL

$
0
0

Hi Experts,

 

I would like to understand the following things.

 

1. Is there any restriction for length of a parameter which we are passing in query or read operation

2. How many parameters at max we can pass in one query or read operation

3. Is there any restriction for length of the URL (it can a GET ,PUT or PATCH operation)

 

Thank you

 

Regards

Kiran Adhikarla

want to get one category name only one time

$
0
0

Hi Experts,

     I've created an Entity using Standard BAPI ' BAPI_EPM_PRODUCT_GET_LIST ' and selected only property category now using OData services i want it to display it in master page of sapui5 application but one category only one time But it give more then one and showing one category name so many time.

So plz help me to resolve this problem.

Thanks.

Rajesh Roy

 

\

SEGW tool : Project : Mapping : Failed to connect using specified RFC destination in Quality System

$
0
0

Hello Team,

 

     Can you please help me out with the below  error .

 

  Scenario : i have created  project in SEGW tool in SAP Net weaver Gateway  in Development system with  rfc destination  (DEV_100) and moved to quality system , but the rfc destination DEV_100 is not there  in Quality system . and getting error  as

 

'Failed to connect using RFC destination DEV_100'.  How can i resolve this issues ...

Failed to connect using the specified RFC destination .

 

do i  manually  create the mapping  again  with giving the new rfc in Quality system ? Please suggest .

 

 

 

Thanks in advance.


File Upload/Download into SAP System(not to Database) using OData service

$
0
0

Hi All,

how can i store files ( pdf,media etc.) directly into sap system (application Server,Content servers...) using OData service ?
I don't want files to be stored in database as it wont help my application requirement.


Thanks
Sanoop PS

Consume a restful service from ECC via NWGW

$
0
0

We have a scenario where we need to send payment information to a website which accepts only JSON.

 

Idea is to send data from ECC via outbound proxy to NWGW. I would like to use PI to just create the structures and generate the proxy structures.

 

1. create a RFC destination of type H to connect from ECC to NWGW

2. Use this in SXMSIF and SXMB_ADMIN url, so that the outbound proxy would be pointed to NWGW.

 

Not sure if this approach would work.

 

NWGW would send the data to the URL in JSON format.

 

Please share your thoughts.

 

Thanks,

-Naveen.

not possible to generate Data Model

$
0
0

Hi,

 

I ave an issue while generating Data Model. Basically I'm getting couple of red messages in the log:

 

GW_data_model_generation_issue.png

 

this is what I see as long text of these errors:

 

Additional information

    SAP System object ID:

    Message details:

    No development license for user BCUSER

 

My user BCUSER is registered as developer (table BCUSER). So is there any other license that is needed for SAP Gateway development?

 

PS: my system is: SAP EHP 2 for SAP NetWeaver 7.0 PL11, GW PL04

 

thanks,

m./

Deep Entity structure to and from gateway xml

$
0
0

I am able to go from the deep entity structure to the gateway xml by the following:

 

        lo_med_provider = /iwfnd/cl_med_factory=>get_med_provider( ).

         so_service = lo_med_provider->get_service_group(

           iv_external_name = 'ZXREF_CRUD_SRV'

           iv_namespace     = '' ).


            lo_sodata_mapper = /iwfnd/cl_sodata_mapper=>get_mapper(

                                  io_service           = so_service

                                  iv_service_name      = 'ZXREF_CRUD_SRV'

                                  iv_service_version   = '0001'

                                  iv_service_namespace = '/SAP/'

                                  iv_base_url          = 'http://host:port/sap/opu/odata/sap/ZXREF_CRUD_SRV/'

                                  iv_is_deep_insert    = abap_true ).

 

             lo_entity_set = lo_sodata_mapper->get_edm_entity_set(

                                  iv_entity_set = 'HeaderSet' ).

 

             lt_expand = lo_sodata_mapper->get_expand_clause(

                                  io_entity_set        = lo_entity_set

                                  iv_expand_value      = 'HeadItem' ).

 

             GET REFERENCE OF wa_msg_body INTO lr_data.

             lo_entity_provider = lo_sodata_mapper->get_entity_prov_by_entry_data(

               io_entity_set     = lo_entity_set

               ir_data           = lr_data

               iv_format         = 'xml'

               it_expand         = lt_expand

               it_inline_info    = it_inline_info ).

 

             lo_entity = /iwcor/cl_rest_message_builder=>create_message_entity( /iwcor/if_rest_message=>gc_message_kind_none ).

             lo_entity_provider->write_to( lo_entity ).

 

             lv_xstring = lo_entity->get_binary_data( ).

             lv_string = lo_entity->get_string_data( ).


But I cannot work out how to go the other way, that is from xml into the deep entity structure.

This is what I have:


            lo_logger = /iwbep/cl_cos_logger=>init_logger( iv_userid = sy-uname ).

 

             lo_runtime = /iwbep/cl_mgw_runt_remote_util=>get_mgw_rt_model_impl(

                            iv_service_document_name = ls_request_context-service_doc_name

                            iv_service_namespace     = ls_request_context-namespace

                            iv_entity_name           = ls_request_context-target_entity

                            iv_service_version       = ls_request_context-version ).

 

             CREATE OBJECT lo_mgw_context TYPE /iwbep/cl_mgw_context

               EXPORTING

                 it_context           = ls_request_context-context_params

                 is_system_alias_info = ls_request_context-system_alias_info.

 

             CALL BADI lo_runtime->/iwbep/if_mgw_core_srv_runtime~init

               EXPORTING

                 iv_service_document_name = ls_request_context-service_doc_name

                 iv_namespace             = ls_request_context-namespace

                 iv_version               = ls_request_context-version

                 io_context               = lo_mgw_context.

 

             CALL BADI lo_runtime->/iwbep/if_mgw_core_srv_runtime~changeset_begin

               EXPORTING

                 it_operation_info = mt_changeset_operation_info.

 

             CREATE OBJECT lo_entry_provider_back TYPE /iwbep/cl_mgw_entry_raw_prv

               EXPORTING

                 iv_raw_data = lv_xstring.

 

             CALL BADI lo_runtime->/iwbep/if_mgw_core_srv_runtime~create_entity

               EXPORTING

                 iv_entity_name     = ls_request_context-target_entity

                 iv_source_name     = ls_request_context-source_entity

                 io_data_provider   = lo_entry_provider_back

                 is_request_details = ls_request_context

               CHANGING

                 ct_headers         = et_header

                 cr_entity          = lr_data

                 ct_inline_info     = lt_inline_info.

 

which takes me all the way to the redefined method on the gateway service but fails at:

io_data_provider->read_entry_data( IMPORTING es_data = wa_msg_body ).


specifically

      call transformation id

        source xml mv_raw_data

        result entity = es_data.


it looks like the mv_raw_data is changed somewhere along the trail..... The same data works from the GW_CLIENT.


Any thoughts?




when Configuring the SAP NetWeaver Gateway Host to Accept Assertion Tickets from SAP Business Suite Systems ,transaction SSO2 to run the SSO2 administration,I can't find the Activate Button (Enter Certificate in ACL and, if Necessary, Certificate List)

$
0
0

when Configuring the SAP NetWeaver Gateway Host to Accept Assertion Tickets from SAP Business Suite Systems

transaction SSO2 to run the SSO2 administration

I can't find the Activate Button (Enter Certificate in ACL and, if Necessary, Certificate List)

My configuration is as follows connection:

Configuring the SAP NetWeaver Gateway Host to Accept Assertion Tickets from SAP Business Suite Systems - SAP NetWeaver G…

 

But the actual situation as follows

QQ截图20141024183622.jpg

and transaction STRUSTSSO2 the results are as follows

1.jpg

 

who can help me,anyway thank you for read.

How to send emails from sap river?

$
0
0

How to send email in sap hana river ?

How to remove { "results":... } tag in Entity Sets of OData GET JSON ?

$
0
0

Hi Experts,

 

I have build OData service in Gateway 7.4 SP5.

The service is basically to call Backend RFC calls and has associations to build Master-Detail pagination model

 

I was trying to consume the service in json format in SAPUI5.

The service when appended with ...&$format=json, the response body is as follows.

 

==========================================

 

{

  "d": {

  "results": [{

  "__metadata": {

  "id": "

  .

  .

  .

  },

  "Year": "2014",

  "Company": "SAP",

  "EntitySet1": {

  "results": [{

  "__metadata": {

  "id": "

  .

  .

  .

  },

  "Country": "USA",

  "Recordid": "1100",

 

 

  }]

  },

  "EntitySet2": {

  "results": [{

  "__metadata": {

  "id": "

  .

  .

  .

  },

  "Rowid": "0001",

  "Currency": "USD",

  "EntitySet3": {

  "__deferred": {

  .

  .

  .

==========================================================

 

I would like to remove the {"results" : tags from every EntitySets and would like to get the data as follows.

-------------------------------------------------------------

{

  "d": {

  "results": [{

  "__metadata": {

  "id": "

  .

  .

  .

  },

  "Year": "2014",

  "Company": "SAP",

  "EntitySet1": {

     "Country": "USA",

  "Recordid": "1100",

  }

  "EntitySet2": {

     "Rowid": "0001",

  "Currency": "USD",

  "EntitySet3": {

  .

  .

 

---------------------------------------------------------------------------------------

 

 

I have already gone through the following links but not able to find a solution to get a cleaner Json format of the OData service.

Posting data in Json format in OData services

Deep entity in JSON

 

Since we are in the latest version and SP, dont know if there any latest SAP notes as well.

Is there any config or DPC method implementation to omit "results" tags.

Please help me.

 

Thanks!

Praveen


Fetch data from mysql database into SAPUI5 application

Capture Application Log in Gateway Consumption Layer

$
0
0

Hi Gurus,

 

Can you please explain, how the Application Log(/IWFND/APPS_LOG) can be captured in the Service Consumption Layer (Gateway system) in a Hub deployment model.


In my scenario, multiple OData service from different systems are consumed via a single Gateway system. The business wants the application logs to be captured in a single system(Gateway System) instead of the multiple system which makes their monitoring job easy.


We can raise exception of type business exception and technical exception using /IWBEP/CX_MGW_TECH_EXCEPTION and /IWBEP/CX_MGW_BUSI_EXCEPTION to handle the error logging. But in my case, apart from that if we have to raise any messages or logs of type I / W / A / S, how can we raise the application logs for them? and how the same can be captured in the Service Consumption Layer (Gateway system).


Please advise..

Appreciate your valuable advise towards this.


Thanks & Regards,

Meeran

Visual Studio plug-in for SAP Netweaver Gateway

$
0
0

Hello,

 

I've successfully downloaded and installed the SAP Netweaver Gateway trial edition running now on SUSE 11 .

 

Now, I like to use Visual Studio in order to consume web services already defined on SAP Gateway. The Galileo-press book "SAP Schnittstellenprogrammierung" (Michael Wegelin, Michael Englbrecht) is recommending the Visual Studio plug-in tool "Netweaver Gateway Developer Tool for Visual Studio". Unfortunately, the given URL in this book is not working anymore due to move downloadable files from SDN to SAP Store.

 

Does anyone know where I can download this tool? According to the authors of the SAP press book, it should be free and available according to SDN licences.

 

Yours

Stephan

Huge bug on signup page! Urgent

$
0
0

Hello,

 

I was following this doc:Getting started with the SAP Netweaver Gateway Service Consumption System

 

 

Where I got to From:

 

SAP Netweaver Gateway Demo System

 

Where I got to From:

 

Getting Started with Kapsel - Part 1

 

 

So, I attempt to follow the links and get to:

 

https://supsignformssapicl.hana.ondemand.com/SUPSignForms/

 

 

Then, when I submit the sign-up form, I get the following bug:
https://supsignformssapicl.hana.ondemand.com/SUPSignForms/error.jsp

 

 

The system is not accessible please have a look at the Operations Document for the system status or check back later.
Thank you for your understanding

 

 

So - What do I do? I get no email and I have no way to get credentials to access the demo-data to set up the management cockpit for my Kapsel apps... please help!

Need to get number of records processed through Net weaver Gateway Service

$
0
0

Hi gurus,

 

We have a requirement where in user wants to check the number of records( both inbound and outbound) processed through net weaver gateway service in a periodic basis.

 

Is there any report or table available in SAP where I can input a service name and get the number of records processed through that service and the details of the transactions.

 

I have tried t code  '/IWBEP/VIEW_LOG' but could not get any spool. Could be of great help if any document is available for this requirement.

 

 

Many thanks in advance..

 

Best Regards,

Avinash

Viewing all 750 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>