cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit/ BADI for Production Order Save

thangam_perumal
Contributor
0 Kudos

Hi Friends,

                  I need to Validate the Production order line item when production order is save.

I was gone through the User Exit-PPCO0007 and BADI-WORKORDER_UPDATE - AT_SAVE.

But here showing header level material only. I need to get component table ( Line Item).

Any one help to resolve the issue.

i need to structure like below BADI.


WORKORDER_UPDATE~BEFORE_UPDATE

Unfortunately, it is triggering after generating Production order number but i need before generation Production order number.

Thanks in advance.

Regards,

Thangam.P

Accepted Solutions (1)

Accepted Solutions (1)

former_member210541
Active Participant
0 Kudos

EXIT_SAPLCOKO1_004

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Take a look on the answer of thread CO01: Mandatory fields in component overview | SCN.

I did not test but I think that you can use the same logic to read the components on method AT_SAVE of the BAdI.

BR
Caetano

thangam_perumal
Contributor
0 Kudos

Hi Caetano Almeida,

                            I have done my requirement with help of your link.

Thanks.

Regards,

Thangam.P

Answers (1)

Answers (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Thangam,

Have a look at this exit PPCO0023.

Regards

KJogeswaraRao

thangam_perumal
Contributor
0 Kudos

Hi Jogeswara,

                 Thanks for your support.