2008 Sep 18 9:15 AM
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.
2008 Sep 18 9:39 AM
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
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
2008 Sep 18 9:19 AM
yes u can pass all the fields or try to use just workarea
Edited by: Anil Kalive on Sep 18, 2008 1:50 PM
2008 Sep 18 9:35 AM
Hi you acn pass workarea as
FORM <name> using <wa> structure <type of wa>.
2008 Sep 18 9:20 AM
Hi,
you can
check this link for detail syntax
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm
Regards,
Anirban
2008 Sep 18 9:39 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |