cancel
Showing results for 
Search instead for 
Did you mean: 

Process order Confirmation-GR --BAPI issue -- BAPI_PROCORDCONF_CREATE_TT

Former Member
0 Kudos

Hi

We are using the standard BAPI-- BAPI_PROCORDCONF_CREATE_TT to do Process order confirmations , which is invoked by an MII BLS using data from the MES system. SAP ECC 5.0

Everything worked like a charm ( Partial confirmations, Final Confirmations, Goods Movements ie.101 etc) , but recently we implemented it a new plant. Now in this plant there is a strange Business process i.e they Do a partial confirmation of the full qty of the process order and then do a Final Confirmation with Zero Qty. let me explain

Process order requires 100 GAL of a perticlar paint .

First the MES system does a process order confirmation and goods Receipt of 100 Qtys as a Partial confirmations and then They do a Final confirmation with Qty as Zero.

This works fine when i do it in the SAP GUI ( CORK t-code for process order confirmations and GR) but with the BAPI BAPI_PROCORDCONF_CREATE_TT , the first transaction sets the Status of the process order the to PCNF DLV (which is as expected) .

Next when they send a Zero Qty with a final Confirmation , the system changes the STATUS of the proces order to CNF (and removes the DLV) which does not happen with SAP GUI and CORK t-Code.

Is there any parameter that i am missing. How do i make sure i get the same behaviour as the SAP Tcode GUI CORK when a Zero Qty confirmation and GR are done.

Please help me. the plant has gone live , they dont want to change the process and i need to resolve this issue.

Regrads

Suraj Prabhu

Edited by: Suraj Prabhu on Mar 9, 2010 4:31 AM

Edited by: Suraj Prabhu on Mar 9, 2010 4:39 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

I was finally able to identify this issue and resolve it. The problem was that i was passing the Goods movements one by one . But later found that there was an easy way to send all the data into the BAPI internal tables from SAP MII after reading the Blog

/people/padmavathi.rao2/blog/2009/03/14/mii-odyssey-how-to-pass-table-structure-to-bapi-using-jco-interface-of-erp-system-interface-in-mii-12 .

Now DLV flag is not dropped and the CNF flag is update. Thanks Rao and Abesh

Regards

Suraj

Former Member
0 Kudos

Hi,

Can you confirm the Yield and the activity at one time with tick on Final confermation.

It may help you.

regards

Bhupendra

Former Member
0 Kudos

Hi Bhupendra,

Thank you for your reply.

If i send the qty even as 1 then the complete transaction is fine, the status is set to CNF and DLV. But since this is the process the plant follows and is going to send Zero Qty final confirmations I am having this issue. What surprises me is , when i do the same using COR6N or CORK in SAP GUI i don't see this behavior, the status is not changed.

Regards

Suraj

Edited by: Suraj Prabhu on Mar 9, 2010 3:35 PM