Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

FM BAPI_ACC_DOCUMENT_POST

$
0
0

Dear Gurus...

 

I'm posting data into FI using FM BAPI_ACC_DOCUMENT_POST. But the field BSEG-WRBTR is not being update whereas the field BSEG-DMBTR is being updated. And when we see the data thru T-code FB03, the Amount field displayed as blank. when we click on button"Display currency" then amount field is populdated with amount.

 

the code snapshot for currency table is enclosed herewith...

 

 

it_currencyamount-itemno_acc   = i_hdr-itemno.

  it_currencyamount-curr_type    = '10'.

  it_currencyamount-currency     = 'INR'.

  it_currencyamount-currency_iso = 'INR'.

  it_currencyamount-amt_doccur   =  ( g_wrbtr * - 1 ).

  APPEND it_currencyamount.

  CLEAR : it_currencyamount .

 

  LOOP AT i_dtl .

    it_currencyamount-itemno_acc   = i_dtl-itemno.

    it_currencyamount-curr_type    = '10'.

    it_currencyamount-currency     = 'INR'.

    it_currencyamount-currency_iso = 'INR'.

    it_currencyamount-amt_doccur   = i_dtl-wrbtr.

    APPEND it_currencyamount.

    CLEAR : i_dtl , it_currencyamount .

  ENDLOOP.

 

Pl. Help.

 

Regards,

 

R R Suthar

+91 9650493434


Viewing all articles
Browse latest Browse all 7926

Trending Articles



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