2016 May 31 7:26 AM
Hi Frds,
Bit urgent , When i checked in debugging its updating & not working at time save without break point......
My piece of code is given below at the time of save callin these codes........
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = ls_header
IMPORTING
obj_type = lv_obj_type
obj_key = lv_obj_key
obj_sys = lv_obj_sys
TABLES
accountgl = lt_item
currencyamount = lt_item_curr
return = lt_return.
READ TABLE lt_return INTO ls_return WITH KEY type = gc_s.
IF sy-subrc = 0.
WAIT UP TO 2 SECONDS.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = abap_true.
ENDIF.
REFRESH : lt_item,
lt_item_curr,
lt_return.
ENDAT.
2016 May 31 9:07 AM
Hi Kabil ,
Try to add return to BAPI_TRANSACTION_COMMIT and see if you are getting any error captured over there.
Regards,
Gowtham.
Hi Kabil ,
Try to add return to BAPI_TRANSACTION_COMMIT and see if you are getting any error captured over there.
Regards,
Gowtham.
2016 May 31 9:07 AM
Hi Kabil ,
Try to add return to BAPI_TRANSACTION_COMMIT and see if you are getting any error captured over there.
Regards,
Gowtham.
2016 May 31 10:13 AM
Hi Gowtham,
Thanks for your reply . some logic is failed before bapi called so its not called bapi... Closing the thread.
Regards,
Kabil.G
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |