Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Web Methods and SAP RFC : payload (inputs and output @ RFC).

Former Member
0 Kudos

Hi All,

    

In one of our project we have chosen webMethods (now Software AG) as the tool /product to interact to SAP .

    

WebMethods connects to SAP using RFC (Remote function module / BAPI’s).

Example : BAPI_SALESORDER_GETLIST used to get the list of sales orders created in SAP.

    

We have couple of issues in our project to trace the issues, to have better understanding and debugging, we have requested output payload of
WebMenthods and they are able to give it (in XML /html format).

    

Now we would like to trace the input and output payload file @ SAP RFC side.

 

Do we have any T-code / program to get the details what SAP RFC received and what is returned back ?

    

Like in case of Web Services (generated out of RFC) we can get the input and output pay load in SOAMANAGER & SRT_UTIL, I am looking
for some option like this.

While checking the SCN / Google for blogs got to know about the FBGENDAT = X and Run report FBGENDAT method to get the generation of test data records for certain function modules(SAP OSS note : 517767 Generate test data for function modules). But this requires addition of code in the FM’s and few more settings not possible for all FM’s like we are planning to use Standard BAPI’s,  and this is not a generic solution I am looking for a generic solution .

One more point in Web Services we have option of Web Dispatcher to have load balance , would like to how is load balance handled in RFC’s if they are directly called from 3rds party software’s like WebMetohds.

    

Do we have any T-code / program to get the details what SAP RFC received and what is returned back, like input / output payload when called from 3rd party software's?

    

Regards,

Sham

1 REPLY 1

former_member201275
Active Contributor
0 Kudos

I don't think there is anyway to do this exactly. If you have configured everything correctly you will get the relevant error messages, or data structures, returned to you anyway. The other option is to go to SE37 and run the relevant BAPI manually, plugging in the values that (were/would be) sent and then checking the returned values directly.