cancel
Showing results for 
Search instead for 
Did you mean: 

Issue to Print in First page in smartform

ashutosh_mishra4
Participant
0 Kudos

Hi all,

I am creating PO print out, in this i m creating 6 copies of the same PO.

In the output i m displaying one amount value inside of window.

But my requirement is do not show the Amount value in First copy after that i need Amount value in all the copies but only in 1 page that is in

last page....not in all pages of PO.

Please Help me!!!

Ashutosh

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

For the amount value you can use final window.

using copycount you can control the display fields in the output

ashutosh_mishra4
Participant
0 Kudos

Hi Aneesh

Thxks for Quick response

But can u explain little bit more so that i can use ur logic for solving my problem.....

thxks!!!

Former Member
0 Kudos

Hi,

please put the Amount field in the separate window, which is type of Final.

You will find the global variable SFSY-COPYCOUNT   value as the copy of the output.

give the condition in the final window conditions tab SFSY-COPYCOUNT NE 1 some thing like that.

http://scn.sap.com/thread/258084

hope it will help you...

ashutosh_mishra4
Participant
0 Kudos

HI Bhagath...

i tried this logic already but its not working...

can u explain little bit more so that i can also try ur logic!!!!

Former Member
0 Kudos

Hi ,

Seems to me you should try with copies window type ....just change the type of window final to copies...it should work.

former_member182040
Active Contributor
0 Kudos

in your form create flowlogic-->alternative and there u check copies and add logic like if copy =1 then skip amount value

ashutosh_mishra4
Participant
0 Kudos

Hi Krupa....

Thxks for Quick response

Now i m trying this logic only....

i create window as a copies window but the thing is in one copy i have more that 1 pages and i have to display the amount field in last page  of each copy .

i.e i made 6 copies of PO and rest of 1st copy in the other 5 copies i have to show the amt field but  in each copies i have more then 1 pages so if the 3 pages is there then i have to show the value in 3 page not in all the pages....

Thxks

Former Member
0 Kudos

Hi,

select copies window conditions tab > check box last page.

or give logic formpages eq jobpages ....just an overview logic/ find out different global variable values with respect to pages and compare value give logic accordingly.,

Answers (0)