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
Application is NOT Consistent, then DUMP
MESSAGE x999(53). "#EC *
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,