cancel
Showing results for 
Search instead for 
Did you mean: 

adjust long char output format

Former Member
0 Kudos

I have a question,pls help me

<u>in the form :</u>

Description:&test&

<u>output result:</u>

Description:This is a long test charactersXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

<u>I want the result like this:</u>

Description:This is a long test characterscharactersf

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.

how to implement it???

Accepted Solutions (1)

Accepted Solutions (1)

sridhar_k1
Active Contributor
0 Kudos

Create a paraggraph, in the standard attributes, enter Left Margin 20MM and indent 1st line -20MM, adjust the numbers until the second line starts after first line':'

Use the paragraph to print the line.

Regards

Sridhar

Former Member
0 Kudos

hi,Sridhar:

Thanks very much,I have implement it,but I have a doubt:'Left Margin 20MM and indent 1st line -20MM' if I can do :'Left Margin 10MM and indent 1st line -30MM'?the number must same??

Regards,

yang

sridhar_k1
Active Contributor
0 Kudos

The numbers need not be same, you can use any numbers as long as it prints like you want.

Regards

Sridhar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Create a paragraph format with left and right margin as per where u want to print.

Regs

Sugavanam

Former Member
0 Kudos

sorry,I means the second line begin at the position below first line ":"

former_member215542
Active Participant
0 Kudos

Hi Yang,

I suggest, you use a table with one row and two columns. In the first cell (row 1, col 1) insert a text node and add write 'Description:' and in the second cell (row 1, col 2) add the field 'test'.

Hope it helps.

Regards,

Pulkit

Former Member
0 Kudos

Hi,Pulkit:

You means smartform? This one is SapScript.

I don't know if possible to draw a table in script.

Can you give me more details

how to implement this table?

I haven't used it before.

Thanks

yang

Message was edited by: yang

former_member215542
Active Participant
0 Kudos

Hi,

Even I am not sure of the tables in SAP script. I am sure you will find it the documentation on how to handle tables in script. I thought it was smartforms related.

Sorry cant help you with that.

Regards,

Pulkit

former_member215542
Active Participant
0 Kudos

Hi Yang,

Check the following link. It may prove of some help to you.

Regards,

Pulkit