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

Error during update using BAPI_ENTRYSHEET_CREATE

Former Member
0 Likes
1,946

Hi all,

We are trying to create an entry sheet using BAPI_ENTRYSHEET_CREATE. When the parameter testrun is 'X' in the bapi the message "Entry sheet is created" is displayed but when checking in ML81 with the entrysheet number an error occurs stating that the entry sheet does not exist.

When the testrun parameter is either space or commented an error stating "Error during update" shoots up.

Kindly suggest a solution for this problem.

Thanks in advance,

Neela

Edited by: Neela M B on Dec 1, 2010 2:03 PM

Edited by: Neela M B on Dec 1, 2010 2:03 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,138

Hi,

Have you analysed the errors in BAPI tables parameter RETURN??

Regards

Praveen

6 REPLIES 6
Read only

Former Member
0 Likes
1,140

Hi,

Have you analysed the errors in BAPI tables parameter RETURN??

Regards

Praveen

Read only

0 Likes
1,138

Thanks praveen,

I debugged the bapi and found a solution but we have another issue.

the "Doc. Text" field (ESSR-BKTXT) does not appear to have a field in the input structures/tables of the BAPI. Can this field be populated through the BAPI and if so, which structure/table field to use?

Thanks in advance,

Neela

Read only

0 Likes
1,138

Populate SHORT_TEXT field in the BAPI import parameter ENTRYSHEETHEADER structure

Regards

Praveen

Read only

0 Likes
1,138

Hi Praveen,

The 'SHORT_TEXT' in ENTRYSHEETHEADER structure populates the short text found under description but we want a parameter to fill the Document Header Text under Acceptance Document in ML81.

Please advice,

Thanks in advance,

Neela

Read only

0 Likes
1,138

Hi Neela,

Can you try passing ref doc header text to the field REF_DOC_NO_LONG.

Let me know if it not working...

Regards

Praveen

Read only

0 Likes
1,138

Hi Praveen,

Passing ref doc header text to the field REF_DOC_NO_LONG is also not working.

Thanks in advance,

Neela.