Skip to Content
author's profile photo Former Member
Former Member

Passing paramters to FM - RFC_CALCULATE_TAXES_DOC and RFC_UPDATE_TAXES_DOC

Hi Gurus,

Please guide me on which are the parameters need to be passed to RFC_CALCULATE_TAXES_DOC and RFC_UPDATE_TAXES_DOC.

I tried testing both, but not getting any fruitful results.

I know the Import Parameters are:

I_SAP_CONTROL_DATA, I_TAX_CAL_HEAD_IN, I_TAX_CAL_ITEM_IN

and i get to know results from:

O_EXT_CONTROL_DATA, O_COM_ERR_DOC under Export parameters and

O_TAX_CAL_ITEM_OUT, O_TAX_CAL_JUR_LEVEL_OUT under Tables.

My scenario is something like:

I need to fetch data from BKPF, BSEG, MSEG and pass the relvant data to function module

RFC_CALCULATE_TAXES_DOC to calculate Tax and need to post that tax into SAP as well as external system.

I need to call RFC_CALCULATE_TAXES_DOC twice:

Call 1 - to determine what the tax determination would have been on the original purchase and store the tax amount value.

Call 2 - second time to determine tax on the movement itself (inclusive of cost objects and/or updated locations) and store the tax amount value.

tax amount = call1 - call2.

Now need to update this tax to SAP and External system.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 29, 2010 at 11:02 PM

    Hi Madan,

    Have you got the solution? I have the same scenario. Can you please let me know the solution? I greatly appreciate your help.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.