Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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&

/: ENDPERFORM

Here I have passed a structure &PPVAR& as actual parameter to subroutine GET_PPVAR in print program ZHR_TRNG.

REPORT ZHR_TRNG

..

..

FORM GET_PPVAR TABLES IN_PAR STRUCTURE ITCSY.

ENDFORM.

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.

Please help.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question