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: 

TD600 Text * ID * language * not found - error

dhinesh_thirugnanam
Active Participant
0 Kudos

Hi,

I am getting this error when i run thro BAPI.Kindly suggest where am i wrong.

1EBAPI001No instance of object type PurchaseOrder has been created. External reference:
2ETD600Text * ID * language * not found

gs_poheader-vendor          = '0000100005'.

   gs_poheader-DOC_TYPE        = 'NB'.

   gs_poheader-purch_org       = 'MARB'.

   gs_poheader-pur_group       = '001'.

   gs_poheader-comp_code       = 'MINA'.

   gs_poheaderx-vendor          = 'X'.

   gs_poheader-DOC_TYPE         = 'X'.

   gs_poheaderx-purch_org       = 'X'.

   gs_poheaderx-pur_group       = 'X'.

   gs_poheaderx-comp_code       = 'X'.

   gs_poitem-po_item           = ls_group-line.

   gs_poitem-material          = 'NIS-01'.

   gs_poitem-item_cat          = ls_group-item.

   gs_poitem-quantity          = ls_group-qty.

   gs_poitem-po_unit           = ls_group-uom.

   gs_poitem-orderpr_un        = ls_group-price.

   gs_poitem-plant             = 'NSW1'

   APPEND gs_poitem TO gt_poitem.

   CLEAR : gs_poitem.

   gs_poitemx-po_item           = ls_group-line.

   gs_poitemx-material          = 'X'.

   gs_poitemx-item_cat          = 'X'.

   gs_poitemx-quantity          = 'X'.

   gs_poitemx-po_unit           = 'X'.

   gs_poitemx-orderpr_un        = 'X'.

   gs_poitemx-plant             = 'X'.   

   APPEND gs_poitemx TO gt_poitemx.

   CLEAR : gs_poitemx.

   gs_poschedule-delivery_date = ls_group-date.

   gs_poschedule-po_item       = ls_group-line.

   APPEND gs_poschedule TO gt_poschedule.

   CLEAR:gs_poschedule.

   gs_poschedulex-po_item        = ls_group-line.

   gs_poschedulex-delivery_date  = 'X'.

   gs_poschedulex-po_itemx       = 'X'.

   APPEND gs_poschedulex TO gt_poschedulex.

   CLEAR:gs_poschedulex.

*BAPI*

   CALL FUNCTION 'BAPI_PO_CREATE1'

     EXPORTING

       poheader               = gs_poheader

       poheaderx              = gs_poheaderx

     IMPORTING

       exppurchaseorder       = gs_exppurchaseorder

*     EXPHEADER              =

*     EXPPOEXPIMPHEADER      =

     TABLES

       return                 = gt_return

       poitem                 = gt_poitem

       poitemx                = gt_poitemx

*     POADDRDELIVERY         =

       poschedule             = gt_poschedule

       poschedulex            = gt_poschedulex

     .

       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

         EXPORTING

           wait = 'X'.

4 REPLIES 4

Former Member
0 Kudos

Hi

The errors are comming because of not passing all the required fields. Check what are the fields missing, your problem will get solved.

0 Kudos

hi,

i am passing the same fields thro BAPI in se37 it is getting created.but thro program it is not.

0 Kudos

Hi issue got solved.

0 Kudos

how did you solve this?