Skip to Content
0

How to mark calculate tax using BAPI_INCOMINGINVOICE_PARK?

Feb 20, 2017 at 04:43 PM

213

avatar image

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.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Pablo Casamayor Feb 21, 2017 at 03:42 PM
0

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


m8738.png (18.2 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Pablo, I think my mind was not clear when I was working on this for the first time.

1