‎2006 Jan 02 2:51 PM
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!
‎2006 Jan 02 2:53 PM
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
‎2006 Jan 02 2:53 PM
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
‎2006 Jan 02 3:05 PM
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!
‎2006 Mar 09 4:58 AM
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...
‎2006 Jan 02 2:54 PM
Hi Kathrin,
Please go through the se37 Documentation for the BAPI and see if it answers your question.
Regards,
Ravi
‎2006 Jan 02 2:59 PM
Hi Ravi,
thank you for your answer, but be reassured I did read the docu before posting dumb questions.
regards, Kathrin!