07-23-2008 7:31 AM
hi
i created a function module with import parameter let's say "IM_BUKRS"
FUNCTION f_function1.
perform f_bukrs.
ENDFUNCTION.
form f_bukrs.
// here when i try to access im_burks it doesn't recognise the im_burks
endform.
please advise
07-23-2008 7:33 AM
Hi ..
Try this..
FUNCTION f_function1.
perform f_bukrs using im_bukrs.
ENDFUNCTION.
form f_bukrs using im_bukrs.
endform.
Regards,
Sachin M M
07-23-2008 7:33 AM
07-23-2008 7:33 AM
The form need not be created in the main FM body.
Double click on the Perform and create it in the new system defined include.
This should appr=ear in teh Function Pool list.
Thanks
07-23-2008 7:33 AM
Hi ..
Try this..
FUNCTION f_function1.
perform f_bukrs using im_bukrs.
ENDFUNCTION.
form f_bukrs using im_bukrs.
endform.
Regards,
Sachin M M
07-23-2008 7:34 AM
Hi,
yes it wont recognize there, because u r writing that perform in other program i think. if it is external subroutine then u should paas it using changing parameters.
if it is local subroutine then it will recognize it....
regards
Sunil Kumar Mutyala
07-23-2008 7:36 AM
hiii
you only need to pass that parameter with perform ...
refer with USING CHANGING parameters of subroutine.here you need to pas that parameter with USING statement.
regards
twinkal
07-23-2008 7:37 AM
Hi,
You need to globalize parameters. if you check attributes tab, there is checkbox called Global. In order to tick it do this.
Edit - > Interface -> globalize parameters.
Regards,
Sukhbold
Edited by: Sukhbold Altanbat on Jul 23, 2008 12:13 PM
07-23-2008 9:02 AM
i tried the globalized parameters and i have the following error message
"Use of global interface parameters is obsolete."
07-23-2008 7:40 AM
declare IM_BUKRS in top include of ur function group.
this may solve ur problem.