12-26-2007 10:51 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
12-26-2007 4:29 PM
Hai,
Call the smartform in a loop.
For example:
collect all materials for the selected delivery into gt_material_info.
Now Call a new smartform for each materilal by loop thru the materials.
Loop at gt_material_info.
Here call new smartform for each material.
endloop.