on 03-06-2012 2:32 AM
Hi all-
Everytime I am changing a sales order by adding any kind of payments and hitting the save button, RSNAST programs are calling the service order driver program(which are not supposed to), checking for the status field of the entry in NAST table and if the status of the service order is '1' (Succesfully processed), it is throwing a short dump saying there is a
A PERFORM was used to call the routine "ENTRY" of the program "Z_SDCS_F_R2RRVADOR01_2". This routine contains 0 formal parameters, but the current call contains 2 actual parameters.
Below is my Form logic inside the driver program:
FORM entry USING return_code us_screen.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing.
IF retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM.
Any inputs/suggestions are highly appreciated.
Regards,
Kiran
PERFORM processing.
IF sy-subrc = 0.
return_code = 0.
ENDIF.
try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
the code you've shown us matches the call in RSNAST00:
PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode
us_screen
IF FOUND.
But is this really the code of the active version of report Z_SDCS_F_R2RRVADOR01_2 ?
Regards,
Klaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.