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

User exit for VD01 - Create Customer

I am finding user exit for VD01 - Create Customer.

I need a newly created Customer number - KNA1-KUNNR.

I found user exit EXIT_SAPMF02D_001, but if field Customer left blank on screen in VD01, the parameter I_KNA1-KUNNR is blank. Because program genereates KUNNR further.

Edited by: S S on Dec 23, 2008 7:56 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 07:15 AM

    Hi,

    We use this exit EXIT_SAPMF02D_001 for validation of data before saving.

    Could you explain more elaborately about your requirement?

    Regards,

    Chandra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 07:19 AM

    I need to make some configurations when new Customer is created. To make configurations i need Customer number.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 08:11 AM

    Dear SS,

    What I understood is system is generating internal number range for customer in your case.

    You want to know the number of customer number.

    I think with this exit EXIT_SAPMF02D_001 you don't get customer number.

    Try with this BADI CUSTOMER_ADD_DATA

    Method MODIFY_ACCOUNT_NUMBER. use break point here.

    Then create a customer in VD01 (internal number range). maintain necessary information and save.

    system will take you to debugging mode. here you can see internal number of customer.

    Regards,

    Chandra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 09:50 AM

    I will try it and tell about results

    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.