How to get guid in oracle 8?

Hi,
how to get guid in oracle 8
regards
Dupont
null

Hi Anjum,
You can try to read the current business transaction GUID in email view by reading global data context reference. Something like this:
*- Data dictionary
  DATA lr_gdc            TYPE REF TO if_crm_ui_data_context.
  DATA lr_bt             TYPE REF TO cl_crm_bol_entity.
  DATA lv_guid          TYPE crmt_object_guid.
*- Get current business transaction from global data context
  lr_gdc ?= cl_crm_ui_data_context_srv=>get_instance( ).
  CHECK lr_gdc IS BOUND.
  lr_bt ?= lr_gdc->get_entity( name = if_iccmp_global_data_cont_con=>gdc_currentbt ).
  CHECK lr_bt IS BOUND.
  lv_guid = lr_bt->get_property_as_string( 'CRM_GUID' ).
Kind regards,
Garcia

Similar Messages

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

  • How  to get GUID for a transaction

    How to get GUID of a transaction in solution manager support desk.
    pls help reg this.

    Hi Kalpanashri,
    I would suggest you to go for recording of the transaction. Then you can get to know the tables of the related fields which you have entered value during recording.
    OR
    For checking individual fields, you can go for the <b>WHERE-USED LIST</b>.
    For Ex:
    Please go to SE11 and enter data type with MATNR.
    Then click on where-used list button and check only table type (the first option) and click on continue.
    The system will show list of tables that store value of MATNR field. You can do double click on the field name and system will take you to detail screen of the table fields. Then from here ... you browse the data as well.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • How to get GUID all of user in OU

    I have use exchang svr 2013 .
    How to get GUID of user all in OU ?
    currently i use scriptr exchange power shell
    $username = "username"
    $guid = (Get-Mailbox $username).ExchangeGUID
    $upn = (Get-User $username).UserPrincipalName
    $upnsuffix = $upn.Split("@")[1]
    $ServerName = "$guid@$upnsuffix"
    write-host $ServerName

    Store all mailboxes in that OU in a variable and use a foreach loop
    $mbx = get-mailbox -resultsize unlimited -organizationalunit "domain.com/OU"
    foreach ($m in $mbx)
    Your code
    How to apply in exchange power shell ?

  • How to get Guid of all form libraries

    I have  a requirement where i should get guid of all form libraries so that i dont need to hardcode the Guid of form library in server object model.How can i achieve this..

    Hi Hemandra..
    Thanks for the response,I am looking to relink documents using the code below...Code is working well for single form library but i have 4 to 5 form libraries for which the code should be executed..how can i get this done.I am working with Infopath forms.
    protected
    void btnsubmit_Click(object
    sender, EventArgs e)
    if (RelinkDocuments())
    Label3.Text =
    "Success!!!";
    else
    Label3.Text =
    "Failure";
    private
    bool RelinkDocuments()
    try
    SPSite site =
    SPContext.Current.Site;
    SPWeb spWeb = site.OpenWeb();
    SPList spList = spWeb.Lists[new
    Guid("8E023C18-DAA3-4743-81B7-E034111544BC")];
    SPDocumentLibrary doclib = (SPDocumentLibrary)spList;
    string solutionUrl =
    SPHttpUtility.UrlPathEncode(spWeb.Url
    + "/" +
    doclib.DocumentTemplateUrl, true);
    foreach (SPListItem
    spItem in doclib.Items)
    //loop through the list items
    SPFieldCollection spFields = spItem.Fields;
    foreach (SPField
    spField in spFields)
    //loop through fields resetting them
    if (spField.Type !=
    SPFieldType.Computed &&
    spField.Type !=
    SPFieldType.Invalid && !spField.ReadOnlyField)
    try
    spItem[spField.InternalName] = spItem[spField.InternalName];
    catch (Exception
    e)
    SPContentType spContentType = spList.ContentTypes[(SPContentTypeId)spItem["ContentTypeId"]];
    if (spContentType !=
    null)
    //try to update the item with the content type's template url which is the updated one
    if (spContentType.DocumentTemplate.StartsWith("http://")
    ||
    spContentType.DocumentTemplate.StartsWith(
    "https://"))
    spItem[
    "TemplateUrl"] =
    SPHttpUtility.UrlPathEncode(spContentType.DocumentTemplate,
    true);
    else
    if (spContentType.DocumentTemplate.StartsWith("/"))
    spItem[
    "TemplateUrl"] =
    SPHttpUtility.UrlPathEncode(spWeb.Site.MakeFullUrl(spContentType.DocumentTemplate),
    true);
    else
    spItem[
    "TemplateUrl"] =
    SPHttpUtility.UrlPathEncode(spWeb.Url
    + '/' + spList.RootFolder
    + '/' + spContentType.DocumentTemplate,
    true);
    else
    //no content type found so default template url to solution Url
    spItem[
    "TemplateUrl"] = solutionUrl;
    spItem.Update();
    return
    true;
    catch (Exception
    ex)
    return
    false;

  • How to get GUID of nav predecessor in Breadcrumb navigation

    Hello,
    we have implemented a Z-Component in which we can navigate from other standard components via i.e. follow-up transaction.
    I have the requirement to get the GUID of the transaction from which we came from.
    For example we are working at an offer and now navigate to the Z-Component via follow-up. I would now need the GUID of the offer we were working on, before we navigated away.
    I suppose that somewhere in the framework the navigation stack is saved, because a click on the back button within the webclient brings me back to exactly the offer I had opened before.
    Any idea how to get to that navigation information?
    Thanks in advance
    Best regards
    Victor

    Hello Victor,
    I think the best to share information between components is to bind to component controller or pass data via outbound/inbound plugs. Playing with breadcrumb history (in my opinion) won't help too much but if you want to investigate a bit in this area, take a look at interface if_bsp_wd_history_manager_disp, the reference to which you can get via
    lr_history_access = me->view_manager->get_history_manager_display( ).
      CALL METHOD lr_history_access->get_history
        IMPORTING
          values = lt_history.
    Best Regards,
    Yevgen

  • How to get information from Oracle's views

    Hi,
    I need to get information from Oracle's views about:
    * in which table's column is set index
    * what type of index is on this column
    * name of a trigger which exist on a table
    * type of trigger (before, after etc)
    * trigger status (enable, disable)
    Thanks for help.

    Hi..
    One of the best way to know which views to use is doing select * from dict where table_name like 'xxx';
    For example in your case you needed to know about the indexes and triggers so
    SQL> select * from dictionary where table_name like 'DBA_IND%';
    TABLE_NAME                     COMMENTS
    DBA_INDEXES                    Description for all indexes in the database
    *DBA_IND_COLUMNS                COLUMNs comprising INDEXes on all TABLEs and CLUSTERs*
    DBA_IND_EXPRESSIONS            FUNCTIONAL INDEX EXPRESSIONs on all TABLES and CLUSTERS
    DBA_INDEXTYPES                 All indextypes
    DBA_INDEXTYPE_COMMENTS         Comments for user-defined indextypes
    DBA_INDEXTYPE_ARRAYTYPES       All array types specified by the indextype
    DBA_INDEXTYPE_OPERATORS        All indextype operators
    DBA_IND_PARTITIONS
    DBA_IND_SUBPARTITIONS
    DBA_IND_STATISTICS             Optimizer statistics for all indexes in the database
    10 rows selected.
    SQL> select * from dictionary where table_name like 'DBA_TRI%';
    TABLE_NAME                     COMMENTS
    DBA_TRIGGERS                   All triggers in the database
    DBA_TRIGGER_COLS               Column usage in all triggers
    Reading the comments you can know which view to use, then  describe the view and use what you need

  • How to get data from Oracle to SAP

    Hi All,
           I want to get data from Oracle to my internal table in SAP,
    I worked on puting  the data from SAP to Oracle, it's working fine...
    Can anybody suggest the code for accessing from Oracle with 4 primary keys in oracle.
    regards
    manish

    hi
    good
    there is two things in sap open sql and native .if you ll use the open sql than you can access any database.
    thanks
    mrutyun

  • General questions on how to get started with Oracle OEPE and databases

    My company has a server in the cloud, written using Ruby on Rails. The server is designed to work with a browser, so it communicates via standard HTTP.
    The server has an SQL database.
    The server sends and receives HTTP requests from clients, which are then used to either update the database or retrieve information from the database.
    The database can be edited from a separate admin dashboard.
    I have recently rewritten our client software as a native android app. The new app makes calls to the server that look like browser calls. I have used Eclipse to develop the Android app.
    Sounds pretty standard so far, right? :-)
    I now want to replace the Ruby on Rails server with a new Java server that I will write. I want to use Eclipse to develop the new server. During development, I want to be able to have the new Android app communicate with the development server software that will reside on my desktop.
    So I was thinking that Oracle's tools might be perfect for me, if only I knew which tools to use. There are lot to choose from. :-)
    I believe that all I need is OEPE and a database. I would like to keep it pretty simple. I don't want to learn 20 new tools. It will be enough effort to become proficient in OEPE and a database.
    I looked at "Oracle Database Tools >> Connecting to an Oracle database" in the help files for OEPE 12.1.1. I tried going through the help files for Database connections, but I got to a "New Connection Profile" form that asks me for a SID, a user name, a password, etc. I don't have any of those. I tried to enter some data in the forms and ping the database, but I could not get any results from the ping. So my first question is: Do I have to sign up for an Oracle database in the cloud or is there a database contained within the OEPE software that I just installed. I will have to do the former anyway when I eventually deploy my new server software, so maybe the right thing to do is sign up for the "database in the cloud" service now, and use it during development.
    The other question I have is about getting a simple application client and server application sample. I found a "hello world" example at http://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/webapplications/workshopJSP/tutorialJSP/TutorialJSPMakeJSP.html, but that is for WLS 10.3 and it doesn't seem to match the 12.1.1 software very well.
    So does anybody know where I can find a simple client and server sample program for WLS 12.1.1?
    If I can get these two questions answered, I can start making some progress.
    Thanks in advance to anybody who can help me navigate this minefield.
    Jim

    I wanted to add some information to my previous posting.
    1. The server I will develop will communicate ONLY with Android and iOS native apps, so the interface will not be HTML or XML. The information sent by the server to the client will be JSON. The information sent by the client to the server will be HTTP parameters, usually in the form of URL-encoded form data. This is not a browser-to-server server interface, so JSP is probably not appropriate for the server. The communication protocol will be HTTP.
    2. I don't need anything fancy on the server side. The server will simply be a Java program that emits JSON responses to the client and receives URL-encoded form data from the client. The server program will also make database queries and update the database.
    3. I don't understand how my native Android app will be able to communicate with my development server code running on my desktop. I want that communication to be over the internet, but my desktop does not have a static IP address, so I don't see how the app will be able to address the development server software on my desktop PC. I don't want to deploy the server software into the cloud every time I start a debug run, but I don't see any other way for my app to be able to address the server code over the Internet.
    If anybody has any ideas, I would appreciate hearing them.

  • How to get data from Oracle using Native SQL in SAP.. Problem with date

    Hi Masters.
    I'm trying to get data from an Oracle DB. I was able to connect to Oracle using tcode DBCO. The connetion works fine
    I wrote this code and it works fine without the statement of where date > '01-09-2010'
    But i need that statement on the select. I read a lot about this issue, but no answer.
    My code is (this code is in SAP ECC 6.0)
    DATA: BEGIN OF datos OCCURS 0,
          id_numeric(10),
          component_name(40),
          comuna(10),
          record_id(10),
          status,
          sampled_date(10),
          END OF datos.
    DATA: c TYPE cursor.
    EXEC SQL.
      connect to 'LIM' as 'MYDB'
    ENDEXEC.
    EXEC SQL.
      SET CONNECTION 'MYDB'
    ENDEXEC.
    EXEC SQL PERFORMING loop_output.
      SELECT ID_NUMERIC, COMPONENT_NAME, COMUNA, RECORD_ID, STATUS, SAMPLED_DATE
      into :datos from lims.SAMP_TEST_RESULT
      where     date > '01-09-2010'
    ENDEXEC.
    EXEC SQL.
      disconnect 'MYDB'
    ENDEXEC.
    How can i get the data from that date?? If i delete the where statemet, the program works well, it takes 30 mins and show all the data, I just need the data from that date.
    Any help
    Regards

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • How to get GUID in DO_INIT method

    Hi All,
    I have a requirement to default the CC mail id's when a follow up email is created from complaint i am trying to acheive this
    by redefining DO_INIT method and created a new method set_CCmailid where i am trying to call order_read to get the partner
    functions and their mail id's.Plz let me know how should i get the guid to pass to order_read and attend functionality.
    Thanks.

    Hi Anjum,
    You can try to read the current business transaction GUID in email view by reading global data context reference. Something like this:
    *- Data dictionary
      DATA lr_gdc            TYPE REF TO if_crm_ui_data_context.
      DATA lr_bt             TYPE REF TO cl_crm_bol_entity.
      DATA lv_guid          TYPE crmt_object_guid.
    *- Get current business transaction from global data context
      lr_gdc ?= cl_crm_ui_data_context_srv=>get_instance( ).
      CHECK lr_gdc IS BOUND.
      lr_bt ?= lr_gdc->get_entity( name = if_iccmp_global_data_cont_con=>gdc_currentbt ).
      CHECK lr_bt IS BOUND.
      lv_guid = lr_bt->get_property_as_string( 'CRM_GUID' ).
    Kind regards,
    Garcia

  • How to get data of Oracle Applications tables in APEX

    Hi all,
    My requirement is to Develop Oracle apps Order Management Reports in APEX.
    But when i am trying to query the table or view i am unable to get data in APEX.
    Ex: If i query the Sales order form view OE_ORDER_HEADERS_V in toad i am able to get data as i am running this
    begin
    dbms_application_info.set_client_info('204');
    end;
    i.e for particular org_id. i am able to get data.
    But in apex how do i get data. Are there any settings to be done. Please let me know if anyone have worked on the same.
    Regards.
    Chandu

    My Query is like this :
    SELECT DECODE (ship_loc.city, NULL, NULL, ship_loc.city || ', ')
    || DECODE (ship_loc.state, NULL, NULL, ship_loc.state ) Destination,
         party.party_name "Sold To",
         l.ordered_item Product,
         l.ACTUAL_SHIPMENT_DATE "Ship Date",
         Nvl(l.ordered_quantity,0) "Act. Tons",
         '$'||Nvl(l.ordered_quantity,0)* l.unit_selling_price||'.00' "Price"
    FROM mtl_parameters ship_from_org,
         oe_order_lines_all l,
    hz_cust_site_uses_all ship_su,
    hz_party_sites ship_ps,
    hz_locations ship_loc,
    hz_cust_acct_sites_all ship_cas,
    hz_cust_site_uses_all bill_su,
    hz_party_sites bill_ps,
    hz_locations bill_loc,
    hz_cust_acct_sites_all bill_cas,
    hz_parties party,
    hz_cust_accounts cust_acct,
    ra_terms_tl term,
    oe_order_headers h,
    hz_cust_account_roles sold_roles,
    hz_parties sold_party,
    hz_org_contacts sold_cont,
    hz_party_relationships sold_rel,
    ar_lookups sold_arl,
    hz_cust_account_roles ship_roles,
    hz_parties ship_party,
    hz_org_contacts ship_cont,
    hz_party_relationships ship_rel,
    ar_lookups ship_arl,
    hz_cust_account_roles invoice_roles,
    hz_parties invoice_party,
    hz_org_contacts invoice_cont,
    hz_party_relationships invoice_rel,
    ar_lookups invoice_arl,
    fnd_currencies fndcur,
    oe_transaction_types_tl ot,
    qp_list_headers_tl pl,
    ra_rules invrule,
    ra_rules accrule
    WHERE h.order_type_id = ot.transaction_type_id
    AND ot.LANGUAGE = USERENV ('LANG')
    AND h.price_list_id = pl.list_header_id(+)
    AND pl.LANGUAGE(+) = USERENV ('LANG')
    AND h.invoicing_rule_id = invrule.rule_id(+)
    AND h.accounting_rule_id = accrule.rule_id(+)
    AND h.payment_term_id = term.term_id(+)
    AND term.LANGUAGE(+) = USERENV ('LANG')
    AND h.transactional_curr_code = fndcur.currency_code
    AND h.sold_to_org_id = cust_acct.cust_account_id(+)
    AND cust_acct.party_id = party.party_id(+)
    AND h.ship_from_org_id = ship_from_org.organization_id(+)
    AND h.ship_to_org_id = ship_su.site_use_id(+)
    AND ship_su.cust_acct_site_id = ship_cas.cust_acct_site_id(+)
    AND ship_cas.party_site_id = ship_ps.party_site_id(+)
    AND ship_loc.location_id(+) = ship_ps.location_id
    AND h.invoice_to_org_id = bill_su.site_use_id(+)
    AND bill_su.cust_acct_site_id = bill_cas.cust_acct_site_id(+)
    AND bill_cas.party_site_id = bill_ps.party_site_id(+)
    AND bill_loc.location_id(+) = bill_ps.location_id
    AND h.sold_to_contact_id = sold_roles.cust_account_role_id(+)
    AND sold_roles.party_id = sold_rel.party_id(+)
    AND sold_roles.role_type(+) = 'CONTACT'
    AND sold_cont.party_relationship_id(+) = sold_rel.party_relationship_id
    AND sold_rel.subject_id = sold_party.party_id(+)
    AND sold_arl.lookup_type(+) = 'CONTACT_TITLE'
    AND sold_arl.lookup_code(+) = sold_cont.title
    AND h.ship_to_contact_id = ship_roles.cust_account_role_id(+)
    AND ship_roles.party_id = ship_rel.party_id(+)
    AND ship_roles.role_type(+) = 'CONTACT'
    AND ship_cont.party_relationship_id(+) = ship_rel.party_relationship_id
    AND ship_rel.subject_id = ship_party.party_id(+)
    AND ship_arl.lookup_type(+) = 'CONTACT_TITLE'
    AND ship_arl.lookup_code(+) = ship_cont.title
    AND h.invoice_to_contact_id = invoice_roles.cust_account_role_id(+)
    AND invoice_roles.party_id = invoice_rel.party_id(+)
    AND invoice_roles.role_type(+) = 'CONTACT'
    AND invoice_cont.party_relationship_id(+) = invoice_rel.party_relationship_id
    AND invoice_rel.subject_id = invoice_party.party_id(+)
    AND invoice_arl.lookup_type(+) = 'CONTACT_TITLE'
    AND invoice_arl.lookup_code(+) = invoice_cont.title
    AND h.header_id = l.header_id

  • How to get Prepayment in Oracle Payable R12

    HI 2 ALL
    Anybodyknow that how to fetch applied prepayment in oracle payable r12.
    My actual requirement is to get following information
    PO# CHECK# PRE-PAYMENT DATE
    Regards ,
    Zulqarnain

    plz see Re: AP Prepayments

  • How to get GUID of a milestone?

    Hi,
    In my requirement, I need to identify each and every milestone uniquely. I know that every milestone is assigned to a GUID.
    How to find out a GUID for a milestone? Where these GUIDs for milestones are stored? 
    Also, please tell me how to give our own number to a milestone at the time of it's creation?

    Hi,
    In my requirement, I need to identify each and every milestone uniquely. I know that every milestone is assigned to a GUID.
    How to find out a GUID for a milestone? Where these GUIDs for milestones are stored? 
    Also, please tell me how to give our own number to a milestone at the time of it's creation?

  • How to getting start in oracle xml database????

    hi,
    i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
    your suggestions will help me.
    thanks all !!!

    hi,mdrake
    with your suggestion, i find the following url
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
    and download some pdf.
    thanks a lot

Maybe you are looking for