Skip to Content
0
Former Member
May 07, 2008 at 01:08 PM

BAPI_SALESORDER_CHANGE - not updating ITEM CATEGORY(VBAP-PSTYV)

982 Views

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.