‎2009 Nov 04 12:30 AM
Iam working in ECC 6.0. I had created a routine ( 900 ) in
VOFM->Copying requirements->Orders.When i had created the routine
FORM BEDINGUNG_PRUEFEN_900 USING BP_SUBRC.
ENDFORM.
I copied the code from routine LV45C002 to FORM BEDINGUNG_PRUEFEN_900.
I assigned the new rule 900 inplace of standard rule 002 and when i run the transaction VA01 it is going to dump.
In the dump analysis it is given as formal parameters are greater than actual parameters.
For the routine LV45C002 there are no Formal parameters like BP_SUBRC. But in the routine that i created a formal parameters had given by SAP. i cant remove that Formal parameter.
Please help.
‎2009 Nov 04 12:41 AM
just remove the using addition.
write you code between..
FORM BEDINGUNG_PRUEFEN_900.
and
endform.
‎2009 Nov 04 12:41 AM
just remove the using addition.
write you code between..
FORM BEDINGUNG_PRUEFEN_900.
and
endform.
‎2009 Nov 04 1:12 AM
Jay,
I wrote my code between
FORM BEDINGUNG_PRUEFEN_900.
and <here copied from 002 (LV45C002)>
endform.
The problem is iam getting dump when trying to create sales order in va01.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
not caught in
procedure "LV45C-VBELN_PRUEFEN" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
A PERFORM was used to call the routine "BEDINGUNG_PRUEFEN_901" of the program
"SAPLV45C".
The current call contains 0 actual parameter(s),
but the routine "BEDINGUNG_PRUEFEN_901" expects 1 parameters.
‎2009 Nov 04 1:21 AM
why is it saying BEDINGUNG_PRUEFEN_901 (901) when you are writing code in 900? check that 901 routine as well.. may be some thing got changed.. or you changed some thing there...
‎2009 Nov 04 1:54 AM
Sorry its my mistake, i pasted the wrong dump, But i removed the BP_SUBRC as you said, it worked.
Thanks
‎2009 Nov 04 2:59 AM
>
> But i removed the BP_SUBRC as you said, it worked.
> Thanks
Hi there, I am assuming that my suggestion helped you. Check the email you get and follow as it says.
‎2010 Aug 27 8:52 PM
I have created a similar routine, how can we remove using BP_SUBRC.
FORM BEDINGUNG_PRUEFEN_901
USING BP_SUBRC.
ENDFORM.
I am getting short dump while trying to create return order for standard sales order. short dump says there is 1 parameter in FORM.
how can I get rid of using BP_SUBRC?