cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script Printing

Former Member
0 Kudos

Hi Experts,

I have a small issue in SAP script. Suppose, I have a variable like ABC 20.00. So, I would like to print ABC as a left aligned and 20.00 as a right aligned. And, this value is coming from a routine. I have already used <CR> styles. So, what to do in this. Please help me in this issue. I shall be highly obliged.

Thanks & Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

One variable divide in to two variables...

ABC20.000 divide into 2 vlaues

ABC

20.000

Create charcter format with right alighnement display in the right side.

Using search and split divide into two parts.

Regards,

Janardhan

Former Member
0 Kudos

Thanks for your response. But, actually the thing is that these are two different variables. ABC is a text variable and 20.00 is a value. Now. what to do? Sorry for the inconvenience caused by me.

Thanks & Regards.

Former Member
0 Kudos

Hi,

while you are deriving at the values of this fields in the subroutine only do the corresponding justification for the fields , i mean right justification for amount and left for text Because, the formatting techniques doesnt seem to work when returned from subroutines.So try using Write with justfity addition.

Hope this helps you

Raj