Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all 1657 articles
Browse latest View live

Error Handling through SAP Gateway

$
0
0

Hi,

 

We have few Update and Create Services being called, once these services are called and the record is updated or created, is there a way to get the success of error messages posted to the front end?

 

Thank you in Advance.


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

Need advise on SAP Netweaver gateway/Odata/Eclipse

$
0
0

Hi All,

 

I am bit confused with all these terminology. Could you please advise me how do I make app for mobile using SAP netweaver gateway/Odata/Eclipse ..?I think that Eclipse is the way forward .....

 

I have SAP netweaver gateway system 2.0 installed and have Eclipse Kepler. Recently I have seen GWPA ..how and where can I get that ? and I am not able to install SAP Netweaver Gateway Plugin for Eclipse..can you please advise..

 

Kind Regards

Rama

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

Stuck in PoC - Mobile development using Syclo

$
0
0

Hello experts,

 

There is an PoC requirement, customer wanted to create Purchase Order from Android App. How to do in R/3. I am also new to this and I have strong experience in SAP ABAP.

 

Anyone can explain the steps, I am the first person to create PoC for my client.

 

Regards,

Vadamalai A

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!

Identifying Screen Fields from a Standard Service

$
0
0

Hi Experts,

 

I'm implementing SAP Fiori standard aplications of purchase management, including Approve Requisition, Approve Purchase Order and Approve Purchase Contracts. In this phase, it was requested a need to raise all screen fields which this services will show to discuss with the client if we have the need to extend some of those apps and add some fields which could be important to them. So, i'm trying to visualize the selected services by using /IWFND/GW_CLIENT but there are to many Entity Types which i have sure they doesn't correspond to any fields on the screen of approve's application. Somebody have some tips to what can i do to have sure that i raised all fields of these applications normally will show?

 

Thanks & best regards.

Bruno.

Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten


hi team

$
0
0

Hi Team,

 

In sap Segw Gateway Builder,for the tcode migo_tr ,how to do n number of material posting .How to do it in create deep entity

 

Is there any Articles related to Create_deep_entity especially how to handle this with bapi :bapi_goodsmvt_create .in create mapping.

 

it will be grateful if scenario been explained fully.

 

Kindly guide  me regarding this issue.

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

 

\

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

How to create a webservice using netweaver gateway that takes 2 input parameters and gives table as output?

$
0
0

Hello..all,

 

I want to create a web service that takes plant and material number as input and  gives a table as output. For this i have created an RFC that takes 2 input parameters.I don't know how to proceed further, Could anyone please help me ??

Netweaver Gateway : Multiple Output Tables : Odata

$
0
0

Hi,

 

I have created a RFC in ECC system. The RFC reads certain values and returns data in three output tables. The corresponding data model has been created in netweaver gateway.

 

When the portal application is trying to consume this service, it has to specify a particular table in the odata. Thus, to get the data of the three tables, the portal application is hitting the SAP database 3 times.

 

Could anyone please advise, how can we get the data for all the 3 tables in one go.

 

Regards,

Jiten

/IWFND/MED180 - Database lock for Service ... could not be set

$
0
0

Hello,

 

 

We are on HANA Revision 74.03 and Kernel 7.41 PL36. I created odata service and redefined GET_ENTITY method used by SAP UI 5 application.

The application is calling my odata service asynchronously multiple time (20-30) every minute to refresh page content. It is working fine,
but the NW Gateway Error log is growing. The error I am getting: /IWFND/MED180 - "Database lock for Service 'MY_SERVICE' could not be set." I am
getting 2-3 error log entries per refresh. It is not consistent. I am not able to reproduce the issue when testing the failed service call. Please, help.

 

 

Best Regards,

Zachary

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!


Identifying Screen Fields from a Standard Service

$
0
0

Hi Experts,

 

I'm implementing SAP Fiori standard aplications of purchase management, including Approve Requisition, Approve Purchase Order and Approve Purchase Contracts. In this phase, it was requested a need to raise all screen fields which this services will show to discuss with the client if we have the need to extend some of those apps and add some fields which could be important to them. So, i'm trying to visualize the selected services by using /IWFND/GW_CLIENT but there are to many Entity Types which i have sure they doesn't correspond to any fields on the screen of approve's application. Somebody have some tips to what can i do to have sure that i raised all fields of these applications normally will show?

 

Thanks & best regards.

Bruno.

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?




hi team

$
0
0

Hi Team,

 

In sap Segw Gateway Builder,for the tcode migo_tr ,how to do n number of material posting .How to do it in create deep entity

 

Is there any Articles related to Create_deep_entity especially how to handle this with bapi :bapi_goodsmvt_create .in create mapping.

 

it will be grateful if scenario been explained fully.

 

Kindly guide  me regarding this issue.

Missing attribute in errorresponse of the leading message

$
0
0

Hi,

 

since the upgrade to SP9 we have problems with the error-response messages. In the inner error, everything works as expected. Code, Message, ... are filled with "our" values from the backend.

 

But the top error-code is fix set with "SY/530" and not with our error-code which we have set in the backend. (leading message). The message attribute is  filled with our message correctly.

 

Before the upgrade to SP9 the top error-code was set with our custom message code.

 

I know the missing parts in the development of the sap gateway, but my question is - Does andybody have the same problems? Because SAP gave me just evasive answers.

 

We have a GW Hub System NW Abap 7.40 SP8 and the Backend is a CRM 7.40 SP7. Both Systems have now GW SP09.

 

 

Regards, Fößleitner Johann

program to be executed in functional module

$
0
0

DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,

IT_BDCMSGCOLL LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.

 

REFRESH IT_BDCDATA.

PERFORM BDC_DYNPRO USING 'SAPMM07I' '0700'.

PERFORM BDC_FIELD USING 'IKPF-WERKS'

'1000'.

PERFORM BDC_FIELD USING 'IKPF-LGORT'

'0001'.

 

PERFORM BDC_DYNPRO USING 'SAPMM07I' '0731'.

PERFORM BDC_FIELD USING 'ISEG-MATNR'

'000004005556109166'.

PERFORM BDC_FIELD USING 'ISEG-ERFMG'

'12'.

CALL TRANSACTION 'MI09' USING IT_BDCDATA

MODE 'E'

UPDATE 'S'

MESSAGES INTO IT_BDCMSGCOLL.

 

FORM BDC_DYNPRO USING PROG SCR.

CLEAR IT_BDCDATA.

IT_BDCDATA-PROGRAM = PROG.

IT_BDCDATA-DYNPRO = SCR.

IT_BDCDATA-DYNBEGIN = 'X'.

APPEND IT_BDCDATA.

ENDFORM. "BDC_DYNPRO

 

 

FORM BDC_FIELD USING FNAM FVAL.

CLEAR IT_BDCDATA.

IT_BDCDATA-FNAM = FNAM.

IT_BDCDATA-FVAL = FVAL.

APPEND IT_BDCDATA.

ENDFORM. "BDC_FIELD



this is the coding which gets executed in se38 and got updated.


how to pass correct import,export parameter so that i can successfully execute in functional module in se37


i need this coding to be executed in se37


kindly please anyone guide me for this issue.


kindly do the needful please.

Viewing all 1657 articles
Browse latest View live


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