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

Standard Text

former_member541575
Participant
0 Likes
827

Hi Experts

i want to shift my standard text just on row in upper position.

what systex should i write to achieve that.

Standard Texct code is below.

IF &BSID-BUKRS& = '2181'

&KNA1-ANRED&

ELSE

&KNB1-ZSABE&

ENDIF

&KNA1-NAME1&

&KNA1-STRAS&

IF &KNA1-PFACH& <> '0'

IF &BSID-BUKRS& = '2181' AND &KNA1-PFACH(C)& NE ''

BP &KNA1-PFACH&

ELSE

&KNA1-PFACH&

ENDIF

ELSE

ENDIF

&KNA1-PSTLZ& &KNA1-ORT01&

PERFORM GET_COUNTRYKEY IN PROGRAM ZFFR_GET_ST_NAME

USING &KNA1-LAND1&

CHANGING &T005T-LANDX&

ENDPERFORM

&T005T-LANDX&

Regards

atul

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
796

Hi,

u just write like this,

TRANSLATE <l_text> TO UPPER CASE.

Ex:

DATA text TYPE string.

text = `Careful with that Axe, Eugene`.

TRANSLATE text TO UPPER CASE.

seshu.

Hi Experts

i want to shift my standard text just on row in upper position.

what systex should i write to achieve that.

Standard Texct code is below.

IF &BSID-BUKRS& = '2181'

&KNA1-ANRED&

ELSE

&KNB1-ZSABE&

ENDIF

&KNA1-NAME1&

&KNA1-STRAS&

IF &KNA1-PFACH& <> '0'

IF &BSID-BUKRS& = '2181' AND &KNA1-PFACH(C)& NE ''

BP &KNA1-PFACH&

ELSE

&KNA1-PFACH&

ENDIF

ELSE

ENDIF

&KNA1-PSTLZ& &KNA1-ORT01&

PERFORM GET_COUNTRYKEY IN PROGRAM ZFFR_GET_ST_NAME

USING &KNA1-LAND1&

CHANGING &T005T-LANDX&

ENDPERFORM

&T005T-LANDX&

Regards

atul

5 REPLIES 5
Read only

Former Member
0 Likes
797

Hi,

u just write like this,

TRANSLATE <l_text> TO UPPER CASE.

Ex:

DATA text TYPE string.

text = `Careful with that Axe, Eugene`.

TRANSLATE text TO UPPER CASE.

seshu.

Read only

0 Likes
796

hi

i want to shift my Text to one Row in Upper Side not in UPPER CASE.

thanks

atul

Read only

0 Likes
796

Hi..

If you are refering to Super Script or Sub script i.e then u need to use character formats...

Regards,

Navin

Read only

0 Likes
796

hi

actually i have to print customer address in sap script layout and this standard text is using there.

in the pdf layout there is 6 small window which are attached to each other and this address should be printed in the 6 windows but last field of address (country name is going out from window.) and i can not chnge the window size and also can not drag and drop because that is the requirement so i have to do some changes in my standard text copd.

regards

atul

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
796

Hello,

Can you use a smaller font size?

IF the answer to this is YES, read on, ELSE ignore:

1. If you are using a specific style in your script, create a paragraph format with a small font size(say PS).

2. In the SO10 text editor, Format --> Change Style. Use the paragraph format PS instead.

Hope this helps.

BR,

Suhas