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

BAPI_PO_CREATE1 error message

Former Member
0 Likes
2,910

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
Read only

Former Member
0 Likes
1,549

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

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
1,549

Hi David.

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

Kindly check it out.

Regards.

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,549

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

Read only

1,549

Hi,

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