on 10-03-2013 7:07 PM
Hi All,
I have a requirement to trigger ADOBE FORM from inside a loop and print multiple forms as many records in the loop. The requirement is to print the forms immediately from local printer each with different spool number.
I am able to suppress print preview part and other dialogs by passing no_dialog='X' and preview=' '.i.e blank, dest ='LOCL'.
While executing, everything is working fine, but each time the loop triggers the FORM, a pop-up is displayed to select local printer. The user only wants to select the pop-up only once for the first time.
Is there any way to supress the pop-up(to select local printer) and pass it dynamically ?
Is there any FM/BAPI to find/populate the local printers?
Kindly suggest on how to go ahead with this requirement.
Call Function
FP_FUNCTION_MODULE_NAME
FP_JOB_OPEN
Befor the Loop Statement.
inside the Loop
call function 'FM Name'.
After Endloop
Call Function
FP_JOB_CLOSE
This is will solve your Problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What kind of popup did you see? Is it like below?
Or it is a the popup from windows, but not a popup inside the SAPGUI?
Please also try to set following parameters.
REQNEW
REQIMM
REQFINAL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not able to set a debugger on that popup. I suppose it is a pop-up from windows, not from SAPGUI.
Thanks for your reply @Ansumesh Kumar Samal : but, I would need seperate spool for each line record of loop, that wont help.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.