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

How to auto-populate values in xd01

Hi Gurus,

I want to auto populate Dunning area, dunning clerk and dunning procedure fields while creating Customer master data.

I found one function exit, tried to auto-populate values through different ways like : using function module 'DYNP_UPDATE_FIELDS'..

but i am not able to do...could some one help me.

Thanks in Advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Dec 30, 2013 at 11:00 AM

    You could look at BAdI CUSTOMER_ADD_DATA, method PRESET_VALUES_CCODE even if only provide access to KNB1 data, A where used will identify FORM PRESET_VALUES_CCODE in main program as the call point, In the BAdI you could assign a field symbol to global area KNB5 of the caller.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 29, 2013 at 12:56 PM

    You have various options.

    1. Create a BDC after recording XD01 through SHDB.

    2. Use LSMW

    3. Use BAPI - BAPI_CUSTOMER_CREATEFROMDATA1 or BAPI_CUSTOMER_CREATE

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 29, 2013 at 03:58 PM

    Hello Naden,

    You can use Exit EXIT_SAPMF02D_001 for your purpose but it will update before saving into db.

    Table KNB5 is for dunning info.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2013 at 09:20 AM

    Dear guru's,

    My requirement is i need to auto-populate Dunning procedure, dunning clerk, dunning area. at screen level. when the user enters into the screen dunning procedure and dunning clerk should be available in the fields. but there is no screen exits to write code in PBO. there is no screen badi for the screen 7220 and 1221. i have looked for implicit enhancements, i didnt found any thing.

    and the third field which is dunning area is the field in table control. and we knew that field name keeps on changing for each row like knb5-maber(01) for first row, knb5-maber(02) for second row...i tried to populate data in debug mode. because of the screen field changes dynamically..not able to populate even in debug mode.. if i give field name knb5-maber(01), it is taking only one character in to the variable..apart from collecting the access key do we have any option....please suggest

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Raymond Giuseppi

      Hi Raymond,

      Thanks for the reply.

      But i have done the changes in the include program MF02DFT0 for populating Dunning procedure and Dunning clerk and in the include program MF02DI00 for Dunning area. i found in debug mode for getting this include. and now the values are getting populated. but the only thing i noticed that is, after finding the dunning area value populated in the pop-up screen and hitting enter, the dunning procedure and dunning clerk values which were populated in the previous screen were cleared automatically. will that effect in any way?

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.