cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in BAPI

Former Member
0 Kudos

HI guys

We are testing the BAPI "BAPI_ENTRYSHEET_CREATE". We are getting error that "Short text and number of outline not maintained" Message no is SE536. What could be the problem?

Also is this BAPI alone sufficient for saving and posting SES? or we need to use BAPI "BAPI_ENTRYSHEET_RELEASE" also along with above BAPI for posting ses

Please clarify

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

without a release strategy in the entry sheet it is enough to use BAPI_ENTRYSHEET-CREATE with Acceptance = X in the ENTRYSHEETHEADER to accept the entry sheet.

If you use also a release strategy, please run BAPI_ENTRYSHEET_RELEASE also to be able to add the release code to the entry sheet acceptance.

Related to the issue with error message SE536 I would advice you to open a SAP ticket, because the issue must be analysed more deeply.

Additional information: How to maintain BAPI_ENTRYSHEET_CREATE,

pls. see note 420334.

Regards,

Edit

Former Member
0 Kudos

HI edit

Thanks for ur fast reply. Still i am facing two problems

1) If i dont give Acceptance "X", SES is being created. I am able to see the quantities in table ESLL. But when i go to ML81N, quantities are not displayed in SES

2) If i give Acceptance as "X", i am getting error that "Error during update" Message no SE-214.

What could be the problem?

Former Member
0 Kudos

Hi,

to 1)

since note 1133175 it is not possible at all to save services with 0 quatity in the service line. During entry sheet creation by BAPI the error message SE319 should have been processed.

to 2)

please deactivate your user exits like EXIT_SAPLMLSR_001 - if you have any active in your system - and test the behaviour again. Does the same error occur in ML81N - when you create the entry sheet in the online transaction with the same data?

The error SE214 is processed mainly when BAPI parameters have not been correctly filled.

In the structure ENTRYSHEETSERVICES there are at least 2 entrys needed for the planned services:

one for the service package and one or more for the service lines...

Regards,

Edit

former_member182873
Participant
0 Kudos

This message was moderated.