on 09-03-2008 4:21 PM
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
Why user are answering to questions which are older than 7 years?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.