Application Development and Automation 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: 
Read only

Save incoming sdata-structure in database?

Former Member
0 Likes
415

Hi there,

I am writing an function module that should be triggered via RFC by a non-SAP-system.

In the pramaters of this FM is a TABLES parameter for type EDIDD, that means the non-sap-system sends me the needed data in IDOC-format.

Now I want to implement a saving function that allows me to save the data that is passed to the FM via RFC. So I created some database tables which also contains the structure of EDIDD (plus client and an additional key-field).

The sy-subrc after inserting is zero, so all seems to be okay... But in SE16/N and also in SE17 there is no data in field SDATA visible?! How can I check if the data is really correctly in the database?

Thank you!

Kind regards

Max

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
383

Not about to start a discussing about the actual solution, but just want to look at the error.

So, you did check the return code of INSERT, via debugging or so? Anyway, if INSERT returns no error, the only thing I can come up with is this:

1. Field SDATA is not filled, or not filled correctly.

2. The COMMIT WORK is missing.

Might be worth of posting an extract of your code.