Running Ecatt script multiple times

I have created a ecatt script for ME21N. I need the script to run multiple times.So,i have used Do Enddo statement and put the number of times to be executed.
The script is running fine for the first time. then its not running. From the second time,its putting blank values into the fields and not saving the data.
How can i run the script multiple times.
Thanks,
Aparna.

Hello,
When you run the script multiple time then you will have to pass different values to the fields so that every time the script is run with new set of values and the data is created.
So in the script you will have to parameterize the fields and then handle the position of the fields so that when the script is run for the first loop counter the data is maintained in the first line of the transaction(for example) and the increament the counter for the second run so that the control moves to the second line for the second execution similarly for the multiple runs.
Alternatively parameterize the fields with the table containing so many entries as the number of times you want to run the script and for each execution one set of entry from the table is picked and used in the execution for the next run the second set of values is used and so and so forth.
Hope it answers your question.
Thanks and Best regards,
Ajay

Similar Messages

  • Issue in running eCATT Scripts  - Help required very urgently

    Dear All,
    We are running the eCATT scripts from Solman 7.0 by connecting it to ERP system R/3 4.6C. While running the scripts, we are facing some issue.
    1. If we try to run the scripts then those are getting failed. The same scripts if we run after some time with out changing any code then those are running fine.
    We are frequently facing this probelm.
    Could you please let me know the solution. Your help is really appreciated.
    Thanks,
    Mahendra
    Moderator Message: Urgently word is not allowed in this forum. Open a new thread without the "priority" word.
    Edited by: kishan P on Sep 6, 2010 11:18 AM
    Edited by: kishan P on Sep 6, 2010 11:21 AM

    Dear Ananth,
    Scripting is getting failed at different lines of code at different runs.
    Thanks,
    Mahendra

  • How to run a webdynpro multiple times by passing different parameters each time and save webpages with parameter name?

    Hi Experts,
    I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
    Let me step back and explain my requirement:
    In BW we have an object called transformation.
    One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
    I need these web pages for all transformations. This is my requirment.
    I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
    The web link is something like below:
    http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
    When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
    My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
    WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
    Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
    Thanks,
    Raghu

    hello,
    might be a problem with the version you are using.
    regards,
    the oracle reports team

  • Is it possible to run a script each time a .CSV file is updated?

    I am having trouble with a script I am trying to write, which is made up of two parts:
    A .CSV file generated by PHP/MySQL whenever an RSS feed is updated. The contents of the .CSV are overwritten each time the PHP runs.
    A DataMerge script, written in JavaScript.
    What I would like to do is run the DataMerge script each time the .CSV file is updated. Is this possible, perhaps using an Event Listener within the PHP to trigger the DataMerge script? Or am I approaching this in the wrong way? I'm grateful for any thoughts you might have. Thanks, F.H.

    I would use Rorohiko's APID ToolKit: http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item-developer/
    It has fileChanged event that is sent after the observed external file has changed.
    sorry guys for "labouring the point", but I'm working on very advanced project - and I need to know what my tool can or can't do
    and in this case - using APID will break point 2.3 of EULA, right ? interaction with external datasource - without user action ?
    robin
    www.adobescripts.co.uk

  • Run same vi multiple times simultaneously

    Hi,
    First post here on the forums and I was curious if someone could help me out with a problem I have been searching on for a while now.
    I'm making a project for calculating GPS location based on an incoming signal. This signal is analyzed to see which satellites are in view. Now for every satellite in view the signal should be analyzed further with different parameters. I have a subVI for this, which takes these parameters and calculates the data the satellite has sent. For one satellite this works. I have to do this for every satellite in view though, and calculation time is very much a concern. This is why I would like to let the subVI run simultaneously for the different satellites. Also, this subVI has a feedback node in it, as it uses data from the previous analysis of the signal for that same satellite. Every time the subVI is called for this satellite it needs to take the correct parameters from the previous analysis of this satellite.
    I have been trying to make this work, but didn't have any success yet. How can I make the subVI's run simultaneously, though without interferring with eachothers data and eachothers feedback nodes?
    Any ideas or help are very much appreciated.
    Tim

    I would like to call all the subVIs (VI1) (all identical) that handle a signal from one satellite from one VI (VI2). This VI2 provides every copy of VI1 with the correct parameters for a certain satellite. VI2 is called in a loop in the main VI (VI3). So: VI3 provides a part (a certain amount of samples) of the main signal to VI2, VI2 sends that signal to different copies of VI1 together with some parameters, VI1 calculates one bit of data from the signal for one specific satellite (satellite number and other properties are in the parameters sent by VI2). VI2 takes all the bits from the different copies of VI2 and puts them in an array. It then sends this array to VI1. This array represents all the bits sent on one specific moment for all the satellites that were treated. The loop in VI1 makes sure this whole process is called for every new amount of samples collected.
    I hope my explanation is clear enough for you to help me find a solution.

  • [2197] Run as script losing time part of date columns.

    Date columns are being displayed in script output as xxxxx 00:00:00 regardless of the actual time element.
    This code -
    select sysdate from dual;
    insert into xx(aa) values (to_date('30-nov-2006 13:14:00','dd-mon-yyyy hh24:mi:ss'));
    select * from xx;produces this output
    SYSDATE
    30-nov-2006 00:00:00
    1 rows selected
    1 rows inserted
    AA                        AB
    30-nov-2006 00:00:00
    1 rows selectedI have nls_date_format set to 'dd-mon-yyyy hh24:mi:ss' in preferences and the dates are displayed properly in the results pane.
    Message was edited by:
    smitjb

    Verified. Thanks, I have logged a bug.
    Sue

  • Long running report submitted multiple times in FMW 11.1.1.2.0

    Hi,
    We have migrated from App Server 10 to 11g (FMW).
    We have a number of reports that take > 5 minutes to run.
    We noticed that when a report takes > 5 minutes to run the reports server submits a duplicate of the job (i.e. we end up with two jobs running).
    We noticed that when a report takes > 10 minutes to run the reports server submits a second duplicate of the job.
    We noticed that when a report takes > 15 minutes to run the reports server submits a third duplicate of the job.
    In 10g only one job was submitted, irrespective of execution time.
    Can anyone tell me if this is expected behaviour in 11g? Is it possible to disable?
    Thks,
    John

    Hi Denis,
    i can't found the note your provide. I Think we have a similar problem.
    please - can you check the node id or can you provide a url ?
    uli

  • ITunes running set up multiple times

    Hi,
    Does anyone know why iTunes would run through set up without a downloaded update? My iTunes runs though the set up process many, many times. Since I've been keeping track of the set ups, it has run 11 times with only one of those times being with a downloaded update.
    I've saved the dates:
    10/26/10, 11/23/10, 1/5, 1/20, 1/29, 2/3 w/downloaded update, 2/4, 2/9, 2/10, 2/18, 2/23.
    It's starting to get annoying. Anyone know what's going on or have similar problems?
    Thanks,
    Fritz

    I have the same problem when syncing to my Android phone and my iphone. Firefox keeps saying it's the wrong password even on the phones I'm trying to sync with.

  • Not able to run Ecatt  script

    Hi,
    I have recorded ME21N(steps--> on initial screen press "Document Overview On" button and select purchase requisition option, find a PR and then select 0010 line item from the display list).
    Recording is done, but problem is when i run this recording, it gives error --> "Control data is obsolete, rerecord (VERBS-NAME: CREATEOBJECT CATT: GETGUISERVICES Callno: 000058"
    <removed by moderator>
    Best Regards
    Munish Garg
    Edited by: Thomas Zloch on Feb 27, 2012

    Thank you very much for suggestions :>
    Thanks in advance for any suggestions
    You can only use certain extensions with scripts.  PS1, PSD1, PSM1.  You cannot use PSL or any other odd extension.
    Good luck.
    ¯\_(ツ)_/¯

  • Run a query multiple times in the same report for different nodes in Hier

    Hi,
    I have created a query as per my requirements. But my issue is I need to run the report for all the profit centers in a hierarchy. Right now I enter a node value of the hierarchy in the variable and I get the result. But I want to run it for each node in the hierarchy and display the result in the same report.Is it possible to do so in web using information broadcaster or any BI 7.0 tools. Has anyone done similar to this in web. I would prefer the web route rather than the excel but if excel is the only answer I will follow the excel path.
    Looking forward to your suggestions on this.
    Thanks,
    Kal

    Hello Kal,
    if the number of Profit Centers is limited, you could probably work with query views (one for each PC) and include all these into your Web Template.
    If this is not appropriate, I don´t know if there is any way of programming possible.
    Regards
    Cornelia

  • Can we run export_monitor.sh multiple times?

    Hi!
    We use export_monitor.sh  to export a DB.
    It processed many packages and finished, but several packages have "export package: ERROR".
    If I do some change in the DDLORA.TPL,  may I run export_monitor.sh again?
    I hope it will ONLY processs those ERROR packages.
    Thanks!

    > If I do some change in the DDLORA.TPL,  may I run export_monitor.sh again?
    > I hope it will ONLY processs those ERROR packages.
    Yes.
    Markus

  • Migrating Public Folders from 2003 to 2010 using Movereplicas script (Multiple runs?)

    If you run the movereplicas script and an issue occurs that interrupts the migration, is there any harm in running the script multiple times until the replicas all appear to be moved?

    There is not.  I have run it multiple times to make sure that everything comes over.  I usually wait until the following day but sometimes I migrate PFs and I have one or two that do not come over so I run it again.
    Jason Apt, Microsoft Certified Master | Exchange 2010
    My Blog

  • I recently tried to update iTunes to 11.1, and am now getting an error message "This application has failed to start because MSVCR80.d11 was not found."  I have uninstalled and reinstalled iTunes multiple times.  Am running Windows XP Svc Pack 3.  help

    I recently tried to update iTunes to 11.1, and am now getting an error message "This application has failed to start because MSVCR80.dll was not found.  Reinstalling the application may fix this problem."  I have uninstalled and reinstalled iTunes several times with no success.  I am running Windows XP Svc Pack 3.  Help please.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99753)

  • How to run the same SSRS report multiple times, each time with a different parameter value?

    Hi,
    I have an SSRS report that produces a list of invoices for a single supplier (so supplier is a parameter specified at runtime). The report is based on a stored procedure in SQL. I would like to make things easier and instead of going through all suppliers
    one by one, I want to have a single action, which produces separate reports, per supplier, for all suppliers that have an outstanding invoice (so not all suppliers on the system as a whole but all suppliers that are within the result set of the stored procedure).
    I assume this would mean first executing the stored procedure to find all suppliers that have invoices at the time. And then running the report multiple times, once for each supplier, where the supplier value is used as the parameter every time. ideally
    this would open separate webpages with a single report per page. (I am creating a button in another software, which is simply launching iexplore.exe and passing a
    fixed SSRS report URL).
    What would be required? I have SQL 2012 and I am building this in Report Builder 3.0.
    Thank you!
    Dimitar
    P.S. What about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?

    What
    about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?
    Yes thats a much better option. Its very easy to generate such a report in SSRS. You dont need a parameter
    in that case but just needs to add Supplier as a grouping field in the tablix. Then add other columns and groups if required. Select option set page break after each instance of the group for first grouping (ie based on supplier field). Then report will render
    with one page per supplier. On exporting to excel also each supplier data goes to a different tab
    Here's a similar requirement I did for one of my projects
    http://visakhm.blogspot.in/2013/10/using-ssrs-to-export-sqlserver-data-to.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Applescript: How to run a script once upon logon for multiple users

    I'm deploying a NetRestore image to about 150 Macs which will be using Active Directory and I've designed a custom default user for each new user. However, our system requires a specialized certificate that has to be installed on the local login.keychain for each user otherwise network connectivity is impacted.
    I've tried to use the security command through Terminal to install the certificate, but no matter what combination of commands, I cannot seem to get that to work properly even with an already-created user. While it will often say it's installed, the cert will not actually show up in the login keychain in Keychain Access. And the network connectivity is still impacted.
    So instead, I created a brief AppleScript that just gives the user brief instructions to click "Add" on the prompt for which Keychain to add the cert and then "Always Trust" for the "This cert is not verified" prompt. Then it launches Keychain Access. Originally, I was going to have it actually click the buttons for the user, but I realized trying to get the whole Accessibility apps and assitive devices to work on every new user would be a nightmare.
    I created the script on another 10.9 Mac using Automator to make it an actual application. I've used the instructions in OS X: Using AppleScript with Accessibility and Security features in Mavericks to sign it and I'm using root to move it from its network location into the Applications folder. I've adjusted the permissions to allow all Admin users to r/w (along with everyone else). To the root user, it shows as a usable application, but every other user on the Mac sees it as damaged/incomplete.
    What I want to do is add it to the default Login Items, so I can run the final AppleScript command to simply remove the login items listing. That way I don't need to worry about it running again, but it's still available for the next user to sign onto the deployed Mac.
    I know it's a little convoluted, but this is the final piece to the NetRestore deployment I've been working on for months. Any suggestions on how to make this work (or even a completely different solution) would be greatly appreciated.
    Here was the original shell script in case you're curious.
    #!/bin/bash
    ## Prompt for current user admin for use in Certificate Install
    while :; do # Loop until valid input is entered or Cancel is pressed.
        localpass=$(osascript -e 'Tell application "System Events" to display dialog "Enter your password for Lync Setup:" default answer "" with hidden answer' -e 'text returned of result' 2>/dev/null)
        if (( $? )); then exit 1; fi  # Abort, if user pressed Cancel.
        localpass=$(echo -n "$localpass" | sed 's/^ *//' | sed 's/ *$//')  # Trim leading and trailing whitespace.
        if [[ -z "$localpass" ]]; then
            # The user left the password field blank.
            osascript -e 'Tell application "System Events" to display alert "You must enter the local user password; please try again." as warning' >/dev/null
            # Continue loop to prompt again.
        else
            # Valid input: exit loop and continue.
            break
        fi
    done
    echo $localpass | sudo security import /'StartupFiles'/bn-virtual.crt ~/Library/Keychain/login.keychain
    osascript -e 'tell Application "System Events" to delete every login item whose name is "LyncCert"
    And this is the AppleScript itself. (I used the \ to make it easier to read. The first line is actually one complete command)
    display dialog "Click OK to start installing Mac Network Certificate." & return & return & \
    "In the following prompts, click the 'Add' then 'Always Trust'." & return & return & \
    After you have clicked 'Always Trust', quit Keychain Access." default button 1 with title \
    "Mac Network Certificate Install"
    activate application "Keychain Access"
    tell application "Finder" to open POSIX file "/StartupFiles/bn-virtualcar.crt"
    tell application "System Events" to delete login item "Lync-AppleScript"
    end
    Thank you for your help!

    I have run into this same issue. Are you trying to run the script one time as a new  user logs in or everytime a user logs in?

Maybe you are looking for

  • My iTunes has been disabled how can i get it back?

    Please tell me how to enable it again i need it badly!!

  • How  to compare previouse value in pl/sql array

    DECLARE CURSOR stg_raw_cur IS SELECT RAW_STG_ID, DEVICE_CD, MODEL_VERSION, PLATFORM_CD, PROFILE_COOKIE, LOCATION_CD, SAMPLE_RATE, EVENT_TYPE_CD, to_char(to_date(to_date(substr(EVENT_DATE_TIME,1,8),'yyyymmdd')-1 || 'T' || substr(EVENT_DATE_TIME,10,8)

  • Copying from sales document type QTH to HU is not supported

    guys i was trying to create a contract based on a quotation created by me  here QTH is my quotation type and HU is my contract type the error i encountered was thiss. Copying from sales document type QTH to HU is not supported .

  • Email Via website

    i have set up my yahoo email no problems on the E75 - i am now trying to set up my works email on it. The company i work for sent me the following information: Currently your XXXXX email account is not set up as a standard pop/smtp account so you won

  • Form inside lightbox cursor problem in Adobe Muse

    So. When I put form inside lightbox and trying to clicking on the fields - they doesn't work, cursor doesn't appears. But works when click on label. See pictures below. Any advices?