Validate Street and House Number in the Customer Master Data (xd01/xd02)

All.
I need to validate if the fields street and house number are in blank in the Customer Master Data transaction (xd01/xd02). I found an user-exit (EXIT_SAPMF02D_001), which I can validate the customer data (KNA1, KNB1, etc) before to save. The problem is in the KNA1 structure, there aren't the fields street (STREET) and house number (NOUSE_NUM1), there is only the field STRAS, which street and house number values are concatenated.I solved this problem using field-symbol to catch these values in the screen, but I know it isn't a good solution. Is there another solution to solve this ? I had problem using this user-exit. It shows a message error type 'E' when either field street or field house number are in blank, after show this message if the user click in the tabs navigator button before press enter button, the transaction shows the error message "System error on reading table  DYNTAB, screen no. 0370". Does Somebody know this problem?
Best regards,
Alexandre
ps: I'm coding in the ECC 6.

Amit.
Thanks for your suggestion, but I need to validate these values typed by the user. When I create a customer, I can't get these values in the ADRC table.
Regards, Alexandre

Similar Messages

  • Vendor number entered in customer master data-error

    When entered the vendor number in the customer master data in contrao data tab in general data and save it ,system throws an error enter address number.
    Double click on the error it gives below message :
    Please enter an address number
    Message no. AM016
    Please advice.

    Even if the address for both are same still it gives error,and also if the address is different the error is thrown.Both the ways it throws the error.I get this error only when i enter vendor no in customer or customer no in vendor if not it saves with out any error.
    Edited by: mysap query on Dec 22, 2008 12:02 PM

  • House Bank at the vendor master data

    What is the implication of entering the house bank at the vendor master data?

    When you are entering the house bank at the vendor master data it has the following implication:
    You cannot effect payment through any other house other than the one mentioned at the vendor master data and the payment program will ignore the ranking of the bank selection configured in the APP.
    See the F1 help documentation
    The key for the house bank is used if the customer/vendor is always to be paid by the same house bank. The bank selection of the payment program is cancelled with this entry.
    In otherwords it is like hard coding the house bank in the vendor master and it does not offer any flexibility in the APP.

  • How to find the Acoount Group used while creating the customer master data.

    Hi,
    I am in xd03 mode displaying the customer master data. I want to know the ACCOUNT GROUP which was used while create this customer. How can i find it? Can any one tell me the process to find the account group?
    Thanks in advance.

    Enter the customer number in XD03 and click enter. Once the screen displays the customer name go to dropdown extras--> Administrative Data. This will give you the account group and the creation date of the customer. The same is stored in KNA1- KTOKD.
    Thanks
    Indranil

  • I am unable to upload the customer master data using BAPI.?

    Hi Guru's,
    i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
    Please guide me how upload the data...
    Thanks in iadvance
    Srinivas...

    Hello Srinivas
    This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
    The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
    The BAPI does the same like transaction XD01 with Reference.
    Regards
      Uwe

  • Is there any transaction to view the customer master data ...

    is there any transaction to view the customer master data ...i me all the datats so that ui can prepare a report......

    Hi Sunaina Kumar,
    From Funtioanl Point of view
    XD02 or Xd03 - Chane / Display Customer Centrally ( With Company Code Data)
    VD02 or VD03 - Change / Display Customer - Sale and Distribution( With out Company Code Data.
    From Technical Point of View:
    SE11 or SE16
    Table Name : KNA1 or KNB!
    From here you can view all the customer data.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Can we change the employee number on the employee master data form ?

    Hi,
    Simple question but can we change the employee number on the employee master data form ? We need to use the same employee numkbers from another system but just cannot interact with the employee no. in SAP 2007 ?
    Thank you,
    MB

    You canu2019t modify the employee number. It is assigned by the system sequentially.
    But you can define a user defined field to store the other systemu2019s identifier or use (and even rename) some other field to store this information.

  • Search for BAdi for Customer Master Data (XD01)

    Hi experts,
    i am looking for a BAdi for Customer Master data (XD01). Can anyone suggest me which one can i use?
    thanks in advance.
    Regards,
    aksh

    hi
    execute this report
    *& Report  ZNAGBADI
    REPORT  ZNAGBADI.
    *report zbadi_find .
    tables : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode,
    p_pgmna like tstc-pgmna .
    data wa_tadir type tadir.
    start-of-selection.
    if not p_tcode is initial.
    select single * from tstc where tcode eq p_tcode.
    elseif not p_pgmna is initial.
    tstc-pgmna = p_pgmna.
    endif.
    if sy-subrc eq 0.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir
    where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir
    where pname = tstc-pgmna.
    select single * from enlfdir
    where funcname = tfdir-funcname.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object in ('SMOD', 'SXSD')
    and devclass = v_devclass.
    select single * from tstct
    where sprsl eq sy-langu
    and tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(105) sy-uline.
    format color col_heading intensified on.
    Sorting the internal Table
    sort jtab by object.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type c.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    loop at jtab into wa_tadir.
    at first.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Enhancement/ Business Add-in',
    41 sy-vline ,
    42 'Description',
    105 sy-vline.
    write:/(105) sy-uline.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    format color col_group intensified on.
    write:/1 sy-vline,
    2 wf_object2,
    105 sy-vline.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    select single modtext into wf_txt
    from modsapt
    where sprsl = sy-langu
    and name = wa_tadir-obj_name.
    format color col_normal intensified off.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single text into wf_txt
    from sxs_attrt
    where sprsl = sy-langu
    and exit_name = wa_tadir-obj_name.
    format color col_normal intensified on.
    endcase.
    write:/1 sy-vline,
    2 wa_tadir-obj_name hotspot on,
    41 sy-vline ,
    42 wf_txt,
    105 sy-vline.
    at end of object.
    write : /(105) sy-uline.
    endat.
    endloop.
    write:/(105) sy-uline.
    skip.
    format color col_total intensified on.
    write:/ 'No.of Exits:' , wf_smod.
    write:/ 'No.of BADis:' , wf_badi.
    else.
    format color col_negative intensified on.
    write:/(105) 'No userexits or BADis exist'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(105) 'Transaction does not exist'.
    endif.
    at line-selection.
    data : wf_object type tadir-object.
    clear wf_object.
    get cursor field field1.
    check field1(8) eq 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    set parameter id 'MON' field sy-lisel+1(10).
    call transaction 'SMOD' and skip first screen.
    when 'SXSD'.
    set parameter id 'EXN' field sy-lisel+1(20).
    call transaction 'SE18' and skip first screen.
    endcase.
    reward for useful answers
    regards
    Nagesh.Paruchuri

  • Street and house number not showing for few customers in search xd03

    Hi All,
    While trying to search for a customer number in XD03 using "Address Attributes", i get the list of customers which is fine. However for few of those customers, system does not show the street name or the house number in the initial search result screen. When i go to check those customers, i see that those are maintained.
    Can you tell me why is it not showing in search screen although they are maintained properly.
    Regards,
    Indraveer

    You may need to check how those customer masters are created.
    Also check whether those master records are set with deletion indicator or blocked.
    Before posting my first response, I too searched OSS notes, but in vain.
    The below OSS notes is not exactly providing solution for your issue, but you can have a look at those.
    Note 1040733 - Search Help DEBIX: no result found as it should be
    Note 408456 - F4 help selections not transferred for customer/vendor
    Note 713677 - CUSTOMER_SEARCH/VENDOR_SEARCH fails if the address is shared
    Regards

  • Customer master data change -XD02 Disable all filelds except text screen.

    Hi SAP Experts,
    Have  any idea please forward immediately.
    In cusomer master data change XD02 all filelds should not be changed by specified users and the user should be able to update the text screen where as am giving the path below
    XD02>company code data>Extras>Texts>Double click on  accounting text screen. then it directs to text screen.
    here user can update the information.
    Since the Master data fileds can be change by the diffrent team like the details of address.... and the other users team from same dept. should not able to change address...and all other fileds in XD02 except the text screen.
    Is it possible to develop in xd02 . if it is please explore what are the ways...
    Regards
    venkat

    Hi
    As said by GSL goto OB20 and select "change customer centrally" and in the
    general data
    company code data
    sales data
    select the required fields and check the radio button "display"
    if you suppress you cannot find the fields at all
    regards
    prashanth

  • Dunning - clearing the customer master data?

    Customer XYZ has been dunned.  Customer master updated with dunning level = 1 and last date dunned.  Once customer pays invoice, is this automatically cleared by the system, or does user have to do this manually (clearing of dunning level and last date dunned in customer master)?

    The field KNB5-MAHNS (dunning level in the customer/vendor master
    record) is not the actual dunning status of the customer/vendor,
    but the highest dunning level customer/vendor got the last time
    customer/vendor was dunned.
    This is mentioned in the F1 help of this field.
    If customer pays all the repayments etc., then customer will not be
    dunned, but that customer will forever keep his dunning level, even if
    there are no more open items.
    You can change the KNB5-MAHNS field manually in the master record in
    fk02/fd02.
    Also, please review and apply note 6591 if you would like to reset the
    dunning data.
    Hope that helps:
    Jon

  • Personnel number in sales customer master records

    Hi
    my users want to add an ID number in  the customer master data, currently they are using one of the name line to enter ID number.
    It is possible to add a personnel number for a customer? because i heard someone say you can link a personnel number to a customer.
    can someone please tell me how that can be done, step by step

    Dear Admire,
    Try this with the help of ABAPer
    In the IMG you can find some BADI's for customer master data through this Path,
    IMG>Financial accounting>Account Receivables and payable->Customer accounts>Master data>Preparations for Creating Customer Master Data>Adoption of Customer's Own Master Data Fields
    -->Prepare Modification-Free Enhancement in Customer Master Record
    -->Business Add-In: Processing of Master Data Enhancements
    -->Business Add-In: Customer Subscreens
    -->Business Add-In: Processing of Master Data Enhancements with Batch Input
    I hope this will help you,
    Regards,
    Murali.

  • Loading customer master data using lsmw and bdc

    Hi all..
    Iam a beginner in sap world and my first project is to load the customer master data from mainframes into sap.
    Can anyone guide me how to approach to this project and what are the best materials to go through. Also can any one send some sample programs related to these..
    It would be a great help of you guys for a beginner like me..
    Thanks,
    mahi

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

  • "Vendor" field in the customer master - XD03

    Hi,
    I would like to know how useful the "vendor" field can be in the "control data" tab of the customer master (and vice versa with the vendor master).
    Is this only for information only or can we use this information to consolidate open items for one particular vendor that is also a customer?
    And how to do this if consolidation is possible?
    Thanks,
    Ronan

    Hello,
    When a Customer is also a Vendor and decided to net of the transactions with each others account in order to offset the entries.
    We need to get USD 100 from Customer A
    We need to pay USD 50 to Vendor A
    Ultimately, we need to get 50 from Customer A (Customer A and Vendor A is the same entity)
    To do this, You need to create Customer A in the Vendor Master and Vendor A in the Customer Master.
    You also need to check "Clear Customer with Vendor" check box in the master data.
    This will result in customer items and vendor items cleared against each other.
    Regards,
    Ravi

  • Payment terms based on specific dist.channel, division and Plant but not from customer master.

    Dear All
    I have a requirement,
    Generally payments terms from customer master will flow to sales order. but here my requirement is to get a different payment terms based on specific distribution channel, division, customer  and plant those are there in sales order but not from customer master. is there any user exit or functional module to fulfill this requirement, or any other suggestion appreciated.
    Thanks,
    Reddy

    This Problem you can solve without user exit too.
    The Customer master data itself can solve the problem.
    You can maitain diffrent Payment Term as per the sales area (Dist.Ch+Div+S.org) of customer master.
    and each sales are wise u can change the plant also.
    You just need to set your logic with the combination of sales are and plant. And need to assign which payment term should determine to sales order.
    If you are rasing sales order with X sales area relavent to that payment term will trigger.
    Hope above logic will work, otherwise you can go with user exit.

Maybe you are looking for