Multiple address number fields on a table

Hi.  I have a Z table which had an address field ADRNR data element AD_ADDRNUM.  When maintaining the table via SM30, there is a function button "Address" to maintain this field.  I have just added a second address field ZCRED_ADRNR data element AD_ADDRNUM.  Now every time I try to maintain these addresses via the function button in SM30, I get a message "Address for object ... not found.  Do you want to create a new address?"  If I choose to create a new address, the address number in ADRNR is changed (eg from 0700264579 to 0700264580) and the address number in ZCRED_ADRNR appears as @NEW000000 - even though I only got one "Edit Address" popup.  If I look on table ADRC there is a record for the old address from field ADRNR (0700264579) is there, plus the new one (0700264580) but there is no record for ZCRED_ADRNR (@NEW000000).
Could anybody tell me what I've done wrong?

Looks like somebody created some sort of check in your table maintenance via the predefined events for table maintenance. So try to find out in which event this check is triggered and why.

Similar Messages

  • Offset for Vendor Account Number(field VENDR) in table BSED

    Hello experts,
    I need to know the Offset where i can find the Vendor Account Number in field VENDR in the table BSED.
    This field is used for Localisation for TURKY in Reports like RFIDTRBOE1, RFIDTRBOE2.
    Thanks in advance!
    Regards,
    Sandeep

    Hi,
    Table LFA1 and ADR6 are right but in query, these tables will not be linled by system authomatically.
    You have to link these table manually by using field ADRNR in table LFA1 and field ADDRNUMBER in table ADR6.
    I hope it will resolve the issue.
    Regards,
    Vinod

  • Automatically generate sequential record number field for Z table

    Hi Experts,
    I have a Z table that I would like to add a "record_number" field to, because we are having an issue with duplicate entries not being created in the table.  Is there a way to add that field to the z table and have the system automatically assign a value when the insert statement is made?
    Thanks
    Shane

    Hi Shane,
    You can use the transaction SNUM to create a number range for your custom table. You can assign your invervals to whatever limit you would like. Once you create this range you can then call the function module below to get the next number before the insert (lv_object is the name of your number range and lv_number will export the next sequential number)
      CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr                      = '01'
          object                                = lv_object
        IMPORTING
          number                              = lv_number
        EXCEPTIONS
          interval_not_found            = 1
          number_range_not_intern = 2
          object_not_found              = 3
          quantity_is_0                     = 4
          quantity_is_not_1              = 5
          interval_overflow              = 6
          buffer_overflow                = 7
          OTHERS                             = 8.
      IF sy-subrc <> 0.
      ENDIF.
    Six

  • Multiple Text Number fields in contacts app

    When entering multiple phone numbers for a contact (Work, Mobile, Home), the system automaticall generates 3 additional Text enteries for each phone number entered .... if work and home are land line .. might not be able to send txt messages to these ... gives us option to delete or only generate if its a mobile number .... no need to have extra entries of no use for them...
    Anybody have a solution????

    Hi Toby
    I think the layout of the contacts list is allowing for a home and/or work number to be either a mobile or a land line (which is sometimes the case these days). I believe you're presented with this choice when texting in order to allow you to differentiate between the number you want to either text or dial.
    Myself, if I can't tell the difference between the three numbers of a little used Contact I will ascribe a new (slightly varied) Contact entry for them which denotes the difference (for instance:  TonyOffice, TonyTruck, Tony-America etc..)
    Searching for Tony wil bring all of these up
    As for the fields themselves, I see no way to change how they are presented.
    Regards, Simmo!
    Disclaimer:
    I know a little about lots of things,
    yet not a great lot about those little-things.
    Ultimately, I'm here to learn.

  • Updating external address number and phone ID

    I want to update external address number and phone ID when i edit a BP.
    I found FM BUA_BUPA_BUT020_GET to read address data from buffer.. using this i can update external address number field. but i am not able to see phone related fields in buffer.
    how to update phone related fields in buffer ( in any of the BADI).

    Hi,
    You can get the information from the table ADRC   Addresses (Business Address Services)
    Field name for telephone number TEL_NUMBER
    For Email address
    SMTP_ADDR
    And you have the common field between these two tables
    ADDRNUMBER
    Thanks
    Ramakrishna Pathi

  • Auto-numbering of item field in custom table for EEW enhancements for BUPA

    Hi Experts,
    We have a requirement to generat 3 custom tables in EEWB,for BUPA and assigned it to BP_HEAD. I have done all the generations and it works fine, the problem  is that the tables that are generated is not allowing us to have a data(material) of 0...n cardinality. 
    The table that we are aiming is to allow multiple records, so my solution is to have an extra item number field so that it will allow multiple records for a material. But users are requesting to have the item number field of the tables to be auto-numbering.
    I would like to know if this autonumbering is possible or not? what methods in BP_EEW should i use to implement this logic. I 'm very new to CRM2007, so I'm still not very familiar on how to use the objects generated by the component workbench.
    p.s.
    I've already search the forum but can find any relevant topic related to my request. If you have any known related topic, It would be highly appreciated.
    Thanks and regards,
    JP
    Edited by: John Paul Auditor on Sep 1, 2009 3:36 AM

    Dear Syed,
       You can do many things in table maintenance screen like validation of some field, making some field required or displayed etc.
       For auto increment you have to use Number-Ranges. FM NUMBER_GET_NEXT is helpful in this case.
       Where to write the code??? The Function-Group you have made. There will be includes. You can easily locate the place to write these codes.
       Caution point is that if you re-generate the table maintenance then all code will be gone.
    Regards,
    Deva.

  • Dynamically retreiving fields of a table

    Hi,
    I have a text file in the application server containing data corresponding to the fields of table EPROVAL15.I have declared an internal table and work area of the table type .While I am trying to split the file into respective fields it's throwing an error which is "field should be declared of character type".since fields such as 'VAL0000' or 'VAL0015' are of decimal format,so split statement doesnot work for such data type.Can any1 suggest how to split the file so that data from the text file get appended to the internal table?
    I thought of declaring a structure containing the same number fields as the table EPROFVAL15 with data type as char,but then that would be time consuming process as the table contains many fields.Can any one provide a solution to it?
    I would like to know ,if there is a table containing more than 100 fields and we want to append values from text file to it through an internal table ,then in the split statement do we need to provide every field  name (the usual process that we do) ?i feel it's a time consuming process to mention all the field name manually.is there any way out by which the fields can be called  dynamically for appending the data from the text file into it?

    Hi Brad,
    The text file is delimited by' | '.
    following is the sample code .
    data: gt_IEPROFVAL15  type  IEPROFVAL15,
           gwa_IEPROFVAL15  type  EPROFVAL15.
    split g_temp1 at '|' into gwa_IEPROFVAL15-PROFILE  gwa_IEPROFVAL15-VALUEDAY gwa_IEPROFVAL15-VAL0000
                                      gwa_IEPROFVAL15-VAL0015   gwa_IEPROFVAL15-VAL0030  gwa_IEPROFVAL15-VAL0045.
    The above split statement contains fields up till VAL2345(presently i have shown fields up till VAL0045).The syntactical error is
    ' gwa_IEPROFVAL15-VAL0000 must be a character type data object'.
    Is there any way by which data conversion can take place explictly ?
    If i declare a structure containing the same fields as that of table EPROVAL15(with the data type being char instead of integer) to be used in the split statement  then again it's a tedious process.
    Hope the problem stated is clear to you.

  • Partner Address NUmber Creation..

    Hi Guru's,
       I have a little problem on creating the partner address number..
    My requirment is to create address number for any partner number like 'ship to party'.i am using a custom bapi for sales order creation creation which is working fine....
    My problem is i need to give partner address number'ADRNR' in 'partners' ( table parameter).
    currently if i will give all the address informations.the bapi itself creating the address number internally....and it is reflecting in 'order_keys' parameter
    i want to give the address number externally.as i need to pass  only address number 'ADRNR'to the bapi.,so that it will retrive all the address informations what i have created for address number creation.
    Its urjent...help..
    Commited with Full reward points ...
    Sakti
    [email protected]

    Hi,
      Thanks for ur help.
    But ..i require to create externally...because..i need to create single delivery for dwo diffrent line items.those line items have all the inputs same...but it is creating different deliveries.as bapi is considering the same ship to party address for both the line items as different...for that issue..i have tried with putting previously created address number manually....in the partners parameter of bapi...ex:..if i am putting same address number for two different..line items of same values ( same address)...it is creating one delivery which is my requirment....but for the next line item with different shipping address i need to pass different address number....
    for this only i need to create externally address number which will populate address information from that 'partners' parameter before entering into the 'sd_sales_document_create'...and i can pass only the partner address number into it...means both of the two line items.....
    Do you have any idea...regarding thia..
    i am giving you  * points.
    now..for your hepl..
    try for this if you can...
    more points waiting for ...
    Thanks
    SAKTI

  • PO item Condition Record number and delivery address of PO - Need a table n

    Hello Experts,
    I need some help as I have searched enough but did not find any solution.
    I need a table name where I can find Condition Record number for PO line item.
    As I have to create a new PO Layout in which I have to mention each & every condition type with value for line item.
    I need to know one more thing that from which table I will get delivery address number so on the basis of that I can read entries from table ADRC.
    Thanks in advance.
    Bhagat

    HI,
    The First Question is regarding the PO Conditions.
    For Extracting the same. we have to Go to The Table EKKI and in this table pass the PO Number and after entering the PO NUmber ,at each item level we will have a condition record number KNUMV created,
    collect the condition record number and pass the value in KONV table ,in that table we will get all the conditions and its values maintained.
    The second question is the delivery Address
    the Delivey address comes from four ways
    Plant
    EKPO -Pass PO NUmber - collect the plant and pass in table T001W  to get the address number
    and pass the address number to ADRC table
    Customer (third party)
    IN table EKPO -collect the customer Number-KUNNR and pass that value to KNA1 table and then get the address number and then get the address from ADRC table.
    Direct address number ( created by t code MEAN- Type ME01)
    This adress number-ADRNR can be taken from EKPO table and pass this value to adrc table to get the address.
    Vendor ( subcontracting)
    In this IN EKPO we will have the vendor field -LIFNR and this field collect the vendor number and pass in LFA1 and get the address number and then pass the address number to ADRC table
    If in EKPO,the address number and customer vendor field are blank then it picked from the plant and we have to default the Plant Address
    Hope so it helps
    Regards
    Anjanna.

  • How do you count the multiple columns of a field in a table

    How do you count the multiple columns of a field in a table

    Hi,
    4396bf34-e890-4202-a6b0-4e08c9ff0e89 wrote:
    How do you count the multiple columns of a field in a table
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    "Field" isn't a standard database term.  Some people say "field" when they mean "column", but I don't think that's what you mean ("How do you count the multiple columns of a column ..").  Do you want to know how many times a column is used (as opposed to NULL), or the number of different values in a column?  You really need to show what you want.

  • Address Book/iSync - email addresses moving to phone number fields

    I'm not sure what is causing this, but I'm noticing that email addresses in my cards are moving to phone number fields. I originally thought this had something to do with cards that had no phone number in them, only an email address, but now I"m realizing that's not the case.
    I fixes all cards last night and just a minute ago, when I was in Address Book I noticed some or all of the email addresses had moved again. I reverted to my backup from last night and it fixed things, but I'm wondering what's going to cause those addresses to move again.
    I do use iSync to sync my AB contacts to my Motorola phone (I think I have it set up where it's one way, computer to phone) and I have Entourage that's using my AB contacts to populate its address book.
    Any thoughts about what in my environment is causing this?
    -John

    Thank you for the suggestion. I did this, but noticed that some cards were still messed up. So I reverted back to a clean copy of my address book from last night. Then I went to iSync and synchronized with my Motorola phone. That's when iSync says that it's going to modify over 5% of my contacts in AB (122) at which point I said okay. Problem appears to be that the cards it modifies is random.
    Now to make matters worse, it appears that if I repeat this process over and over (revert, iSync, look through cards), there is no pattern to which cards are changing. I don't even know how to troubleshoot this. I'd love make iSync go one way - computer to phone - so that the phone can never write information to the computer. Is that possible?
    I'm sure this needs to go to a different section...
    -John

  • MIGO tr Serial number field and table?

    Hi guys,
                  can anybody tell me how to find the field name and table for Serial number in MIGO tr Code?
                     in MIGO the Serial number field and Structure are GOSERIAL-SERIALNO.but i was not able to find the Actucal Field name and table where i can get the values based on PO and Asset Number's?
    Thanks,
    Gopi.

    Hello,
    I'm looking at the same problem here. I found the table SER03 in which you can enter the the material document. This returns 1 line in this table and from this one you need the OBKNR element
    You can copy this data and paste it into table OBJK element OBKNR and this returns all serialnumbers for the relevant material document.
    My problem is that i can't get these items on the sapscript. (WESCHEINVERS 1,2 or 3)
    Greetings
    Edited by: Lode Vandecruys on Apr 9, 2008 11:04 AM
    Edited by: Lode Vandecruys on Apr 9, 2008 11:09 AM

  • Serial number field and table

    Hi,
    I want Serial number field and table,
    Scenario like this,for returnable packging material we have assigned serial numbers,mtrl type is LEIH,so for tracking of RTP material now we are going to Develop one Report for this i need ur Help.
    Logic is:1)Matrl doc at the time of Delievery.
                Qty,Posting Date,Customer,Mvt type,Serial numbers for all.
                 Beacause at the time of Del we are mentioned all serial numbrs.
                2)Material Document at the time of GI.
                Same field as mentioned as above.
    After that,3)System is to Calculate How many Matrl are deliever to Custmer upto current  Period.Say  10.
    4)Calculte  How many Matrl are Recieved from the Custmer upto current  period.say 5
    5)Del - Issue=Total Number of Material is in Customer side.Say 5
    6)According to the Serial Number wise system has to calculate in which month delieverred matrl is in still customer side.
    (Ex PGI date 20.02.2007  3 qty
    Serial Number    1,2,3
    Issue date    20.03.2007   2 qty
    Serial Number    2,3
    Serial number  1 still is in Customer side.
    Age is 2 month)
    I am giving simple ex.
    so pls any body is having this idea pls Shared with me.
    Thanks
    Raghu

    Hi Raghu,
    Check table SER01(Document Header for Serial Numbers for Delivery).
    OBJK is the object table and you will have SERNR as serial number in this table.
    check table EQUI
                          EQUI -SERGE
                          EQUI-GERNR.
    EQUI-SERGE is Manufacturer serial number.chk if this is the one u r looking for.
    MARC-SERNP.
    key in plant and material in this table to fetch the Serial number profile of the material.
    Check in IKPF AND ISEG Tables... ( inventory )
    MSEG~EQUNR
    Hope it will hep u
    Regards
    Hareesha

  • Number of fields in the table

    Hi experts,
    How do you obtain the number of fields of a particular table ?
    I want the count of the fields of a table.
    Thanks in advance,
    Chithra.

    Check the code below:
    DATA: d_ref TYPE REF TO data,
    i_alv_cat TYPE TABLE OF lvc_s_fcat,
    ls_alv_cat LIKE LINE OF i_alv_cat,
    fname TYPE fieldname,
    ncomp(9) TYPE n,
    rcount(9) TYPE n,
    fcount(3) TYPE n.
    TYPES: BEGIN OF itab1,
    message(50) TYPE c,
    END OF itab1.
    DATA: g_itab1 TYPE STANDARD TABLE OF itab1.
    DATA: wa_itab1 TYPE itab1.
    ncomp = 1.
    rcount = 0.
    TYPES: tabname LIKE dcobjdef-name,
    fieldname LIKE dcobjdef-name.
    PARAMETER: p_tablen TYPE tabname. "Input table field
    DATA: BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE dntab.
    DATA: END OF itab.
    FIELD-SYMBOLS : <f_fs> TYPE table,
    <f_fs2> TYPE ANY,
    <f_fs3> TYPE ANY,
    <f_fs4> TYPE ANY.
    REFRESH itab.
    CALL FUNCTION 'NAMETAB_GET' "Fetches the fields
    EXPORTING
    langu = sy-langu
    tabname = p_tablen
    TABLES
    nametab = itab
    EXCEPTIONS
    no_texts_found = 1.
    LOOP AT itab .
    ls_alv_cat-fieldname = itab-fieldname.
    ls_alv_cat-ref_table = p_tablen.
    ls_alv_cat-ref_field = itab-fieldname.
    ls_alv_cat-seltext = itab-fieldtext.
    ls_alv_cat-reptext = itab-fieldtext.
    APPEND ls_alv_cat TO i_alv_cat.
    fcount = fcount + 1.
    ENDLOOP.
    WRITE:/ fcount.
    WRITE: ' number of column'.
    internal table build
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    it_fieldcatalog = i_alv_cat
    IMPORTING
    ep_table = d_ref.
    ASSIGN d_ref->* TO <f_fs>. " Dynamic table creation with fields of the
    *table
    DATA: l_field TYPE fieldname,
    l_field1 TYPE fieldname.
    SELECT * FROM (p_tablen) INTO CORRESPONDING FIELDS OF TABLE <f_fs>.
    "Fetching of the data from the table
    rcount = 0.
    LOOP AT <f_fs> ASSIGNING <f_fs2>.
    rcount = rcount + 1.
    DO fcount TIMES.
    "Here u can check the validations and process
    ASSIGN COMPONENT ncomp OF STRUCTURE <f_fs2> TO <f_fs4>.
    IF NOT <f_fs4> IS INITIAL.
    MOVE <f_fs4> TO l_field1.
    ncomp = ncomp + 1.
    ELSE.
    CONCATENATE 'IN ROW' rcount 'COLUMN' ncomp 'IS BLANK' INTO wa_itab1.
    APPEND wa_itab1 TO g_itab1.
    ncomp = ncomp + 1.
    ENDIF.
    ENDDO.
    CLEAR:ncomp.
    ENDLOOP.
    LOOP AT g_itab1 INTO wa_itab1.
    WRITE:/ wa_itab1 'is blank'.
    ENDLOOP.
    regards
    Kannaiah

  • Invoice number field in Table BSEG..

    I have the accouting document no.I want to find out the invoice no.Which field in  BSEG table is invoice no.??

    Hi,
    In BSEG you don't find Invoice number. You can see the purchasing document number.
    BSEG- EBELN
    Invoice number in BKPF table. As suggested by other frined .
    BKPF -AWKEY (Invoice number+Year).
    Regards,
    Chandra

Maybe you are looking for