Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Rule dump

Former Member
0 Likes
1,968

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.

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
1,593

just remove the using addition.

write you code between..
FORM BEDINGUNG_PRUEFEN_900.
and 
endform.

6 REPLIES 6
Read only

former_member156446
Active Contributor
0 Likes
1,594

just remove the using addition.

write you code between..
FORM BEDINGUNG_PRUEFEN_900.
and 
endform.

Read only

0 Likes
1,593

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.

Read only

0 Likes
1,593

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...

Read only

0 Likes
1,593

Sorry its my mistake, i pasted the wrong dump, But i removed the BP_SUBRC as you said, it worked.

Thanks

Read only

0 Likes
1,593

>

> 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.

Read only

0 Likes
1,593

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?