cancel
Showing results for 
Search instead for 
Did you mean: 

Correct order to put out different kind of data in one SAPscript window

0 Kudos

Hello all,

I want to put out into one window of a SAPscript form a text-element /E TEXTELEMENT first and then an address with /: ADDRESS u2026 /: ENDADDRESS.

How is the correct order in the formular and in the print program respectively?

In the form first the /: ADDRESS u2026 /: ENDADDRESS part and after that the /E TEXTELEMENT?

And in the print program first the WRITE_FORM call for the text-element and afterwards the PRINT_INTO_ADDRESS?

I changed it so many times that I am now a little bit confused!

In my case there is no output of the address although there are address data.

Thanks a lot for your effort to help me!

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Anybody an idea?

antony_paul2
Active Participant
0 Kudos

Create One more Text Element. (Say /E ADDRESS )

/E TEXTELEMENT

P1 ..............................

P1 ...............................

/E ADDRESS ( New Test Element )

/: ADDRESS

/:ENDADDERESS

Then call Text Element from Driver Program in the follwoing order

1st TEXTELEMENT

2nd ADDRESS

Its irrelavent now how you define it in the script..... All depends on when text elements are called from the driver program

0 Kudos

Hello Antony,

many thanks for your answer. I'll try it this way.

But how is the 'connection' between driver programm and the form. If I call text-elements I have to use the WRITE_FORM-function. But for the address I have to use the ADDRESS_INTO_PRINTFORM-function. I can't gave this function a text-element as a parameter.

Anyway, thank you!

0 Kudos

Hello Antony or any other of this forum,

can you explain me your advice regarding to my last post?

Thank you very much!

0 Kudos

Because I am not experienced on output with /:ADDRESS let me ask about the right handling.

Is it right to do the following steps:

1. I put an /E textelement (e.g. /E MY_ADDRESS) into the SAPscript form.

2. Under the textelement the /:ADDRESS-command follows.

3. In the printing program first I call the WRITE_FORM function regarding to the textelement (in this case MY_ADDRESS).

4. After that I have to call the function module ADDRESS_INTO_PRINTFORM.

Please, would anybody confirm that? Is it possible to leave a step or is this the way to work with the /:ADDRESS-command?

Thank you!