Quantcast
Viewing all articles
Browse latest Browse all 4841

BAPI Call - Remote vs SE37 - Production Order Change

Hi Experts,

I have a requirement to change data to Production Orders, sometime Header data, sometimes Operation data. I need to be able to do this via MII (12.2.4) so I need a remotely enabled BAPI.

 

I have found BAPI CO_SE_PRODORD_CHANGE which seems to be exactly what I need. I can run it via SE37 and it does exactly what I need it to do. But when I try to execute it remotely, via MII, I receive the following error: “Status object not assigned to status profile”.

 

I do know SE37 inherits some influence from the SAP GUI and isn’t exactly the same as remote execution, but I can’t figure out what is different or why it doesn’t work remotely.

 

From doing some Googling, looking in t-code OPJH I see that there is nothing defined for Status Profile Header or Oprtn Status Profile for the Order Type of my test Production Order. I do not know much about Status Profiles and how they relate to Order Types, but these order type were setup years ago by people that did know that detail so I have to assume that they are setup correctly.

 

I am thinking that there isn’t anything wrong with how the Order Type is setup. My guess is that when I execute the BAPI via SE37 that the SAP GUI is supplying some additional information that isn’t supplied when called externally…(perhaps a user default parameter?)

 

Would anybody be able to help direct me as to why I am unable to call that BAPI successfully remotely?

 

Thank you  for your time!

-Chris


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>