on 10-16-2006 5:18 PM
Hi Experts,
I have a requirement where I have to create an Output type based on existing one But with little different logic.
How can I do this as I am dealing with Smartforms for the first time?
Thanks
Asha
Hi,
Goto VOK2 transaction..
In the menu select SD document..
Then under that..If it is billing related output type choose Billing document..If it is sales document related output type choose sales document..
THen choose condition type..
Select the one from which you want to copy...
Then press the copy button (F6)..
Then in the resulting screen ..give your new output type..
In the processing routines section give the program name and smart form name..
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naren. thank you very much. My problem is solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Preema,
Thanks for your response.
Yes I do have an existing Output type but not the Smartform. It is associated with a Script. I am trying to copy the OUTPUT TYPE. Can u tell me how I can do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Is there an existing output type from which you can fetch the smartform details?
If yes, go ahead and copy the existing smartform and start making changes.
For smartforms, the tcode is smartforms.
First, whenever u creat a smartform , a function module is created.That function module u have to call in the ABAP program.
In ABAP program for knowing the function module name, u can use,
SSF_FUNCTION_MODULE_NAME
eg:
DATA: FM_NAME TYPE RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Smartformname'
IMPORTING
FM_NAME = FM_NAME.
CALL FUNCTION FM_NAME
EXPORTING
...
IMPORTING
...
TABLES
...
EXCEPTIONS
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.