cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcing relevant indicator

YayatiEkbote
Contributor
0 Kudos

Hello friends,

In our case the sourcing is done using external application which is connected to SRM system using Xi/Pi interface. In this case whenever a transaction is cancelled from external system before PO/contract is created, the shopping cart item sourcing relevant indicator must be set to Y.

For this requirement i closed the RFx and quotations if any by setting status 'I1023' 'Transaction Completed'. By this action the sourcing relevant indicator of the line items of shopping cart are set to 'X'. After this i used FM BBP_PD_SC_STATUS_CHANGE_DIRECT to set the status 'I1113' 'Follow-on Document Created' to inactive. And then i am using FM BBP_PDIGP_DB_DIRECT_UPDATE to set the indicator 'Y' 'Sourcing completed'.

But my point is that the sourcing relevant indicator is not getting set to 'Y'. It is remaining 'X'. What all the things which need to be handled to set the shopping cart status as 'Rejected'?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think you should try to do same things which is done when the cart is set to status "Completed" in SRM Sourcing Cockpit.

Try using following:

call function 'BBP_PDH_DB_DIRECT_UPDATE'

       exporting

         iv_item_guid_sourcing = iv_item_guid

         iv_source_rel_ind     = /sapsrm/if_pdo_ao_soco~gc_sourcing_completed.

Regards,

Sushil