Skip to Content

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

Reject SC items from SoCo programatically

Hello experts,

I have a requirement to reject items from SoCo programatically.

If the RFQ is created and quotations are created. Then Quotations can be closed and RFQ can be closed. RFQ and Quotations have the status 'Transaction completed'. Now after RFQ and Quotes are closed, I am using FM BBP_PDIGP_DB_DIRECT_UPDATE.

             iv_source_rel_ind     = 'Y'
             it_item_guid_sourcing = lt_item_sourcing.

lt_item_sourcing has all the item GUIDs of the SC.

When the FM is executed and commit work is applied, still the source_rel_ind is set to 'X'.

When I reject the items from SoCo manually by pressing button  'Reject items', the system asks for a reason for rejecting the items.By this way the source_rel_ind is set to 'Y'. But I do not know where the reason is stored or how to add the reason programatically. I have not found any FM to add that.

Can anyone suggest how do i do it?




Helpful Answer

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