Skip to Content
0
Aug 27, 2018 at 09:23 AM

creating sales order with variant configuration

105 Views Last edit Aug 27, 2018 at 10:30 AM 2 rev

im creating a sales order with variant configuration

im using bapi

CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
* SALESDOCUMENTIN =
      order_header_in = ls_header_in
* ORDER_HEADER_INX =
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
      BEHAVE_WHEN_ERROR = 'P'
* LOGIC_SWITCH =
* TESTRUN =
* CONVERT = ' '
    IMPORTING
      salesdocument = ev_salesorder
    TABLES
      return = et_return
      order_items_in = lt_item
      ORDER_ITEMS_INX = lt_itemx
      order_partners = lt_bapiparnr
      ORDER_SCHEDULES_IN = lt_schedules
      ORDER_SCHEDULES_INX = lt_schedulesx
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
      ORDER_CFGS_REF = lt_sales_cfgs_ref
      ORDER_CFGS_INST = lt_sales_cfgs_inst
* ORDER_CFGS_PART_OF =
      ORDER_CFGS_VALUE = lt_sales_cfgs_value
* ORDER_CFGS_BLOB =
      ORDER_CFGS_VK = lt_sales_cfgs_vk
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES =
* EXTENSIONEX =


.

will anyone please say how should fill the structure of table parameter of related to configuration.

anyone worked on this please let me know thanks advance.