cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script : Printing Issue(Urgent)

Former Member
0 Kudos

Hi,

I have a requirement in which I have to print the addess details like

Name

House no

Street

City

Country

Now the requirement is if any of these entries is absent the following entry should take its place.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think simplest thing would be to put a tick in the check box against 'No Blank lines' while defining a paragraph Say ZZ. For all such lines use the form defined above i.e. ZZ in SAP script.

I hope this helps,

Regards

Raju Chitale

Answers (1)

Answers (1)

dev_parbutteea
Active Contributor
0 Kudos

Hi,

before printing just put a condition like;

/:if &Name& <> ' '.
AS &Name&
/:Endif.

if this doesn't work then specify the number of spaces in variable like:
/:if &Name(10)& <> '          '

.<-- 10 spaces

AS &Name&

/:Endif.

Hope that this helps you,

Regards,

Sooness