on 12-26-2007 11:01 AM
Hi Friends,
I have a requirement to issue the Smartfrom for each material in the delivery(I will display some characterstics of each material as a form). This would be called from VL02N through configuration. I have written a driver program and i am calling Smartform's function module as many times as many Number of materials i have inside the loop. But i am not getting all smartforms. I am only getting First material smartform.
Please suggest me proper method.
Thanks,
Sekhar.J
Instead of putting a loop on function module....you can put all your contents in
the main window and loop it...moreover you can also check the condition...
On change of material number try to put a page break......
You will have to check the number of lines in your internal tables that you are using in the smartforms. see this code i have written using program lines.
flag = 'N'.
DESCRIBE TABLE it_final LINES count.
n = n + 1.
IF n = count.
flag = 'Y'.
ENDIF.
and then for the page break you must hae use 'COMMAND' . in the condition tab for command give condition :
Flag = 'N'.
Try this , this will solve your problem and let me know about it.
Edited by: Sudhanshu Jain on Dec 26, 2007 1:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.