‎2007 Feb 08 11:34 AM
hi gurus,
The smartform is a letter fromat.
The selection screen contains vbak-lifsk(Delevery block) its mandatory field and vbak-vbeln .
My requirement is to print all sales order no.'s and that sold to party details and remaining is hardcoded.
my problem is, suppose in a block if there are 2 or more sales doucuments we want to print the same format for for those sales order numbers.
suppose delevery block is Road Permit.
this block contains 5 sales order numbers.so i want 5 letters .
Now i am getting for one sales order no .
Best answers will be rewarded.
Thanks and regards,
alson
‎2007 Feb 08 12:42 PM
Hi Alson,
If the output is only one page per sales order....
1. Hardcoded part would be repeated per each page.
2. For the dynamic date ( sales order no. and sold to party details ),
we can run a loop and print each sales order no. in different page
with NEW-PAGE command....
or another approach could be.. we have to call the generated FM for the
smartform within a loop of the table which has all the data of sales orders
for a delivery block....