cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript editing

Former Member
0 Kudos

Hi,

I have some questions in Sapscript.

1. How do I center a text that I have to display?...e.g Purchase Order should print in the center of the form.

2. I have a situation where I have to check if the country is US and if so, I should not print the country. This variable &VBDKL-LAND1& is between an ADDRESS and ENDADDRESS. How should I check this?

3. I have a two lines in the layout as follows:

/: ENDADDRESS

/<S>DATE</>&DATE&

When I hit save and activate this, it saves and it gives the proper output in print preview. But when I look back at it again, it shows the two lines as one line

/: ENDADDRESSpar < S > DATE </ > &DATE&

Why does this happen?

Thanks,

A.P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

1. Use paragraph format. Alignment Center.

2. /: define &var&

/: if &land& ne US

/: &var& eq &land&

/: endif.

/: Address

........

.......

/: Country &var&

/: endaddress

3. /: endaddress

/: date

leave one line to show a gap between 2 lines

Regards

SAB

Former Member
0 Kudos

Thank you Syed!

Answers (0)