08-12-2013 8:38 PM
Hi;
When executing the BAPI_PO_CREATE i'm getting this error message.
TYPE ID NUMBER MESSAGE
E TD 600 Text * ID * language * not found.
The error is in POHEADER structure
i'm passing values to table POTEXTHEADER too
PO_ITEM TEXT_ID TEXT_FORM TEXT_LINE
00010 F01 my text
I'm not sure what could be the problem, because it happens from time to time, not always.
Thanks on advance,
David Fúnez
Latacunga. Ecuador.
08-12-2013 9:06 PM
Hi,
Check this solution on post http://scn.sap.com/thread/899196
G_POTEXTHEADER-PO_ITEM = IT_ITAB-PO_ITEM.
G_POTEXTHEADER-TEXT_ID = 'F03'.
G_POTEXTHEADER-TEXT_FORM = '*'.
G_POTEXTHEADER-TEXT_LINE = IT_TLINE-TDLINE.
APPEND G_POTEXTHEADER.
G_BAPIMEPOTEXT-PO_ITEM = IT_ITAB-PO_ITEM.
G_BAPIMEPOTEXT-TEXT_ID = 'F03'.
G_BAPIMEPOTEXT-TEXT_FORM = '*'.
G_BAPIMEPOTEXT-TEXT_LINE = IT_ITAB-TEXT_LINE.
APPEND G_BAPIMEPOTEXT.
Regards
Miguel
08-13-2013 7:34 AM
Hi David.
I guess you would have passed PO_HEADER-langu as 'EN' instead of 'E'. (single char field)
Kindly check it out.
Regards.
08-13-2013 9:27 AM
Hi David
Perhaps there is a performance trouble in your system. Try with a command WAIT UP TO 1 second. I don't know if it will be relevant for you, but see SAP Note 582221 - FAQ: BAPIs for purchase orders, question 16.
I hope this helps you
Regards
Eduardo
08-20-2013 10:32 PM
Hi,
Sorry for answer late, we found the mistake, it was that in doc_type, the passed value was wrong.