Very urgent Read table

Hi ;  I want to delete unique record interms of lt_outlt-tabname eq 'SZTU' .
for example
date                tabname  
12022006       stzu
13022006      stzu
13022006      stzu
I want to delete 12022006       stzu record.
LOOP AT lt_outlt WHERE tabname EQ 'STZU'.
          LOOP AT lt_outlt2 WHERE tabname EQ 'STZU'
                             AND  udate   EQ  lt_outlt-udate
                             AND  utime   EQ lt_outlt-utime.
            flag8 = 'X'.
          ENDLOOP.
          IF flag8 EQ 'X' .
            DELETE lt_outlt.
            CLEAR FLAG8.
          ENDIF.
        ENDLOOP.

Hi,
Please try this.
LOOP AT lt_outlt WHERE tabname EQ 'STZU'.
  READ TABLE lt_outlt2 WITH KEY tabname EQ 'STZU'
                                udate EQ lt_outlt-udate
                                utime EQ lt_outlt-utime.
  IF SY-SUBRC = 0.
    DELETE lt_outlt.
  ELSE.
    CONTINUE.
  ENDIF.
ENDLOOP.
Regards,
Ferry Lianto

Similar Messages

  • Very Urgent - reading google api weather

    I am new to xml.
    I would like to read this xml http://www.google.com/ig/api?weather=Milano with a single sql query in a 10.2 oracle installation.
    Could you help me?
    I don't want to develop pl-sql, only a single sql statement.
    In particular I would like to read current_condition/condition data & temp_c data.
    Thanks a lot.

    Well, there's no real difference between this and what you posted recently : {message:id=10143724}
    Try to invest some time in understanding XMLTable syntax, and maybe you won't need to post such a "very urgent" request in the future and figure the answer by yourself.
    The documentation is here for your version :
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14259/xdb_xquery.htm#sthref1705
    select *
    from xmltable(
           '/xml_api_reply/weather/current_conditions'
           passing httpuritype('http://www.google.com/ig/api?weather=Milano').getXML()
           columns condition varchar2(100)    path 'condition/@data'
                 , temp_c    number           path 'temp_c/@data'
    ;

  • ( very urgent ) read data from bw to live cache

    hi,
         i am very mew to APO LIVE CACHE. i need to read the data from BW to LIVE CACHE for forecasting. i now the transaction lc10 and lc11. but the problem is i need to know where i have to give the BW cubes or BW information into LIVECACHE.
    WOULD APPRECIATE UR HELP.
    RGS,
    SUGUNA.S

    Try TCode/SAPAPO/TSCUBE or Program /SAPAPO/RTSINPUT_CUBE
    Regards
    Krishna Chaitanya.P

  • Very Urgent - Lock table is full

    Hi All,
    I have a problem regarding locks. Whenever I tried to execute mass transaction, which will apply/modify locks on the documents I am getting a error message 'Document is blocked by System error'. And sometimes I am getting error message Lock table is full. I tried to delete all locks in the system from SM12 as well, but I could not resolve the problem. If anyone could help me that would be really great.
    Best regards,
    Venkat

    Check this link:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/f0/b57338788f4d72e10000009b38f8cf/content.htm
    Regards,
    Ravi kanth talagana

  • Very urgent reading google api

    I am new to xml.
    I would like to read this xml http://www.google.com/ig/api?weather=Milano with a single sql query in a 10.2 oracle installation.
    Could you help me?
    I don't want to develop pl-sql, only a single sql statement.
    In particular I would like to read current_condition/condition data & temp_c data.
    Thanks a lot.

    No need to duplicate...
    {thread:id=2352525}

  • OTN TEAM Please respond-matrix reports row limitation(very urgent)

    Hi ,
    using with matrix reports for delimited reports what's the maxmimum row limitation for text and excel?
    thanks in advance.
    please advice asap.
    thx in advance.

    See response in OTN TEAM Please respond-matrix reports row limitation(very urgent)

  • Searching for the fields of a table(very very urgent)

    Hi all,
    i am in graet trouble now.i am searching for the fields like
    1)country of origin where the finished good is created.
    2) customer sales order number
    3)customer sales order line number
    i am writing a report for delivery order.in this report i have to refer customer PO & customer SO .
      i mean, my company has a customer ( seagate) & seagate has a customer (let maxtor).initially maxtor will give a PO to seagate then seagate will raise a SO againest maxtor.
       Then seagate will send PO number(of maxtor), PO line number,SO number(seagate), SO line number(seagate) to our company.
       Then i have to write a report for sales order & delivery order.in these reports i have to refer seagate PO number & seagate SO number for reference.
    i got PO number as vbkd-bstkd but not getting any field for reference Sales order.plz advice me on this. it is very very urgent.
    ur idea is highly appreaciated.
    Thank u very much.
    Regards
    pabitra

    check out tables VBAK(sales order header), VBAP(sales items)

  • How to enable DFF for each line level on a Table Region - very very urgent

    Hi,
    I have a Master- Detail Page, Detail is Table region. I need to enable DFF (Context Based) for each line. If any one has done similar requirement please share how to do this. Its very very urgent.
    It is a standard page.
    Thanks,
    Edited by: user8996062 on Jun 29, 2011 2:58 AM

    Can any one please help me on this it is very urgent.
    Thanks,

  • Very Urgent Table Column Design

    Hi,
    This is what i have done, I am having a table with 2 columns.One is Text view and the other is Link to Action. I set the Table row count as 10. Table design is standard and all columns design is standard. Now The first text view column appears blue in colour and the second Link to action appears in White. To make both to have same white colour i made the table as Read only now both columns appear as white. If the table have more than 10 records it works fine. But if it is less say 4 records then first four records are in  white remaining are in light blue. I want to make every thing to appear same white or same blue color. How to do this .
    Kindly Help this is very Urgent
    Rk

    hi rk.......
              try this out.......
              consider your are having 4 records but the line count is 10 in the table.
              insert 6 empty records into the table.
              it will work fine.
    ---regards,
       alex b justin

  • Very Urgent : Reterival of AWKEY field from BKPF table

    Hi,
    I am making a report in which i have to make relation of 2 fields BKPF-AWKEY and MKPF-MBLNR . but the problem is i am not to reterive data from it as i have to make inner join among these fields so data can be reterived fmo these tables.
    plz provide me some guidelines as it is really urgent to me and help will be deinfately rewarded.

    First and foremost, i would advice you not to use words like VERY URGENT in your subject. You might want to go through the following link to understand the basic rules of the forum:
    [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    For your requirement, below code might help you understand the logic in determining the link between BKPF and MKPF.
    TYPES: BEGIN OF t_bkpf,
             bukrs type bukrs,
             belnr type belnr_d,
             gjahr TYPE gjahr,
             awtyp type awtyp,
             awkey type awkey,
            end of t_bkpf.
    types: begin of t_mkpf,
             mblnr type mblnr,
             mjahr type mjahr,
           end of t_mkpf.
    data: i_bkpf type STANDARD TABLE OF t_bkpf,
          i_mkpf type STANDARD TABLE OF t_mkpf.
    data: wa_bkpf type t_bkpf,
          wa_mkpf type t_mkpf.
    PARAMETERS: p_bukrs type bukrs OBLIGATORY,
                p_gjahr TYPE gjahr OBLIGATORY.
    START-OF-SELECTION.
      SELECT bukrs belnr gjahr awtyp awkey
        into table i_bkpf
        from bkpf
        UP TO 20 ROWS
        where bukrs = p_bukrs
        and   gjahr = p_gjahr
        and   awtyp = 'MKPF'.
    IF NOT i_bkpf[] is INITIAL.
       select mblnr mjahr from mkpf into table i_mkpf
          for ALL ENTRIES IN i_bkpf
         where mblnr = i_bkpf-awkey(10).
    *     and   mjahr = i_bkpf-awkey+10(4).
    ENDIF.
    LOOP AT i_bkpf into wa_bkpf.
      READ TABLE i_mkpf into wa_mkpf
        with key mblnr = wa_bkpf-awkey(10)
                 mjahr = wa_bkpf-awkey+10(4).
      IF sy-subrc eq 0.
         write:/ 'Accounting Document:', 23 wa_bkpf-belnr,
              35 'Material Document:', 55 wa_mkpf-mblnr.
      ENDIF.
    ENDLOOP.

  • Stale Date Error in Advance Table...Its Very Urgent

    Hi All,
    I am getting stale data in Advance Table Regions. I am having to buttons, if I selected button1 it shows one advance table region (with show All and Hide All options) it is showing correct data in the details view.
    If I select button2 and new advance table will be shown (with show All and Hide All options) and here if I select show all then I am getting stale data. For both advance tables I am using same two VO's (HeaderVO & DetailVO) but the Viewlinks are different.
    For your reference below is the error.
    Cause:
    The number of displayed records, 8, exceeds the actual number of records, 1, in view object NetAppsProjCreationAM.ProjectLinesVO1_ProjectErrorVL_ProjectLinesVO. Some of the displayed records may have been deleted.
    Please any one of you guys help me out in this issue, this is very urgent!!
    Thanks in Advance.

    Then it should work, can you check by putting debugging messages that your VO query is fetching rows properly?Also make sure that all transient columns attributes in VO wizard are not marked selected in query!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Very Urgent - Problem with Table MSEG

    Hi All,
    I wanted to add customer fields to MSEG Table. So I created a Structure ZISU with 4 fields and appended that to the table with Append Structure name ZExtensionin name.
    Now when I deleted one field from the structure and wanted to activate it. But it should an SQL Error while activation.
    So I mistakenly deleted the ZExtensionin from MSEG Table. It displayed that it is deleted but it is still visible in MSEG with the fields.
    Due to this, both structure ZISU and table MSEG are been shown as "Partially Active".
    What shall I do now to make everything fine ?
    Its very urgent. Please help me....
    Reward Points for Useful answers.
    Thanks,
    Harish

    Hi Harish,
    Goto SE14 and adjust the table and then activate your table.  This should work.
    Thanks.
    <b>Plz reward points if helpful</b>

  • Its very urgent:How to insert data one table to another table

    Hi all,
    i am very new to oaf.
    i have employee_number(per_all_people_f) lov is there.once select the employee number and click on the submit button
    what ever select the employee number it ll move to new_operation_manager in custom table.
    plz help me how to move.
    its very urgent.
    Thanks
    Latha.
    Edited by: Latha on Dec 21, 2011 9:33 PM

    Hi Gyan,
    Sorry, i will not repate.how to close the thread.
    Gyan i have no knowledge on this issue.
    plz help me.and where to mention,data is which table to insert.
    plz send one sample code.
    its very urgent gyan.
    i wrote the am,co codes
    in am:
    public void NewoperationManagerLogic()
    ManagerCustomTableVOImpl vo1=getManagerCustomTableVO1();----> here which vo take
    OADBTransaction oadbt=getOADBTransaction();
    if(!vo1.isPreparedForExecution())
    vo1.executeQuery();
    Row row=vo1.createRow();
    vo1.insertRow(row);
    in Co processrequest:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("NewoperationManagerLogic");
    in co processform request:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if(pageContext.getParameter("Submit")!=null)
    ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
    am.getOADBTransaction().commit();
    throw new OAException("Records Saved Sucessfully",OAException.INFORMATION);
    thanks
    latha
    Edited by: Latha on Dec 22, 2011 1:26 AM

  • Its very urgent:how to insert data into database tables

    Hi All,
    I am very new to oaf.
    I have one requirement data insert into database tables.
    here createPG having data that data insert into one custom table.
    but i dont know how to insert data into database tables.
    i wrote the code in am,co as follows.
    in am i wrote the code:
    public void NewoperationManagerLogic()
    ManagerCustomTableVOImpl vo1=getManagerCustomTableVO1();
    OADBTransaction oadbt=getOADBTransaction();
    if(!vo1.isPreparedForExecution())
    vo1.executeQuery();
    Row row=vo1.createRow();
    vo1.insertRow(row);
    in createPG processrequest co:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
    am.NewoperationManagerLogic();
    process form request:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if(pageContext.getParameter("Submit")!=null)
    ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
    am.getOADBTransaction().commit();
    please help with an example(sample code).
    its very urgent.
    thanks in advance
    Seshu
    Edited by: its urgent on Dec 25, 2011 9:31 PM

    Hi ,
    1.)You must have to create a EO based on custom table and then VO based on this EO eventually to save the values in DB
    2.) the row.setNewRowState(Row.STATUS_INITIALIZED); is used to set the the status of row as inialized ,this is must required.
    3.) When u will create the VO based on EO the viewattributes will be created in VO which will be assigned to the fields to take care the db handling .
    You must go thtough the lab excercise shipped with you Jdeveloper ,there is a example of Create Employee page ,that will solve your number of doubts.
    Thanks
    Pratap

  • List of Obsolete Tables in ECC 6.0 - Very Urgent

    We are planning to upgrade from 4.6c to ECC 6.0. Heard that there are many standard objects obsolete in ECC 6.0. Can anyone give me the List of Obsolete Tables and also the standard objects in ECC 6.0 with their updated tables and obejcts. This is required very urgently.

    Dear,
    You may have an overview wirth Solution Browser  tool (at the solution point of view) in order to compare functionality between your current system and the ERP 2005.
    at:
    http://solutionbrowser.erp.sap.fmpmedia.com/
    You can get the detailed release information from the following link.  
    http://service.sap.com/releasenotes.             
    A release note is a brief explanation of new features or changes to the system since the last software release. A release note typically describes a new function or an existing function that has been enhanced or changed.
    I hope this helps.
    Lucio Rodrigues
    SAP Active Global Support

Maybe you are looking for

  • Email through report

    Hello All, I have done the z report in which i have called a function module so_new_send o send an email. I am able to post an email from report to SOST transaction but from there a mail is not triggered.The status of the email is waiting for communi

  • Key Date a Customer Exit and Variant use

    Hello,   I have a query and it includes time dependent data. The key date uses a  variable that is filled with the current date in a customer exit. Works nicely when the query is executed. However, if I save a variant with various values for variable

  • Email for pending notifications

    Dear Experts, I have saved varient for IW29 with dynamic dates for the pending notifiications more than 3days. Then scheduled the background jobs with Distribution list. Distribution list for the internet receipents maintainted at SAP Business Workpl

  • US-bought iMac -- now in Korea: Do I need any adapters?

    Hi everbody, I just bought a brand new iMac (new model) -- 20"/2.4ghz from the Apple Store in NYC last week. I'm now living in Seoul, S. Korea and just had the computer shipped here. What do I need to have to safely plug in my US-bought iMac here in

  • Creating an image gallery in apex....

    Hi, Im using Apex version 4.2.6... I followed the instructions in a blog to create an image gallery in apex applications.... http://apex-notes.blogspot.com/2008/12/build-image-gallery-using-apex.html I have created all process by following that blog.