cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Confirm production order in MII12.2

Former Member
0 Likes
1,367

HI, I am trying to confirm a production order by MII, the way that I'm doing is running a BAPI, when I do it in the ERP alone I put three fields and those are ORDERID, POSTG_DATE, YIELD. These are the values ​​I'm passing it on MII and is not working. Anyone know how to confirm an order for production by MII?

Regards,

Victor

View Entire Topic
HariCS23
Contributor
0 Likes

Are you getting any error while you executing it through BLS?

These are below few tips to make sure your data from MII to SAP is getting passed correctly:

- Use external debugging to see whether your data is getting passed properly

- check table bapireturn after execution..to see any error

- Make sure you check commit work check box in BLS action properties 

- Make sure your date format is right when you pass it from MII

Good luck.

Thanks

Hari

Former Member
0 Likes

Hi Hari, i am not getting any error, the message that i recive is "TRANSACTION EXECUTED OK". In my BLS transaction i only have one action, in this action i have a JCO interface. I declare a true boolean transaction characteristic and mapped with AutoCommit. My date formate is declare as a DateTime type.

Former Member
0 Likes

Regards,

Victor

agentry_src
Active Contributor
0 Likes

Hi Victor,

The Production Order Confirmation BAPI does not actually execute sychronously.  It is simply accepted after a few format and content checks are done, then it is queued up for asynchronous completion.  If you are looking to see the results immediately, you need to force completion on the ECC side (and sorry, it has been a long time since I did this and I don't remember the t-code).  If you wait a little while (anywhere from a few seconds to over 10 minutes depending on your system and its load), you should see the results show up.

Regards, Mike

Former Member
0 Likes

Hi Michael,

I do not have any change yet

Regards

agentry_src
Active Contributor
0 Likes

Hi Victor,

You should be able to look up the confirmation by the number of the Production Order or (I can't remember this) by the Confirmation number if it was supplied in the response xml.  If you can't see it or it is still incomplete, let me know and I will get a PP/PPPS expert to visit here.

Regards, Mike

Former Member
0 Likes

Hi Michael, when i make a partial confirmation from SAP GUI i do not get the confirmation number but  i can see that the confirmation was correct because the amount still to be confirmed was change

Regards,

Victor