Table name - urgent

hi all..
can any one tell me where the users email address is stored .. i mean which table holds the value..
thnx

Hi,
Check the following mail threads.
1. how to retreive email-id maintained in communication data in su01?
Reward points if useful.
- Irudayaraj Peter

Similar Messages

  • To find table name ( urgent)

    1) structure name : MEPO_TOPLINE.
    2)       "         "      : GOHEAD.
    plz.. send what is the TABLE name for above structures..  and what is the procedure to find...

    MEPO_TOPLINE is used in the following programs:-
    1.LMEGUICD1
    2.LMEGUICIC
    3.LMEGUICIC
    4.MM06EFTO
    GOHEAD is used in the following programs:-
    Program
    Short description
    LJ1IEXGMPAI
    Include LJ1IEXGMPAI
    LJ1IEXGMPBO
    Include LJ1IEXGMPBO
    LJ1IEXGMTOP
    LJ1IEXGMU01
    Copy the MIGO status and header data
    LJ1IEXGMU02
    Prepare Internal excise header structure
    LJ1IEXGMU06
    Reset all the excise data
    LJ1IEXGMU09
    saves the document, including rg23d, details and header
    LMIGODA2
    LMIGODI2
    LMIGOEN3
    LMIGOHC2
    LMIGOHG2
    LMIGOHI2
    LMIGOJB2
    Nota fiscal implementation
    LMIGOKA1
    LMIGOKB1
    LMIGOKD1
    LMIGOKE1
    LMIGOKF1
    LMIGOKG1
    LMIGOKH1
    LMIGOKL2
    LMIGOKL3
    LMIGOKL4
    LMIGOKM1
    LMIGOKO2
    LMIGOKO4
    LMIGOKP1
    LMIGOKP2
    LMIGOKP3
    LMIGOKP4
    LMIGOKR1
    LMIGOKS1
    LMIGOKS4
    LMIGOSM3
    LMIGOTOP
    K.Kiran.

  • Need to know schema name and table name associated with a column-URGENT

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ……
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    Angelina,
    Your question has been discussed several times previously in this forum. Search this forum's archives for "getTableName". Oracle JDBC driver does not implement this (because "it is not feasible" -- according to Oracle).
    First of all, I would suggest that you could probably change your application's logic so that you would not need this functionality (but I guess that is not feasible either, right :-)
    Alternatively, you could try querying the Oracle database data dictionary.
    Good Luck,
    Avi.

  • Urgent: Table name needed for Real estate

    Hi Experts,
    i have a query relating to the real estate module.
    I want a table name that holds the (VIOROO-rsobjtype) Reservation object type field and (VIBPOBJREL-Partner) Partner field. These fields are contained in 2 different tables.
    Can you help me out here. This is an Very urgent requirement.
    Points will be awarded.
    Thanks in advance.

    Hi,
    Just do like this to know about your tables,
    go to se11,
    give table name as DD03L(which is a table for table fields),
    display,
    excute,
    under the field name input u can VIOROO and VIBPOBJREL
    then excute, u can get the table names for your fields.
    seshu.

  • Table name /function module needed(urgent)

    need a function module or a table in which i cod get a list of "tables names " used in "includes " .... urgent
    ne alternate way to fetch so is also welcome

    Hi
    use the program
    RPR_ABAP_SOURCE_SCAN
    Regards
    Anji

  • Urgent please help: what is the table name for cash management reports?

    I am wondering what the table name for cash management reports is. I am trying to figure out then if I have any missing.
    Please help.

    I checked MSEG table. But, I didn't find any field for date.
    Can you tell me field name.
    Regards
    Siva

  • Urgent ...Table name Require for appraisal competency

    Hi All,
    can some one help me to sort out this issue.
    how can i know where the appraisal competency information is storing(i mean table names).
    i mean when appraiser enter the competency for his appraise.
    Thanks.
    Edited by: user627525 on Mar 17, 2009 4:35 AM

    Or try this query is you want a rating that gives u a number 0-5 for performance rating. I did this query a while ago. it also gives rating for the last 3-4 years. HR also wanted the rating rounded off. so i included that but i am sure u dont need it
    select distinct peo.person_id
    ,AK.AK_RATING "Final 2005/6"
    ,AK_DATE
    ,AC.AC_RATING "Final 2006/7"
    ,AC.AC_Date
    ,AF_Rating "Final 2007/8"
    ,AF_DATE
    ,nvl(to_char(AG.AG_Rating),'Not Yet Reviewed') "Current Rating 1st 6 mnths"
    ,nvl(to_char(AR.AR_RATING),'Not Yet Reviewed') "Current Rating 2nd 6 mnths"
    ,AG_DATE
    from hr.per_all_people_f peo,
    hr.per_all_assignments_f paa
    ,(SELECT DISTINCT peo.person_id AK_person_id
    ,pr.performance_rating AK_rating
    , pr.review_date AK_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AK
    ,(SELECT DISTINCT peo.person_id AP_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AP_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AP
    ,(SELECT DISTINCT peo.person_id AC_person_id
    ,pr.performance_rating AC_rating
    , pr.review_date AC_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AC
    ,(SELECT DISTINCT peo.person_id AA_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    , pr.review_date AA_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AA
    ,(SELECT pr.person_id AF_Person_Id,
    pr.performance_rating AF_Rating,
    pr.review_date AF_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AF
    ,(SELECT pr.person_id AB_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AB_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AB
    ,(SELECT pr.person_id AG_Person_Id,
    pr.performance_rating AG_Rating,
    pr.review_date AG_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AG
    ,(SELECT pr.person_id AQ_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AQ_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AQ
    ,(SELECT pr.person_id AR_Person_Id,
    nvl(pr.performance_rating,0) AR_Rating,
    pr.review_date AR_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AR
    ,(SELECT pr.person_id AU_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AU_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AU
    where peo.person_id = paa.person_id
    and trunc(sysdate) between peo.effective_start_date and peo.effective_end_date
    and trunc(sysdate) between paa.effective_start_date and paa.effective_end_date
    AND peo.CURRENT_EMPLOYEE_FLAG = 'Y'
    AND paa.PRIMARY_FLAG = 'Y'
    AND paa.ORGANIZATION_ID != 1301
    AND peo.EMPLOYEE_NUMBER != '0000001'
    AND peo.BUSINESS_GROUP_ID = '82'
    and AC.AC_person_id(+) = peo.person_id
    AND AF.AF_PERSON_ID(+) = PEO.PERSON_ID
    and AG.AG_PERSON_ID(+) = PEO.PERSON_ID
    and AK.AK_PERSON_ID(+) = peo.person_id
    AND AA.AA_PERSON_ID(+) = PEO.PERSON_ID
    AND AB.AB_PERSON_ID(+) = PEO.PERSON_ID
    and AP.AP_PERSON_ID(+) = PEO.PERSON_ID
    and AR.AR_PERSON_ID(+) = PEO.PERSON_ID
    and AQ.AQ_PERSON_ID(+) = PEO.PERSON_ID
    and AU.AU_PERSON_ID(+) = PEO.PERSON_ID
    order by peo.person_id -- , pr.review_date desc

  • (Urgent) Dynamic Table Name

    Hi Fellows,
    Can I use dynamic table name in a loop? I have a problem that I want to use variable table in a cursor for example
    procedure check_rows as
    cursor c1 is
    select view_name
    from user_views;
    v_count number;
    v_view_name varchar2(35);
    begin
    for i in c1 loop
    select count(*)
    into v_count
    from i.view_name;
    if v_count = 0 THEN
    dbms_output.put_line ('The View '&#0124; &#0124;i.view_name&#0124; &#0124;' has no rows');
    end if;
    end loop;
    end;
    but i receive a message
    i.view_name must a name of a table to which the user has access.
    Can anybody solve my problem.
    Thanks in advance
    Mustafa

    Here is some codes I wrote with DBMS_SQL. I hope it will help you to start.
    PROCEDURE Get_record(p_select IN OUT select_rec, where_str IN OUT varchar2) IS
    my_keyblk varchar2(6);
    veh_id integer;
    ser_date date;
    succ_flag number;
    blk_route varchar2(4);
    blk_run integer;
    my_date_type integer;
    cur_blk_route INTEGER;
    rows_processed INTEGER;
    ignore integer;
    select_str varchar2(3000);
    First_date date;
    Last_date date;
    BEGIN
    begin
    select start_date, end_date into first_date, Last_date from change_date
    where current_next_code = 'CURRENT';
    exception when others then
    null;
    end;
    select_str := 'select keyblock, keycoach, proflag, pullout_date
    from logblock
    where (pullout_date between first_date and Last_date)
    and proflag = 0';
    cur_blk_route := dbms_sql.open_cursor;
    dbms_sql.parse(cur_blk_route, select_str, dbms_sql.v7);
    dbms_sql.define_column(cur_blk_route, 1, blk_route, 6);
    dbms_sql.define_column(cur_blk_route, 2, blk_run);
    dbms_sql.define_column(cur_blk_route, 3, veh_id);
    dbms_sql.define_column(cur_blk_route, 4, ser_date);
    ignore := dbms_sql.execute(cur_blk_route);
    LOOP
    if (dbms_sql.fetch_rows(cur_blk_route) > 0) then
    dbms_sql.column_value(cur_blk_route, 1, blk_route);
    dbms_sql.column_value(cur_blk_route, 2, blk_run);
    dbms_sql.column_value(cur_blk_route, 3, veh_id);
    dbms_sql.column_value(cur_blk_route, 4, ser_date);
    else
    dbms_output.put_line('ERROR ');
    end if;
    END LOOP;
    dbms_sql.close_cursor(cur_blk_route);
    END Get_record;
    end apc_block_assign;
    null

  • URGENT ! Department Responsible : Table Name

    Can anybody please tell me the table name where "Department Responsible " is getting stored. When i go to qm02-> subject tab -> I can see the Department responsible(DIIHPA structure- NAME_LIST)  next to Partner Number (parnr) . Please tell me the table name instead of the structure name .. Is there any other way to pick the field in my report ? can anyone please explain how to do that ??
    Thanking you,
    Shankar

    I used the function module .. But if i use the break-point before the function is executed, Dep. Responsible is coming properly. But the same thing is not coming when i remove the break-point. This seems to be strange. Can u please check the code ?
    For testing I have hard coded parvw, parnr and objnr..
    Please check it ...
    REPORT  zqmr_inprocess_rej NO STANDARD PAGE HEADING LINE-SIZE 160 LINE-COUNT 90.
    SET MARGIN 13 4.
    Declarations**************************************************************
    TABLES: zsubdch,
            zsubdci,
            zsubgrnh,
            zsubgrni,
            zqm_sigma,
            lfa1,
            adrc,
            mast,
            stpo,
            riwo00,
            qmel,
            qmfe,
            ihpa.
    *data temporary(15) type c.
    *Inputs
    SELECTION-SCREEN BEGIN OF BLOCK seldt WITH FRAME TITLE text-002.
    SELECT-OPTIONS :
                    s_qmnum FOR qmel-qmnum.
    SELECT-OPTIONS :
                    s_qmdat FOR qmel-qmdat.
    SELECT-OPTIONS :
                    s_qmart FOR qmel-qmart.
    SELECT-OPTIONS :
                    s_fecod FOR qmfe-fecod.
    SELECT-OPTIONS :
                    s_aufnr FOR qmel-fertaufnr.
    SELECT-OPTIONS :
                    s_matnr FOR qmel-matnr.
    SELECT-OPTIONS :
                    s_werk FOR qmel-rm_werks.
    SELECTION-SCREEN END OF BLOCK seldt.
    *Detailed/Summary report
    SELECTION-SCREEN BEGIN OF BLOCK rptype WITH FRAME TITLE text-001.
    PARAMETER      :
                    rb_detl RADIOBUTTON GROUP g1 DEFAULT 'X',
                    rb_sumry RADIOBUTTON GROUP g1 .
    SELECTION-SCREEN END OF BLOCK rptype.
    *LOOP AT ret_tab.
         message ret_tab-fieldval type 'S'.
    *ENDLOOP.
    *Variables Declaration
    DATA notnumber LIKE zsubgrni-zqmnum.
    DATA l_sytabix LIKE sy-tabix.
    DATA linelimit TYPE i.
    DATA linecheck TYPE i.
    DATA l_maktx(40) TYPE c.
    DATA l_totsbmng TYPE p DECIMALS 3.
    DATA: l_sort2 LIKE adrp-sort2,
    l_persnumber LIKE usr21-persnumber,
    l_name2 LIKE t001w-name2.
    data: w_parvw like ihpa-parvw,
          w_parvw1 like ihpa-parvw.
    *Data Declaration
    DATA: BEGIN OF it_qmfe OCCURS 0,
           qmnum LIKE qmma-qmnum,
           fertaufnr LIKE qmel-fertaufnr,
           fecod LIKE qmfe-fecod,
           matnr LIKE qmel-matnr,
          qmart LIKE riwo00-qmart,
           bautl TYPE bautl,
           txtcdfe LIKE riwo00-txtcdfe, " descn
          END OF it_qmfe.
    DATA: BEGIN OF it_qmel OCCURS 0,
           qmnum LIKE qmma-qmnum,
           revlv LIKE qmel-revlv,
           zeivr LIKE mara-zeivr,
          END OF it_qmel.
    *if sy-subrc ne '0'.
    *message 'No data for this selection' type 'I'.
    *endif.
    data: diadrc like diadrc occurs 0 with header line,
          diadrp like diadrp occurs 0 with header line,
          diadr like diadr occurs 0 with header line,
          diadrcpd like diadrcpd occurs 0 with header line.
    DATA: BEGIN OF it_main OCCURS 0,
           werks LIKE qmel-mawerk,
           fecod LIKE qmfe-fecod,
           qmnum LIKE qmel-qmnum,
           qmdat LIKE qmel-qmdat,
           rejcodedescr LIKE riwo00-txtcdfe, " descn
          fenum LIKE qmfe-fenum,
           matnr LIKE qmel-matnr,
           bautl LIKE qmfe-bautl,
           maktx LIKE makt-maktx,
           maktx2(40) TYPE c,
           mgfrd LIKE qmel-mgfrd,
           menge LIKE resbd-menge,
           verpr LIKE mbew-verpr,
           sbmng LIKE caufv-sbmng,
           value TYPE p DECIMALS 2,
           idnrk LIKE stpo-idnrk,
           fetxt LIKE qmfe-fetxt,
           qmtxt LIKE qmel-qmtxt,
           objnr like qmel-objnr,
           parnr like ihpa-parnr, "dept responsible
           dept LIKE diadrp-name1,
           vera like rqm02-name_vera, "coordinator
           coord like diadrp-name2,
           qcldby like diadr-name_list,
          END OF it_main.
    DATA: iviqmfe LIKE wqmfe OCCURS 0 WITH HEADER LINE.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE it_main
                   FROM qmfe JOIN qmel ON qmfeqmnum = qmelqmnum
                   WHERE qmelqmnum IN s_qmnum AND qmelqmdat IN s_qmdat AND  qmelqmart IN s_qmart AND qmelfertaufnr IN s_aufnr
                   AND qmelmatnr IN s_matnr AND qmfefecod IN s_fecod.
    IF sy-subrc NE '0'.
      MESSAGE 'No Data for selection' TYPE 'I'.
      LEAVE LIST-PROCESSING.
    ENDIF.
    *loop at it_main.
    *select * into corresponding fields of it_main from qmfe where fecod in s_fecod and qmnum = it_main-qmnum.
    *modify it_main transporting bautl fecod fetxt.
    *endselect.
    *endloop.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE: (10) 'Rej-code', 'Description'.
    WRITE: /(12) 'STN No',(10) 'Notfn Date',(18) 'Material', (40) 'Description',(10) 'OrdMatlQty',(9) 'WAR',(10) 'Value',(40) 'Detail of Rej'.
    WRITE: /'Order-suffix',(18) 'Parent Item' ,(30) 'Description','Planning Cell','Rej-Qty','MRIRB'.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    LOOP AT it_main.
    *clear: w_parvw.
    *w_parvw = 'VU'.
      perform partner_read using it_main-parnr w_parvw.
      it_main-qcldby = diadr-name_list.
      modify it_main transporting qcldby.
       select * from ihpa where objnr = it_main-objnr.
       case ihpa-parvw.
       when 'AB'.
         it_main-parnr = ihpa-parnr.
         perform partner_read.
        using ihpa-parnr ihpa-parvw.
         it_main-dept = diadrp-name2.
        message diadrp-name2 type 'I'.
       when 'KU'.
         it_main-vera = ihpa-parnr.
        perform partner_read using ihpa-parnr 'AB'. "ihpa-parvw.
         it_main-coord = diadr-name_list.
       endcase.
       modify it_main transporting parnr vera dept coord.
       endselect.
    *select single * from mast where matnr = it_main-matnr
                               and werks = it_main-werks.
    *select single * from stpo where stlnr = mast-stlnr
                               and stlty = 'M'.
    *if sy-subrc eq '0'.
    *it_main-idnrk = stpo-idnrk.
    *modify it_main transporting idnrk.
    *else.
    *it_main-idnrk = it_main-matnr.
    *modify it_main transporting idnrk.
    *endif.
    *break-point.
      SELECT SINGLE maktx INTO (it_main-maktx) FROM makt WHERE matnr   = it_main-bautl.
      SELECT SINGLE maktx INTO (it_main-maktx2) FROM makt WHERE matnr  = it_main-matnr.
      SELECT SINGLE verpr INTO (it_main-verpr) FROM mbew WHERE matnr   = it_main-bautl.
      SELECT SINGLE sbmng INTO (it_main-sbmng) FROM caufv WHERE stlbez = it_main-bautl.
      MODIFY it_main TRANSPORTING maktx verpr sbmng maktx2.
    ENDLOOP.
    SORT it_main BY fecod qmnum.
    LOOP AT it_main.
      it_main-value = it_main-sbmng * it_main-verpr.
      MODIFY it_main TRANSPORTING value.
      PERFORM read_notification.
      SELECT * FROM qmfe INTO CORRESPONDING FIELDS OF TABLE it_qmfe
                               WHERE qmnum = it_main-qmnum.
      LOOP AT it_qmfe FROM 1 TO 1.
        READ TABLE iviqmfe WITH KEY qmnum = it_qmfe-qmnum.
        IF sy-subrc EQ 0.
          it_qmfe-txtcdfe = iviqmfe-txtcdgr.
         it_qmfe-matnr = iviqmfe-matnr.
        ENDIF.
        it_main-rejcodedescr = it_qmfe-txtcdfe.
      ENDLOOP.
      MODIFY it_main TRANSPORTING rejcodedescr.
      AT NEW fecod.
        l_sytabix = sy-tabix.
        l_totsbmng = '0'.
        FORMAT COLOR COL_GROUP.
        WRITE: /(10) it_main-fecod.
        READ TABLE it_main INDEX l_sytabix.
        WRITE: it_main-rejcodedescr.
        FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
      ENDAT.
      l_totsbmng = l_totsbmng + it_main-sbmng.
      WRITE: /(12) it_main-qmnum , (10) it_main-qmdat,(18) it_main-bautl,(40) it_main-maktx,(10) it_main-sbmng,(9) it_main-verpr LEFT-JUSTIFIED,(10) it_main-value,(40) it_main-qmtxt.
      WRITE: /(12) space,(18) it_main-matnr,(30) it_main-maktx2,it_main-mgfrd LEFT-JUSTIFIED.
    *write: / it_main-idnrk.
    write: / it_main-objnr,it_main-parnr,it_main-dept.
    write: / it_main-vera,it_main-coord.
    ENDLOOP.
    FORMAT COLOR OFF.
    *&      Form  read_notification
          text
    -->  p1        text
    <--  p2        text
    FORM read_notification.
    call fm read_notification
      CALL FUNCTION 'READ_NOTIFICATION'
        EXPORTING
          qmnum          = it_main-qmnum
        TABLES
          iviqmfe        = iviqmfe
        EXCEPTIONS
          invalid_number = 1
          OTHERS         = 2.
    ENDFORM.                    " read_notification
    START-OF-SELECTION.
      PERFORM WRITE_AND_HIDE USING SPACE SPACE.
    AT LINE-SELECTION.
    CASE TEXT.
       WHEN 'List index'.
         PERFORM WRITE_AND_HIDE USING 'X' SPACE.
       WHEN 'User command'.
         PERFORM WRITE_AND_HIDE USING SPACE 'X'.
       WHEN OTHERS.
         SUBTRACT 2 FROM SY-LSIND.
         PERFORM WRITE_AND_HIDE USING SPACE SPACE.
    ENDCASE.
      message sy-lisel type 'I'.
    CLEAR TEXT.
    FORM WRITE_AND_HIDE USING P_FLAG_LSIND P_FLAG_UCOMM.
      WRITE / 'SY-LSIND:'.
      PERFORM WRITE_WITH_COLOR USING SY-LSIND P_FLAG_LSIND.
    TEXT = 'List index'.
    HIDE TEXT.
      WRITE / 'SY-UCOMM:'.
      PERFORM WRITE_WITH_COLOR USING SY-UCOMM P_FLAG_UCOMM.
    TEXT = 'User command'.
    HIDE TEXT.
      IF SY-LSIND > 0.
        WRITE / 'PICK here to go back one list level'.
      ENDIF.
    ENDFORM.
    FORM WRITE_WITH_COLOR USING P_VALUE
                                P_FLAG_POSITIVE.
      IF P_FLAG_POSITIVE = SPACE.
        WRITE P_VALUE COLOR COL_NORMAL.
      ELSE.
        WRITE P_VALUE COLOR COL_POSITIVE.
      ENDIF.
    ENDFORM.
    *&      Form  PARTNER_READ
          text
         -->P_IHPA_PARNR  text
         -->P_IHPA_PARVW  text
    FORM partner_read.  "USING    "p_parnr LIKE ihpa-parnr
                                "p_parvw LIKE ihpa-parvw.
    *p_parvw = 'AB'.
    data: PARVW LIKE IHPA-PARVW value 'AB',
          PARNR LIKE IHPA-PARNR value '50000105'.
    break-point.                                 "REMOVE THIS FOR DEBUGGING
      CALL FUNCTION 'PM_PARTNER_READ'
            EXPORTING
             parvw                        =  parvw
             parnr                        =  parnr
           IMPORTING
             diadrp_wa                    = diadrp
             diadr_wa                     = diadr
          XCPDK                        =
          E_NRART                      =
          KTOKD                        =
          VTEXT                        =
          CUSTOMER_CONTACT             =
          ADRNR_SD                     =
          ADRDA                        =
          ADRND                        =
          ADRNP                        =
           EXCEPTIONS
             no_valid_parnr               = 1
             no_valid_parnr_today         = 2
             no_authority                 = 3
             parvw_and_nrart_inital       = 4
             OTHERS                       = 5
    ENDFORM.                    " PARTNER_READ

  • How to get the table name of a field in a result set

    hi!
    i have a simple sql query as
    select tbl_customerRegistration.*, tbl_customerAddress.address from tbl_customerRegistration, tbl_customerAddress where tbl_customerAddress.customer_id = tbl_customerRegistration.customer_ID
    this query executes well and gets data from the database when i get ResultsetMetaData from my result set (having result of above query) i am able to get the field name as
    ResultSetMetaData rsmd = rs.getMetaData();//rs is result set
    String columnName = rsmd.getColumnName(1);
    here i get columnName = "Customer_id"
    but when i try to get the tabel name from meta data as
    String tableName = rsmd.getTableName(1); i get empty string in table name....
    i want to get the table name of the respective field here as it is very important to my logic.....
    how can i do that.....
    please help me in that regard as it is very urgent
    thanks in advance
    sajjad ahmed paracha
    you may also see the discussion on following link
    http://forum.java.sun.com/thread.jspa?threadID=610200&tstart=0

    So far as I'm aware, you can't get metadata information about the underlying tables in a query from Oracle and/or the Oracle drivers. I suspect, in fact, that the driver would have to have its own SQL parser to get this sort of information.
    I'm curious though-- how do you have application logic that depends on the name of the source table but not know in the application what table is involved? Could you do something "cheesy" like
    SELECT 'tbl_customerRegistration' AS tbl1_name,
           tbl_customerRegistration.*
    ...Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Table name for VAT ...

    Hi Friends
    What is table name for Reg No and VAT NO for Company Code
    What is table name for Customer Vat No
    ITs urgent
    Regards
    Bobbili

    Here we go:
    1.) T001
    2.) KNA1
    Cheers
    Hein

  • Need to know schema and table name

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ��
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    hi,
    does not work for me.
    more pls
    --thanks                                                                                                                                                                                                                   

  • Get the Table name by providing the Sequence name

    Hello,
    I wish to retrieve the table name to which the sequence is related.
    I understand that when the sequence was created, no reference is mentioned to any table. The sequence may be used across many tables.
    But the DB definitely knows internally how many tables are referencing the particular sequence.
    So, can anyone help me in finding the table (or all tables) referencing one particular sequence.
    Thanks and Regards
    (Please treat this as urgent as i am desperately in need of such a query)

    I share Adrian's scepticism. Using the data dictionary we could find all the program units - TRIGGERS, TYPES, PROCEDURES, etc - which use the sequence. From there we can find all the TABLES that are also referenced by those programs. And that's as good as it gets in Oracle. We cannot definitely say which tables use which sequences (although a good naming convention helps).
    Of course, your DBA may have access to some accurate and up-to-date documentation. But that is maintained externally to the database and not derived from it.
    Cheers, APC

  • Hw to find the table name of the perticular field is stored in db,usingFM

    Dear all,
    I need to find out the table name of the perticular field is storing in database using FM (note: using Function Module or any standard program , not manually like press F1 -> technicall setting etc.. .) 
    [ Exmple: Field: "MATNR" is stored in table : MARA, so i need the program/FM  to findout MATNR is stoed in MARA table ]
    i need this  FM for update values of  material master ( mm01 ) stored in different warehouse using module pool program.
    it's very urgent , please send me reply asap.
    thanks,
    best regards
    srinivas

    hi Srinivas,
    Please use the following logic:
    types:
        begin of t_find,
           field(40),
        end of t_find.
    data:
        lt_find  type table of t_find,
        ls_find  type          t_find,
        lt_found type table of RSFINDLST.
    ls_find-field = 'MATNR'.
    append ls_find to lt_find.
    CALL FUNCTION 'RS_EU_CROSSREF'
    EXPORTING
       i_find_obj_cls                    = 'DTEL'
       I_SCOPE_OBJ_CLS                    = 'TABL'
       NO_DIALOG                          = 'X'
    TABLES
       I_FINDSTRINGS                      = lt_find
       O_FOUNDS                           = lt_found
    EXCEPTIONS
       NOT_EXECUTED                       = 1
       NOT_FOUND                          = 2
       ILLEGAL_OBJECT                     = 3
       NO_CROSS_FOR_THIS_OBJECT           = 4
       BATCH                              = 5
       BATCHJOB_ERROR                     = 6
       WRONG_TYPE                         = 7
       OBJECT_NOT_EXIST                   = 8
       OTHERS                             = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    The table lt_found has the details for the tables having MATNR as a field; field lt_found-object will have the table names.
    Hope this helps,
    Sajan Joseph.

  • Table name for the field FAEDT(net due date)

    hi every body,
    plz can any body tell me the table name for the field net due date(FAEDT).
    its very very urgent
    thanq.

    Hi mark chalfen,
    thanq very much ur reply.
    actually my client want to change the payment term for all the vendor invoices.so wt we did is... we created aprogram to change the old payment term to new payment term in the vendor line items(fbl1n).
    when we run the program its changing the payment term and the base line date and the NO of days in the vendor linitems.but it not changing the net due date based on the new baseline date.
    i think with out changing the net due date only changing the payment term is use less.coz the item again show as due in the same date.
    so how can we change the net due date based on the new baseline date.?from which table we can take the field FAED and update with the new date.
    plz advise me?
    thanq.

Maybe you are looking for

  • Maximising a JFrame

    Its probably a very simple thing but i was just wondering how to set it so that the frame is maximised when it opens up !! Any help would be great. Thanks!!

  • Retina MBP isn't recognising external headset's microphone

    I use a 13inch Retina MacBook Pro and I've got a pair of Razer Kraken Pro headsets that I want to use to skype with friends. The headsets use a 3.5mm jack for stereo audio and the microphone. In the sounds menu the only audio input is the built in mi

  • ERROR IN ADDM 10g

    Hi Folks, While generating ADDM report following error is getting generated..!! Running the ADDM analysis on the specified pair of snapshots ... begin ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-01578: ORACLE data block co

  • Problem burning HD

         I have a sequence in FCE that I am trying to burn to a blu-ray. My sequence is 1920x1080 29.97 fps. I exported my sequence by using quick time. When I try to burn a blu-ray my disc, using Toast 11 and a LaCie blu-ray burner, it plays back out my

  • WLP Ajax Struts Portlet Links not function correctly after refresh

    Hi All, I hope this hasn't being answered yet but i couldn't find any previous post on this, let me describe the environment. Im working in WLP 10.3.2 Struts Portlet, i had enable: Enable Tree Optimization:     True Enable ScrollToWindow:     True As