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

Two Paragrapha in One Line - SAP SCripts

Former Member
0 Likes
768

Hello All,

I have defined two paragraphs in SAP Scripts P1 and P2.

I am printing the content using P1 - All is fine.

I am printing some content using P2 but its coming on the next line.

What I want to do is print both the content in one line.

can anyone help me out??

Thnx

Hello All,

I have defined two paragraphs in SAP Scripts P1 and P2.

I am printing the content using P1 - All is fine.

I am printing some content using P2 but its coming on the next line.

What I want to do is print both the content in one line.

can anyone help me out??

Thnx

5 REPLIES 5
Read only

Vinod_Chandran
Active Contributor
0 Likes
702

Hi Sachin,

You cannot have more than one paragraph for a line. But if you are looking for formating the character (e.g. Bold, underline etc), you can achieve it using character format.

Otherwise create two windows and keep it in the same line and in the first window you can have format P1 and in the other one P2.

Thanks

Vinod

Read only

Former Member
0 Likes
702

It's strange to use two differen paragraph in the same line. Why do you want to do it?

If the difference is the type of character, you can define the character (as that used by your P2 paragraph):

P1| My P1 paragraph and <P2> my character P2</>

Read only

0 Likes
702

Thanks for the quick reply.

What I am doing is calling two different text elements viz: ITEM_LINE_3F and ITEM_CONDITIONS_UNIT.

They are refering to standard SAP Program.

They are called at different places.

The flow in SAP is not sequential so I can not place one below the other. It doesnot matter.

Now the content returned through each of htese text element is to be printed in one line. Thats what my issue is.

I am printing line items aafter calling ITEM_LINE_3F.

The gross amount of the item is retrived from KOMVD-KBETR by calling ht e text element ITEM_CONDITIONS_UNIT.

In the standard SAP layout, the gross is printed at the below the line item.

My requirement is to print it in line.

Hope I have explained the requirement.

Your help wud be appretiated.

Read only

0 Likes
702

Are you using MEDRUCK or its copy?

Anyway if you want to write two text element in same line, insert '=' in tag colunm of the second text element:

/E| ITEM_CONDITIONS_UNIT

= |,,&KOMVD-VTEXT(16)&,,&KOMVD-KBETR&.....

but the system write this second line using the parameter of first text element (ITEM_LINE_3F).

Read only

0 Likes
702

You can copy what ever under the first text element to the second text elements and then call the second one only. But make sure that you are using this logic in the text element which is called second. Also make sure to disable the first text element.