Send one request many times

Hi Experts
I have scenario where first request should go from XI.means
XI should initiate a request with an XML file to the target system. This request should send 10 times for every 10 min and each time there is field in xml ( COUNTER field) should increase by one. Like if the counter contains value 1 if i am sending request for first time second time it should be 2 like that. But i should not hard code this value any where.
Is it passoible to send one request 10 times with each time increasing the count.
Please suggest me.
Thansk & Regards
Ravi Shankar B

You may create and schedule an ABAP report doing the stuff you want.
1. Create content of XML file
2. read current count value from own z table
3. add 1 to counter
4. store new value in z table
5. handover the stuff to Integratiomn Engine e.g. using sRFC or tRFC
6. PI sends the stuff as XML file
Schedule this report to run every 10 min.
Regards,
Volker

Similar Messages

  • Ipod disabled, changed my password but entered the wrong one too many times!

    ipod disabled, changed my password but entered the wrong one too many times!
    Didnt have a pc with ituens before either but now have one although dont quite know what to do.

    plug your ipod touch into your computer in recovery mode. (see herehttp://support.apple.com/kb/ht1808)
    Reset all data and settings
    dont restore from backup
    sync back content

  • Hi my mom tried my password one to many times and now i am disabled and cant get into my phone at all, it just allows for emergency calls.

    hi anyone to there know how to fix my problem. my mom tried my password one two many times and now my phone is disabled and i cant use it unless its a emergency.

    iOS: Forgot passcode or device disabled
    I hope you back up on a regular basis.

  • Why does my iphone only send one picture multiple times when i select multiple photos to send?

    why does my iphone send one picture multiple times when i select multiple photos to send (via message or email)?

    Are you sending via Camera itself?
    That is, selecting a picture, then select forward link symbol from bottom left
    then select another picture,
    Each time make sure you see the blue check mark at bottom right of each selected picture.
    The number of " # Photos Selected" should be displayed at the top.
    Then select Mail or Message and transmit.

  • I would like to send multiable photos by email ,at the moment i can only send one at a time  thanks

    Hello ,I would like to send multitable photos by Email . at the moment i seem to only be able to send them one at a time  thank you marie

    I do not see an issue here ....just add a submit by email button at the end of each section and enter the email address that you want in each.

  • Referencing one object many times

    Hallo,
    I have an m:n relationship between products and spareparts (both object tables):
    create or replace type sparepart_TY as object(
    sparepartid number,
    designation varchar2(50)
    create or replace type sparepart_NT as table of ref sparepart_TY
    create or replace type product_TY as object(
    productid number,
    designation varchar2(50),
    spareList sparepart_NT
    create table spareparts of sparepart_TY
    create table products of product_TY
    nested table spareList store as spareList_NT_TAB
    This way I can reference many spare parts to one product.
    But how can I show, that one product has the same spare part several times?

    As Chris suggests, you can
    reference several times the same instance:
    insert into spareparts values (101, 'SP 1');
    insert into spareparts values (102, 'SP 2');
    insert into products values (
      '1', 'P 1',
      sparepart_NT (
        (select ref (sp) from spareparts sp where sparepartid = 101),
        (select ref (sp) from spareparts sp where sparepartid = 102),
        (select ref (sp) from spareparts sp where sparepartid = 102)
    );or redefine the type "sparepart_nt" to contain, in addition to the ref, a new attribute "quantity":
    create or replace type sparepart_ref_qty_TY as object (
      sparepartref ref sparepart_TY,
      quantity number (2)
    create or replace type sparepart_NT2 as table of sparepart_ref_qty_TY
    create or replace type product_TY2 as object (
      productid number,
      designation varchar2(50),
      spareList sparepart_NT2
    create table products2 of product_TY2
      nested table spareList store as spareList_NT_TAB2
    insert into products2 values (
      '1', 'P 1',
      sparepart_NT2 (
        (sparepart_ref_qty_TY ((select ref (sp) from spareparts sp where sparepartid = 101), 1)),
        (sparepart_ref_qty_TY ((select ref (sp) from spareparts sp where sparepartid = 102), 2))
    );But, I don't like REF's and object tables.
    First, REF can't replace good old foreign keys. After:
    delete spareparts;
    we have "dangling REF's" in products (in nested table spareList).
    C.J.Date in "An introduction to Database Systems" (eighth edition, 2004, chapter 26)
    says that using REF's in relational databases we make "The Second Great Blunder":
    - "The blunder consists of mixing pointers and relations"
    - "The Second Great Blunder undermines the conceptual integrity of the relational model in numerous ways"...
    "The First Great Blunder" is to equate object classes and relational variables,
    simply speaking - to have object tables (tables in which each row represents an object).
    Without "The First Great Blunder" (object tables) we can't make "The Second Great Blunder" (using REF's),
    but we can have object tables without REF's.
    The "proper way" (in Date's sense) of how to use "object-relational" features is - to use object type as domain.
    Regards,
    Zlatko

  • One Mapping Many Times

    Hi,
    I have a situation where I have a simple mapping that needs to be run for many tables. All input and output tables have identical structure, and the internal mapping operations are constant for all invocations of this mapping. So, I need to drive a single mapping with runtime assignment of the input and output bound table names.
    Incidentally, I have an indexed table with all fifty-odd input/output table names available. The mapping needs to run sequentially, so conceptually I need to loop through the indexed table, exeuting the mapping once per row.
    Any ideas?
    Regards,
    Donna.

    I think that was clear from your initial question..., the point we were making is that you cannot parameterize the mapping in the way you want.
    The reason is that we would have to generate Dynamic SQL to allow the same code to handle different sources and targets (even if they are exactly the same).
    The reason for that is that you have to re-compile the code to handle the new table names...
    So the thing to do is fix your bound table names, then change the database implementation of the object you bind to. In other words you have a bound object called DONNA_SRC and DONNA_TGT, this is a synonym pointing to SRC1 and TGT1.
    You execute mapping first time, reading/writing SRC1 and TGT1, then in post mapping process you register this as success in you table.
    Run mapping again, in pre mapping read from table the next table names. In this proc change the synonyms, run mapping etc.
    YOu keep on going. To run in batch there are various possibilities, either process flow (contains the map 50 times or so), or in a pl/sql program, that loops through the table and drives it off of that. Same basic principle.
    Jean-Pierre

  • Mail sending, picking up many times (but not really)

    We are a school running about 100 Macbook Pro laptops running OS 10.7.5.  For a couple of our users we've had the experience that their Mail program seems to go a little bit crazy and makes a whole bunch of picking up (bong) and sending (whoosh) sounds when they haven't chosen to send anything.  Looking in the in and out boxes shows that nothing has been sent or picked up.  Quitting Mail and reopening it stops the flow of sounds.  The laptops have checked out as virus-free with Sophos. It's disconcerting because we have been seeing an increase in spam recently, and specifically with spam claiming to be sent by these two users and received by others staff in our school, but again, nothing in the user's out box.
    The many sounds problem has also been reported in the OS 10.6 thread at https://discussions.apple.com/thread/3708338?start=60&tstart=0 under the title "I sometimes get the sound of outgoing mail when nothing was sent".  I've read the entirety of that thread but the solutions mentioned don't work / apply here.
    Has anyone else found a cause for this?

    Greetings,
    Try selecting the message and Cut it (Command-X) and that should get rid of it. Then select each mailbox individually and choose Mailbox > Rebuild. After all those are done, quit Mail and restart it to see whether or not the message comes back.

  • How to link a fact table to one dimension many times

    I have fact table which contains four date fields and I want to connect all of them to the Time dimension. I think I probably must split this fact table to multiple tables and then link them to dimensions. What is the right way to solve this kind of problem?
    Example: Fact table: TimeIn, TimOut, TimeStart, TimeStop, InPlace, OutPlace, StartPlace, StopPlace, Speed, Weight, Width, Height .....
    Thank you

    Hello Kostis,
    thank you for your answer. I don't fully understand you. Can you show me short example, please? I create alias table for time dimension on Physical Layer - original table is TimeDayDim and I create aliases TimeDayDim1, TimeDayDim2, TimeDayDim3, TimeDayDim4. Then I create foreign key Fact.Time1 -> TimeDayDim1, Fact.Time2 -> TimeDayDim2, Fact.Time3 -> TimeDayDim3, Fact.Time4 -> TimeDayDim4. And what now? Must I create these table api Bussines Model and create new time dimensions at bussiness model????
    I need in Answers ONE Time dimension. I think I must split my fact table to four tables ... (time1, place1 ...) (time2, place2 ...) (time3 place3...) (time4 place4...) then link those tables to Time dimension (but I dont know where I can split those tables - on Physical Layer or on Bussines Layer).
    I suppose that I will have in Answers one time dimension and four facts tables and I will be able to query them. (for example: Time.Days, Fact1.Place1, Fact3.Speed, Fact4.Count Criteria: Time.Year = 2008)
    Best Regards Vlada

  • Repeat one recordset many times

    I have a recordset that will always return 1 record with anywhere from 1 to 16 tbl.Fields, which is where my problem starts. Since I can't use repeat region I need to get this recordset to repeat multiple times depending on the  session variable (Session("Times").
    (<% Session("Times") = Session("Quantity") / Session("Fields") %>
    My question is, is there any way to repeat this recordset so it will be displayed on a page equall to Session("Times")  ?
    Example: Session("Quantity") could = 900  and Session("Fields") could  = 3 so I would like this recordset repeated 300 times
    Another one: Session("Quantity") could = 500  and Session("Fields") could  = 10 so I would like this recordset repeated 50 times
    The returned (repeated) data would have 3 fields displayed 300 times
    Or 10 fields displayed 50 times
    Thanks

    On the page I got
    Message1line1
    Message1line2
    Message1line3
    Message1line1
    etc for 51 loops but for only one message.
    So then I divided 51 by the number (x) of records (from another recordset rsNumberOfMessages_total) I now get
    Message1line1
    Message1line2
    Message1line3
    Message1line1
    Message1line2
    Message1line3
    Message1line1
    Message1line2
    Message1line3
    Message1line1
    X amount of times (equal to the others) then
    Message2line1
    Message2line2
    Message2line3
    X amount of times (equal to the others) then
    Message3line1
    Message3line2
    Message3line3
    X amount of times (equal to the others)
    Here's the code area.
    <% Session("Times") = 51 / Session("NumbOfMessages") %>
    <%
    While ((Repeat1__numRows <> 0) AND (NOT rsMessages.EOF))
    %>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" id="message">
    <%
    i=0
    Do Until i>= Session("Times")  ' returns an equal amount of messages before it displays the next message, etc... 
    i=i+1  
    %>
    <tr>
        <td width="225" align="center" valign="top" nowrap> <font size="<%=Session("Pitch")%>" face="<%= Session("FontName")%>">
         <br>
    <%=(rsMessages.Fields.Item("IC_Line1").Value)%><br>       
            <%=(rsMessages.Fields.Item("IC_Line2").Value)%><br>
            <%=(rsMessages.Fields.Item("IC_Line3").Value)%><br></font> </td>
      </tr>
      <tr>
        <td width="225" align="center" valign="top" nowrap> </td>
      </tr>
      <% Loop %>
    </table>
    <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsMessages.MoveNext()
      Wend
      %>
    I haven't worked with nested loops, if that is looping outside of the repeat regin, I tried that orginally and it returned nothing.
    Thanks for helping me with this hair puller...

  • How to use one ResultSet many times in a jsp page ?

    Hi all,
    I have .jsp page and I have used it to get data from DB and display them to users. So I have to get data from DB in number of places in this particular jsp.
    I thought that it is better to have one ResultSet for entire page and once it is done its job, the ResultSet will be closed and I can use it again and again like this.
    Resultset rs = new ResultSet();
    try{
        //My operations
    }catch(Exception ex){
       //Handle Exceptions
    }finally{
       rs.close();
    }After above code snippet I can use same ResultSet again below the page.
    I just want to know this,
    1. is this a good coding practice?
    2. Should i put rs = null; within finally clause?
    any help will be appreciated
    thank in advance,
    Dilan.

    Ok, Finally I switched my coding to use DAO and DTO, and I learned it through internet.
    I removed all of data access codes from my jsp file(lets say 'functions.jsp'). I then created one interface and two clasess.
    here is my DAO interface.
    public interface UserFunctionsDAO{
        public List<UserFunctionsDTO> selectUserList();
    }here is DTO class
    public class UserFunctionsDTO{
        private String category = "";
        private String sub_category = "";
        private int cat_id = 0;
        private int sub_cat_id = 0;
        public UserFunctionsDTO(){}
        public UserFunctionsDTO(String category, String sub_category, int cat_id, int sub_cat_id){
            this.category = category;
            this.sub_category = sub_category;
            this.cat_id = cat_id;
            this.sub_cat_id = sub_cat_id;
        //Setters and getters will go here.
    }my concrete data access class is like this.
    public class UserFunctionsDataAccess implements UserFunctionsDAO{
        MyDB dbObject = null;
       private static final String SQL_GET_DISTINCT_CAT= "SELECT DISTINCT cat FROM cat_table";
       public List<UserFunctionsDTO> selectUserList(){
           dbObject = new MyDB();
           dbObject.sqlSelect(SQL_GET_DISTINCT_CAT);
           ResultSet rs = dbObject.getResultSet();
           ArrayList list = new ArrayList();
           while(rs.next()){
               list.add(new UserFunctionsDTO(rs.getString('category'), .......................));
           return list;     
    }I think now im following good coding practices, but I have one problem.
    1. How do I retrieve this userlist from my jsp page?
    2. Should I include UserFunctionsDTO in my jsp page as a bean?
    3. If I include it, how can I get the list from it?
    thanks in advance,
    Dilan.

  • HT1212 my daughter has a brand new ipod touch - never used - she entered a passcode then immediately forgot it and now she has tried to enter one too many times and ipod is locked for 1 hour - she has never synced with itunes HELP

    my daughter has a brand new ipod touch - latest one - she started to input a passcode then didn't finish the process then turned off ipod. she turned it back on and it is asking for a passcode - she doesn't remember what she typed. Ipod is now disabled for one hour. Can we override the disable. How do we reset passcode when we don't klnow the original. It has never been synced to Itunes. I am completely lost.

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup. If you do not have a
              backup to restore, then restore as New.

  • HT201210 my iPhone requested many time to restore and still hanged!! I restored it 8 times in two days but no use

    I just can't fix my iPhone4, it requests restore more than 8 times

    Turn your phone off and connect your cable to the computer, but not the device just yet. Start up iTunes. Now, hold down the home button on your phone and plug it in to the cable - don't let go of the button until iTunes tells you it's detected a phone in recovery mode. Now you can restore to factory settings.

  • Address label - one address many times

    i want to print a sheet of avery 5160 label paper with the same address on every label. can address book do this?

    Avery's free program does a very nice and easy job of dealing with this type of project:
    http://www.avery.com/avery/en_us/Templates-%26-Software/Software/Avery-DesignPro -for-Mac.htm
    You can Mail Merge with Apple's Address Book or build a single label manually, and customize the templates with your own artwork. - Tested with OS 10.6.2

  • ExecutorService creating tasks to send HTTP requests - time out

    In my java application, I have introduced ExecutorService to create tasks. The tasks consist of sending HTTP requests to an application server, to process transactions. The ExecutorService will process about 1000 requests.
    The executor process the transactions and terminates OK, but some of the transactions timed out (before introducing ExecutorService, I was just sending one transaction at time, all the transactions were processed OK; but, it was taking a long time to process).
    See the code below.
    private ExecutorService threadExecutor;
    threadExecutor = Executors.newFixedThreadPool(30);
    threadExecutor.execute(transaction);
    try
         //Shutting down the ThreadExecutor
    threadExecutor.shutdown();
    threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
    threadExecutor.shutdownNow();
    catch (InterruptedException e)
         System.out.println("ERROR - cannot shutdown the ThreadExecutor - exception is: " + e);
    Is this the best way to implement this use case?
    Thank you.

    From the above code, it seems like you are starting only a single transaction in a thread pool. Or does the transaction object you pass to the threadExecutor spawn more tasks for the executor?
    If you are indeed still making all HTTP requests from the single transaction object, then yes, it will 'time-out' after 30 seconds, since the ExecutorService was instructed to stop its threads after that period of time.
    Your description of the use case is actually a good example of the usage of an ExecutorService, since it is faster to do 1000 HTTP requests in parallel than it is to do them sequentially.
    Consider this:
    ExecutorService threadExecutor = Executors.newFixedThreadPool(30);
    for (int i = 0; i < 1000; i++)
      threadExecutor.execute(new Transaction());
    try
      threadExecutor.shutdown();
      threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
      threadExecutor.shutdownNow();
    catch (InterruptedException e)
      // Ignore
    }This will spawn 1000 transactions that will execute in parallel, with max. 30 running at any single point in time. Any transactions still not executed after 30 seconds will be terminated.
    Hope this helps.
    --JH
    Edited by: Kramor_dude on Nov 5, 2009 6:55 AM

Maybe you are looking for

  • Some apps no longer sync to phone but appear on iTunes

    I recently did a reinstall of windows on my laptop. After reinstalling apps and such, I noticed that not all of my apps synced back onto the phone. I checked every box and they show up on the right side where I can drag them from page to page, but th

  • Iwork and Mobile me

    Does anyone know why i cannot upload a document from pages onto my idisk in mobile me?

  • Will Flash CS5 make a flow chart of my AS2 app?

    Hi - This is really a question about whether or not Flash CS5 has a feature that would make my current task easier. I built a Flash8/AS2 application a few years ago that had quite a complex structure for a novice like me.  The app starts with a Splas

  • Captivate 6 Not Updating Publishing Title

    Captivate 6 is not updating the title when publishing.  It IS updating the publishing location. I've tried doing "Save As" in a totally different folder, and it's still remembering the publish title from the original CPTX file that i copied. I've als

  • Operators as variables?

    Hello everyone, I'm attempting to find an answer to whether there is a way for me to use a variable as an operator in an IF statement. Specifically, I have a combobox which I created that looks like this:      static String[] searchOperatorStrings =