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

BAPI_ENTRYSHEET_CREATE which data is mandatory?

Former Member
0 Likes
1,029

Hi everybody. (And a happy new year to all of you!)

I am having troubles using BAPI BAPI_ENTRYSHEET_CREATE.

I want to create an entrysheet as if I was manually creating it in ML81N and selecting the services from a contract. Do I really have to provide the (new?) package number and the prices and all accounting data?

If I test the BAPI using SE37 with fewer data, I get no error message, but the entrysheet number that is returned does not exist.

Thank you for any help,

kind regards, Kathrin!

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
848

Hi Kathrin!

You're just missing the commit work. If you want to use SE37, go in menu function module - test - test sequence. There you can insert two FMs, second one the bapi-commit.

Regards,

Christian

5 REPLIES 5
Read only

christian_wohlfahrt
Active Contributor
0 Likes
849

Hi Kathrin!

You're just missing the commit work. If you want to use SE37, go in menu function module - test - test sequence. There you can insert two FMs, second one the bapi-commit.

Regards,

Christian

Read only

0 Likes
848

Hi Christian,

Thanks for your help. I knew that some BAPI's need FM BAPI_TRANSACTION_COMMIT, but I thought that when testing, the commit would be executed by se37. It works perfectly well with the test sequence.

Thank you and kind regards, Kathrin!

Read only

0 Likes
848

Hi Kathrin,

Please help !

I am having a problem similar to the problem you had in January 2006 with BAPI_ENTRYSHEET_CREATE.

I am able to create entrysheet without any service items

(only ENTRYSHEETHEADER) and it creates it without even BAPI_TRANSACTION_COMMIT.

When I add some data for service items in the table ENTRYSHEETSERVICES, it says Entry sheet is created, but actually it is not existing.

I tried putting BAPI_TRANSACTION_COMMIT in the Test sequence as we normally do, but the same result.

Any help ?

Also, since you are using this BAPI, can you tell me any thing about all the fields - which are minimum required

and where the data comes from ?

Third, is there a way to transfer all service items from PO to entrysheet without manually populating the table ENTRYSHEETSERVICES just by setting some flag or some configuration setting ?

I will really appreciate if you can answer max of the 3 questions above.

Regards...

Read only

Former Member
0 Likes
848

Hi Kathrin,

Please go through the se37 Documentation for the BAPI and see if it answers your question.

Regards,

Ravi

Read only

0 Likes
848

Hi Ravi,

thank you for your answer, but be reassured I did read the docu before posting dumb questions.

regards, Kathrin!