Making Source of supply field manadatory while approving shopping cart
we are on srm 7.
when SC is in approval for completion , we expect the approver to fill the source of supply field.(i.e to make it mandatory while approval) not during creation stage for requestor.
let us know which badi will help.
does this BBP_ITEM_CHECK_BADI help?
how to make this badi trigger only during approval not at SC creation stage?
You can make the check in the badi "BBP_DOC_CHECK_BADI" for BUS2121 (SC).
you keep in mind that alone, the system show a error when the shopping cart have at status "Awaiting approval" (I1015) active. For this you can utility the function BBP_PD_SC_GETDETAIL and look at the table "E_STATUS".
Furthemore, you have that activate this field when the document is "Awaiting Approval".