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

COPA Document

Our requirement is while posting billing document COPA document should not be generated. But while posting billing document, COPA document is getting generated. How to avoid this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2010 at 07:00 AM

    Hi,

    check this link:

    exit-for-stop-document-in-copa

    What I don't understand, why did you set up CO-PA customizing but don't want to post billing docs to CO-PA (as this is one main reason to use CO-PA...).

    Best regards, Christian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 09, 2010 at 12:29 PM

    Hi Paul,

    If you need exit and sample code, here it is.. But the question is why wud u like to do this?

    Using this code, you can supress COPA doc where Distribution channel = "45".... Modify it accordingly

    Exit COPA0005

    *******************

    data : wa_ACCIT type ACCIT.

    if I_ERKRS = 'XXXX'. (Your op Concern Code)

    read table T_ACCIT into wa_accit with key VTWEG = '45' .

    if sy-subrc = 0.

    E_INIT = 'X'.

    endif.

    endif.

    ********************

    Ajay M

    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.