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

scripts

Former Member
0 Likes
598

hi to all

help me in this issue.

when i am fetching date like this £&MHNK-FAEHW& i am getting value like £ 4562,00 iam getting gap since it is taking default 15 digit gap. how to get the amount and

pound symbol exactly.

thanks in advance

kiran kumar.

4 REPLIES 4
Read only

Former Member
0 Likes
571

Hi Kiran,

You can concatenate the pound symbol and &MHNK-FAEHW& value into a variable in driver program and display that variable in Sap script intead of displaying &MHNK-FAEHW&.

Hope this helps.

Read only

Former Member
0 Likes
571

Hello Kiran,

First possibltity is u can use write statement.

ie)

DATA: LF_AMOUNT(15).

<b>write MHNK-FAEHW to LF_AMOUNT.</b>

this will remove the space.

OR

<b>&MHNK-FAEHW(C)&</b>

If useful reward.

Vasanth

Read only

Former Member
0 Likes
571

Hi,

write perform condense(ztest) changing &MHNK-FAEHW&

form condense_text.

condense &MHNK-FAEHW&.

endform.

Regards

Amole

Read only

Former Member
0 Likes
571

in the layout text editor,

£&MHNK-FAEHW

(C)

& <-- makes the field CONDENSE.

you can use

(C)

with that field to condense it.

Message was edited by: Srikanth Kidambi