cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancement after Print and print preview IW22

former_member204244
Active Participant
0 Kudos

Hello Experts,

My requirement is that I need to create one POP-UP after user clicks on print and Print Preview button from Iw22 transaction(Order->print). I was looking for Customer Exit. But I am really not able to locate a perfect customer exit for the same.

Request you to Please help me for the same.

Thank You.

Best Regards,

Ishani

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member204244
Active Participant
0 Kudos

Hello All,

I need one help again. When i click on Print Preview after selecting the shop papers, PDF is getting generated and i can debug the print program also But when I select print/Fax button after selecting the shop paper then driver program of the PDF form is not getting called.

Please help!

Thanks,

Ishani

former_member204244
Active Participant
0 Kudos

HEllo Experts,

I would like to share my observation on issue of PRINT . firstly OiD3 config was missing (I maintained that config now ) but the Function module 'ENQUEUE_EPMPL' is somehow failing due to which driver program is not moving ahead and form PRINT_PDF is NOT getting called from program RIPRCT00.

Please help!

Thanks,

Ishani

jogeswararao_kavala
Active Contributor
0 Kudos

Ishani,

is the right space for this discussion.

Regards

KJogeswaraRao

former_member204244
Active Participant
0 Kudos

Thank You i will post into ABAP

former_member204244
Active Participant
0 Kudos

Hello All,

I have been doing it by putting the implicit enhancement at Driver program for Form  Hoping this will work

Ishani

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Ishani,

Contradiction in your post. Please clarify whether it is about IW22 or IW32 ? Because you mentioned Order > Print .

former_member204244
Active Participant
0 Kudos

Sorry about that!

It is IW32!

And I want to create one pop-up after Print preview & Print button is clicked.

Thanks,

Ishani

jogeswararao_kavala
Active Contributor
0 Kudos

I doubt the availability of any user exit for this. You can have this pop-up easily through Implicit enhancement points in program SAPLCOIH. One such include is LCOIHFBJ .  Here ....

  • The Implicit Enhancement point at Line 97 gives you access to put a pop-up code after the Print Preview and
  • The Implicit Enhancement point at Line 20 gives you access to put a pop-up code upon clicking on Order > Print.

Hope you can make use of this information.

Regards

KJogeswaraRao

former_member204244
Active Participant
0 Kudos

Thank You so Much for your quick response. I am really grateful.

But I am sorry as this code hangs up when i do Order->print. I think my question was not clear enough. I want popup after user clicks on Order->print and then when user selects the shop paper and then click on Print preview or Print button.

Thank You,

Best Regards,

IShani

jogeswararao_kavala
Active Contributor
0 Kudos

There are several other includes for this purpose. I have checked the first one of the list below. You have to test and find, which one can work for you.


   INCLUDE LCOIHFBJ " PRINT_ORDER_F55

   INCLUDE LCOIHFBI " PM_ORDERS_POST_F55

   INCLUDE LCOIHFBH " PM_PRINT_DATA_SAVE_F55

   INCLUDE LCOIHFBG " SET_WORKPAPERS_F55

   INCLUDE LCOIHFBF " DIALOG_PRINT_CONTROL_F55

   INCLUDE LCOIHFBE " ONLY_ORDER_DATA_IMPORT

   INCLUDE LCOIHFBD " DISPLAY_LOG_F55

   INCLUDE LCOIHFBC " SET_PRINT_STATUS_F55

   INCLUDE LCOIHFBB " CHECK_PRINT_ALLOWED_F55

   INCLUDE LCOIHFBA " SINGLE_OP_PRINT_F55

   INCLUDE LCOIHFB9 " PRINT_IW38_F55

   INCLUDE LCOIHFB8 " OP_PRINT_OK-CODE_F55

   INCLUDE LCOIHFB7 " TOGGLE_MARK_F55

   INCLUDE LCOIHFB6 " OPER_LIST_PRINT_F55

   INCLUDE LCOIHFB5 " FCODE_IHDR

   INCLUDE LCOIHFB4 " FCODE_IHDD

There are several other includes where PRINT activity is involved. You need to research by searching the program (SAPLCOIH) through word 'PRINT'.

Regards

KJogeswaraRao

former_member204244
Active Participant
0 Kudos

Thanks a lot

former_member201039
Active Participant
0 Kudos

Hii,

What i can understand from your post is that it will be better to use BADI in your case. To find your BADI go to T-CODE- SE84 and put IPRT in package field and execute the radio button and find your suitable BADI.

Regards,

Sammer