on 12-22-2009 6:43 AM
Hi All,
I need to call a smartform within a smartform.
Given smartform layout contains 5 pages, at 2nd page i need to call another smartform.
If anyone have the resolution then please help me out.
Aradhana Yadav
Edited by: Aradhana Yadav on Dec 22, 2009 7:44 AM
Edited by: Aradhana Yadav on Dec 22, 2009 7:45 AM
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 23, 2009 4:22 PM
Dear Aradhana,
Can you please share some details of your requirement. So that the idea about the condition will clear. What are you developing and what is the requirement.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use control parameters, if you want to merge your smart form
data: sf_composer type SSFCOMPOP,
sf_control type SSFCTRLOP.
sf_composer_param-TDFINAL = ' '.
sf_composer_param-TDIMMED = ' '.
sf_control-NO_CLOSE = ' '.
***In your first smartform
**Call SF
EXPORT
OUTPUT_OPTIONS = sf_composer
CONTROL_PARAMETERS = sf_control.
CLEAR: sf_composer,
sf_control.
sf_composer-TDFINAL = 'X'.
sf_composer-TDIMMED = 'X'.
sf_control-NO_CLOSE = 'X'.
in your last smartform(i.e. your thrid smartform)
***In your first smartform
**Call SF
EXPORT
OUTPUT_OPTIONS = sf_composer
CONTROL_PARAMETERS = sf_control.
Now, you will see all your output in one spool request.
Close the thread once your question is answered.
Regards,
SaiRam
Hi,
did you tried callign the 2nd smarftform in the program lines in the 2nd page?
Another alternate, design the forms in such a way
FORM1- only - 1 page,
FORM2- your 2nd smartforms
FORM3- remaining 4 pages
Now in the driver program,
Call the FORM1 then FORM2 and last FORM3.
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aditya,
I tried calling the driver program of the 2nd smartform using the Submit ZREP and return satement by adding program lines in the 2nd page but by using this it only triggers the 2nd smartform But i want 1st smartform along with the 2nd smartform as the output.
Cannot use the alternative suggested by you as this is a specific requirement 2nd smartform is already developed only i need to call it in my smartform.
Aradhana Yadav
Edited by: Aradhana Yadav on Dec 22, 2009 8:05 AM
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.