Skip to Content

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

BAPI_PO_CHANGE

Hi All

I am using BAPI_PO_CHANGE to set deletion indicator loekx field in ekko.

  ls_poitem-po_item    = lv_last_item_no.

  ls_poitem-delete_ind = 'X'.

  APPEND ls_poitem TO  lt_poitem.

*

  ls_poitemx-po_item    = lv_last_item_no.

  ls_poitemx-po_itemx   = 'X'.

  ls_poitemx-delete_ind = 'X'.

  APPEND ls_poitemx TO lt_poitemx.

      CALL FUNCTION 'BAPI_PO_CHANGE'

        EXPORTING

          purchaseorder = iv_order_no

*         testrun       = iv_test

        IMPORTING

          expheader     = ls_expheader

        TABLES

          return        = lt_return

          poitem        = lt_poitem

          poitemx       = lt_poitemx.

used bapi_transaction_commit also

I am unable to set flag.

Thanks

Vamsi

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