Delete a table record with eCATT-Script and parameter - PROBLEM

I will write a eCATT, witch can delete one record in the table. In this case
it will be a material. The material to delete will be my input parameter.
You can see on the picture how the structure of the ecatt after recording is.
<a href="http://www.carsdream.com/ecatt.jpg">Structure of the ecatt after recording....</a>
I have the following problem:
For example i will delete the "Material 6". I give as parameter the name of
this material. ( I don't know the ID.)
How can i automaticly find the index of the table RECENT, where the naterial
"Material 6" to find is ?
Important is, that by the test executing i don't know how many index the
table RECET have and i don't know under which index "the Material 6" can be
found.
If i find the index of this table, my problem will be solved.
If you can answer that, it will be for me very helpful!

Helle,
thanks for your answer.
I coudn't find the place where i could read this note, but i have book about testig SAP-Solutions and you can find there that:
"With the basis release of Web AS 6.40, eCATT supports the direct testing of Web Dynpro-based applications. Both Web Dynpro for ABAP and for Java are supported."
Look the link to SAP-PRESS:
http://www.sap-press.de/katalog/buecher/htmlleseproben/gp/htmlprobID-58
So what's the fact ? It's supported or not?
My application work under Web Dynpro Java, but i think, that the solution of my problem should be similar to the solution for Web Dynpro ABAP, that way i ask the question on this forum.
I someone knows the solution of my problem, it will be very helpfull for me.
Thanks

Similar Messages

  • Procedure to delete mutiple table records with 1000 rows at a time

    Hello Champs,
    I am having requirement to create procedure to achive the deletes from 5 big tables. 1 master table and 4 child tables. Each table has 28 millions records. Now I have to schedule a procedure to run it on daily basis to delete approximately 500k records from each tables. But the condition is: Seperate procedures for each tables and delete only 1000 rows at a time. The plan is below. Since I am new for writing complicate procedure, I don't have much idea how to code the procedures, can some one help me to design the procedure queries. Many Thanks
    1. Fetch 1000 rows from master table with where clause condition.
    2. Match them with each child tables and delete the records.
    3. Atlast delete those 1000 rows from master table.
    4. over all commit for all 5 X 1000 records.
    5. Repeat the steps 1 to 4 till no rows to fetch from master table.
    Below are detailed procedure plan:----
    ----- Main procedure to fetch 1000 rows at a time and providing them as input to 5 different procedures to delete records, repeating same steps till no rows to fetch i.e. (i=0)-----
    Create procedure fetch_record_from_master_table:
    loop
    i = Select column1 from mastertable where <somecondition> and rowcount <= 1000;
    call procedure 1 and i rows as input;
    call procedure 2 and i rows as input;
    call procedure 3 and i rows as input;
    call procedure 4 and i rows as input;
    call procedure 5 and i rows as input;
    commit;
    exit when i=0
    end loop;
    ----- Sepereate procedure's to delete records from each child tables------
    Create procedure 1 with input:
    delete from child_table1 where column1=input rows of master table;
    Create procedure 2 with input:
    delete from child_table2 where column1=input rows of master table;
    Create procedure 3 with input:
    delete from child_table3 where column1=input rows of master table;
    Create procedure 4 with input:
    delete from child_table4 where column1=input rows of master table;
    --- procedure to delete records from master table atlast----
    Create procedure 5 with input:
    delete from Master_table where column1=input rows of master table;

    Oops, but this will work, won't it?
    begin
      execute immediate 'truncate table child_table1';
      execute immediate '  truncate table child_table2';
      execute immediate '  truncate table child_table3';
      execute immediate '  truncate table child_table4';
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' DISABLE';
      end loop;
      execute immediate '  truncate table master_table';
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' ENABLE';
      end loop;
    end;
    / Or
      truncate table child_table1;
      truncate table child_table2;
      truncate table child_table3;
      truncate table child_table4;
    begin
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' DISABLE';
      end loop;
    end;
    truncate table master_table;
    begin
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' ENABLE';
      end loop;
    end;
    /

  • I want to read and assign value of ADF Table rows  with Java Script

    Hi,
    I want to read and assign value of ADF Table rows with Java Script, but I cant true index of current row , so I assign wrong value to anathor column of ADF Table.
    My Code;
    ADF Table items
    <af:column sortProperty="Adet" sortable="false"
    headerText="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.labels.Adet}"
    binding="#{backing_ucret.column2}" id="column2">
    <af:inputText value="#{row.Adet}"
    required="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.attrDefs.Adet.mandatory}"
    columns="10"
    binding="#{backing_ucret.inputText2}"
    id="inputText2" onchange="getTutar('#{bindings.voHarcamaOdeme1Iterator.rangeStart + bindings.voHarcamaOdeme1Iterator.currentRowIndexInRange + 1}','#{bindings.voHarcamaOdeme1Iterator.estimatedRowCount}','#{row.index}')">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.formats.Adet}"/>
    </af:inputText>
    </af:column>
    MY JAVA SCRIPT CODE
    <f:verbatim>
    <script language="javascript" type="text/javascript">
    function getTutar(rowkey,totalrow,currentRow){
    alert('rowkey--totalRow--currentRow-->'+rowkey+'--'+totalrow+'--'+currentRow);
    if (currentRow==0) {
    rowkey=totalrow-1;
    }else{
    var rw=totalrow-currentRow-1;
    rowkey=rw;
    alert(document.getElementById('form1:table1:'+rowkey+':inputText8').value);
    alert(document.getElementById('form1:table1:'+currentRow+':inputText8').value);
    var birim_ucret=document.getElementById('form1:table1:'+rowkey+':inputText8').value;
    var adet=document.getElementById('form1:table1:'+rowkey+':inputText2').value;
    document.getElementById('form1:table1:'+rowkey+':inputText3').value=birim_ucret*adet;
    document.getElementById('form1:inputText6').value=0;
    var t;
    var toplam=0;
    alert('before Sum');
    for (var i=0;i!=totalrow-1;i++){
    t = document.getElementById('form1:table1:'+i+':inputText3');
    toplam+=t.value*1;
    document.getElementById('form1:inputText6').value=toplam;
    </script>
    </f:verbatim>

    You can achieve the use case you describe with partial page rendering (PPR), a feature of the ADF Faces framework. Here are a few posts that achieve an interactive behavior using PPR. Off the top of my head I do not know of an exact example, but this should be a good starting point:
    http://thepeninsulasedge.com/blog/2006/09/12/adf-faces-aftableselectmany/
    http://thepeninsulasedge.com/blog/2006/08/31/adf-faces-working-with-aftableselectone-and-the-dialog-framework/
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Select statement from a join file deletes the primary records with MS Expl.

    Hello,
    is reality,
    Select statement from a join file deletes the primary records with MS Explorer 6, Firefox not, this with a normal data provider or with a normal "select..." statement.
    This is very strange, I should have a.a.s.p. a solution or workaround
    Thanks, Franco.
    Message was edited by:
    fbiaggi

    Please see the following excerpt from the online documentation.
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_modes.htm#SUTIL1332
    Enabled Constraints
    During a direct path load, the constraints that remain enabled are as follows:
    NOT NULL
    UNIQUE
    PRIMARY KEY (unique-constraints on not-null columns)
    NOT NULL constraints are checked at column array build time. Any row that violates the NOT NULL constraint is rejected.
    Even though UNIQUE constraints remain enabled during direct path loads, any rows that violate those constraints are loaded anyway (this is different than in conventional path in which such rows would be rejected). When indexes are rebuilt at the end of the direct path load, UNIQUE constraints are verified and if a violation is detected, then the index will be left in an Index Unusable state. See "Indexes Left in an Unusable State".

  • HOW KIND OF Standard table related with vk11, vk12 and vk13?

    HI, EVERYONE,
    HOW KIND OF Standard table related with vk11, vk12 and vk13?
    I want to know about how many and how kind Standard table related with vk11, vk12, vk13.
    I'v found some table like konp and a601 ~ a609, also I want to know about those table of uses?
    I am starting to study about vk11.
    please help me.

    Hi Reena,
    Then main pricing related tables are KONH  header details, and KONP item details.
    The other tables your have mentioned like A601,A609.............. all these are condition tables, which stored the values which you save for access sequence combination.
    Eg : For condition type PR00, lets us assume one key combination customer/material, so these details will be saved in condition table which is initially generated with fields as a part of condition techinque.
    So here the table would be A005 i guess or its A006.
    So like wise there will be condition tables for each key combination.
    Regards
    v K

  • Hi i have i problem with my iphone and the problem is the security question i have forgot the answers

    Hi i have i problem with my iphone and the problem is the security question i have forgot the answers
    I understand German and Italian i littlebit English

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106626)

  • Can I retrieve a deleted video that was recorded with my iPad and not backed up?

    I deleted a video that was recorded with my iPad &amp; was not backed up. Is there any way to retrieve it?

    No.

  • Help on Delete Internal table records

    Hi,
    I have a internal table with some records in it.
    I need to delete the contents of this based on the condition as below.
    if product_search-Resp_product_company is not initial.
    SORT i_equi BY zzrefeng.
    DELETE i_equi WHERE zzrefeng <> product_search-Resp_product_company.
    endif.
    when i execute this all the records are getting deleted irrespective of the condition mentioned.
    Can anyone help me on this.
    Regards,
    Ram

    Hi,
    Need to delete the records if <b>ZZREFENG</b> does not have the value of <b>product_search-Resp_product_company</b> .
    Here I have product_search-Resp_product_company value as FI14. And also the internal table contains some records with ZZREFENG = FI14.
    I need to delete the internal table records if ZZREFENG <> FI14. But when i execute the statement it is deletng all the records even ZZREFENG = FI14 records also.
    Regards,
    Ram

  • Delete a certain record in SAP Script

    Hello ABAPers,
    Im currently do an enhancement in Statement of account using
    the form F140_CUS_STAT_01 and copy it to another name.
    Looping every record of SAPscript i need to check the document number to bseg table..example is "140000000" with its year and company code..once the record is found , i need to check the bseg-rebzg field..if it has the value which is "1800000000"... i need to add only the record of the new document number found in bseg-rebzg and check the payment in bseg-nebtr...
    The problem is the old document which is "140000000" which is the sapscript code return while  the user dont want to add it in the report..instead the one i found in the bseg table which is  "1800000000"... under bseg-rebzg field should be in the report...how can i do this?
    How can i change the standard code of sapscript?is it possible..im using the tcode f.61.
    Please help..will reward points
    Thanks in advance
    aVaDuDz

    Hi,
    You can use 'Adobe Acrobat Software'  to convert PDF software to whatever format you want. you can convert them to .tiff format and use RSTXLDMC to upload.
    Thanks,
    Sree.

  • I tried to delete an audio recording on my iphone and pressed edit configure and now am locked out of it

    I tried to delete an audio recording from my iphone ipod and pressed edit and got a message saying configur ipod I did this and now I am locked into only one topic and recording.  Now after a couple of hours I cannot get into my ipod at all. 
    Can anyone help. Thank you.

    Hi,
    I tried to log in to iCloud but a message appears telling me I "can't sign in because my account was disabled for security reasons....reset password at iforgot.apple.com". I don't know why this happened.
    I reset both my Apple ID and password.
    When I tap Settings iCloud is listed on the left side between General and Mail, Contacts etc.
    Tapping iCloud brings up a log in screen for iCloud which shows my old Apple ID and requests the password. If I put the password in I get the message as above.
    If I use the new Apple ID/Password I get the message "the maximum number of free accounts have been activated....
    In settings there is no option to "Delete Account"
    Any suggestions??

  • How to delete a master record with transaction data?

    Hi,
        Iam able to delete master record(GL/Vendor/Customer)through OBR2 when there is no transaction data in those respective master records. Despite of clearing all open items in a particular vendor Account, Iam unable to delete that master record. Please suggest me how we can delete vendor master data having transactional data.
                               Thanks in Advance
    Regards,
    Satish

    Hi...
    Not sure whether this helps....you can mark the vendorrecord for deletion and later try to delete it.
    Logistics >> Materials management >> Purchasing >>
    (new menu) Master data >> Vendor >> Central >> Flag for deletion
    try using XK06/FK06
    Assign points if useful
    Regards
    Aravind

  • Indesign server web service - where is the support to upload a file with the script and download the result?

    Hi,
    I am working on a POC that is supposed to convert indd files to pdf (i.e. using of course the indesign server). Basically I want to call the IDS Web Service (located on a different machine perhaps), pass in the input file, the conversion script and retrieve the result as part of the WebService call? 
    Browsing the documentation, examples, etc in the SDK, I couldn't see how the above can be achieved without the client handling the file transfer. Surely I must be missing something ...
    thanks
    Chris

    What do you mean with POC?
    InDesign Server is too precious (i.e. license cost) to waste its time with file transfers.
    For a smaller scale, let a separate process (some http or smb server) on the same server hardware handle the files - so that the InDesign Server can access them on the fastest local volume.
    If you plan for bigger, use a dedicated server for file sharing (your choice of SMB, NFS or whatever), where the input files are prepared by the client process, so that your load balancer can immediately point the next free instance of the InDesign server farm to the file. In that case be prepared for some try and error - high speed file sharing can be tricky with files written from one side not yet visible or incomplete to the other side, locking problems, Unicode file name trouble, unexpected time stamps and so forth.
    Btw, there is also an InDesign Server forum which would be more appropriate for such discussions.
    Dirk

  • Need help with shell scripting and Patching

    Hello all,
    I am a very new Oracle DBA and I just have an interview where i have been ask two questions that i have no idea of what it is
    1/ What is shell scripting and how do you do shell scripting?
    2/ What is Patching and how do you do patching?
    Can some one help to have a very good understanding of these tow questions?
    Thanks a lot

    1/ What is shell scripting and how do you do shell scripting?shell accept command from you (via keyboard) and execute them. But if you use command one by one (sequence of 'n' number of commands) , the you can store this sequence of command to text file and tell the shell to execute this text file instead of entering the commands. This is know as shell script.
    Shell script defined as:
    "Shell Script is series of command written in plain text file. Shell script is just like batch file in MS-DOS
    for example:- for taking backup, health check and doing some task Operating system level or Oracle database level we can create shell script and schedule a cron job
    2/ What is Patching and how do you do patching?for example ,in windows while using sometimes you might face an issue/error and it gives pop up error message would like to send/report this error to microsoft? microsoft will send you a fix for that. lot of fixes for errors/bugs are released as patches.( n number of patches with newer features are releases as new version)
    likewise in oracle for resolving bugs we should have to apply patch.
    patch is basically a fix for a bug/bugs. we need to use opatch utility to apply the paches.
    hope, this helps you

  • What's difference push stream with server script and push with flash media live encoder??

    Hi
    I'm multi point push streaming with adobe flash media server 4
    Stream structure like this
    Open Broadcaster Software (or Flash media live encoder) (RTMP) -> Home Flash media server with multi push script (main.asc)
    -> Stream to 2 justintv channels + 1 dailymotion channel (1024x576 , 1750Kbps)
    no problem at all when streaming to justintv
    but some another stream services have speed problem
    ustream can not push with this method
    and dailymotion, vaughnlive push speed slow down than OBS or FMLE Direct stream
    for example
    when direct streaming with OBS or FMLE (Without home server) , no problem at all stream to dailymotion and vaughnlive
    clearly no lag
    but when push with server script, slow down push speed and unstable (it affect only for dailymotion and vaughnlive streams)
    justintv upload speed same as OBS, FMLE's bitrate but dailymotion, vaughnlive bitrate always slower than justintv or OBS, FMLE
    Like this - justintv , OBS, FMLE (1750Kbps~2000Kbps) but dailymotion, vaughnlive (1600Kbps~1800Kbps)
    I don't understand why have push speed difference between server script push and OBS, FMLE push
    Have any reason? and do not have solution???
    (sorry for my bad english)

    First of all let me clarify that we call multi point publish and it has been explained in detail here
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ffbDev.html
    When you do multi point publish(MPP) you publish from one server to another server, when you use FMLE you do a normal publish of stream(s) from a client/encoder(FMLE in this case) to the Adobe Media server.

  • Dynamic Table control with context nodes and attributes?

    Hi all
    I have node and attributes in context. i want to create table dynamically using this node and attributes, can anyone give code how to do this???
    Thanks
    Madhan.

    Hi
    Go through this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a3de18-ee00-2d10-bfb3-946d7e00fd91?quicklink=index&overridelayout=true].
    Regards
    Arun.P

Maybe you are looking for

  • Updated from 10.4.11 to 10.5.6 and finder keeps crashing

    I just upgraded from tiger to leopard, and I'm having issues with my finder crashing and restarting. The problem happens when I click on folders and links in the finder window. When I click on some folder they open up, and others just give me the spi

  • Is it possible to put a link (hyperlink) on a row in a report!!

    I need to know if it is possible to put a link (hyperlink) on a row in a report via a form or other method. The link will be different for each row. I know you can add a column link but this will be the same link for each row. I also know its possibl

  • Check box before select option in a report program.

    Hi All.. I have a report program with select options..I want to put a checkbox before the select option, aligned with it...Is it possible.. Regards Rudra

  • Will Life of  eMac's CRT be  Shortened if Used at Maximum Brightness?

    I am certain the answer will be "Yes" but I would like to know how much the life-expectancy would be reduced. As a cautious individual I always leave it in the default centre position. Has anyone got statistical data (like that produced for "Expected

  • Pasting tables in from Numbers on Mac

    For about the past six months I have been saving to upgrade my licensed Windows version of Studio MX2004 because Adobe refuse to give me a crossgrade now that I am on Mac. On Windows I could easily copy a selection from an Excel spreadsheet and paste