Skip to Content

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

Can sales order line item text be replicated into production order

Hi

Can sales order line item text be replicated to production order through standard PP configuration? If so how can it be done?

If that is not possible through standard configuration then can it be possible to read both sales order line item information and production order information using a BAPI or a program?

Please help me, i have been trying hard for this and also searches sdn for relevant posts but could not find any, I thank all people who can help me with some information on this.

Regards,

Jessica

Tags:
replied

Sample code:

DATA:
  wa_order_objects    TYPE bapi_pp_order_objects.

DATA:
  it_order_header     TYPE STANDARD TABLE OF bapi_order_header1.

*--Setting Flag to get details of BAPI
  wa_order_objects-header         = c_x.

  CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
    EXPORTING
      number           =  "Order number"
      order_objects    = wa_order_objects
    TABLES
      header           = it_order_header.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question