05-04-2010 8:50 AM
Hi gurus,
have requrment in smartforms they are two smaartforms ,1) only grand total 2). Only annexture .both are differnt smaartforms.
need to merge 2 smartforms witout creating 3 smartforms.can be able to create if its.please guide me poosable to acheive .
Concepts is releated to VF01 and nace tcode.
Regards,
San
Edited by: santosh jajur on May 4, 2010 9:50 AM
Edited by: santosh jajur on May 4, 2010 10:07 AM
05-04-2010 9:12 AM
For SF1- pass int tab 1 to--
FM 'CONVERT_OTF' get OTF data1
For SF2- pass int tab 2 to--
FM 'CONVERT_OTF' get OTF data2
Append OTF data2 to OTF data1.
Now pass this otf data to GUI_DOWNLOAD FM and get the PDF containing data from both SFs.
Regards,
Sumit
05-04-2010 9:44 AM
Hi sumit,
Need to print preview based on the output type in vf01 not to convert in pdf .....
Regards,
Santosh
05-04-2010 10:01 AM
When you say "merge", is it to be merged one after other or in any random way?
I think you will have to develop a new form that if you want it in preview..
Regards,
Sumit
05-04-2010 10:08 AM
HI,
If you wud like to know the steps for configuration of NACE.. that are as follow
1. Goto in NACE
2. You need to ask your functional buddy to let you know about Application area, I suppose u need to take V3 (Billing).
3. Select V3 from the list and then click on Output Types, select any output type (Which you wud like to give to your script)
4. Else if you like to create a new one for your script, then on same screen click on change button, then click on New Entries
And give all the detailed info.
5. To use existing output types, select a output type like "ZEDI", at the left hand side double click on Processing Routines.
6. In the Processing Routines block, Give the Program name as print program and here you need to give your SAP scrip name in Form option.
Save it.
But, You are saying about merging.. I think you need to create a new one.. and design the layout by coping the exsistings..
An configure this smart form in NACE..
~Lokesh
Edited by: Lokesh Tarey on May 4, 2010 11:09 AM
05-04-2010 10:46 AM
In NACE-> GOTO V3(BILLING)->Your Output Type->Processing Routines-> Maintain the second print program and form in PROCESSING2 Block.........
So, in print preview, you will get the first form when you press back the print preview of the second form will come.......
05-04-2010 12:55 PM
hello santosh ,
if you want to in the One smartform merge 2 smartforms.
Do like this in the smartform create folder and on that folder put the condition for ssf one and on the second folder put your second SSF condition .
vandana.
05-11-2010 6:08 AM
Solved by myself...
DATA SSFCTRLOP LIKE SSFCTRLOP.
CALL FUNCTION 'SSF_OPEN'
.....
SSFCTRLOP-NO_OPEN = 'X'.
SSFCTRLOP-NO_CLOSE = 'X'.
CALL FUNCTION SMART1
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART2
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART3
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART4
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION 'SSF_CLOSE'
thanks for guidelines
Edited by: santosh jajur on May 11, 2010 7:09 AM