‎2010 May 03 7:56 AM
Hi all,
I have created a function module where in i have used an exporting parameter Subrc type SYST-SUBRC..
While checking. im getting an error like 'Function module for parameter 'Subrc' has not been named'..
Can any one help me out for this..
Thanks,
Ramesh
‎2010 May 03 8:15 AM
‎2010 May 03 8:15 AM
‎2010 May 03 8:21 AM
HI,
Your issue isInactive Function group.
Activate teh function group.
Go to Tcode = Se80-----> Select function and give function group name and enter
Right click on Function Group and slect activate.
Now you can chek the Function module.
It will not give nay error.
Regards,
Pravin
‎2010 May 03 8:27 AM
‎2010 May 03 8:39 AM
Check this sample code. Activate the function group and function module
FUNCTION ztest_function.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(SO_NO) TYPE VBELN
*" EXPORTING
*" REFERENCE(SUBRC) TYPE SY-SUBRC
*"----------------------------------------------------------------------
data : it_vbak type standard table of vbak.
SELECT * FROM vbak into table it_vbak
WHERE vbeln = so_no.
MOVE sy-subrc TO subrc.
ENDFUNCTION.
Regards
Vinod