cancel
Showing results for 
Search instead for 
Did you mean: 

Priont address in sapscript dynamicaly

Former Member
0 Kudos

Hi,

I have a problem in sapscript ,in address iam displaying name1,name2,street,str_suppl1,str_suppl2,str_suppl3 etc........it is working fine but in some case the name1 have the value and name2 dont have the value,in that case i should see the space in the output.it should be like this name1,street,str_suppl1,........like that if any value is empty then in should not see the space line.How to solve this issue.

Thanks,

Deesanth

Accepted Solutions (1)

Accepted Solutions (1)

former_member585060
Active Contributor
0 Kudos

Is it yuoe Address fields under ADDRESS and ENDADDRESS? If Yes

write the Name field variable separeted by ','

/: NAME name1[,name2[,name3[,name4]]]

/: STREET street

Ex

/: ADDRESS

/: TITLE 'Firma'

/: NAME 'Schneider & Co', 'Finanzberatung'

,

,

/: ENDADDRESS

This produces the following

Firma

Schneider & Co

Finanzberatung

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

try this...

&<wa-fieldname(I)&

regards

padma

former_member181995
Active Contributor
0 Kudos

Goto>condition tab for each text element>give here <Yourvariable> NE Space.

means if your name2 is not space than only this text element would be triggered.

Amit.