Not able to delete all child data

Hi
I would like to delete all existing data in Child Form, but the below code is deleting just one record.
What am I missing here..
public void RemoveProcessFormChildData(long pKey, tcDataProvider tcdp){
          try
     tcFormInstanceOperationsIntf f = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(tcdp, "Thor.API.Operations.tcFormInstanceOperationsIntf");
     tcResultSet childFormDef = f.getChildFormDefinition(f.getProcessFormDefinitionKey(pKey),f.getProcessFormVersion(pKey));
     long childKey = childFormDef.getLongValue("Structure Utility.Child Tables.Child Key");
     String plChildTableName = childFormDef.getStringValue("Structure Utility.Table Name");
     logger.info("Child Key::"+childKey);
     logger.info("Child table name: "+plChildTableName);
     tcResultSet childFormData = f.getProcessFormChildData(childKey, pKey);
     logger.info("No. of records in Child Form::"+childFormData.getRowCount());
     for(int i=0;i<childFormData.getRowCount();i++)
          long plChildFormPrimaryKey = childFormData.getLongValue(plChildTableName + "_KEY");
          logger.info("Child Form Primary Key::"+plChildFormPrimaryKey);
          f.removeProcessFormChildData(childKey, plChildFormPrimaryKey);
     logger.info("After calling RemoveChildData()");
          catch(Exception e)
               logger.info("Exception Occured::"+e);
Thanks

forgot to add the below line :)
lookupRes.goToRow(i);

