‎2009 Sep 08 12:38 PM
Dear Experts,
i'm using the function module PT_ARQ_REQUEST_EXECUTE inside the loop and passing the
values for request id and pernr,
loop at it_mid into wa_mid.
LV_REQUEST_ID = WA_mid-request_id.
LV_PERNR = WA_MID-PERNR.
CALL FUNCTION 'PT_ARQ_REQUEST_EXECUTE'
EXPORTING
im_request_id = LV_REQUEST_ID " P_WA_MID_REQUEST_ID
IM_COMMAND = 'EXECUTE_APPROVE'
im_pernr = LV_PERNR " P_WA_MID_PERNR
im_modus = 'R'
IM_DEBUG = ''
tables
ex_messages = ex_messages
ex_commands = ex_commands.
if sy-subrc ne 0.
message 'An error occured' TYPE 'E'.
endif.
clear : LV_REQUEST_ID, LV_PERNR.
endloop.
.
Here in std function module i'm getting dump like ' IF app_pernr = pernr AND app_modus = modus.
Application is Consistent
ELSE.
Application is NOT Consistent, then DUMP
MESSAGE x999(53). "#EC *
ENDIF.'
i'm passing pernr always, and for app_modus i have hardcoded as 'R' , Then also its going to dump.,.,
wat is the reason is there any other way to do this..,
N.B:- for first time inside the loop its executing, for second records itds going to dump means app_modus is not passig it seems what to do with this... issue can any one suggest me ...
Thanks and Regards,
Thirukumaran. R
‎2009 Sep 08 12:43 PM
HI,
It seems to be problem with leading zeroes in PERNR.
so before using this FM, use one more FM : CONVERSION_EXIT_ALPHA_INPUT.
Just have a try.
Regds,
Anil
‎2009 Sep 08 12:43 PM
HI,
It seems to be problem with leading zeroes in PERNR.
so before using this FM, use one more FM : CONVERSION_EXIT_ALPHA_INPUT.
Just have a try.
Regds,
Anil
‎2009 Sep 08 1:19 PM
Dear Anitl,
Again its going to dump only i'm passing pernr and modus as 'R' still this is going to dump what is the problem behind this, is it possible to change my code.
Thanks and Regards,
Thirukumaran. R
‎2009 Sep 08 1:31 PM
‎2009 Sep 08 1:24 PM
Hi Thirukumaran,
use FM CONVERSION_EXIT_ALPHA_INPUT
for WA_mid-request_id also.
and try.
I hope this will work.
Regards,
Vijay
‎2009 Sep 08 1:30 PM
is this CONVERSION_EXIT_ALPHA_INPUT or
CONVERSION_EXIT_ALPHA_output
‎2009 Sep 08 3:29 PM
Try running FM PT_ARQ_REQUEST_CHECK before each execution of your FM.
Rob