Sending values of entire structure from SAPSCRIPT to Print program's subrou
I have called a sub routine from SAPSCRIPT as given below.
/: PERFORM GET_PPVAR IN PROGRAM ZHR_TRNG
/: USING &PPVAR&
Here I have passed a structure &PPVAR& as actual parameter to subroutine GET_PPVAR in print program ZHR_TRNG.
FORM GET_PPVAR TABLES IN_PAR STRUCTURE ITCSY.
Here my main aim is to supply whole structure value to print programu2019s subroutine during run time. It gives error message like too many parameters in called program. I only know how to pass individual field value of a structure to print program like USING &PPVAR-KNDDA& . But do not know how to pass the entire field values of structure from SAPSCRIPT to its print/driver program.