3 Replies Latest reply: Dec 11, 2008 9:28 AM by Eric Cartman RSS

Post in local currency with BAPI_ACC_GL_POSTING_POST

William Lawlor
Currently Being Moderated

Hi,

BAPI_ACC_GL_POSTING_POST works with document currency - can it post with local currency?

 

Thks,

William

  • Re: Post in local currency with BAPI_ACC_GL_POSTING_POST
    Eric Cartman
    Currently Being Moderated

    Local currency is the currency of the company code, right? Every single document is posted in local currency (as well), the translation is done automatically in the system if you post in foreign currency. You don't need to do anything, the BAPI just works like the standard transaction.

  • Re: Post in local currency with BAPI_ACC_GL_POSTING_POST
    Neha Shukla
    Currently Being Moderated

    Hi

     

    Yes you can do that:

    BAPIACCR08-CURR_TYPE = 10

     

     

    Neha

    • Re: Post in local currency with BAPI_ACC_GL_POSTING_POST
      Eric Cartman
      Currently Being Moderated

      looks like there is some misunderstanding around this...

       

      let's say the company code currency (=local currency) is EUR.

       

      -If you want to post in EUR, just give EUR into BAPIACCR08-CURRENCY (you don't need BAPIACCR08-CURR_TYPE )

       

      -If you want to post in a foreign currency (anything which is not EUR) and you want SAP to calculate the exchange rate for you than give the foreign currency into BAPIACCR08-CURRENCY (again: you don't need BAPIACCR08-CURR_TYPE )

       

      -If you want to post in a foreign currency and you DON'T want SAP to calculate the exchange rate for you, than it is the case when you need to use BAPIACCR08-CURR_TYPE the following way:

      for each single item, you'll need two lines in BAPIACCR08:

      BAPIACCR08-CURR_TYPE = '00'

      BAPIACCR08-CURRENCY = 'USD'

       

      BAPIACCR08-CURR_TYPE = '10'

      BAPIACCR08-CURRENCY = 'EUR'

       

      of course amount will be added for both lines

       

      (it is clearly written down in the documentation of the BAPI)

Actions