Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

BAPI_ACC_DOCUMENT_POST is not working in VLPOD Tcode

$
0
0

Hi Frds,

 

Bit urgent , When i checked in debugging its updating & not working at time save without break point......

BAPI_ACC_DOCUMENT_POST  is working in DEV Server when i moved to Qas server its not working . Pls help me out.

 

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.


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>