Similar Messages

  • How can I resolve this problem? The audio engine was not able to process all required data in time. (-10011)

    How can I resolve this problem? The audio engine was not able to process all required data in time. (-10011)

    Could you do this?
    Go to Finder
    Go to Applications
    Go to Utilities folder
    Launch Activity Monitor app
    go to its Memory tab on top
    tell us what you see at the very bottom?
    Here is a sample of mine.
    I bet your page/swap amount will be huge.
    If there is not enough RAM, OS X temporarily stores RAM data on the harddrive and tries to retrieve it back into RAM when needed, unfortunately that is so slow that GB throws an error as it cannot play it all in real time.

  • Not able to export all table data to excel

    Hi All,
    I am using jdev 11.1.1.4.0
    I want to export all my table data to a excel file.
    I used ADF inbuilt <af:exportCollectionActionListener/> to do the same.
    Also, I have pagination on my JSPX.
    When I click on export button to export the data, it exports current records in the page not all the records.
    For instance, I have 100 records in my table and I am displaying 20 records per page.
    When I click on export to excel image, it exports current 20 records instead of exporting all 100 records.
    Please tell me how to export all the records to the excel.
    Sample code,
    <af:exportCollectionActionListener exportedId="t1" type="excelHTML"/>t1 is id of my table from which I want to export the data.
    also, I have tried exportedRows="all" - but it doesn't work!!!!
    Appreciate your help.
    Thanks and Regards,
    Madhav K.

    Hi Arunkumar,
    thanks for your reply.
    Yes, it works....
    But I don't want to do the same in such way.
    Because almost every page I have export to excel functionality.
    So if follow this way then I have extra table on every page. I don't want this in my application.
    Is there any other way???
    Thanks and Regards,
    Madhav K.

  • I am not able to delete all the bookmarks that I select to delete by clicking on the star. Most that won't delete seem to be in the unsorted bookmark category. I have tried many times and they just won't delete. What can I do.?

    When I follow the directions about deleting bookmarks by clicking on the bookmark, then clicking on the blue star and then clicking on delete bookmark, it will work with some but not all my bookmarks. I have noticed that the ones that won't work appear to be marked in unsorted bookmarks rather than bookmarks menu.
    I have tried many different ways to delete these bookmarks but nothing works. Some of these bookmarked pages need to be signed in and I no longer have a way to sign in or want to sign in.
    I just want to delete the bookmark. Please help.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Garageband - "System Overload. The audio engine was not able to process all required data in time. (-10011). Im making a song on Garageband and I have recorded guitar, drums recorded on the musical keyboard, and vocals. It now says this, and won't play.

    Im making a song on Garageband and I have recorded guitar, drums recorded on the musical keyboard, and vocals. It now says this, and won't play. Ive worked so hard on this and I don't know how to fix it. I am not very skilled or knowledgable in computers and barely know how to operate Garageband as it is. I have many different tracks in this song for different drums and beats. Please someone tell me how to fix this, I'm not even finished it! And again I am not very informed on how to work computers as well as most of you are, just saying. thanks!!!
    P.S.: In my about this mac thing, it says i have version 10.9.1, 2.26 GHz Intel Core 2 Duo, and Memory is 2 GB 1067 MHz DDR3

    Could you do this?
    Go to Finder
    Go to Applications
    Go to Utilities folder
    Launch Activity Monitor app
    go to its Memory tab on top
    tell us what you see at the very bottom?
    Here is a sample of mine.
    I bet your page/swap amount will be huge.
    If there is not enough RAM, OS X temporarily stores RAM data on the harddrive and tries to retrieve it back into RAM when needed, unfortunately that is so slow that GB throws an error as it cannot play it all in real time.

  • Not able to delete un wanted data source in configuration utility

    Hi,
    I am on 9.3 version,
    I had some Un wanted data sources in my configuration utility and i deleted them but still i can see them, why is this happening?
    Thanks

    Does it say that the datasource has been deleted in the config utility, have you tried restarting the service.
    If all fails then they may have to be manually remove from the planning system database.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Not able to extarct all product data from t code crmd_order

    Hi experts,
    My Datasource is 0CRM_SALES_CONTR_I.
    The data in the source system (CRM) looks like (in T-code crmd_order)
    Contract (header level)
    Setvice Item
    Material A
    Material B
    The Extractor (standard one) is picking up the Contact (header level) item, Service Item and the Material A.
    It is not picking up the Material B or C.
    is this the standard way it should work?
    At present it looks like
    Contract
    Service Item | Material A
    But it should look like
    Contract
    Service Item | Material A
    Service Item | Material B
    Can you suggest me how to do this?
    Should I enhance my Datasource?
    Any suggestions are welcome!
    regards,
    adlin

    Hi Adlin,
    For this datasource, we only consider the item category which belongs to
    BUS2000135
    BUS2000131
    BUS2000137
    BUS2000138
    BUS2000301
    BUS2000252
    BUS2000170
    BUS2000163
    You can find the codings in mapping function CRM_BW_SALES_CONT_I_MAP.
        LOOP AT ls_bdoc_msg-orderadm_i INTO ls_orderadm_i
             FROM item_tabix.
          IF NOT ls_orderadm_i-header EQ ls_orderadm_h-orderadm_h_guid.
            EXIT.
          ENDIF.
          IF ls_orderadm_i-object_type NE
             gc_object_type_item-cust_contract AND
             ls_orderadm_i-object_type NE
             gc_object_type_item-srv_contract  AND
             ls_orderadm_i-object_type NE
             gc_object_type_item-fin_contract  AND
             ls_orderadm_i-object_type NE
             gc_object_type_item-fs_loan  AND
             ls_orderadm_i-object_type NE
             gc_object_type_item-ubb_srv_contract  AND
             ls_orderadm_i-object_type NE gc_object_type_item-object AND
             ls_orderadm_i-object_type NE gc_object_type_item-invoice_req AND
             ls_orderadm_i-object_type NE gc_object_type_item-srv_plan_item.
            CONTINUE.
          ENDIF.
    Any other item will not be extracted by default.
    And you need to do enhancement by yourself using BAdI BWA_MFLOW.
    Hope my answer helps.
    Best Regards,
    Shawn

  • Not able to delete Cube & DSO data

    Hi Team,
    I am trying to delete data request from upper & lower Data providers(cube & DSO respectivly).
    Frst I tried to delete cube data using context menu option DeleteData.It generates dump "Time Exceeded". So I manually selected the request in cube manage & deleted.
    Later when i try deleting DSO(that updates abv cube) data with context menu option gv similar dump so i manually tried deleting topmost req & it fails with following log.
    Delete running: DataStore object FIGLO02B, from 304,053 to 304,053
    Delete is scheduled; Selection conditions were substituted
    FB RSM1_CHECK_DM_GOT_REQUEST called from PRG RSSM_PROCESS_REQUDEL_ODSO; row 000396
    Request '304,054'; DTA 'FIGLO02B'; action 'D'; with dialog ''
    Leave RSM1_CHECK_DM_GOT_REQUEST in row 70; Req_State ''
    No records found for request ODSR_AKJPD3YPNDJMTLCTHHM0Z01VX in change log /BIC/B0000111000 of DataStore FIGLO02B
    Deletion of request REQU_F1RX9B16C7MNKCHC4AYPLI0LP from data target FIGLO02B failed
    Deletion of request REQU_F1RX9B16C7MNKCHC4AYPLI0LP from data target FIGLO02B failed
    No records found for request ODSR_AKJPD3YPNDJMTLCTHHM0Z01VX in change log /BIC/B0000111000 of DataStore FIGLO02B
    then i noted the cube data still nt deleted .Also this table /BIC/B0000111000  is empty.
    Please suggest hw shall i delete data frm DSO & cube as i want to perform fresh init.

    Hi
    Try deleting the Data Requests from Tables.
    Active Data /BIC/A<ODS_NAME>00
    New Data /BIC/A<ODS_NAME>10 in BW 2.x /BIC/A<ODS_NAME>40 in BW 3.x
    Change Log: search in table RSTSODS with the string "8<ODS_NAME>" in field ODSNAME, the name of Change Log is in field ODSNAME_TECH.
    RSODSACT                       Activation of ODS M Records
    RSODSACTREQ                    Activation table of M-request
    RSODSO_REQUCPY                 Assigning Requests to Template
    RSODSO_ROLLBACK                Table for Temporary Storage
    RSODSO_RUNTIME                 Results of Runtime Measuremen
    RSODSREQTSTMP                  Sorting of ODS Requests
    RSODSSETTINGS                  Settings for an ODS
    Hope ithelps

  • Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer.

    Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer. The version installed on my ipod is 7.1.2(11D257).

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info in apps) and reverted back to all my old data.  How can I retrieve all the lost data??

    I got the new iPhone5 back in Dec, I hooked it up to my computer for the 1st time this wk.  It deleted all new data added since Dec (notes,contacts,texts,pics, info added to apps) and reverted back to all my old data (literally uploaded all of my old texts and 1400 old pics and deleted anything new).  How can I retrieve all the lost data?? Please help!!

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • I get an error message saying "system overload, the audio engine was not able to process all the required data in time (10011)

    i get an error message saying "system overload, the audio engine was not able to process all the required data in time (10011)

    The thing is, that error message has been appearing when playing/recording a track that was running perfectly a few minutes ago and nothing has changed!
    That can mean, that your project is too ambitious for your Mac. Are you using many complicated automations on that track?
    4GB memory is not much, when doing audio processing. GarageBand will need all memory it can get, or will be forced to continually swap pages to your disk, to free RAM, and that can cause this error.
    When this error occurs, it is best to restart the computer. This will free your RAM. Close all other applications that are competing for memory, i.e. other multimedia applications, and Safari.
    Also, make sure, that you have plenty of free disk space. Don't let the free disk space drop below 20G.
    Where is your project located? On an external drive or your internal drive? If it is on an external drive, connect this drive directly, not daisy-chained, or move the project to your internal drive.
    I got up to eat, came back and tried to continue but GarageBand shuts down and displays that message every time I try to run the song. I've also recently run songs with several more tracks than this one and they worked perfectly. Any tips?
    Are your other projects, that worked perfectly, still working?

  • I m trying to manage space in my iPhone but what I find is I m not able to delete document data alone of an application without deleting the entire application ... Any other suggestions or methods to accompanish this? Any pointers welcome... Is this a bug

    I m trying to manage space in my iPhone but what I find is I m not able to delete document data alone of an application without deleting the entire application ... Any other suggestions or methods to accompanish this? Any pointers welcome... Is this a bug

    You mean take the cover off of the iPhone, to look inside?  I'd recommend against it.  Even with warranty expired, you might qualify for an out-of-warranty service, which for 3GS is $149.
    Other than that, any repair/service options are going to cost money.  You might want to see if a wireless carrier will let you get a new contract & phone.
    Out of curiousity, you're just using at as, basically, an iPod Touch, if there's no cell provider?  Did I understand that correctly?

  • How Delete all the data in all BI Models, just the data but not the model

    Hi Gurus,
    i need to delete all the data of the cubes, PSA , etc , all the data of this models but not the model, how can i do this in a fast way? though a program? thanks

    Hi,
    I would prefer process chain, not program.
    Create new process chain include data target deletion component and PSA deletion component.  (Include corrosponding DSO/Cube/PSA names).
    Run process chain.
    Else you can search for FMs to delete contents from your targets.
    Delete InfoCube Data
    Regards,
    Vinay

  • IP5 set up with all options...however new emails  OLD like 13-14 years old have arrived in the IN BOX that say no "this message has no content", and I am not able to delete them. Any helpful ideas?

    IP5 set up with all options...however new emails  OLD like 13-14 years old have arrived in the IN BOX that say no "this message has no content", and I am not able to delete them. Any helpful ideas?

    Hi 23672!
    I have an article here that can definitely help you with that issue. The article is about what to do when a mail message has no content, and can be found here:
    iOS 4: Unable to view message body preview or mail receives blank messages
    http://support.apple.com/kb/ts3426
    Note that the article was written for iOS 4, but it will work in later iOS versions. Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Not able to download all the rows to excel sheet from alv grid display

    Hi experts,
    I am not able to download all the rows which are displayed in alv grid display for some material numbers.
    for some materials i am able to download, i used two ways to download 1) from icon(local file) on grid 2) menu list->export.
    i checked in debugging till selecting the spread sheet pop up window, i am able to see all the data in internal table.
    Can you suggest me what will be the problem....
    thanks in advance,

    hi sandeep,
    sorry for didnt specify clearly.
    note: EX: "asaasdada  in this sentence i said  " this symbol is special character not the text.
    building final internal table code
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          capid                 = p_capid
          datuv                 = sy-datum
          ehndl                 = '1'
          mktls                 = 'X'
          mehrs                 = 'X'
          mmory                 = '1'
          mtnrv                 = p_matnr
          stlal                 = '1'
          stpst                 = 0
          svwvo                 = 'X'
          werks                 = p_werks
          vrsvo                 = 'X'
        TABLES
          stb                   = i_stb
        EXCEPTIONS
          alt_not_found         = 1
          call_invalid          = 2
          material_not_found    = 3
          missing_authorization = 4
          no_bom_found          = 5
          no_plant_data         = 6
          no_suitable_bom_found = 7
          conversion_error      = 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.
      i_stb1[] = i_stb[].
      IF NOT i_stb1[] IS INITIAL.
        SORT i_stb1 BY idnrk.
        DELETE ADJACENT DUPLICATES FROM i_stb1 COMPARING idnrk.
        SELECT bmatn ematn FROM ampl INTO TABLE i_ampl
          FOR ALL ENTRIES IN i_stb1
          WHERE bmatn = i_stb1-idnrk AND
                datuv LE sy-datum AND                          
                datub GE sy-datum.                              
        SELECT
        matnr
        bwkey
        verpr
        stprs
        bwprh
        FROM mbew
        INTO TABLE i_mbew
        FOR ALL ENTRIES IN i_stb1
        WHERE
            matnr EQ i_stb1-idnrk AND
            bwkey EQ i_stb1-werks.
        IF NOT i_stb1[] IS INITIAL.
          SELECT matnr werks beskz
                 dzeit webaz plifz                              
                 ekgrp                                         
          INTO TABLE i_marc
          FROM marc
          FOR ALL ENTRIES IN i_stb1
          WHERE matnr = i_stb1-idnrk
          AND werks = i_stb1-werks.
          SORT i_marc BY matnr werks.
        ENDIF.
        CLEAR i_ekpo.
        CLEAR i_vend.
        IF NOT i_stb1[] IS INITIAL.
          SELECT ebeln ebelp matnr werks loekz aedat
                 netpr peinh                                   
          INTO TABLE i_ekpo
          FROM ekpo
                FOR ALL ENTRIES IN i_stb1
                WHERE matnr = i_stb1-idnrk
                AND werks = i_stb1-werks.
          SORT i_ekpo BY matnr ASCENDING
                         aedat DESCENDING
                         ebeln DESCENDING
                         ebelp DESCENDING.
          IF NOT i_ekpo IS INITIAL.
            SELECT k~ebeln k~lifnr l~name1
            INTO TABLE i_vend
            FROM ekko AS k INNER JOIN lfa1 AS l
            ON k~lifnr EQ l~lifnr
            FOR ALL ENTRIES IN i_ekpo
            WHERE ebeln = i_ekpo-ebeln.
            SORT i_vend BY ebeln.
          ENDIF.
        ENDIF.
      ENDIF.
      i_ampl1[] = i_ampl[].
      IF NOT i_ampl1[] IS INITIAL.
        SORT i_ampl1 BY ematn.
        DELETE ADJACENT DUPLICATES FROM i_ampl1 COMPARING ematn.
        SELECT matnr mfrpn mfrnr FROM mara INTO TABLE i_mara
          FOR ALL ENTRIES IN i_ampl1
           WHERE matnr = i_ampl1-ematn.
      ENDIF.
      SORT i_ampl BY bmatn.
      IF NOT i_stb[] IS INITIAL.
        SELECT stlty stlnr stlkn stpoz idnrk potx1 potx2
        INTO TABLE i_stpo
        FROM stpo
        FOR ALL ENTRIES IN i_stb
        WHERE stlty = i_stb-stlty
          AND stlnr = i_stb-stlnr
          AND stlkn = i_stb-stlkn
          AND stpoz = i_stb-stpoz
          AND idnrk = i_stb-idnrk.
        SORT i_stpo BY stlty stlnr stlkn stpoz idnrk.
      ENDIF.
      LOOP AT i_stb INTO wa_stb.
        READ TABLE i_marc INTO wa_marc
        WITH KEY     matnr = wa_stb-idnrk
                     werks = wa_stb-werks
                     BINARY SEARCH.
        IF sy-subrc = 0.
          wa_outtab-beskz = wa_marc-beskz.
          wa_outtab-dzeit = wa_marc-dzeit.                      
          wa_outtab-webaz = wa_marc-webaz.                     
          wa_outtab-plifz = wa_marc-plifz.                     
          wa_outtab-ekgrp = wa_marc-ekgrp.                     
        ENDIF.
        READ TABLE i_ekpo INTO wa_ekpo
            WITH KEY matnr = wa_stb-idnrk.
        IF sy-subrc = 0.
          wa_outtab-netpr = wa_ekpo-netpr.                     
          wa_outtab-peinh = wa_ekpo-peinh.                     
          READ TABLE i_vend INTO wa_vend
          WITH KEY ebeln = wa_ekpo-ebeln
                   BINARY SEARCH.
          IF sy-subrc = 0.
            wa_outtab-lifnr = wa_vend-lifnr.
            wa_outtab-name_sup = wa_vend-name1.
          ENDIF.
        ENDIF.
        READ TABLE i_stpo INTO wa_stpo
        WITH KEY stlty = wa_stb-stlty
                 stlnr = wa_stb-stlnr
                 stlkn = wa_stb-stlkn
                 stpoz = wa_stb-stpoz
                 idnrk = wa_stb-idnrk
                 BINARY SEARCH.
        IF sy-subrc = 0.
          wa_outtab-potx1 = wa_stpo-potx1.
          wa_outtab-potx2 = wa_stpo-potx2.
        ENDIF.
        READ TABLE i_mbew INTO wa_mbew
        WITH KEY
        matnr = wa_stb-idnrk
        bwkey = wa_stb-werks.
        IF sy-subrc IS INITIAL.
          MOVE:
          wa_mbew-verpr TO wa_outtab-verpr,
          wa_mbew-stprs TO wa_outtab-stprs,
          wa_mbew-bwprh TO wa_outtab-bwprh.
        ENDIF.
        wa_outtab-matnr = p_matnr.
        wa_outtab-posnr = wa_stb-posnr.
        wa_outtab-stufe = wa_stb-stufe.
        wa_outtab-idnrk = wa_stb-idnrk.
        wa_outtab-ojtxb = wa_stb-ojtxp.
        wa_outtab-menge = wa_stb-menge.
        wa_outtab-meins = wa_stb-meins.
        MOVE: wa_stb-zzitem_draw_no TO wa_outtab-zzitem_draw_no.
        IF wa_stb-upskz = 'X'.
          SELECT * FROM stpu INTO TABLE i_stpu
                   WHERE  stlty = wa_stb-stlty AND
                          stlnr = wa_stb-stlnr AND
                          stlkn = wa_stb-stlkn AND
                          stpoz = wa_stb-stpoz.
        ENDIF.
        LOOP AT i_stpu INTO wa_stpu.
          wa_outtab-upmng = wa_stpu-upmng.
          wa_outtab-ebort = wa_stpu-ebort.
          wa_outtab-uposz = wa_stpu-uposz.
          CONCATENATE v_ebort wa_stpu-ebort      INTO v_ebort
          SEPARATED BY space.
        ENDLOOP.
        MOVE strlen( v_ebort ) TO v_len.
        MOVE: 0 TO x,
          128 TO y.
        DATA : lt_tab TYPE TABLE OF swastrtab.
        DATA : ls_tab LIKE LINE OF lt_tab.
        DATA : lv_ebort TYPE string.
        CLEAR lv_ebort. CLEAR lt_tab.
        MOVE v_ebort TO lv_ebort.
        CALL FUNCTION 'SWA_STRING_SPLIT'
          EXPORTING
            input_string                 = lv_ebort
            max_component_length         = 128
          TABLES
            string_components            = lt_tab
          EXCEPTIONS
            max_component_length_invalid = 1
            OTHERS                       = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        IF lt_tab[] IS NOT INITIAL.
          LOOP AT lt_tab INTO ls_tab.
            CLEAR lv_ebort.
            MOVE: ls_tab-str TO lv_ebort.
            CONDENSE lv_ebort.
            MOVE lv_ebort TO wa_outtab-ebort.
            APPEND wa_outtab TO i_outtab.
            CLEAR:
            wa_outtab-matnr,
            wa_outtab-posnr,
            wa_outtab-zzitem_draw_no,
            wa_outtab-ojtxb,
            wa_outtab-menge,
            wa_outtab-meins,
            wa_outtab-uposz,
            wa_outtab-upmng,
            wa_outtab-verpr,
            wa_outtab-stprs,
            wa_outtab-bwprh,
            wa_outtab-lifnr,
            wa_outtab-name_sup,
            wa_outtab-potx1,
            wa_outtab-potx2,
            wa_outtab-netpr,
            wa_outtab-peinh.
    *        wa_outtab-idnrk.
          ENDLOOP.
        ELSE.
          APPEND wa_outtab TO i_outtab.
        ENDIF.
        CLEAR v_ebort.
        CLEAR: wa_stpu.
        REFRESH: i_stpu.
        LOOP AT i_ampl INTO wa_ampl WHERE bmatn = wa_stb-idnrk.
        READ TABLE i_mara INTO wa_mara WITH TABLE KEY matnr = wa_ampl-ematn.
          IF sy-subrc = 0.
            LOOP AT i_outtab INTO wa_outtab
            WHERE
            idnrk = wa_stb-idnrk AND
            flag NE 'X'.
              wa_outtab-mfrpn = wa_mara-mfrpn.
              wa_outtab-mfrnr = wa_mara-mfrnr.
              SELECT SINGLE name1 FROM lfa1 INTO wa_outtab-name1 WHERE lifnr = wa_mara-mfrnr.
              MOVE 'X' TO wa_outtab-flag.
              MODIFY i_outtab FROM wa_outtab
              TRANSPORTING mfrpn mfrnr name1 flag.
              EXIT.
            ENDLOOP.
            IF sy-subrc <> 0.
              CLEAR:
              wa_outtab-matnr,
              wa_outtab-posnr,
              wa_outtab-zzitem_draw_no,
              wa_outtab-ojtxb,
              wa_outtab-ebort,
    *          wa_outtab-idnrk,
              wa_outtab-menge,
              wa_outtab-meins,
              wa_outtab-uposz,
              wa_outtab-upmng,
              wa_outtab-verpr,
              wa_outtab-stprs,
              wa_outtab-bwprh,
              wa_outtab-lifnr,                                 
              wa_outtab-name_sup,                              
              wa_outtab-potx1,                                 
              wa_outtab-potx2,                                 
              wa_outtab-netpr,                                 
              wa_outtab-peinh.                                 
              wa_outtab-mfrpn = wa_mara-mfrpn.
              wa_outtab-mfrnr = wa_mara-mfrnr.
              SELECT SINGLE name1 FROM lfa1 INTO wa_outtab-name1 WHERE lifnr = wa_mara-mfrnr.
              APPEND wa_outtab TO i_outtab.
            ENDIF.
          ENDIF.
          REFRESH i_stpu.
          CLEAR i_stpu.
        ENDLOOP.    CLEAR: wa_matnr1, wa_mfrnr, wa_outtab.
      ENDLOOP.
    Edited by: srinivasareddy j on Mar 9, 2011 7:16 AM
    Edited by: srinivasareddy j on Mar 9, 2011 7:20 AM

