cancel
Showing results for 
Search instead for 
Did you mean: 

Sequential Partial Confirmation Phase wise COR6N

shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Experts,

Need your expert help. This is process Industry and confirmation is required to be done phase wise.

There are 2 phase, Phase 20 Crude(Intermediate Item) is confirmed and latter it is manually issued and at phase 40, Final Product called as main fraction is received. I had the requirement that without Phase 20 confirmation, User cannot directly jump to phase 40 and confirm it.

I did the settings in OPK4, sequence adherence to E, established a Phase relation in c202 and assigned 2 Milestone Confirmation Keys at phase 20 and phase 40.

But this works perfectly only once when user is first time confirming the partial confirmation(PCNF).

But during the next Partial confirmation in cor6n, it is allowing the system to bypass phase 20 and directly confirm phase 40.

Is there any standard way or enhancements that w/o Phase 20 being confirmed, phase 40 cannot be confirmed in case of Partial confirmation?

Best regards

Shailesh

Accepted Solutions (1)

Accepted Solutions (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Shailesh

if the first operation has been already partially confirmed, then it is possible to confirm the subsequent operation, up to the already confirmed quantity. This is the standard design and if you need a more specific check, use the alredy suggested BAdI.

BR
Caetano

shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Caetano,

Yes. You are correct. I am working with Technical consultant to get the Badi Workorder_confirm to get the desired result.

Best regards

Shailesh

shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Experts,

Is User Exit CONFPI03 or CONFPI04 will work? The requirement is

1) The quantity of Phase 20 which is confirmed, should be defaulted at phase 40 at the time of confirmation. I mean if Process Order quantity is 100 Units, and at phase 20, qty confirmed is 20 Units, then at the time of Confirmation, 20 Units, should appear . 1:1 Confirmation relationship between the phases.

2) And also Phase 40 confirmation should not be greater than Phase 20.

Badi workorder_confirm option is applicable only at while saving the Order.

Please suggest how to approach with Custom Logic

Best regards

Shailesh

shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Experts,

Await your reply!!

Can you please suggest Badi Workorder_Confirm Logic or any Customer exit CONFPI01 coding logic to map the above requirement?

Even a spot where to do the coding.

Best regards

Shailesh

dejoy
Active Contributor
0 Kudos

Hello Shailesh,

Follow below logic with ABAP'er for desired result.

1. CONFPI01 Process order conf.: Calculate cust.specific default values

EXIT_SAPLCORF_401 and INCLUDE ZXCOFU06

           Write logic to fetch last operation yield here as sample below :


2. 'BAPI_PROCORDCONF_GETLIST'
pass order no and get confirmation no. And counter With your logic


3. 'BAPI_PROCORDCONF_GETDETAIL'
pass confirmation and counter to get yield(AFRUD-LMNGA)


4. Pass to AFRUD_EXP-LMNGA = CONF_DETAIL-YIELD.

Hope its clear now.

Note:  CONF_DETAIL is return paramater from BAPI_PROCORDCONF_GETDETAIL.

Regards,

shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Deepak

Thanks a lot. Logic is working.

The quantity being confirmed at phase 20, same quantity is getting moved to phase 40.

But the only issue is the Activity is not getting updated as per quantity at phase 40

Can you please let us know how activity will be calculated?

Best regards

Shailesh

dejoy
Active Contributor
0 Kudos

Hello,

Thank you for putting this question.Please close this thread if it resolved your primary query and raise new discussion for new query.

Regards,

Answers (1)

Answers (1)

kiran_kumar179
Active Contributor
0 Kudos

Shailesh,

Did you try with Control key which required confirmation at Phase 20?

If that doe not work then I think you need to consider BADI WORKORDER_CONFIRM to build your own logic.


BR

KK


shailesh_mishra5
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Kiran,

If I assign Control Key with required confirmation, it is directly allowing to confirm at phase 40. So, this doesnt work.

I think, this can only be achieved through some enhancements.

Best regards

Shailesh

kiran_kumar179
Active Contributor
0 Kudos

Shaliesh,

In above your case did you notice any warning or information message saying Phase 0020 required a confirmation when confirming 0040 Phase?

BR
KK