Skip to Content
author's profile photo Former Member
Former Member

Rejection in SRM 5.0

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2012 at 10:28 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.