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

smartforms

Former Member
0 Likes
464

Hi,

I have developed a smartform

Let us consider there r two ADDRESSES

ADDRESS1 and ADDRESS2 which are to be displayed at the footer window.

If it is for single page ADDRESS1 is to be displayed

If it is for multiple pages ADDRESS2 is to be displayed.

what condtions we should keep to display them like that.

could anybody help me over this?

4 REPLIES 4
Read only

Former Member
0 Likes
440

hi

In footer u create 2 text and in conditions tab give the conditions

EX:- if sy-pagno >=2.

and in another text

if sy-pagno < 2 .

Regards

Prajwal.K

Read only

arpit_shah
Contributor
0 Likes
440

try like this,

&sfsy-formpages& ge 1.

pass the address2 else address1 .

Regards,

Arpit

Read only

Former Member
0 Likes
440

Hi try this.

In footer u create 2 texts and in their conditions tab give the conditions as:

for Address 1 Condition is:

sfsy-formpages = 1.

for Address 2 Condition is:

sfsy-formpages GT 1.

awrd Points if helpful

Bhupal

Read only

Former Member
0 Likes
440

Hi,

In footer u create two text for addresses.

Ex. Text1 for address1

text2 for address2.

in condition tab

write

if sfsy-formpages = 1.

text1.

else.

text2.

endif.

If it is usefull pls reward pts

Regards

Srimanta