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

SAP SCRIPT - passing table to main window layout editor

former_member227140
Active Participant
0 Likes
604


Hello all,

I am working on QM notification SAP Script have copied standard script and driver program to custom script and driver program. done almost all changes but stuck at one point. see below I have to print batch characteristics on to the form in below format.

I have found out a FM which will give me characteristics values . now I have included the code to get the values in driver program .I am using a text element NOTIF_DETAIL already available in script to print the above table.

so in same block of driver program WRITE_FROM I am calling FM . but I am not able to access the table in layout editorr. I am new to script and I am sure I am doing something wrong may be this is not the way to pass values to script from form.

I want to access output table of FM to access into layout editor so I can print values.

1 ACCEPTED SOLUTION
Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
551

Hello Abhi,

Loop output table of FM and call write_form in loop end loop.


loop GT_CHAR_BATCH into WA_CHAR_BATCH.

call function write_form

Endloop.

Thanks

2 REPLIES 2
Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
552

Hello Abhi,

Loop output table of FM and call write_form in loop end loop.


loop GT_CHAR_BATCH into WA_CHAR_BATCH.

call function write_form

Endloop.

Thanks

Read only

0 Likes
551

Hello