cancel
Showing results for 
Search instead for 
Did you mean: 

Data on the same line with two "WRITE FORM". Possible? (SE71)

Former Member
0 Kudos

Hello,

I have a broblem with my form in SE 71.

I want print on the same line with 2 different "WRITE FORM" (in my program)

My form :

TOTAL_LINE

&VBDPR-POSNR& &VBDPR_ARKTX&

TOTAL_PRICE

&KOMVD-KBETR& &KOMVD-KWETR&

The result print :

010 WATTER btl 1L

1.5 150

I Want this result :

010 WATTER btl 1L 1.5 150

Can you help me ?

I don''t want to modify the programm, because I don't want destroy the programm.

Thanks.

Bye

Nico

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Nicolas,

Let's take your example:

TOTAL_LINE

&VBDPR-POSNR& &VBDPR_ARKTX&

TOTAL_PRICE

&KOMVD-KBETR& &KOMVD-KWETR&

In the left of TOTAL_LINE, there is an /E, right? Also in front of TOTAL_PRICE.

Well, in front of the other two lines, there is a paragraph format with two letters, right? The idea is to replace the paragraph in front of &KOMVD-KBETR& &KOMVD-KWETR& with = . You might need to modify the paragraph used for TOTAL_LINE, but the point is that this simple measure will write the two text elements on the same row.

Please let me know if you understand or you need further explanations.

So, what I propose is something like:


/E   TOTAL_LINE
AA  &VBDPR-POSNR& &VBDPR_ARKTX&
/E   TOTAL_PRICE
=     &KOMVD-KBETR& &KOMVD-KWETR&

Instead of AA leave whatever two letter paragraph name it was before the change.

Regards,

George

Former Member
0 Kudos

Hi George,

Sorry, but I can't see in the Form Painter the left part : /E, =

Can I activate this ?

Thanks for your help.

Regards

Nico

Former Member
0 Kudos

In the menu, Goto-> Change Editor.

In Goto-> Configure Editor you can set which of the two editors you would like to use.

I usually use the non graphical PC editor because it gives me what I consider to be more access.

Regards,

George

Former Member
0 Kudos

Hello,

Create two windows and pass the total_line in one window and TOTAL_PRICE in other window which are adjacent.

Former Member
0 Kudos

Hi Nicolas,

I've just tested a simple solution in my system and it works!

The idea is like this:

the first element you write normally and for the second element you just put the paragraph format = (line continuation) and it will be written on the exact same row as the previous text element.

Try it, it works like magic.

Let me know if you encounter any other issues.

Regards,

George

Former Member
0 Kudos

Hi George,

I don't know, if I have understand your proposition.

Can you write the text you have in your simple forme (SE71) ?

Thanks

Regards

Nico

Former Member
0 Kudos

Hi,

create 2 differnt windows adjacently, and pass the values to the respective windows.

Hope it helps!!

Rgds,

Pavan