cancel
Showing results for 
Search instead for 
Did you mean: 

Need print out when “deletion flag set to the production order”

Former Member
0 Kudos

Hi,

I need some guidanceu2026u2026

My client requirement is that when production order set u201Cdeletion flagu201D, system should create a print out with information u201CProduction order deletedu201D. How we can map this scenario in sap.

Thanks & regd.

PNU

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pravinnu,

Well try with this T- code COHVOMPRINT or CO04n ok.

I hope it helps you.

Regards,

Madhu.G

Former Member
0 Kudos

hi

check the output type and trigger the same when they set this indicator and save.

Former Member
0 Kudos

Thans for reply.

But I did not find that setting.

Thanks and regd.

PNU

anup_patil3
Active Contributor
0 Kudos

Hi,

Follow below steps to achieve it.

1. Need to setup a 'List' for Production Order output in Tcode-OPK8.

2. Then use customer exit- PPCO0002 to put your logic. This enhancement will trigger when you set Deletion Flag to production Order.

Revert if any further issue.

Regards,

Anup

sjeevan
Active Contributor
0 Kudos

You cannot achieve what you're look for from IMG settings.

You need to change from ABAP side.

Look up the print parameters for the order type/username using program PPCO85EI Look up the sapscript form and print report, you need to change them so that if the order is set DLFL flag the text "Deletion flag activated for Order no. XXXXXXXX" should appear on the form.

Then use the exits PPCO0007 and/or PPCO0007 (TCode SMOD)

Then you'd have to use the function modules to print in the enhancement spots

CO_DR_PRINT_ORDER

CO_DR_GENERATE_PRINT_ORDERS

CO_DR_PRINT_TABLES_CHECK

CO_DR_EXEC_ORD_PRINT