Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting Service tax amount fro fiap

hi experts,

   we have requirement for getting service tax amount for fiap for this we have identified to fetch the data for servicetax gl to our fiap.first i created a multiprovider on top of fiap and figl but the values r not coming in that flow then i enhance tthe dmptr of service tax gl still the amountin local currency is getting so can u please suggest how to get the servicetax amount.i am posting the code for this that i wrote in cmod.

SELECT SINGLE        HKONT

                      DMBTR

                      FROM bseg INTO  wa_bseg

               WHERE BUKRS = l_s_fiap4-BUKRS

                 AND BELNR = l_s_fiap4-BELNR

                 AND GJAHR = l_s_fiap4-GJAHR

                 AND BUZEI = l_s_fiap4-BUZEI

                 AND HKONT = '**********04'.

         if sy-subrc = 0.

*          AND WA_BSEG-HKONT = '********"

BREAK-POINT.

           l_s_fiap4-zzdmbtr = wa_bseg-DMBTR.

      MODIFY c_t_data FROM l_s_fiap4 INDEX l_tabix.

       CLEAR l_s_fiap4.

       CLEAR wa_bseg.

*      CLEAR wa_ty_bkpf.

       Endif.

     endloop.

Former Member
replied

Dear Phani

Standard datasource 0FI_TX_4 gives you the tax details for the each of the accounting document. So you can make use of it accounting documentwise to derive the split of tax and payables

Regards

Gajesh

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question