Maybe you are looking for

  • How to determine the number of pixels of a desired object within a digital photograph?

    Hi everyone. I want to determine the number of pixels in an object that is part of a digital photo. I use cameras to film chunks of ice breaking away from ice cliffs or tidewater glaciers. I want to know the size of the ice chunk that my digital phot

  • Cisco ironport 370 to 670 Configuration Compatibility Issue

    I have currently Cisco IronPort S360 and want to Upgade with Cisco S670, upload configuration file of Cisco ironport 360 in &760 but unable to succeed.becasue of compatibility issue of OS .any one can help me regarding how to compatible . Regards, Sh

  • Pannel size not adjusting according to the window size

    can anybody solve my problem in my application in a tab i have tree pannels, the central panel is agian divided into two pannels (left and right). the application when loaded it shows proper layout but when maximized the space for right side pannel i

  • Regd WAS High Availability & Load Balancing

    Hi all,   We have two seperate hosts having WAS servers each(central instance in each machine) . We are trying to acheive high availability and Load Balancing mechanism. Can anyone sugggest me a way in order to acheive this type of scenario.We have c

  • Default tablespace

    hi.. i learnt that when u do import.. it will first look for the tablespace which is default to the user in import file. if the tablespace by that name does not exists. oracle will import the data to the default tablespace of the user where you are i