cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT: main in 2 parts depending of one field in the Main table

Former Member
0 Kudos

Hi,

I have to create one SAPSCRIPT and I have to print lines of Main's table in 2 part as following:

L1.

L2.

L3.

***Text.

L4.

L5.

The first block (L1, L2, L3) has one field that is = W

The second block (L4,L5) has the same filed <> W. We have to print after strating the sceond block a static text.

How can I do this please?

Thanks in advance.

Regards,

Saida.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Create Text Elements in this window and control the printing of these elements within your program.

For Exemple:

E1 - First block

L1

L2

L3

E2 - Static Text

      • TEXT

E3 - Last Block

L4

L5

Former Member
0 Kudos

Hi,

Create a element E1 for first part print, after completion create second elemnt E2 for statix text and create E3 for second part.

call the elements on the same series from the program using CONTROL_FORM

Netaji.B