Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_SALESORDER_CREATEFROMDAT2

Dear all,

I have tried to put the partner, item and header in the BAPI. But i sill encounter an error which returns "parameter not specified ORDER_PARTNERS".

*       header mandatory fields
  MOVE 'TA' TO L_HEADER-DOC_TYPE.
  MOVE 'ABC' TO L_HEADER-SALES_ORG.
  MOVE '10' TO L_HEADER-DISTR_CHAN.


*   Sold-to AG  partner mandatory fields
  MOVE 'AG' TO L_PARTNER-PARTN_ROLE.
  MOVE '101175' TO L_PARTNER-PARTN_NUMB.
  APPEND L_PARTNER.

*   Ship-to WE  partner mandatory fields
  MOVE 'WE' TO L_PARTNER-PARTN_ROLE.
  MOVE '101175' TO L_PARTNER-PARTN_NUMB.
  APPEND L_PARTNER.

   MOVE 'DEXABC' TO L_ITEM-MATERIAL.
   APPEND L_ITEM.

Any parameters that i missed??

Regards,

Kit

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question