‎2007 Dec 19 1:23 PM
Hi,
I need to use a subroutine present in another include of a function group into my include of another function group.
Is there any way to do that.
Thankyou.
‎2007 Dec 19 1:25 PM
Hi,
do like this.
perform sub_routine(include_name) using values.
Regards,
Niyaz
‎2007 Dec 19 1:40 PM
Hi,
pls find the below syntax.
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
......
/: ENDPERFORM
it will be used in SAP scripts, by using avalable values you can get another values or you can change the existing values.
in this you have to wirte your own program <prog> of type 'Subroutine pool'.
OR
perform xxxxx(program name) using .......
changing.....
Reward if useful.
Thanks,
Sreeram.