on 12-04-2008 1:33 PM
Hi experts.....!
I am working on a scenario, in which I have to call different smartforms based on the condition.
For example,
I have Notification Numbers like 10, 20, 30.
I will loop my Itab which has the these notifications.
And based on the Notification number I have to pick the Smartforms say S1, S2, S3.
Please guide me in this regard.
Thanks in advance.
Best Regards,
Naveen Kumar G
i think no need to create multiple smartforms in your case.
with single form you can create COMMAND with NEXT page. when the Notification number will change it will create new page with onther Notification number....
Notification Numbers 10 in first page
Notification Numbers 20 in second page
Notification Numbers 30 in third page like ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for your help.
I appriciate the quick replies for my query.
Thanks once again.
Ragards,
Naveen Kumar G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use the below logic
loop at itab.
if itab-notification = '10'.
call smartform S1
ELSEIF ITAB-NOTIFICATION = '20'.
CALL SMARTFORM S2
ELSEIF ITAB-NOTIFICATION = '30'.
CALL SMARTFORM S3
ENDIF.
endloop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please note that the Smart forms need different list of parameters to be passed to them in each of the case.
Thank you.
Regards,
Naveen G
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 | |
10 | |
7 | |
6 | |
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.