‎2008 Jun 20 6:20 AM
hello experts,
how will i pass an internal table to the Sapscript? i can't edit the print program since it is a standard program. i have an internal table and i have to pass its contents to the sapscript to display them together with existing fields in the form. how will i do this?
please help me. thank you.
‎2008 Jun 20 6:23 AM
if u want to pass a internal table convert it to a zprogram........
and do change....
else.
create a zreport and that u call it in a sap script form
using perform statement..
Reward IF....
Regards
Anbu
‎2008 Jun 20 6:23 AM
if u want to pass a internal table convert it to a zprogram........
and do change....
else.
create a zreport and that u call it in a sap script form
using perform statement..
Reward IF....
Regards
Anbu
‎2008 Jun 20 6:26 AM
hi ,
copy the form to zform and write performs ,configure ur zform in nace transaction..
using that performs in ur script and write the form in a seperate program.declare all ur internal tables and data there and pass it to ur script.
reward points if hlpful.
‎2008 Jun 20 6:29 AM
Hi,
Please use Perform XXXXXXXXX
EndPerform.
In SAP Script if you want to pass a value in the sap script.
‎2008 Jun 20 6:29 AM
Hi,
Create a Z program for this.In the script write it as
PERFORM <Subroutine name> IN PROGRAM <prg name>.
ENDPERFORM.In this you can make use of int.table.
In the Z program you can write the FORM and fill the data in internal table.
‎2008 Jun 20 9:36 AM
i have created a perform in the Sapscript already to call the subroutine in the program. here is the scenario:
1. i collected the line items from the sapscript and passed it to the program i made because i have to add another column of records. in the program, i placed the data in an internal table..
2. i have to pass all the contents in the internal table i made to the sapscript so that it will be displayed.
sample:
PROGRAM code:
loop at outab.
call 'write_form'
endloop.
can i do it this way?