Execute more than 1 function from process code IDOC

Hello,
Is it possible to execute more than 1 function via process code of an IDOC?
I am talking about inbound IDOC.
Sara

Hi Sara,
What is the exact requirement.
Regards,
Madhu.

Similar Messages

  • Performance... Why a function column in a view is executed more than once...?

    Why a function column created inside a view is executed more than once when called more than once?
    EXAMPLE:
    create or replace view aux1 as
    date_column,
    any_function(date_column) column1
    from any_table
    create or replace view aux2 as
    column1 c1,
    column1 c2,
    column1 c3
    from aux1
    select * from aux2
    It will execute 3 times the function any_function... logically the value will be the same for all columns...
    I understand why!... are 3 calls... but...
    Why not to create a "small" verification and if the function column was execute replace the second, the third... value? ... instead of execute 3, 4... times...
    tks
    Braga

    Actually, this is more than a performance issue. This is a consistency problem. If the function is NOT deterministic then you may get different values for each call which is clearly not consistent with selecting 3 copies of the same column from a row. Oracle appears to have fixed this in 9i...
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              93           74
    Connected to:
    Oracle9i Enterprise Edition Release 9.0.1.3.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.3.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              78           78Richard

  • How to prevent executing more than one client from a machine?

    Hi all,
    Currently I am doing a client server project in java. The client is java swing. There is a requirement to prevent executing more than one client from a machine.
    Now I am relying on socket for this. I listen to a port, say 15000 and when the second session is started it would give an exception at the socket. I know that this a trivial method. Can anybody please suggest a better method. Also is it possible to bring focus to already executing client, if the user tries to execute the client program again in the same machine?
    An early answer to this question is highly appreaciated.
    Thanks in advance
    SSM

    Thanks for the suggestion, but I dont think we can use socket for this. And again if we use file for the same as you described, I think it would sometime create a some serious side effects. Suppose after one client session is invoked, the power goes off. In this case the client shut down is not in the normal sequence and hence we cannot remove the file programaticaly. This creates big problem when the user tries to run client again.
    I am really interested to know, is there any standard way in java which can be used to achieve this. Also is it possible to give focus to already executing client program if the user tries to invoke the client again.
    Thanks
    SSM

  • Prepared statement st in servlet - not executing more than once!

    Hi,
    my problem is that the following piece of code in a servlet does not get executed more than once:
    myQuery = "DELETE FROM MREMINDERS WHERE username=? AND reminders=?";
    PreparedStatement st = conn.prepareStatement(myQuery);
    st.setString(1,usern);
    st.setString(2,oldRem);
    st.executeUpdate();
    st.close();
    The above code is called in a servlet to delete fields from a table. I call this code in a for loop from another method in the servlet. It executes the first time in the loop, but the second time onwards it throws an error!!! please let me know how to solve this ASAP since i am at the point of frustration now!!!
    thanx...

    Hi,
    sorry... i got it fixed!!!! :-)
    i was closing a JDBC connection which was generating that error!!
    thanx again..

  • Execute more than one times external command of OS Windows NT

    Hi all,
            I have to execute more than one times from an ABAP program an exernal command of Operating system windows NT . In order to reach this goal I found the standard program RSBDCOS0 and it works very well if you execute it one time.  Unfortunately I have to execute this external command more than one times. Is there any soluiton?
    thank to all
                        Gino Bonfiglioli

    Well why are you using this report RSBDCOS0 to execute external commands?
    Because SAP provides certain function modules that can be used to call operating system commands; so you can use these functions to do your task.
    Just check the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0971e1543b11d1898e0000e8322d00/frameset.htm
    As you mentioned that you need to execute multiple times, you can easily put the call to function module inside a loop or do/enddo structure. for example consider the following
    do 3 times.
    call function 'SXPG_COMMAND_EXECUTE'                           
          exporting                                                 
               commandname                   = 'Put operating system command here'          
               additional_parameters         = full_filename        
               targetsystem                  = targtsys  
               stdout                        = 'X'                  
               stderr                        = 'X'                  
               terminationwait               = 'X'                  
          importing                                                 
               status                        = sxpg_status          
               exitcode                      = sxpg_exitcode        
          tables                                                    
               exec_protocol                 = sxpg_results         
          exceptions                                                
               no_permission                 = 1                    
               command_not_found             = 2                    
               parameters_too_long           = 3                    
               security_risk                 = 4                    
               wrong_check_call_interface    = 5                    
               program_start_error           = 6                    
               program_termination_error     = 7                    
               x_error                       = 8                    
               parameter_expected            = 9                    
               too_many_parameters           = 10                   
               illegal_command               = 11                   
               wrong_asynchronous_parameters = 12                   
               cant_enq_tbtco_entry          = 13                   
               jobcount_generation_error     = 14                   
               others                        = 15.                  
    write the results
    loop at sxpg_results.
    write:/ sxpg_results-length,
             sxpg_results-message.
    endloop.
    refresh sxpg_results.
    enddo.

  • Executing more than one procedures at a time

    Hi,
    Can any one tell how to execute more than one procedure at a time..
    I am trying to run like this..but its throwing an error...can anyone please suggest?
    CREATE OR REPLACE PROCEDURE HYSXM.QA_AUTO_RETURN_FINAL IS
    i EVENTS_TEST_DATA%ROWTYPE;
    BEGIN
    DELETE FROM TEST_EVENTS;
    COMMIT;
    for i in ( SELECT RADIO_ID,EVENT_TYPE FROM EVENTS_TEST_DATA )
    LOOP
    QA_AUTO_INSTALL(i.radio_id,i.event_type);
    QA_AUTO_RESOLD(i.radio_id,i.event_type);
    QA_AUTO_RETURN(i.radio_id,i.event_type);
    END LOOP;
    END QA_AUTO_RETURN_FINAL;
    /

    what error message is being returned??

  • Business rules in 11.1.1.3 execute more than once

    My client has the situation where certain business rules (launched from the Planning BR interface) will execute more than once, sometimes twice or even three times. It seems that the rule will start to execute and then after 1 or two minutes, will launch again. the job console will show the information.

    This is a known issue and has to do with the http timeout settings. Usually this will happen on the 5 minute limit, but it depends what setting they have.
    Take a look at this article and see if it applies:
    Business Rules That Take More Than Five Minutes to Execute Are Re-launched Repeatedly [ID 755406.1]
    Agnete
    Edited by: Agnete on Oct 22, 2012 12:51 PM

  • How to execute a packaged function from within DML

    Hi
    can someone explain in how many ways can we execute a packaged function from within a DML statement.
    examples will help.
    Thanks

    Hi,
    There's no difference between using functions in DML and using functions in any other SQL statement. Almost any place where a literal is allowed, you can have any kind of expression, including a an expression involving one or more functions.
    For example, in
    UPDATE  table_x
    SET     column_a = 0
    WHERE   column_b > SYSDATE;You could use functions instead of 0, column_b, or SYSDATE. (Actually, SYSDATE is a function.) You can not use functions instead of table_x or column_a (since it is to the left of the "=" sign).

  • Execute more than one thing at the same time.

    Hey why every time i want to execute more than one thing(create tables) at the same time
    it say "ORA-00911: invalid character" , i dont wanna execute one thing at a time. check the pic please
    http://img370.imageshack.us/img370/5120/oraclesw5.jpg
    but in my school i use something called isqlplus and i can execute all the things i want at the same time with-out any error.
    im using right-know
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    1) Unless you are using something like DBMS_JOB, SQL*Plus, iSQL*Plus, the Oracle XE web-based front-end, or any other application is going to execute one SQL statement at a time.
    2) There is a dedicated XE forum-- the folks over there might know how to run a script using this particular front-end.
    3) Assuming the XE database is on your local system, you should be able to log in via SQL*Plus and use that utility to run your scripts.
    Justin

  • Importing an email more than once from notes into the webclient...Possible?

    Hi!
    Is it possible to import an email more than once from a lotus notes account into my webclient?
    I don't have a working sample so:
    Is there a lock to prevent it... in notes... in my webclient?
    Are there optical signs in my webclient that an email is already imported?
    Thanks in advance for your hints in this case.
    Cheers, Ingo

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • Return to more than columns from LOV

    I need return to more than columns from LOV. All columns belong to one form region
    Please helpl me
    Mary

    Hi Mary,
    Do you mean you need to return more than 3? If so then in the link area change the Target to URL and do something like the following:
    f?p=&APP_ID.:7:&SESSION.::&DEBUG.::P7_UNIQUE_ROWID,P7_OET_TBL_NM:#UNIQUE_ROWID#,#OET_TBL_NM#Items on left separated by commas, values on right separated by commas and a colon (:) in the middle...make sure the items & values are placed in the same order.
    Mike

  • TS2446 hi my apple id has been disable, as i has purchased more than 1000$ from app store and i have to update my apps and also i have planning to purchased more apps i will be appreciate if you activate my apple id. i am impatiently waiting for new iphon

    hi
    my apple id has been disable,
    as i has purchased more than 1000$ from app store and i have to update my apps and also i have planning to purchased more apps i will be appreciate if you activate my apple id.
    i am impatiently waiting for new iphone.
    i hope to buy many apps with this apple id and enjoy  them
    Viva Apple

    These are user-to-user forums, you are not talking to Apple here.
    Depending on why it's been disabled, you might be able to re-enable it via this page : http://appleid.apple.com
    Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Ipad safari browser not responding if page takes more than 2 minutes processing time.

    ipad safari browser not responding if page takes more than 2 minutes processing time. It looks like timeout. How I solve this problem. Actully this page using java script file to draw chart.

    ipad safari browser not responding if page takes more than 2 minutes processing time. It looks like timeout. How I solve this problem. Actully this page using java script file to draw chart.

  • Can we execute more than one SQL in Stored Procedure?

    Please help me with this.
    I am connecting to SQL SERVER
    Thanks
    Venu

    Hi Venu,
    >>1) Get the input parametrs for SP in from file
    You can pass parameters to the SP from the payload of the message. I am not sure what do you mean by "Getting the parameters for SP in form file"..
    >>2 Configure Receiver JDBC adapter(Synchronous)which executes a STORED PROCEDURE that has some processing logic containing more than one sql statment
    This is no problem. You can have any number of select /update statements inside the stored procedure. But your stored procedure will not return data to XI and that will not be sent as a response to your BPM
    3) Send the response from SP to a BPM
    yes.You can have another Stored procedure that have only one select statement to send response to BPM. You may have to define abstract interfaces .
    hence for 2) and 3) the message payload would be something like this
    <StatementName1>
    <storedProcedureName action=” EXECUTE”>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=”true”] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName > 
      </StatementName1>
      <StatementName2>
    <anyName action=” SQL_QUERY”>
    <access>SQL-String with optional placeholder(s)</access>
    <key>
      <placeholder1>value1</placeholder1>
      <placeholder2>value2<placeholder2>    
    </key>
    </anyName > 
      </StatementName2>
    Regards
    Arul
    PS: Mark usefull answers and for more info about points - read the post "Rules of engagement" at the top of the XI forum

  • ScheduledExecutorService.scheduleAtFixedRate executes more than it shouldI

    Hi,
    I have the following problem, that I hope you can help me resolve (or investigate):
    ScheduledExecutorService scheduledExecutorService= Executors.newScheduledThreadPool(4, new NamedThreadFactory("MyWorker-"));
    scheduledExecutorService.scheduleAtFixedRate(new FinalJobsCleanerTask(),0,1,TimeUnit.HOURS);That code should implement a schedule that wakes every hour and runs the given task.
    For some reason, I see from time to time, that it wakes up more that it should- looking at the log, I see that one time the same Thread ('MyWorker-1' for example) executed the task for about 10 time at the same second (with some ms difference between each execution). I know for sure that the FinalJobsCleanerTask() is not invoked by any other executor, so obviously it is something wrong with the way I use the ScheduledExecutorService.
    Do you have any idea what may cause this problem? Any clue will be appriciated :-)

    If that doesnt work then something in your code is causing it to loop more than once, or the system clock is changing.

Maybe you are looking for

  • To update this application, sign in to the account you used to purchase it.

    Keep getting this message, I have only ever had one account, whats going on!

  • Is there a way to access remote login and screen sharing logs?

    I have a very high suspicion that my macbook air has been accessed through remote login. Here's what happened. I closed my macbook air, letting it sleep, and left my house. After coming back I found it logged into the Guest account (which I didn't kn

  • Hardware for Photoshop Elements/Premiere Elements 9

    I'm buying a PC for my 9th grade child, who will be making short movies (5-10 minutes) and burning to DVD for school projects.  I will be purchasing the Photoshop Elements/Premiere Elements 9 bundle.  The PC will also be used for writing papers, repo

  • Deleted Inbound Delivery data

    Hi Gurus, We have deleted some inbound deliveries in the sytem .Now we want to see those inbound delivery data like Handling Units and packing data.Can I know how to see this data.I have tried vl06i but this report does not show deleted inbound deliv

  • Nokia Lumia 925 charging

    I have  a lumia 925, when I plug it in the wall it takes about 2h to fully charge. When I connect it via usb to the pc it takes 5h or 6h to charge. Today, I  started driving with the copilot app from antwerpen to amsterdam, 150km, and with the usb ca