2016 Jan 28 12:34 PM
Hi all
am facing this strange error 'Function module does not have E_SUBRC parameter' when I am changing function module in SPRO > QM > Quality Inspection > Define follow up action > FM
Then I added the exporting parameter E_SUBRC TYPE SYST_SUBRC in function module.
then again I got this error message
what could be the problem?? any guidence?
Thanks & Regards..
2016 Jan 28 2:13 PM
Did you used 'LIKE' typing method? (It gives error message if you use 'TYPE' instead of 'LIKE').
You can use function module QFOA_COPY_REFERENCE_FORM as a reference.
2016 Jan 28 12:35 PM
Did you try as the error suggests: E_SUBRC type SY-SUBRC in stead of SYST-SUBRC ?
2016 Jan 28 1:16 PM
Hi peter ,
Yes I tried with SY-SUBRC even it gave the same error....
Regards.
2016 Jan 28 2:10 PM
And did you also try LIKE sy-subrc in stead of TYPE sy-subrc ?
I am asking because I see that other QM function modules have e_subrc LIKE sy-subrc
2016 Jan 28 2:13 PM
Did you used 'LIKE' typing method? (It gives error message if you use 'TYPE' instead of 'LIKE').
You can use function module QFOA_COPY_REFERENCE_FORM as a reference.
2016 Jan 28 3:53 PM
Yes even i gave LIKE for every parameter in my FM and though it got a warning message I activated then when I checked in SPRO I got this 'FM doesnt have E_PROTOCOL parameter......
2016 Jan 28 3:58 PM
Does your function module have the exact same parameter list as QFOA_COPY_REFERENCE_FORM?
After I copied this reference module I could enter it in SPRO without any error.
2016 Jan 28 4:23 PM
Hi,
Did you check that e_subrc has a tick to pass Value and did you check the FM documentation if the FM is QFOA_COPY_REFERENCE_FORM?
May be it will be helpful.
Regards,
Pallavi
2016 Jan 28 4:26 PM
No but I entered now E_PROTOCOL in tables and activated and checked in SPRO I didnt get any error now surprising!!!!!!!!
2016 Jan 28 4:30 PM
Hi,
May be complete activation might be missing before.
Any how you solved it.
Regards,
Pallavi