2009 Aug 04 9:45 AM
Hi,
In my ABAP program I'm using LE_DSP_REMOTE function by filling the following fields.
if_confirm_decentral = 'X'.
if_pmode = '0003'.
IT_RES-resno = '0001'.
IT_RES-vbeln = delivery_number.
IT_RES-posnr = delivery_item_number.
IT_RES-akmng = 'A'.
IT_RES-lfimg = delivery_amount_tobe_splitted.
In my program when I push a button I fill these fields and call this program it works fine for the first time, but when I call the program again for different values it gives the following message: " Function module LE_DSP_REMOTE was terminated with exception INTERNAL_ERROR (CRPOINxxxx)". Do you have any ideas about the problem?
Thanks.
2009 Aug 06 8:40 AM
Dear Mr. Dynasty
Have you ever tried calling the function in this way:
data: taskname type string.
CALL FUNCTION 'LE_DSP_REMOTE' STARTING NEW TASK taskname
EXPORTING
IF_SIMULATE = IF_SIMULATE1
IF_CONFIRM_DECENTRAL = IF_CONFIRM_DECENTRAL1
IF_PMODE = IF_PMODE1
TABLES
IT_RES = IT_RES2
ET_DETAIL = ET_DETAIL1
ET_SUMM = ET_SUMM1
ET_SUMM_23 = ET_SUMM_231
EXCEPTIONS
ERROR_IN_SUBFUNCTIONS = 1
OTHERS = 2
The key point here is using the STARTING NEW TASK addition. Otherwise you cannot use the function more than once in your
ABAP program.
Hi,
In my ABAP program I'm using LE_DSP_REMOTE function by filling the following fields.
if_confirm_decentral = 'X'.
if_pmode = '0003'.
IT_RES-resno = '0001'.
IT_RES-vbeln = delivery_number.
IT_RES-posnr = delivery_item_number.
IT_RES-akmng = 'A'.
IT_RES-lfimg = delivery_amount_tobe_splitted.
In my program when I push a button I fill these fields and call this program it works fine for the first time, but when I call the program again for different values it gives the following message: " Function module LE_DSP_REMOTE was terminated with exception INTERNAL_ERROR (CRPOINxxxx)". Do you have any ideas about the problem?
Thanks.
2009 Aug 06 8:40 AM
Dear Mr. Dynasty
Have you ever tried calling the function in this way:
data: taskname type string.
CALL FUNCTION 'LE_DSP_REMOTE' STARTING NEW TASK taskname
EXPORTING
IF_SIMULATE = IF_SIMULATE1
IF_CONFIRM_DECENTRAL = IF_CONFIRM_DECENTRAL1
IF_PMODE = IF_PMODE1
TABLES
IT_RES = IT_RES2
ET_DETAIL = ET_DETAIL1
ET_SUMM = ET_SUMM1
ET_SUMM_23 = ET_SUMM_231
EXCEPTIONS
ERROR_IN_SUBFUNCTIONS = 1
OTHERS = 2
The key point here is using the STARTING NEW TASK addition. Otherwise you cannot use the function more than once in your
ABAP program.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |