cancel
Showing results for 
Search instead for 
Did you mean: 

aRFC - Write data to SAP

Former Member
0 Kudos

Hi,

I using aRFC to write to SAP R/3. When i execute the writing request i do not get any feedback in return. Neither can i see that SAP-database is updated.

Therefore I would like track some error messages indication what went wrong.

How can I obtain more information about what went wrong etc.

(Netweaver 04)

Regards

Jerry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1) If there was any error while executing the RFC you will get the exception that you would have handled in the WebDynpro. If you are not getting any errors it should mean that the execution was fine. This opens up an option that the input was not mandatory and that the way you set your input are not correct.

2) Check the way you are setting the inputs for the RFC.

3) If the RFC is a custom RFC then you could confirm whether that the sy-subrc is 0 after the database insert.

Please revert back for further clarifications.

Regards,

Noufal

Former Member
0 Kudos

hi Kareem,

Thx for your answer. I will take a look at it and get back

Just another question: what is sy-subrc and where do I find it.

Answers (1)

Answers (1)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Jerry,

please have a look at the tutorial "Handling Transactions with BAPIs in Web Dynpro:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on handling transactions with bapis in web dynpro - 5.htm

Regards, Bertram