cancel
Showing results for 
Search instead for 
Did you mean: 

FM or BAPI to update the Prd order system status

AnkitB
Participant
0 Kudos

Hello Experts,

We are looking to remove a particular system status 'DISB' from the prdoduction order for a while and then put it back. We have FM STATUS_CHANGE_INTERN but it triggers an IDOC everytime we use it. We would not be able to convince the stakeholders as to why we have 2 IDOCs for an internal change. Need to do WM staging via BAPI but status DISB does not allow it. Could you please help us how we can achieve? Our sequence:

- Remove system status
- Do WM staging (use BAPI)
- Put the system staus back

Let me know if you need more details on this. Appreciate your help here.

Regards, Ankit

Accepted Solutions (1)

Accepted Solutions (1)

DanielP
Active Participant

Perhaps you can skip this message CO_MES_INT028 only for your RFC user performing the BAPI call from your MES.

Additionally, you will likely need to activate your own BAdi to control that you do not want to send the changes sent form MES -> ERP back to MES, since these were done in MES after all in the first place.

Good Luck. /Daniel

AnkitB
Participant
0 Kudos

During the BAPI processing. Our message is a warning and message is shown below. But we will try to implement the same approach: BS(011) - System status DISB is active (ORD xxxxxxxxxx). Thank you so much Daniel.

Answers (1)

Answers (1)

DanielP
Active Participant
0 Kudos

Interesting challenge, looking as DISB (I0048) cannot see any WM process being restricted (in your case WM Staging), so are you really sure that this System Status is the culprit?

With this said there are other BAPIs/FMs that you could try to use besides the one you tried, vide here:

https://answers.sap.com/questions/2117710/a-fm-or-bapi-to-update-the-status-of-a-production-.html

Good Luck. /Daniel

AnkitB
Participant
0 Kudos

Thanks Daniel for the revert. Checked that link and both the FM are for user status change. BAPI which we use shows that it is a warning but how we can ignore it.

DISB does not allow any change in ERP except date and quantity. For ex: WM staging, we can't add operation in case or re-work or remove/replace a component at least not possible via CO02 or usual BAPI. We are using seperate MES system and this status gets set when the order is integrated. That integrated system does now integrate changes back to ERP (changes mentioned above) hence we have to do this customization where in remove status, do changes and then put status back.