Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PM:Transaction code IW3D

jaheer_hussain
Active Contributor
0 Likes
5,596

Hi,

   When I use transaction IW3D to print work order,I can able to print.

But I use this transaction in module pool programming to print work order.My program is calling this IW3D,but when I try to enter,the papershop is not coming .I am not able to print.please screen above .

 

SET PARAMETER ID 'ANR' FIELD AUFK-AUFNR .

CALL TRANSACTION 'IW3D' AND SKIP FIRST SCREEN.

Can some body throw light on this issue?

With Regards,

Jaheer

9 REPLIES 9
Read only

kumud
Active Contributor
0 Likes
4,150

Hi Jaheer,

Do you mean that the pop up containing 'Select shop paper' does not appear from your program?

I just did a dummy coding to call the transaction IW3D in the way you have called but by giving a specific order number and it worked fine. I would suggest to check the order number in AUFK-AUFNR in your code and also try with different order numbers. Thanks.

Regards,

Kumud

Read only

0 Likes
4,150

Hi,

 

REPORT  ZPM.

parameters:t_aufnr like aufk-aufnr.

SET PARAMETER ID 'ANR' FIELD t_AUFNR .

  

CALL TRANSACTION 'IW3D' AND SKIP FIRST SCREEN.

This is simple program for calling IW3D.It is not working. only I am getting message like this-

Order 900040 saved with notification 10000023.

No paper shop is coming.

With Regards,

jaheer

Read only

kumud
Active Contributor
0 Likes
4,150

Interesting but when I try the exact code and of course by giving a different order number (per my system configuration) I get the screen to select shop papers. I might have to debug to find a spot where pop-up gets suppressed or likewise or may be some other reason!

Thanks.

Regards,

Kumud

Read only

0 Likes
4,150

Hi,

Even I sent a mail to SAP for this issue.I am waiting for SAP reply.

Really for you,the paper shop is coming for this coding?

With Regards,

Jaheer.

Read only

kumud
Active Contributor
0 Likes
4,150

, Yes the paper shop pop up is very well coming! Which version of ECC you are in?

I am in ECC 6.0, EHP5. I was looking at various SAP notes on this transaction and there are many.

I would suggest have a look at the SAP notes. Not sure if configurational changes have a role to play here Thanks.

Regards,

Kumud

Read only

0 Likes
4,150

Hi,

Thank you very much.Can you please paste your coding and papershop?

we are at SAP ECC 6.0 and EHP.

With Regards,

Jaheer

Read only

kumud
Active Contributor
0 Likes
4,150

Coding as below:

   REPORT  ztest_chmuk1.
PARAMETERS:t_aufnr LIKE aufk-aufnr.
SET PARAMETER ID 'ANR' FIELD t_aufnr.
CALL TRANSACTION 'IW3D'AND SKIP FIRST SCREEN.

When I execute it screen comes as below:

After entering the order no. and executing:

Regards,

Kumud

Read only

former_member186472
Participant
0 Likes
4,150

Hi Jaheer, are you able to find solution for this??? Any helpful SAP Note for this. I am trying to add a print button on IW32 application toolbar and print the order direct. In the function code I am calling tcode IW3d and skipping first screen. when the popup comes for selecting output device I am entering device and clicking on scroll down, after this I am getting message order saved with notification XXXX but actually I should be able to click on Print or Print preview buttons, which is not happening.

Please let me know if you solved this problem??? Any useful suggestion from your experience is appreciated...Thanks in Advance.

Best regards,

Siva

Read only

0 Likes
4,150

Hi Jaheer, Instead of call transaction please use LEAVE TO TRANSACTION for printing, this will print the order and order saved message will not appear.

Regards,

Siva