cancel
Showing results for 
Search instead for 
Did you mean: 

Sometimes data get saved to backend sometimes it doesnt get saved

Former Member
0 Kudos

Hi All,

kindly help me its urgent

I have table, i get the data from one RFC to be displayed in table, then i have 2 coloumns in which the user inputs some values. and finally i have to save it to backend, but the data is not getting save .

sometimes it get saved, sometimes it doesnt get saved

Accepted Solutions (1)

Accepted Solutions (1)

former_member751941
Active Contributor
0 Kudos

Hi Bhavya,

Have you called “Bapi_Transaction_Commit” to commit the changes ??

If not call "Bapi_Transaction_Commit”" for commit.

wdContext.currentBapi_Transaction_Commit_InputElement().modelObject().execute();

wdContext.nodeTransactionCommitOutput().invalidate();

Regards,

Mithu

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

also display the table that you are passing to BAPI

AM

Message was edited by:

Anoop Mathew

Former Member
0 Kudos

Hello Bhavya,

what do you mean some times it gets saved and some times not ??

1> Try to display the return message returned by the RFC after execution whether it is success or error.

2> Pass the same no of values as crated in test variant for the RFC and in the same way ?

PB

Former Member
0 Kudos

Hi,

Plz check the data in backend.

Open ur FunctionModule and exucute it.

Then u came to know that weather ur data ia getting saved or not?

Let me knw if u hav any issues.....

Regards,

Lavanya.G