on 2012 May 28 7:01 AM
Hello Experts,
We are developing a scenario like below in a bsp application
Create a shopping with an added manual approver.
The approver rejects the shopping cart, here the workitem will be completed after the rejection.
the requester will again make the changes an will send the cart for approval,
now the shopping cart status is updated as approved at he header level and rejected at the item level, instead of awaiting approval at both levels.
below is the code i'm using
CALL FUNCTION 'BBP_PDH_WFL_DB_UPDATE'
EXPORTING
iv_object_id = iv_object_id
IV_WORKITEM_ID = lv_workitem_id
iv_object_type = 'BUS2121'
iv_action = 'C'
iv_obj_changed = 'X'
iv_user = sy-uname.
call function 'BBP_PD_SC_SAVE'
exporting
iv_header_guid = header_u_guid.
call function 'BBP_PD_SC_COMMIT'.
can any one kindly help me on this
Thanks in advance
Request clarification before answering.
Issue resolved
While updating the shopping cart after rejection at the item level we should clear the deduct_ind flag
Hope this might help someone.
Regards,
Praveen
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.