Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform-printing problem

Former Member
0 Likes
238

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

1 REPLY 1
Read only

Shivaji16
Active Participant
0 Likes
217

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....