Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

blocking and releasing sales order using FM

PankajJain777
Explorer
0 Kudos

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

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

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

former_member183379
Contributor
0 Kudos

Hi,

Refer the following post related to sales order releasing enhancements-

Hope it helps.

0 Kudos

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