‎2008 Aug 12 6:24 PM
Hi,
I wrote a program that makes a call to another program with the SUBMIT statement and it works great on the Development Enviroment. When we transported it to the Testing Enviroment the SUBMIT call it just doesn't work. SAP version 4.6c
I debug the program in the Testing Enviroment and all the ranges (R_AUFNR, R_ERSA, etc) are completed as they should be, but the execution of this statement always returns the same result in Test: no values.
I executed the program that it is called in the SUBMIT (RIAFRU20 - transaction IW47), and manually filled all the fields with exactly the same values that I pass to it in the code and I have the results that I wanted.
Is there anything that it could be blocking this? Can anybody help me? Thanks.
SUBMIT RIAFRU20 WITH DY_IAR = 'X'
WITH DY_ABG = 'X'
WITH AUFNR_O IN R_AUFNR
WITH ERSDA_C IN R_ERSDA
WITH PERNR_C IN R_PERNR
WITH ISDD_C IN ini_t
WITH IEDD_C IN fin_t
AND RETURN.
‎2008 Aug 12 7:40 PM
Huh ....pretty strange ... Hey look at how Std SAP code is calling it
FYI INCLUDE :LCOIHF51
SUBMIT RIAFRU20 WITH DY_IAR = YX
WITH DY_ABG = YX
WITH AUFNR_O = CAUFVD-AUFNR
WITH ERSDA_C IN ERSDA_RANGES
WITH BUDAT_C IN BUDAT_RANGES
*WITH P_OCALL = YX*
WITH RUECK_C = AFVGD-RUECK
AND RETURN.
This parameteris doing the magic : p_ocall NO-DISPLAY. " 'X' => prog called from
Good luck!
Saquib Khan
.
.
‎2008 Oct 08 1:49 PM
Well, finally it was an authorization issue! Thanks anyway!
Regards,