Skip to Content
avatar image
Former Member

Remote function call (RFC) for WS_DELIVERY_UPDATE fails w/o error message

Dear Experts,

Iu2019m using WS_DELIVERY_UPDATE to post goods issue against outgoing delivery. SE37 works fine.

RFC call from external program with the same parameters fails without returning any message.

It aborts during call and after that it becomes invalid.

Also calling BAPI_TRANSACTION_COMMIT does not help.

Any idea why SE37 works fine but RFC fails?

Anything I am missing?

Many thanks

Regards

JW

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Sep 03, 2008 at 08:47 PM

    There could be many reasons, I'd suggest to get your Basis admin involved. Take a look at the ABAP dump (ST22), update termination (SM13) or RFC errors (SM58). Although I doubt you'll find something inside SAP, since it seems that RFC call itself fails.

    This function is not a BAPI, so BAPI_TRANSACTION_COMMIT won't do any good. All it does is COMMIT WORK actually.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 19, 2015 at 12:08 AM

    We had the exact same issue. SE37 worked. Remote call from mobile app failed. We got it to work via following FM instead:

    ls_header-deliv_numb = p_delivery.

    ls_control-deliv_numb = p_delivery.

    ls_control-post_gi_flg = 'X'.



    LOOP AT pt_serno INTO ls_serno.

    MOVE: p_delivery TO ls_serial-deliv_numb,

    ls_serno-rfpos TO ls_serial-itm_number,

    ls_serno-sernr TO ls_serial-serialno.

    APPEND ls_serial TO lt_serial.

    ENDLOOP.



    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'

    EXPORTING

    header_data = ls_header

    header_control = ls_control

    delivery = p_delivery

    TABLES

    return = lt_return

    item_serial_no = lt_serial.



    LOOP AT lt_return INTO ls_return

    WHERE id = 'E'.

    EXIT.

    ENDLOOP.



    IF sy-subrc NE 0.

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    EXPORTING

    wait = 'X'.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I regret to inform this had unintended consequences. This FM updates LIKP-VLSTK, it means its from a decentralized system, so it won’t let you reverse PGI (VL09) in ECC. We are checking other options.

  • Aug 26, 2015 at 10:43 PM

    Why user are answering to questions which are older than 7 years?😕

    Add comment
    10|10000 characters needed characters exceeded