11-17-2014 3:23 PM
Hello guys,
I am facing a issue while creating a service entry sheet using BAPI (BAPI_ENTRYSHEET_CREATE). Could you please have a look on below scenario and let me know if you have any solution:
- In this scenario, Duplicate service is being used to create a SES document. Service line items of PO are having same service but different cost center(account assignment). While populating BAPI structure, I am populating tables "ENTRYSHEETACCOUNTASSIGNMENT", "ENTRYSHEETSERVICES" , "ENTRYSHEETSRVACCASSVALUES" and the header structure ENTRYSHEETHEADER.
I am getting the service entry sheet created by passing above table details with different cost center but somehow gross_price and Planned line of SES are only getting updated by 1st service line details hence having the same values. Expectation was to get different gross price and planned line for different lines of services based on input value.
I have checked the code by debugging and found out a READ statement which is always reading the 1st line of ESLL(Service lines) internal table when executed via BAPI, but didnt figure out why is the problem is occuring by creating SES via BAPI.
Acceptance SES created by this input isnt possible also and giving me error that buffer table is not updated.
Could you please find the attached document with details and let me know if you come across any solution for this and also suggest we i need to pass any parameter for this scenario of multiple duplicate Services of PO lines.
Regards,
Sunil
01-21-2015 7:19 PM
Hello Sunil,
Did you have any return on your question regarding BAPI_ENTRYSHEET_CREATE?
Any luck solving this issue?
We have the same issue on our project! Many thanks for your return.
BR,
Nicolas
11-21-2021 4:15 AM
you need fill:
lt_services-pln_pckg = lt_esll-packno .
lt_services-pln_line = lt_esll-introw .
03-29-2022 6:46 AM
12-22-2023 5:47 AM
12-22-2023 5:48 AM
Any one solved this issue, facing same issue while creation SES with BAPI, Same price comng for 2 differnet services( same activity number for both Services)