‎2010 Dec 01 8:32 AM
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
‎2010 Dec 01 12:18 PM
Hi,
Have you analysed the errors in BAPI tables parameter RETURN??
Regards
Praveen
‎2010 Dec 01 12:18 PM
Hi,
Have you analysed the errors in BAPI tables parameter RETURN??
Regards
Praveen
‎2010 Dec 01 12:27 PM
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
‎2010 Dec 01 1:46 PM
Populate SHORT_TEXT field in the BAPI import parameter ENTRYSHEETHEADER structure
Regards
Praveen
‎2010 Dec 02 5:35 AM
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
‎2010 Dec 02 8:33 AM
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
‎2010 Dec 02 9:03 AM
Hi Praveen,
Passing ref doc header text to the field REF_DOC_NO_LONG is also not working.
Thanks in advance,
Neela.