on 03-12-2009 4:29 AM
We have SRM 4.0.
We develop a program for massive delete of PO. When this program is executed for a PO that does not contain modifications works correctly.
Nevertheless, when an order has been modified or erasing a position or modifying some amount it is program sends an error.
The program use the functions:
We have SRM 4.0.
We develop a program for massive delete of PO. When this program is executed for a PO that does not contain modifications works correctly.
Nevertheless, when an order has been modified or erasing a position or modifying some amount it is program sends an error: u201Cstatus of system BORR is activeu201D
The program use the functions:
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
i_guid = v_guid
i_with_itemdata = 'X'
i_read_be_data = ' '
i_read_from_archive = ' '
IMPORTING
e_header = w_header
TABLES
e_item = li_item.
CALL FUNCTION 'BBP_PD_PO_UPDATE'
EXPORTING
i_park = 'X'
i_header = lw_header2
i_save = 'X'
iv_with_change_approval = space
IMPORTING
e_changed = lv_changed
TABLES
i_item = li_item
e_messages = li_messages.
CALL FUNCTION 'BBP_PD_PO_SAVE'
EXPORTING
iv_usertype = lc_e
iv_header_guid = lv_guid_h.
CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
The dicador DEL_IND is not update on the items of PO, and sends an error: u201Cstatus of system BORR is activeu201D
Any suggestion?
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.