on 04-07-2011 10:40 PM
I have a ZNB output type with a custom print program and custom smartform defined in output config.
I need a 2nd PO with a different layout for certain new company codes, but it's still a ZNB.
How and where would I control the selection of the smartform used based on what company code the PO has?
In output config, do I NOT put in a smartform for ZNB and just put in the ABAP print program and in the program put insome logic to pick the right smartform??
Thanks,
Jeff
Hi,
Since you have a custom print program you can make this happen. You can pass different smart form names to the function module "SSF_FUNCTION_MODULE_NAME" based on your conditions. then it will return the automatically generated function module name of the smart forms. If the parameters are not the same in your smart forms you'll have to call it separately.
Cheers,
tansap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you should have different output type if you want to use different form. As you said you have only one smartform in output type and if you do some magic in printing program it will be confusing for new people. Anyway, if you really want to stick with one output type than you can change form determination in your custom printing program.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.