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'?