2008 Feb 25 7:58 AM
how can i call subroutine in SAP Script?& where?
2008 Feb 25 8:09 AM
Hi,
SAP has documented this aspect very clearly in the following help.sap.com link:
[calling subroutine from script.|http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm]
You call a subroutine from a window in a SAP script when you need some calculations to be performed and a value returned for display.
Cheers,
Aditya
2008 Feb 25 8:10 AM
Hi!
You can call a subroutine in any of the SAPScript windows and pass data to and from the subroutine using structure ITCSY. For further details you can refer SAP Help.
Cheers!
2008 Feb 25 8:14 AM
2008 Feb 25 8:20 AM
Hi
/: perform <form_name> in program <program_name>
/: using <var1>
/: using <var2>
.
.
/: changing <return1>
/: changing <return2>
/:endperform
2008 Feb 25 11:18 AM
Hi,
In script:
/: perform <form> in program <prog>
/: using &invar1&
/: using &invar2&
..........................
/: changing &outvar1&
.......................
/: endperform
In program(se38):
Report <prog>.
Form <form> tables in_tab structure itcsy
out_tab structure itcsy.
....................
endform.
Regards,
Bhaskar
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |