Hi all,
I have used bapi to change sales order but the Item category(pstyv) is not updating .
please tell me whether it needs to be passed to the bapi structure , if passed then how to retrieve (table) the item cateogry(pstyv) for the material.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = e_vbeln
ORDER_HEADER_IN = wa_hdr
order_header_inx = wa_hdrx
tables
return = i_ret
ORDER_ITEM_IN = i_item
ORDER_ITEM_INX = i_itemx
SCHEDULE_LINES = i_sch
SCHEDULE_LINESx = i_schx
EXTENSIONIN = i_parex.
endif.
please help me out.