2006 Aug 25 8:01 PM
In The tcode : CO02 for Prod Order , I specify under menu path : Order-settings-listcontrol-for Lp01 printer : 0909 . In the user master record the printer SPLD is 7205. I want that the printer setting on the screen ( 0909 ) should override the settings for user. So , I went to tcode opk8 and in the Print COntrol -> selected output device = 2 ( 1 is for user , 3 is for print control ) . I tried to print the form riding the user master setting , but it is not working . WHen i go and check the Print Determination : I see that it populates the print control from User master only ?
Any idea how can i override this setting ?
note : this List Control calls a Zprogram that calls a Smartform .
2006 Aug 25 9:35 PM
output device = 2 gets printer from 'spool parameters for user' in OPK8 config. if there's a printer assigned with user = *, clear it and try printing.
Regards
Sridhar
In The tcode : CO02 for Prod Order , I specify under menu path : Order-settings-listcontrol-for Lp01 printer : 0909 . In the user master record the printer SPLD is 7205. I want that the printer setting on the screen ( 0909 ) should override the settings for user. So , I went to tcode opk8 and in the Print COntrol -> selected output device = 2 ( 1 is for user , 3 is for print control ) . I tried to print the form riding the user master setting , but it is not working . WHen i go and check the Print Determination : I see that it populates the print control from User master only ?
Any idea how can i override this setting ?
note : this List Control calls a Zprogram that calls a Smartform .
2006 Aug 25 9:35 PM
output device = 2 gets printer from 'spool parameters for user' in OPK8 config. if there's a printer assigned with user = *, clear it and try printing.
Regards
Sridhar
2006 Aug 25 9:42 PM
With the same set up , it works good for List COntrol LG01 but for LP01 and Lp 02 it doesnt . The Zprogram for LP01 calls the FM : call function 'CO_DR_PR_OPT_FILL'
exporting
prt_co = print_co
importing
pr_opt = pr_options.
I debugged and saw that pr_options gets the printer I specify on the screen , but then also finally it prints it on User Master Printer for Lp01 and Lp02 . It works well for LG01.
I couldnt really see specification : Printer assigned with user = * . where should i be looking for it ?
2006 Aug 25 9:48 PM
In OPK8 Left pane, second folder with name 'Spool parameters for user'.
Regards
Sridhar
2006 Aug 25 10:04 PM
Yeah Sridhar , there was a user * maintained and for my uname , there was no record ...so i added the record for me and it worked .
thank you very much ...you always click ..thankkks
2006 Sep 22 9:12 PM
Hello,
SAP BEE looks like you set-up shop floor paper printing using Smartforms vs. SAP Script. Could you please guide me as well.
-
To develop shop floor papares I am using standard for PSFC_STD_LAYOUT and print program PSFCOBJL for output type LG01. Is it possible to make the customization using Smartforms vs. SAPScript ...
-
2006 Sep 22 9:24 PM
Hi Divya,
you can use tcode opk8 to create new entries under : Refernce Order Types -> Print Programs and can specify your driver prog name there which will call your smartform .
You can also do setting for each List Type you create in : the : Spool Parameter for user . there you can specify properties of list based on : User name or on the Plant level .
In the driver program i did something like this :
read table caufvd_tab index 1.
case caufvd_tab-werks.
when '7200'.
i_formname = 'ZSF_OBJECT_LIST'.
when '9200'.
i_formname = 'ZSF_OBJECT_LIST'.
when others.
i_formname = 'ZSF_OBJECT_LIST'.
endcase.
Hope this helps . If you have any queries let me know .
Thanks
Message was edited by: SAP BEE
2006 Sep 22 11:49 PM
Hello,
Thank you for your reply.
To clarify :
For LG01 output type.
In OPK8, under Reference order types> Print program>I added the driver Smartforms.
Under Reference order types>Forms>LG01 type --> it still reads as PSFC_STD_LAYOUT. Do I need to keep this entry at all?
In your example for setting user/plant settings you are calling the same form. Would in reality they will be different forms for each plant?
read table caufvd_tab index 1.
case caufvd_tab-werks.
when '7200'.
i_formname = 'ZSF_OBJECT_LIST1'.
when '9200'.
i_formname = 'ZSF_OBJECT_LIST2'.
when others.
i_formname = 'ZSF_OBJECT_LIST3'.
endcase.
Thanks you so much in advance.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |