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

user exit ---

Hi,

How an user exit will be available in a program from the given below list :

1 ) PERFORM USEREXIT_DELETE_DOCUMENT.

or

2 ) CALL FUNCTION 'EXIT_SAPMV45A_001'

EXPORTING

IVBAK = VBAK

IVBAP = VBAP

IVBKD = VBKD

ITVAK = TVAK

ITVAP = TVAP

CHANGING

BILLINGPLANTYPE = CH_FPART.

or

3 ) CALL CUSTOMER-FUNCTION '002'

EXPORTING

I_TVAK = TVAK

I_TVTA = TVTA

I_VKGRP = DEFAULT_VKGRP

I_VKBUR = DEFAULT_VKBUR

IMPORTING

E_KUNNR = KUAGV-KUNNR.

what is the difference b/w all the 3.

Thanks ...

ashok ...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 09:20 AM

    Hi,

    Your First Point is user exit which can be implement by writing code in a routine in a standard program.once u write code in between routine it will always going to syntax check whenever that program will be executed so due to this SAP introduce customer exit on which there is Z include available in SAP Standard FM u implement that Z incluse and implement project using tcode CMOD and SMOD then only that code of block will execute your last two points related to customer-exit.

    Reward if helpful.

    Regards

    Gagan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2007 at 09:23 AM

    hI,

    The first one is USEREXIT whcih requires access key...no need to for creating a project in CMOD..we can write it in sap standard include and activate it

    The second two are customer exits...

    Here we don't need any access key..we can write the code in the zincludes of it..we need to create a project in CMOD..

    Reward if helpful.

    Regards,

    Nagaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 07:38 AM

    Hi ashok,

    If it is a user exit it will be called from the main program thru a PERFORM statement,

    If it is a Customer exit it will be called thru

    CALL CUSTOMER-FUNCTION '002 'statement.

    if u double click on '002' it will take you to the corresponding customer exit(here to function exit EXIT_SAPMV45A_001)

    Regards

    Karthik D

    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.