cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi All,

We are getting a short dump while executing an RFC with Destination. Please find the below pic for dump details and if anyone came across the same error, kindly give me some solution to resolve this issue.

below is our RFC code,

CALL FUNCTION 'ZCOXT_BAPI_ORDER_CHANGE' DESTINATION 'XMIIRFC02'
     EXPORTING
       i_order_number           = number
       is_header                = orderdata
       is_headerx               = orderdatax
       i_order_category         = auftragstyp-fert
     IMPORTING
       es_return                = return
       e_order_type             = order_type
       e_order_status           = order_status
       e_new_explosion          = master_data_read
     EXCEPTIONS
       error_message.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    WAIT          = 'X'
* IMPORTING
*   RETURN        =
           .

Kindly give me some solution.

Regards,

Aravinth

0 Likes
View Entire Topic
RaymondGiuseppi
Active Contributor
0 Likes

- First read Note 97522 - RFC short dump CALL_FUNCTION_REMOTE_ERROR

- Also in the dump look for "In the target system, a short dump has been written as well", so execute ST22 in target system, the FM has raised an error which was not monitored (wrong parameter, unknown FM, not RFC enabled FM, not RFC authorized FM..., look for the dump, many causes are possible)

Regard,

Raymond

aravinth_anandhan
Active Participant
0 Likes

Hi Raymond,

I have gone through the notes and add exceptions in RFC. Now I didn't get dump, but my BAPI is not updating anything.

If is mention like,

CALL FUNCTION 'ZCOXT_BAPI_ORDER_CHANGE' DESTINATION 'XMIIRFC02'

I am getting a following message

synchronous call ZCOXT_BAPI_ORDER_CHANGE to dest. XMIIRFC02 on system wipro_CE1_02 can't be processed by AsynchronousMessageLis

If I give like,

CALL FUNCTION 'ZCOXT_BAPI_ORDER_CHANGE' IN BACKGROUND TASK DESTINATION 'XMIIRFC02'

I am not getting any output or message.

And my BAPI is working fine without the addition DESTINATION. If I add this addition, my BAPI is not updating anything. Please help to solve this issue.

Regards,

Aravinth