cancel
Showing results for 
Search instead for 
Did you mean: 

EXIT_SAPLIEDI_101

Former Member
0 Kudos

Hi,

we are using the exit EXIT_SAPLIEDI_101 to change Sales Tax Code for intercompany invoic. The Message type is INVOIC and the message code is FI.

I put this code but it doesn't change the Sales Tax Code:

IF idoc_contrl-mestyp = 'INVOIC' AND idoc_contrl-mescod = 'FI'.

LOOP AT document_data WHERE fnam = 'BSEG-MWSKZ'.

IF document_data-fval = 'E3'.

document_data-fval = 'L3'.

MODIFY document_data.

ENDIF.

ENDLOOP.

ENDIF.

Anybody knows what can i do to change the value of filed BSEG-MWSKZ.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

eduardo_hinojosa
Active Contributor

Hi,

Before do this exits check for the customer and vendor linked to plants the tax indicator. Do the settings in the usual tcodes (FPTX, VK12 for VAT conditions and so on).

After, you can try to modify it with enhancements in the interface SD/FI in invoicing. Check Note 301077 - User exits for the interface to accounting.

About thisIDOC, check SAP Note 127178 - Questions about user exits in IDoc INVOIC01 (FI) and SAP Note 31126 - Intercompany billing - posting to vendor account using EDI

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

Closed

Former Member
0 Kudos

Closed

Former Member
0 Kudos

Closed

Former Member
0 Kudos

Closed