Using UUID istead of commoen fields

HI All
I Have two Z DB tables with almost the same fields and my question is if in table one table
instead the common fields I can use UUID .
1. what is the benefit of this
2. how i can read data from table one
This are the tables
Table one
mandt type sy-mandt "key
User type bname    "key
hardware  type char30"key
application type char 30 "key
cdate
ctime
Table 2
mandt type sy-mandt "key
User type bname    "key
hardware  type char30"key
application type char30 "key
application_att type char30"key
application_ver type char30"key
application_value type char50
cdate
ctime
Best Regards
chris

UUID are to be used when some data is shared by multiple applications, and these applications have different keys to access this data (I'm not sure to be clear ).
The problem with UUIDs is that it makes the database a little bit abstract, and it's not easy to read via general tools like SE16, SM30.
I don't know how complex is your application, but I don't advise you to do so.

Similar Messages

  • Benfit of using uuid in DB tables

    HI ,
    i need to create new Z tables with relation between them and my question is  what is the benefit of using UUID as the key with mandt .
    does it help me to read the data or when i read (select )  from the tables i dont need to use it .
    also how  i can use it in join between two tables ?
    Reagrds
    Nina

    HI Mickey  ,
    Thanks
    1. when i using key in tables i sure that i don't have the same record twice for instace if i have in table
    mandt key
    user 123 key
    userid 88888 key
    i am sure that in the table i dont have this record twice
    but if i had the uuid in table i think that the some entries can have same values like
    entry one
    mandt key
    uuid 7777777 key
    user 123
    userid 88888
    entry two
    mandt key
    uuid 666666 key
    user 123
    userid 88888
    how can i avoid it ,i think i miss here something .
    2. if i have 2 tables with some different and equal fields and i want to use join how i can do it ?for instance
    table 1
    mandt key
    uuid 7777777 key
    user 123
    userid 88888
    postion manager
    table 2
    mandt key
    uuid 7777777 key
    user 123
    userid 88888
    adress usa
    mail www
    do i have an example?
    Best regards
    Nina

  • What is the use of EIN_FEDERAL and EIN_STATE_LOCAL fields in Voucher header record (PeopleSoft AP) ?

    What is the use of EIN_FEDERAL and EIN_STATE_LOCAL fields in Voucher header record (PeopleSoft AP) ? And where can we check record field related information in PeopleBooks ?

    Hi User,
    The best place to search for questions like this one is OTN, Oracle Technology Network. If you have any question about CLOUD and partnering with Oracle we will be more than glad to help! Thanks.

  • How do I generate the pdf file using the name of a field.  How can I help

    how do I generate the pdf file using the name of a field.  How can I help

    Hi,
    here's a sample.
    LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to…

  • Using AGO function in calculated fields in Analysis

    Oracle BI 11g.
    Hi!
    I have time-hierarchy and try to use function Ago in calculated fields. I created Analysis and add columns Year, Revenue, Revenue (1 year ago). In formula of column "Revenue (1 year ago)" I wrote:
    AGO("Sales"."Revenue", "H Calendar"."Year", 1)
    "H Calendar"."Year" - is level in my time Hierarchy "H Calendar".
    But when I clicked [OK], I got error: [nQSError: 27037] Unresolved level: "H Calendar"."Year".(HY000)
    What I do wrong?

    Hi,
    I think it's a bug, try this.
    If Analysis you have a time folder with this object dimension:
    Time Hierarchy
    Total Time
    Year
    Quarter
    Month
    Week
    Day
    And a measures 1- Revenue try to calculate the criteria like this (write in the level the formula "Time"."Time Hierarchy".Year)
    For example:
    AGO("Base Facts"."1- Revenue", "Time"."Time Hierarchy".Year,1)
    If you have the sample sales of the 11g installed try this on A - Sample Sales
    SELECT s_0, s_1, s_2 FROM (
    SELECT
    0 s_0,
    "A - Sample Sales"."Time"."T05 Per Name Year" s_1,
    AGO("A - Sample Sales"."Base Facts"."1- Revenue","Time"."Time Hierarchy"."Year",1) s_2
    FROM "A - Sample Sales"
    ) djm ORDER BY 1, 2 ASC NULLS LAST
    For me it works.
    Regards,
    Gianluca

  • OAM 11gR2 Authentication using username/password/additional ldap field

    I want to add additional credential parameter along with username and password to be validated against LDAP.
    Is there any out of the box solution for authentication using username/password/additional ldap field in OAM 11gR2?
    This solutions exist in 10g and could not find any OOB feature in 11g.

    Do you need to accept additional parameter from user via login form & then use it in credential mapping step
    Not sure if %% syntax would work .. havent tried it. next option is to develop custom authentication plugin
    Additional ldap attribute against static value
    If you need to add additional ldap attribute (check against static value) that you can specify in LDAP search filter in "User Identification plugin" configuration
    Take a look at "MTLDAPPlugin" under custom authentication modules
    Hope this helps

  • Useful life is asking mandatory field in asset master data

    while asset master creation useful life is asking mandatory field in dep.key : ZSLU. actually i have to give "ZERO" in useful life field. i have set screen layout in AO21 also.again asking mandatory field. I got the one point, I think this is the problem,
    Note: Base method 0011 (Ordinary: percentage from useful life) already assigned in dep. Key ZSLU. If we assigned in dep. key ZSLU, we should give positive values for useful life in asset master data.
    I changed base method 0002 instead of 0011, it was accepted, If i change base method(0011),
    i want base method instead of 0011?
    which base method i have to give? please give suggestion?
    Thanks
    indu

    Hi ,
    i have changed optional field also. it's asking mandatory, i have tested base method 0002 instead of 0011. if i give 0002 or other base method, it is accepting.
    Note: if we mention base method 0011, we must give passitive values in useful life.
    what i have to do? please tell me?

  • How to use Count with other all fields

    Hello guys. Sorry about my question because it s syntax but i didnt find in google.
    How can i use count combined with other all fields.
    Like SELECT count(*) 'other all fields like * '  FROM VBAK .
    Thank you very much.

    Don't sure to understand your requirement (count would always be 1, aggregates are only defined with grouping)
    So either use two SELECT (or replace count(*) counting Nr of records selected) if no relation between count and field values....
    Or use a dynamic SELECT syntax. Use FM DDIF_FIELDINFO_GET to  get field list, then create fieldlist with every field name and count(*), create grouplist with every field name
    SELECT (fieldlist)
           INTO ...
           FROM table
           GROUP BY (grouplist).
    Regards,
    Ramond

  • Using app.openDoc with LC field as path

    Using LC ES2, Acrobat X.
    I was hoping someone might be able to point me in the right direction.  Synopsis:  I have a LC form that I use to import parent/child XML data. This form is a report, but it is basically a summary of a group of PDFs that I send off to my clients (on CD).  Each child record has a field containing the name of its corresponding PDF file.  I have been trying my best to make a link that will open the child file in a new Acrobat window.  I've used app.openDoc, but cannot seem to pass my field into the cPath. I've even tried using the "address" of the field containing the path. Example:
    app.openDoc({cPath:TextField1.rawvalue,oDoc: this});
    I've tried the device independent paths as well as just "filename.pdf", where both source and targets were in the same folder.
    I thought one of my attempts was going to work, but I got the "NotAllowedError: Security settings prevent access to this property or method." message in the debugger.
    This brings me to disclosed=true.  Is is still the case that all of the target PDFs that I am linking to need to have this property set?  Or, am I missing something alltogether here?

    Sorry, I marked it as bold text but unfortunately it happens to be unformatted
    It's the app.openDoc within my function checlIfFileExists:
    try {
            if( n == 0) {
               var checkDoc = app.openDoc({cPath :  "../GAG-out/"+filename+"-001.pdf"});
            } else  { 
               var checkDoc = app.openDoc({cPath :  "../GAG-out/"+filename+"-001_"+n+".pdf"});
             checkDoc.closeDoc();
            existingDoc = true;
         } catch (e) {  
             app.alert("Processing  error: "+e)

  • Gendata error when using MessageFromExtr rule on a field in one of the FAP

    This is the error:
    Error in RULLoadFASR(): Unable to locate Form Grouping identified by <;;;;>.
    Tip: At least one Group (GRP) in the BDF needs to reference a Group1;Group2;Group3 value of <;;;;>.
    There are also other errors. But this was the first.
    While Gentran runs very fine, gendata gives errors. To say this happens only while using MessageFromExtr rule on a field in one of the FAP. The same BDF file works good when I use Move_it or some other rule.
    The .FAP file looks like this for only the field maapings. Using Studio Version of Oracle Documaker Studio.
    A,F8," ",N,N,N,N,;;,"MESSAGEFROMEXTR","ABCD","",;;,50,0,0,30,581,0,15,0\TBLOFF,XYZYX
    Any Help??

    The Key1 and Key2 table are already updated. This happens when using MessageFromExtr rule.
    Also, in the extract file I am having some value in the tag "<J:L>TextMessage". As this rule supports <J:L> it should print teh text message on the field, but it gives error unable to retrieve record and other.

  • I'm trying to draw a candlestrick chart without using the open and close fields

    I'm trying to draw a candlestrick chart without using the
    open and close fields, however I am seeing nothing on the cart. The
    horizontal and vertical axis are displaying their labels correctly
    for the data. Any ideas what is going on here?

    "nikos101" <[email protected]> wrote in
    message
    news:gi5rh4$ptn$[email protected]..
    > Is it not to draw the line between the high and low
    then? The data I
    > recieve has no open and close data :(
    >
    I've never seen a candlestick that didn't have all 4
    properties.
    You may find the floating columns do what you want here
    http://demo.quietlyscheming.com/ChartSampler/app.html
    or possibly the
    vertical line type will work for you.
    HTH;
    Amy

  • Which statement is used to move identically named fields between structures

    hi
    which statement is used to move identically named fields between structures

    Hello Jyothsna,
    We use
    <b>MOVE-CORRESPONDING STRU1 TO STRU2.</b>
    Example:
    Data: begin of stru1,
    f1,
    f2,
    f3,
    end of stru1.
    Data: begin of stru2,
    f1,
    f2,
    f3,
    end of stru2.
    stru1-f1 = 'a'. stru1-f2 = 'b'. stru1-f3 = 'c'.
    MOVE-CORRESPONDING STRU1 TO STRU2.
    write: stru2-f1, stru2-f2, stru2-f3.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • Electronic Accounting for Mexico using UUID field

    Hi
    As per new rules in Mexico, the electronic number of size 36 chars generated by Govt Invoicing system should be stored in SAP accounting document for every invoice generated and issued to customer. We need to implement this and at the same time heard SAP Mexico would also provide a solution where this data can be stored in a unique field called UUID, may be through a note.
    Has anyone implemented this legal change and if so how and what are the ways to retrieve this data and challenges around it. There are some discussions on SCN however they are in Spanish, so couldnt follow in full.
    Thanks,
    Sekhar

    Here is the latest note from SAP for the UUID
    2075584 - MX E-invoicing: UUID field for Vendor invoice verification

  • @GeneratedValue using UUID

    New to Java world.
    Wondering if I can specify UUID concept in EJB 3.0 using @GeneratedValue annotation for a ID field.
    Example:
    @Entity
    public class Customer implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    Instead of using GenerationType AUTO, is there a way to get UUID. Don't want to use IDENTITY method either (I dont want to use database specific id values).
    Thanks for your input.

    To my understanding, you need to use:
    @GeneratedValue(generator="<generator_name>") The generator name would depend on the persistence implementation you use.
    @GeneratedValue(generator="uuid-hex") works with OpenJPA
    @GeneratedValue(generator="system-uuid") works with Hibernate
    and so on...

  • Use the value of a field as column-name of a dynamic table

    Hi All
    I have the following situation:
    a) Internal table TB_ORDER_CONDITION ==>  data: tb_order_condition type standard table of bapicond.
         sample of the internal table TB_ORDER_CONDITION:
    CONT_TYPE # CONDVALUE# CONDBASEVAL  
        ZR00         #    38.800000#  1.000000
        ZR30         #    2.800000  #  0.000000
        SKTO        #    0.000000  #  57.8500000
    b) dynamic-table  <L_TABLE_II> has the following columns:
    ZR00#ZR30#ICM3#IPS2  SKTO  
    c) I would like to move as below:
    ZR00#ZR30# ICM3#IPS2# SKTO 
    38.800000#2.800000#57.8500000
    Observation:
    I used this symbol just to show the separationfrom one column from another.
    Items a) and b) are OK. The problem is that I don't know how to make this move as showed in item c).
    Could you please advise?
    Thanks in advance.
    Gaia

    Hello,
    Check the code snippet below:
    FIELD-SYMBOLS: <wa_order_creation>  TYPE bapicond,
                   <l_table_ii>         TYPE STANDARD TABLE,
                   <l_wa_ii>            TYPE ANY,
                   <l_fieldval>         TYPE ANY.
    SORT tb_order_condition BY itm_number. "Sort by Item Number
    LOOP AT tb_order_condition ASSIGNING <wa_order_creation>.
    * Add a record to the dynamic table for each item
      AT NEW itm_number.
        APPEND INITIAL LINE TO <l_table_ii> ASSIGNING <l_wa_ii>.
      ENDAT.
      ASSIGN COMPONENT <wa_order_creation>-cond_type
      OF STRUCTURE <l_wa_ii> TO <l_fieldval>.
      IF sy-subrc = 0.
        <l_fieldval> = <wa_order_creation>-cond_value.
      ENDIF.
    ENDLOOP.
    BR,
    Suhas

Maybe you are looking for