Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MRM_INVOICE_CREATE and VAT

Former Member
0 Kudos

Hi all,

I'm currently using the FM MRM_INVOICE_CREATE to park gr/ir-invoices. I'm not able to use the BAPI at this point because the correnction indicators from the EDI have to be used for the document.

The parking works fine just right now, the only problem I have is the VAT. I can set the flag "Calculate tax" which would work but I need to enter the tax amount directly. For this, I entered the tax amount in the field WMWST1 in the input structure I_RBKPV but the value isn't passed to the document. Does anyone have an idea if there is a flag that needs to be filled so that the tax amount is enterd into the doument?

Thanks and kind regards,

Andreas Schilling

3 REPLIES 3

Former Member
0 Kudos

hi,

define one local variable with same data element( with same data element which has defined in FM 'MRM_INVOICE_CREATE' for the TAX field)

pass that tag value to one local varaible,

then this variable u can pass into the FM.

reward points if helpful,

regards,

seshu.

0 Kudos

Hi,

thanks for your quick answer. Unfortunately, the proposed solution does not have any effect. As I have the tax amount in a database field, there is no difference between writing it first in a local variable and then into i_rbkpv-wmwst1 or write it directly into this field.

Kind reagards,

Andreas

Former Member
0 Kudos

Hi all,

I found the solution: In addition to the fields WMWST1 an MWSKZ1 of structure i_rbkpv, I filled the fields MWSKZ and WMWST of strucutre i_rbkpv-rbtx which seems to work...

Kind regards,

Andreas Schilling