cancel
Showing results for 
Search instead for 
Did you mean: 

How do I print a single purchase requisition per page?

Former Member
0 Kudos

In the Smart Forms driver program in select-options, I can select a range of purchase requisition numbers. Now where do I write a loop condition so that I can print a single purchase requisition per page?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

Within the loop call the FM of the smartforms, then it will print them in separate page

regards

Shiva

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Populate all the header data in one internal table and all line items in other internal table .

Create a loop . Loop it_header internal table .

create a tble control inside the loop . in table control give internal table as it_item ( which contains all the line items ) and with condition where document no ex (it_item-vbeln = it_header-vbeln) and after printing all line item related to a particular vbeln put a page break .

Regards

Neetesh

former_member196280
Active Contributor
0 Kudos

Place command in smartform and place your condition when new purchase number tick the check box new page.

Regards,

Sairam