cancel
Showing results for 
Search instead for 
Did you mean: 

sap script text element

manubhutani
Active Contributor
0 Kudos

hi

we just pass the element name in the 'write_form' function module and not any text (ie internal table)

then how does script comes to know about the exact data.

I mean how data flows from driver program to script

Regards

Manu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Manu,

if u r passing internal table data to script then u call the wirte form Fm inside the loop of driver program. Elements are used to identify where exactly in the window u want to print the data.. The script will have the symbols(variable name between &)... using this symbol script recognizes the value to be printed....

There are 4 type of symbols

1) Standard

2) Program

3) System

4) Text

Please refer to the documentation for further details...

If u r passing value from program then those symbols are called as program symbols....

Regards,

Shafivullah Mohammad

manubhutani
Active Contributor
0 Kudos

thanks for the reply.

but there is no component in importing and tables parameters of FM 'write_form'

we always pass the text element name,

so how data flows betwwen driver prog and script

Regards

Manu

Former Member
0 Kudos

Hi,

The global data of the driver program acts as interface for the script. Because, we are calling the form inside the driver program, we are establishing a link between driver program and script.

When we loop the internal table into a workarea, then it is available to the script, that is the reason ,we will be using the same workarea directly there as &WA_SPFLI-CARRID& etc.

Answers (0)