Application Development 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: 

BAPI_PO_CREATE1 error message

Former Member
0 Kudos

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.

4 REPLIES 4

former_member203305
Active Contributor
0 Kudos

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

karun_prabhu
Active Contributor
0 Kudos

Hi David.

I guess you would have passed PO_HEADER-langu as 'EN' instead of 'E'. (single char field)

Kindly check it out.

Regards.

eduardo_hinojosa
Active Contributor
0 Kudos

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

Hi,

Sorry for answer late, we found the mistake, it was that in doc_type, the passed value was wrong.