07-02-2014 10:13 AM
Hi experts,
I am in quest of FM that can be used for blocking and releasing SO.i Can do it through t-code VKM3 but my requirement is using FM i want to change the status of SO as block or released.
Can anyone having any idea about this,please share.
Regards,
Pankaj Jain
07-02-2014 10:29 AM
Did you check classic BAPI : BAPI_SALESORDER_CHANGE ?
NB: If you cannot find related parameters (e.g. VBAP-ABGRU = BAPISDITM-REASON_REJ, etc.), you could (at your own risk) look at FM like SD_CREDIT_REFRESH (before first call) and FM like SD_ORDER_CREDIT_RELEASE/CANCEL or SD_DELIVERY_CREDIT_RELEASE/CANCEL.
Regards,
Raymond
07-02-2014 10:33 AM
07-02-2014 11:37 AM
Thanks Raymond & Bhagya for reply,
To clear you my issue further more,i want to change the Credit Status of sales order at header level as released or block based on certain conditions.
Regards,
Pankaj Jain