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

EXIT_SAPLIEDI_101

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Aug 25, 2010 at 10:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:56 AM

    Closed

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:56 AM

    Closed

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:56 AM

    Closed

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:56 AM

    Closed

    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.