Skip to Content

How to mark calculate tax using BAPI_INCOMINGINVOICE_PARK?

Hi.

I´m using the BAPI_INCOMINGINVOICE_PARK to create preliminary documents. In MIR7 TCode is the option to calculate automatically the taxes. In the parameter HEADERDATA is the field CALC_TAX_IND and I'm sending the value X to select this option, and also i'm filling the parameter TAXDATA with a line passing the values for TAX_CODE and TAX_AMOUNT. When I execute the BAPI with the field CALC_TAX_IND activated (Value X) a message error is returned with this text:

E - M8 - 738 - Enter value in either field HEADERDATA-CALC_TAX_IND or field TAX_AMOUNT (import parameter TAXDATA).

If the field CALC_TAX_IND in the header is empty, the document is created corectly and also the document has the correct information that the parameter TAXDATA.

I try changing the values in TAXDATA but the result is the same when I fill CALC_TAX_IND in the header.

Can someone tell me if they have had this same problem?Thanks in advance.
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 21, 2017 at 03:42 PM

    Hi,

    the description of the message seems clear:

    E - M8 - 738 - Enter value in "either" field HEADERDATA-CALC_TAX_IND or field TAX_AMOUNT

    the key here is the word either (or HEADERDATA-CALC_TAX_IND or AX_AMOUNT but not both.

    see here:

    Best regards,

    Pablo

    Add comment
    10|10000 characters needed characters exceeded