How to find Opportunity record.

Given that I have an opportunity ID number, 1000020, how can view this record. I know table CRMD_OPPORT_H can be used, but this only has a GUID and not an Opportunity ID. What table can I reference to get the source GUID given that I have an opportunity ID/Number?.
Jason

Hi Jason,
You can check by givin opportunity ID in CRMD_ORDERADM_H table. See if this helps.
Regards
Yogesh

Similar Messages

  • How to find a record in PSA

    hi all,
    tell me the steps how to find a record in PSA.suppose there are >20 data packages..how can i find out that specific record from those datapackages with out knowing datapackage..
    thanks,
    jack

    Hi Jack,
    It so happens that when data is pulled into the PSA there will be no specific order. Hence it is impossible to know which record is present in which data package.
    But if you want to know how many error records are there and what are those there are always options of selecting all the packets and display only erraneous records.
    Regards,
    Pramod

  • How to find a record then edit using sql server management studio

    Hello,
    A very basic question:
    I want to find a record stored in MS SQL Server 2008 express database table then edit the record.
    I tried to do it using SQL Server 2008 management studio express because I have been using MS Access database all the time. I have right clicked the table in management studio, clicked the "Edit top 200 records" menu item then when records were
    displayed on the result pane, I pressed Ctrl + F key to find a student named Simon for example. Well, nothing happened. I couldn't see any dialog boxes for putting in the search criteria.
    I guess I cannot simply use Ctrl+F in SQL Server management studio to find / edit a record.
    Can someone please teach me how to find a record specifying a search criteria then edit the record in SQL server management studio?

    Hi ZKM128,
    I have not seen Ctrl+F to be used to look for desired rows in Sql server.
    On the result pane after you selected "Edit top 200 records", just right click , select
    PANE, SQL, you will get the T-Sql query t,here you need to mention the exact criteria which you are looking for, and then you will get the desired rows and then you can edit.
    Thanks
    Manish
    Please use Marked as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • How to find child records is exists before to delete parent records.

    Dear Everyone,
    I would like to ask you, is there any simple way to find child records is exists before to delete parent records.
    I have a master table defined primary key and I have referenced that as foreign key in many tables.
    I have used Delete_Record to delete but it isn't display the message 'child record exist' but it cleared the record from the form. So I need to know how to find child records is exists or not before to do delete_record so that I can display message in-case it exists.
    I do know we can able to check in every table matching the column manually, but what if we use 100 of tables then it is not possible to check manually.
    I am sure there must be simple way to find as how the oracle identifies when we execute delete query.
    Please help me on this.
    Thanks in advance.

    Simple solution is to run the query I have given for all child tables or to try a single query for all child tables withj something like:
    select <parent_key>
    from <parent_table>
    where <parent_key> in
              (select <foreign_key_1> from <child_table_1> union
               select <foreign_key_2> from <child_table_2> union
               ... );More complicate solution could be to change the foreign key constraints to cascade DELETE on parent table to child tables:
    SQL>
    SQL> create table p(x int primary key);
    Table created.
    SQL> create table c1(x1 int);
    Table created.
    SQL> create table c2(x2 int);
    Table created.
    SQL>
    SQL> alter table c1 add constraint fk1 foreign key(x1) references p;
    Table altered.
    SQL> alter table c2 add constraint fk2 foreign key (x2) references p;
    Table altered.
    SQL>
    SQL>
    SQL> insert into p values(1);
    1 row created.
    SQL> insert into c1 values(1);
    1 row created.
    SQL> insert into c2 values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> alter table c1 drop constraint fk1;
    Table altered.
    SQL> alter table c2 drop constraint fk2;
    Table altered.
    SQL>
    SQL> alter table c1 add constraint fk1 foreign key(x1) references p on delete cascade;
    Table altered.
    SQL> alter table c2 add constraint fk2 foreign key (x2) references p on delete cascade;
    Table altered.
    SQL>
    SQL> delete p where x=1;
    1 row deleted.
    SQL> commit;
    Commit complete.
    SQL> select * from p;
    no rows selected
    SQL> select * from c1;
    no rows selected
    SQL> select * from c2;
    no rows selected
    SQL>Edited by: P. Forstmann on 27 oct. 2011 14:01

  • How to find the records using contains with the word like this 'some text-some text'?

    Hi,
    How to find the records using the full text contains keyword and that column contains ‘some text-some text’
    In the above some text can be anything.
    Does anybody know please let me know.
    Thanks,

    Hello,
    You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
    For example:
    SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
    Reference:
    Full-Text Search (SQL Server)
    Creating Full Text Catalog and Full Text Search
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to find the records

    Dear all,
    Can any one tell me how to write the program to find the records in a View?
    In our start routine, I have one piece of code that search for the record
    LOOP AT DATA_PACKAGE.  ' This is 0Material
    ' ZCA_EUMAT_PACKAGE is the view. Now I would like to find DATA_PACKAGE Material no that matched with Material number in the view. How to write the program?
    DATA_PACKAGE-/BIC/USITM = ZCA_EUMAT_PACKAGE-USITM.
    DATA_PACKAGE-/BIC/SYNPROD = ZCA_EUMAT_PACKAGE-SYNPROD.
    ENDLOOP.

    Sorry, I accidently click the Post message button. I have not finished yet:
    TYPES:
    BEGIN OF ZCA_MAT_PRDCT_V_STRUCTURE.
    INCLUDE STRUCTURE ZCA_MAT_PRDCT_V.
    TYPES:
    RECNO LIKE SY-TABIX,
    END OF ZCA_MAT_PRDCT_V_STRUCTURE.
    DATA:
    ZCA_EUMAT_PACKAGE TYPE STANDARD TABLE OF ZCA_MAT_PRDCT_V_STRUCTURE
    WITH HEADER LINE
    WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    IF ZCA_EUMAT_PACKAGE IS INITIAL.
          SELECT * FROM ZCA_MAT_PRDCT_V INTO CORRESPONDING FIELDS OF TABLE
          ZCA_EUMAT_PACKAGE.
          SORT ZCA_EUMAT_PACKAGE.
    ENDIF.
    LOOP AT DATA_PACKAGE.
      READ TABLE ZCA_EUMAT_PACKAGE WITH KEY EUMAT =
      DATA_PACKAGE-MATERIAL BINARY SEARCH.
        IF SY-SUBRC = 0.
          DATA_PACKAGE-/BIC/USITM = ZCA_EUMAT_PACKAGE-USITM.
          DATA_PACKAGE-/BIC/SYNPROD = ZCA_EUMAT_PACKAGE-SYNPROD.
          DATA_PACKAGE-/BIC/SYNPRODP = ZCA_EUMAT_PACKAGE-GLOBT.
          DATA_PACKAGE-/BIC/SYNAOPRD = ZCA_EUMAT_PACKAGE-MAINN.
          DATA_PACKAGE-/BIC/SYNGPSUOM = ZCA_EUMAT_PACKAGE-TUOME.
          DATA_PACKAGE-/BIC/SYNGPSSMI = ZCA_EUMAT_PACKAGE-INTOR.
          DATA_PACKAGE-/BIC/SYNGPST = ZCA_EUMAT_PACKAGE-ACT.
        ENDIF.
        MODIFY DATA_PACKAGE.
      ENDLOOP.

  • How to find child records given a parent key

    I have a master table which is parent for several child tables. I want to display a button to delete a record in master table. I would prefer show this button conditionally so when a master record has child records, I don't show delete button and no error is raised.
    Of course I could scan every child table to find out child records, but I think must exist a generic method
    How can I find out if a given parent key has child records?
    Thanks in advance
    Oscar
    P.S: I'm using 10gR2
    Edited by: user10712087 on 13/01/2009 02:31 PM

    Oscar
    There's no magic/generic way to check that a master row has no associated detail rows. As Pavan says, you have to decide which detail tables to check, and check them using SQL as usual. (Actually, there is a quick way - you delete the row and if there are any child rows with foreign keys that don't cascade, the delete will fail; but of course you can't use this in case the delete succeeds but the user never wants to press the button).
    One addition to Pavan's answer: DO NOT under any circumstances count all the records in every detail table. All you want to know is, is there at least 1 detail record in at least 1 of the tables. No need to count 100 or 1000 rows...
    You can do this like this in your PL/SQL
    FUNCTION check_children(p_master_id IN INTEGER) RETURN BOOLEAN
    IS
      CURSOR c_child1  IS
      select 1 from child_table_1 where master_id = check_children.p_master_id;
      CURSOR c_child2 IS
      select 1 from child_table_2 where master_id = check_children.p_master_id;
      -- etc for all child tables
    l_rec_present integer := null;
    BEGIN
        OPEN c_child_1;
        FETCH c_child_1 INTO l_rec_present;
        CLOSE c_child_1;
        IF l_rec_present i= 1 THEN
            -- there is a child in child_table_1
            RETURN TRUE;
        END IF;
        OPEN c_child_2;
        FETCH c_child_2 INTO l_rec_present;
        CLOSE c_child_2;
        IF l_rec_present i= 1 THEN
            RETURN TRUE;
        END IF;
    -- etc for each child; finally, if no child found:
       RETURN FALSE;
    END;This makes sure that (1) you stop as soon as you find any child, and (2) you don't get any NO_DATA_FOUND or TOO_MANY_ROWS exceptions raised.
    HTH
    Regards Nigel

  • How to find Maximum Record Count in a particular section

    Hi ALL
    My report has  3 detail sections. I am showing different set of data in each section.
    Example:
    Details a
    Details b
    Details c
    In the Details c section  I have 5 columns.
    I want to find out MAXIMUM RECORD COUNT in  only Details c.
    Actually I have done a running total on column1 field which gives me the records number in that section only. But I am not able to find the MAXIMUM record count.
    Rtotal   Colum1   Column 2 Column3
    1          Data1     Data2      Data3
    2          Data1     Data2      Data3
    3          Data1     Data2      Data3
    4          Data1     Data2      Data3
    Now I need the Maximum record count=4
    Thanks.

    If I have understood correctly you want to count the amount of records in each section.
    In this case, go to "Insert > Summary", choose your ID field, and choose "Count" in "Calculate this summary:". You can put the summary in your group footer.
    If you want the maximum (the highest number value in that column), you can choose "Maximum" instead of "Count".

  • How to find erroneous records in PSA in BI 7.0

    In BW 3.5 if load fails for some reason like lower case or unidentified character   data is edited in PSA n loaded from there.
    We have an option to check for only erroneous records  in PSA separately.
    How can that be possible in BI 7,0 because loading will be done till PSA using an infopackage n it will not fail for such reasons.
    I cant go check for each record in PSA which is to be edited after DTP failed .
    Please explain

    HI,
    Below link exactly answers you Q
    WHAT IS ERROR HANDLING OPTIONS IN dtp? FOR DSO
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fbd598481e1a61e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fa50e40f501a77e10000000a422035/frameset.htm
    Cheers,
    Swapna.G

  • How to find varience records in two tables

    Hi,
    i have two tables like emp1, emp2
    data in emp1:
    empname empid add
    alasta 10 ca
    mark 20 nw
    chews 30 jp
    data in emp2:
    empname empid add
    alasta 10 ca
    mark 20 nw
    chews 30 jp
    burgess 45 ngm
    if u observe the above two tables data you can easily identify there is repeated data/duplicated data in both tables.
    as there any way find out using comparison same records in two tables..........
    if i write a query then i can easily understand the same data is existed in two tables
    Thanks in advance....

    >
    as there any way find out using comparison same records in two tables..........
    >
    >
    if i write a query then i can easily understand the same data is existed in two tables
    >
    So, what is your problem now?
    You can join both the tables using a simple query and get the records.
    select e1.empname, e2. empname from emp1 e1, emp2 e2 where
    e1.empname = e2.empname and e1.empid = e2.empid

  • How to find unmatched records in huge tables

    Hi,
    I want to find out the faster approach, to find records in two tables which do not match.
    To make it clear, lets say we have two tables.
    table_1(col1 number, col2 varchar2(20), ....other columns)
    and
    table_2(col3 number, col4 varchar2(20), ....other columns)
    col1, col2 from table_1 corresponds to col3, col4 of table_2.
    If a record in table_1 does not exists in table_2 or if one of the column has different value, I want to find all such records.
    Being Oracle developer, I can easily find that using "outer join" or using "exists".
    But want to find out the fastest way, as those table has millions of records.
    Maybe using segment or something like that...
    Any suggestions?

    If "the" fastes way would exist oracle would not implement the others.
    You will have to test it. The easiest way is to use set autotrace on in sqlplus and compere the consistent gets of both statements (by the way: there is also the MINUS operator with also leads to an outer join but is easier to read).
    Dim

  • How to find deleted records in Sap

    Hello,
    i am searching for a possibility, to scan deletionstubs.
    My Problem
    I do have absence 2001 records. Now one record is deleted. In order to find out which record was deleted,
    i have to build before deletion a positive list and compare afterwards, which elements are no longer in the
    list. This is very, very time consuming.
    There are tables in SAP, which hold those deletion entries, but i don't know, which table is used in this
    case.
    I am using the modul HR.
    Thanks a lot for any hints
    bye
    Christian

    Hi Huber ,
    I have no idea which table delete data store. But there are one Standard program RPUAUD00 (Logged Changes in Infotype Data), Transactions code:- PC00_M16_UAUD.
    Pass the selectin screen input  Personnel number - xxxxxxxx , Infotype -2001, Checked the ( Long-term documents & Short-term documents) Both & Unchecked the output in ALV.
    After the output double click the selected record.
    Thanks & Regards
    Rahul

  • How to find a record is locked?

    HI,
    My problem is I want to know before deleting or updating
    whether the record in question is locked or not.
    if locked I would like to just flash a message and come out
    other wise delete or update the record.
    thanx in advance
    sreekant

    Try a SELECT...FOR UPDATE NOWAIT.
    If the required row is already locked, you'll get an ORA-00054
    error ("resource busy with NOWAIT specified"). You can write an
    EXCEPTION handler to inform the user. If the row isn't already
    locked, this has the effect of locking it for you.
    HTH

  • How to find record lenth

    Hi All,
    Please can anyone forward if there is any document/URL link on how to find the record length for a particular field in source system.
    Thanks In advance.
    My e-mail address is :
    [email protected]
    Regards,
    Reddy.

    Hi,
    Go to perticula data source in source system and then sum the each field lenght then you will get total length of record. or use SE11 tcode and fine table and then identify your field and find length. Or in BW system if you see in Tranfer structure, you can find leght of each field, so in this way aslo you can find.
    Thanks
    Message was edited by: Ganga N

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

Maybe you are looking for

  • G10: How to get S-Video In to work outside of Windows MCE

    Hi, does any one know of a way to get the s-video in on a G10 qosmio to work out side of windows MCE i am unable to get it to work with Windows Movie Maker it just says the hardware is begin used by other software but even with just the defult proces

  • Where is now the link to download the WWDR Intermediate Certificate

    Just can´t find the link to download this certificate with the new look of the member center / certificates panel, does anybody have a clue where could it be?

  • Help with resaving images once edited in External Editor

    Using Aperture 1.5.3 and importing all my images in RAW from my Nikon D1. Imports all images just fine. When I open an image with External Editor I go to my copy of Photoshop CS2 with no problems. However, don't seem to be able to figure out how to s

  • Performance from removing a table

    If i wanted to update data in table with a new set of data, at the moment i am removing the table from the GUI and then instantiating a new table and adding it back to the GUI. Would i be right in assuming this is costly on performance? Is the altern

  • Get the the value in input field based upon the fast input field

    Hello Experts, i am new to webdunpro abap. i have a small doubt in webdynpro. isuue:-  i have two input filed one is for " MATNR" and second input filed " Material Description" I have to chhose the MATNR by pressing f4 (it is standard search help), i