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

help in smart form

Former Member
0 Likes
775

hallow

i use SF lb_bill_invoice and i wont when the user print the page in first time

in the page header was write orignal and after he print the invoice more the one time in header reprint print , inew that i can use IS_REPEAT but its not working

i reward

regards

hallow

i use SF lb_bill_invoice and i wont when the user print the page in first time

in the page header was write orignal and after he print the invoice more the one time in header reprint print , inew that i can use IS_REPEAT but its not working

i reward

regards

4 REPLIES 4
Read only

Former Member
0 Likes
757

Hi,

If the smartform is printed first time Declare a global variable and set some flag.

If this variable is blank print original give the condition in smartform for this.

If this variable is set Reprint should print this condition should be given in smartform.

<b>Reward if helpful.</b>

Read only

0 Likes
757

hi uma

as u can see the sap SF have flag is_print and i copy the window repeat copy

to origanl and in the window condtion is_repeat = 'x' <---copy

is_repeat = ' ' orignal but its not working

what i miss?

Regards

Read only

0 Likes
757

Hi,

The condition should be always in Capital letters.

May be you can put a breakpoint before this and check that wats happening.

Based on the condition it should work correctly.

I have used the same logic manytimes and it is working fine.

<b>Reward if helpful.</b>

Read only

Former Member
0 Likes
757

Hi,

Use a flag as suggested or use Sap memory i.e set parameter and get parameter and store the value into one variable.if the variable is not initial dont print the form else print it.

Reward points if it helps..