Skip to Content

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

Passing parameters to a subroutine

Hi,

Can i pass a complete workarea to a subroutine with 'USING'. If not how to pass all the fields of a workarea to the subroutine without naming all the fields explicitly?

Thanks.

Tags:
replied

Hi

you can pass work area with USING or CHANGING parameters...with the syntax like following..,

data: wa type mara.

perform sub_mara USING wa.

\\\\

form sub_mara USING wa type MARA.
\\\\\
endform.

Thanks,

Naveen.I

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question