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

Problem with BAPI_0050_CREATE

Former Member
0 Likes
2,246

Hi Guys,

I used BAPI_0050_CREATE to post an FMBB entry. I did not encounter an error and the BAPI returned a document number as well as the fiscal year but when I checked FMBB I could not find the document. I tried checking table FMBH but the document also does not exist. The message retrieved from BAPI_0050_CREATE is "BudgetEntryDocFM GSIS2008100000013 has been created. External reference:" Can you tell me why the document cannot be seen in the system or am I just looking at the wrong transactions. Also could you verify if it has indeed posted a docuemnt

Thanks,

Ian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,381

Use FM BAPI_TRANSACTION_COMMIT after this BAPI. Alternatively, you can use FMKU_0050_CREATE_WITH_COMMIT which does commit.

3 REPLIES 3
Read only

Former Member
0 Likes
1,382

Use FM BAPI_TRANSACTION_COMMIT after this BAPI. Alternatively, you can use FMKU_0050_CREATE_WITH_COMMIT which does commit.

Read only

Former Member
0 Likes
1,381

Hi,

when ever u r using BAPI to create any it will created normally. But it wont commit implicitly. Explicitly v have to commit by using BAPI_Transaction_Commit.

Try n check again.

divya

Read only

Former Member
0 Likes
1,381

Dear Friend,

I am using 'BAPI_0050_CREATE' to update budget data as i can see u have already used this BAPI for sane requirement..it would be great if u can send me test data for that.

Regards,

Raj.