‎2008 Aug 29 8:52 AM
Hi All,
I am calling below FORM from Script in 4.6C Version.
/: PERFORM GET_YY42V_ACTID
IN PROGRAM Y42S_FORM_POOL
/: USING &VBELN&
/: USING &POSNR&
/: CHANGING &ACTID&
Y42S_FORM_POOL is a function pool.
FORM GET_YY42V_ACTID USING TABLES in_par
structure itcsy
out_par structure itcsy .
read table in_par with key 'VBELN' .
ENDFORM. " GET_YY42V_ACTID
When I do syntax check getting below message:
in_par is not defined as tables nor as Internal Table.
Why i am getting this error?????
2. i then left the routine without any code and activated.
And this time while in Debugging checked that from Print Program control went to SAP code:
perform (co_perform-form) in program (co_perform-program)
tables co_sym_using
co_set_symbols
if found.
co_perform-form & co_perform-program contains correct
script name and Routine Pool names.
But after pressing F%its going for Dump ...
No Clues on that ?????????
getting message:
Runtime errors PERFORM_TOO_MANY_PARAMETERS
Exception CX_SY_DYN_CALL_PARAM_NOT_FOUND
Occurred on 2008/08/29 at 09:14:38
Too many parameters specified with PERFORM.
Any idea about this problem.
Thanks in advance.
Praveen
‎2008 Aug 29 8:55 AM
1) FORM GET_YY42V_ACTID TABLES in_par
structure itcsy
out_par structure itcsy .
The USING parameter is wrong. Check again the syntax of FORM. This leads to the second problem as with what you had, it considers TABLE, in_par structure itcsy out_par structure itcsy to all be parameters.
matt
‎2008 Aug 29 8:55 AM
1) FORM GET_YY42V_ACTID TABLES in_par
structure itcsy
out_par structure itcsy .
The USING parameter is wrong. Check again the syntax of FORM. This leads to the second problem as with what you had, it considers TABLE, in_par structure itcsy out_par structure itcsy to all be parameters.
matt
‎2008 Aug 29 9:33 AM
Sorry that was my typing error.
USING is not written in the Code.
Praveen
‎2008 Aug 29 9:05 AM
Hi,
Is your Problem solved?
If not Plz check whether you have written ENDPERFORM when calling the subroutine.
Also Remove USING in
FORM GET_YY42V_ACTID USING TABLES in_par
Regards
Manasa