Transaction executing Twice

Hi,
I have BLS Transaction which is scheduled for every Hour to run. It runs every hour but i see the transaction runs twice for that Hour.
But When I execute the BLS manually it executes only once properly without any duplication.
It inserts duplicates or runs twice when scheduled using Schedule Editor.
This is happening in the Production System only.
The same Transaction runs fine in Development System.
Pallavi
Edited by: Pallavi Mirajkar on Mar 24, 2008 10:19 PM

Hi,
If you have issues with cron expression, you can use this tool by me (you need jdk1.6 with java webstart)
http://www.fjeyar.com/tools/cronexpr/cron.jnlp
Best regards,
Felix Jeyareuben

Similar Messages

  • Transaction happens twice.

    Transaction happens twice.
    I need two files to demonstrate this
    File 1.) index.jsp
    <?xml version="1.0" standalone="no"?>
    <%@ page contentType="image/svg-xml" %>
    <svg >
    <text x="200" y="100" stroke="navy" >GPro</text>
    </svg>
    File 2.)
    public class Account extends HttpServlet {
    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException {
         System.out.println("Login5");
    RequestDispatcher disp=req.getRequestDispatcher("/pages/index.jsp");
         disp.forward(req,res);
    The servlet doesn�t do anything but always forwards the request to an SVG document.
    The problem,
    When I call this method width the following URL:
    http://servername/Account?a=1
    http://servername/Account?a=2
    http://servername/Account?a=3
    You always have to have different URL to see this result in the log file:
    [02.04.16 10:22:33:500 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 10:22:33:609 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 10:22:53:875 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 10:22:53:953 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 10:23:10:375 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 10:23:10:500 MDT] 3d74e6fe SystemOut U Login5
    The servlet executed twice .
    This happens always when I use IE 5.5 sp2 and Adobe SVG Viewer 3.0
    It is working well with Netscape 4.08
    I have the following in the log file
    [02.04.16 11:05:15:187 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 11:05:24:796 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 11:05:38:312 MDT] 3d74e6fe SystemOut U Login5
    [02.04.16 11:05:44:328 MDT] 3d74e6fe SystemOut U Login5
    You may see it never happens twice.
    I�d like to know what your opinion about this.
    Thank you,
    Jozsef Bodnar

    Thanks,
    Unfortunately, the bug is somewhere else.
    I just used a very simple test program no javascript nothing and I just typed those URL�s in the address bar.
    Last time I tried this: ( this is the doGet method of my test servlet and nothing more );
    PrintWriter out=res.getWriter();
    String s="<?xml version='1.0' standalone='yes'?>"
    +"<svg >"
         +"<text x='200' y='100' stroke='navy' >GPro</text>"
         +"</svg>";
    out.print(s);
    out.flush(); out.close();
    There is nothing special here and the servlet got executed twice if I used explorer.
    It seems to me the SVG viewer for some reason tries to revalidate the document .

  • Servlet being executed twice

              Hi all,
              I'm running WLS5.1, SP8 on W2K. I've written a servlet that instantiates and persists an entity bean. The servlet is registered in web.xml and mapped appropriately. If I run the servlet through the browser, everything works as expected.
              I've written a test case that opens a HttpURLConnection to the servlet, and instead of posting the data from a form (like through the browser), I appended the parameters to the querystring. When the test case executes, the servlet is executed twice, creating two identical rows in the database. So my test case fails expecting the entity to be unique.
              I see two servlet inits happening:
              <WebAppServletContext-vivaceApp> RequestProcessor: init
              and
              <ServletContext-General> classes: init
              Any ideas why this request is submitted twice?
              -EC
              

    What you might want to do instead of sending email directly from the trigger, is create a job which sends the email. This way you make the sending of the email part of your transaction. When you issue a commit, the job gets submitted and the email is sent. When you rollback, the job is removed and no email is sent.

  • Transaction EXECUTE is unknown - in Transaction Launcher

    Hello All,
    We are on CRM 4.0 using IC Web Client.Our requirement is to pull R/3 Sales Order using Transaction Launcher.I confured TL and created a link(List of Sales Orders) on the Navigation Bar. When I click on the Link it is asking a R/3 Login and after logging in, it says "Transaction EXECUTE is unknown". Then I need to type in the TCode VA05 to open the sales orders.
    What am I missing in the confiuration to automatically open the TCode VA05 without giving the login name and password?
    Thank you in Advance.

    Any Help on this Please?

  • After Update Trigger executes twice when single row is uptd thro proc

    We have the below trigger in our db. When a single record is updated using a procedure the trigger is executed twice and it inserts two records in other table.
    But when i issue an update statement using any sql client tool it is executing only once and inserts only one record in other table.
    Can any one please help me to find the reason?
    Trigger:*
    create or replace TRIGGER CX_HEADER_ESCL_T1 AFTER UPDATE OF STATUS ON CX_HEADER
    FOR EACH ROW
    DECLARE
    "b1-CTRIYJ" boolean := FALSE;
    BEGIN
    IF UPDATING('STATUS') AND(:NEW.status = 'SUCCESS') THEN
    "b1-CTRIYJ" := TRUE;
    END IF;
    IF "b1-CTRIYJ" = TRUE THEN
    INSERT
    INTO siebel.s_escl_req(req_id, created, bt_row_id, rule_id, tbl_name, created_by, group_id)
    VALUES('11111111', CURRENT_DATE, :NEW.row_id, '1-CTRIYJ', 'CX_HEADER', :NEW.last_upd_by, '1-2CU3');
    "b1-CTRIYJ" := FALSE;
    END IF;
    END;
    Procedure:
    CREATE OR REPLACE
    PROCEDURE CLOSE_BATCH
    (ChildRecordCount IN NUMBER, HeaderId IN VARCHAR2, CompletionStatus OUT VARCHAR2) AS
    CafeChildCount NUMBER;
    BEGIN
    select count(*) into CafeChildCount from SIEBEL.CX_CHILD where HEADER_ID=HeaderId;
    IF ChildRecordCount = CafeChildCount THEN
    update SIEBEL.CX_HEADER set STATUS ='SUCCESS', MODIFICATION_NUM = MODIFICATION_NUM+1 where HEADER_ID=HeaderId;
    CompletionStatus := 'SUCCESS';
    ELSE
    update SIEBEL.CX_CHILD set STATUS='FAILED' where HEADER_ID=HeaderId;
    update SIEBEL.CX_HEADER set STATUS='FAILED' where HEADER_ID=HeaderId;
    CompletionStatus := 'FAILED';
    END IF;
    commit;
    /*CompletionStatus := 'SUCCESS';*/
    EXCEPTION
    WHEN OTHERS THEN
    CompletionStatus := SQLCODE;
    rollback;
    END;

    Your problem seems not be related to the trigger restart issue I have already mentioned because you are using a AFTER UPDATE trigger and not a BEFORE UPDATE trigger:
    >
    BEFORE Triggers Fired Multiple Times
    If an UPDATE or DELETE statement detects a conflict with a concurrent UPDATE, then Oracle Database performs a transparent ROLLBACK to SAVEPOINT and restarts the update. This can occur many times before the statement completes successfully. Each time the statement is restarted, the BEFORE statement trigger is fired again. The rollback to savepoint does not undo changes to any package variables referenced in the trigger. Your package should include a counter variable to detect this situation.
    >
    If you are sure that you update a single row and that your trigger fires twice and if you can easiily reproduce the issue, I recommend that you contact Oracle Support and create a Service Request for your issue that could be an Oracle bug.

  • WPF Animation execute twice

    Hi All,
    I faced an issue regarding the Animation execute twice, please check the code:
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto"/>
    <ColumnDefinition Width="*"/>
    <ColumnDefinition Width="Auto"/>
    </Grid.ColumnDefinitions>
    <ListView x:Name="lstHandled" Grid.Column="0" Visibility="Visible">
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListView.Triggers>
    <EventTrigger RoutedEvent="ListView.MouseEnter">
    <BeginStoryboard>
    <Storyboard>
    <ThicknessAnimation
    Storyboard.TargetName="spAll"
    Storyboard.TargetProperty="(StackPanel.Margin)"
    From="-100,0,0,0" To="0,0,0,0"
    AutoReverse="False"
    Duration="0:0:1"/>
    </Storyboard>
    </BeginStoryboard>
    </EventTrigger>
    </ListView.Triggers>
    </ListView>
    <StackPanel x:Name="spAll" Grid.Column="0" Width="100" Margin="-100,0,0,0" Orientation="Horizontal">
    <ListView x:Name="Handled">
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    </ListView>
    <ListView x:Name="UnHandled">
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    </ListView>
    <StackPanel.Triggers>
    <EventTrigger RoutedEvent="StackPanel.MouseLeave">
    <BeginStoryboard>
    <Storyboard>
    <ThicknessAnimation
    Storyboard.TargetName="spAll"
    Storyboard.TargetProperty="(StackPanel.Margin)"
    From="0,0,0,0" To="-100,0,0,0"
    AutoReverse="False"
    Duration="0:0:1"/>
    </Storyboard>
    </BeginStoryboard>
    </EventTrigger>
    </StackPanel.Triggers>
    </StackPanel>
    </Grid>
    Here is the screenshot:
    When the mouse leave the "spAll" StackPanel. It fired the Mouse Enter event for the ListView. How to avoid this issue? 
    Thanks a lot!
    The future belongs to those who believe in the beauty of their dreams.

    You put your other two listviews in the same column of the grid.
    Since they're defined later, they will be above the first listview... and cause your problem.
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto"/>
    <ColumnDefinition Width="*"/>
    <ColumnDefinition Width="Auto"/>
    </Grid.ColumnDefinitions>
    <ListView x:Name="lstHandled" Grid.Column="0" Visibility="Visible">
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListViewItem>Jimmy</ListViewItem>
    <ListView.Triggers>
    <EventTrigger RoutedEvent="ListView.MouseEnter">
    <BeginStoryboard>
    <Storyboard>
    <DoubleAnimation
    Storyboard.TargetName="spAll"
    Storyboard.TargetProperty="(StackPanel.Width)"
    From="0" To="120"
    AutoReverse="False"
    Duration="0:0:1"/>
    </Storyboard>
    </BeginStoryboard>
    </EventTrigger>
    <EventTrigger RoutedEvent="ListView.MouseLeave">
    <BeginStoryboard>
    <Storyboard>
    <DoubleAnimation
    Storyboard.TargetName="spAll"
    Storyboard.TargetProperty="(StackPanel.Width)"
    From="120" To="0"
    AutoReverse="False"
    Duration="0:0:1"/>
    </Storyboard>
    </BeginStoryboard>
    </EventTrigger>
    </ListView.Triggers>
    </ListView>
    <StackPanel x:Name="spAll" Grid.Column="1" Width="0" Orientation="Horizontal">
    <ListView x:Name="Handled">
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    <ListViewItem>Hello</ListViewItem>
    </ListView>
    <ListView x:Name="UnHandled" Grid.Column="2">
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    <ListViewItem>World</ListViewItem>
    </ListView>
    </StackPanel>
    </Grid>
    The above puts your listviews in different columns, although I'm not 100% sure that's what you wanted to happen.
    You would also have to animate the first listview if you want that to disappear.
    There's a potential problem there since as you do that your mouse will leave it.
    I guess you're probably just kind of playing around learning stuff here though.
     PS
    I based this on your first, now deleted, thread.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Transaction launcher-'Transaction execute is unknown'

    Hi,
    I am trying to launch transaction BP in IC web client
    I have configured the launcher wizard and entered the URL in transaction 'CRMC_IC_CROSS_SYS . I  have added the navigation link but when i click on this link I get  SAP initial screen ( easy access) instead of BP screen with an error 'Transaction execute is unknown'
    I directly want to navigate to BP, can someone please help here or point me to some useful documentation. My mail id is [email protected]
    Thanks

    Hello Amit,
    I think you made a mistake in your transaction launcher wizard.
    If you want an external url to be displayed you should choose URL and not BOR method in the trans launch wizard. The error message 'Transaction execute is unknown' means that you have selected BOR object in the wizard. When selecting BOR object it will automatically look for a EXECUTE methode in the business object. (Or, if you do wanted to execute a BOR object you have picked the wrong one)
    Run through the wizard again and make sure you have entered the correct values.
    Reward points if useful,
    Kind regards,
    Joost

  • How do I know  what transactions executed by specific user for last month

    All
    We have a request to find out  what transactions are executed by secific user
    for last couple of months.
    Is there any report in SAP would tell me ?
    Please advise.
    From
    PT.

    Hello PT,
    If you use the search for the term "How do I know what transactions executed by specific user for last month" then I guarantee you some good hits in the result, and further more detailed search terms to use...
    Cheers,
    Julius
    (this time in response to the correct thread...)

  • List of transactions executed in the last one year along with the count

    Hi all,
    I want to find the list of transactions executed in the last one year in my IDES system. Also, i want to find how many times these transactions got executed in the last one year.
    I already saw, ST03 and ST03N tcodes. But im not able to see the correct result there.
    Could anyone tell me whether SM21 or ST03N tcode will be useful for finding the total number of transactions get executed in the last one year and the number of times these got executed..
    If anyone of this useful for my exact requirement, then what are all the correct inputs need to be passed to these transaction?
    When i see the MONI table, i find that it gets stored with some cluster key. How the data from this table will be usefiul for my requirement?
    Or, is there any standard reports available for finding this count?
    Thanks,
    Shanthi

    Hi Michael,
    Thanks for ur reply.
    I have few more clarifications in this.
    When i click the "Standard" transaction profile, it shows a list of dialog pgms and the number of steps. But this count is different from the count which i get it from "Early Watch".
    For example, the "Standard" didn't display the SE38 transaction code for a specific week which i selected. Whereas, "Early watch" displays the SE38 transaction.
    So, which count is correct actually?. What do "standard" and "Early watch" represent?
    Also, i executed a Z transaction today(13.03.2009). But im not able to select today (No application server is avaliable to select for today's date). So how can i check what are all the transactions executed today and how many times this Z transaction executed today, from this transaction.
    Please help me...
    Thanks,
    Shanthi

  • How the transaction executing in Oracle bpm 10g

    Hi,
    i want to know "how the database transaction executing in Oracle bpm 10g",
    My Scenario is 'i have two data tables, i need to update the same information in two different data tables with OBPM 10g. let's imagine, info is updated in 1st data table, and is some exeption occured while updating the same info in second da table, so i want to roll back the info which is updated in first db table'.
    can any one suggest the approach how can i proceed?
    Thanks.
    Sudhee

    Hi Omkar,
    Please check the following code.
    DECLARE
      repid REPORT_OBJECT;
      v_rep VARCHAR2(100);
      rep_status VARCHAR2(20);
      plid ParamList;
    BEGIN
      plid := Get_parameter_List('tmp');
      IF NOT Id_Null(plid) THEN
      Destroy_parameter_List( plid );
      END IF;
      plid := Create_parameter_List('tmp');
      add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
      Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
      repid := FIND_REPORT_OBJECT('POL_REP');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
      v_rep := RUN_REPORT_OBJECT(repid,plid);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
      LOOP
      rep_status := report_object_status(v_rep);
      END LOOP;
      WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
      '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
      '&paramform=no');
    END;
    I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
    OracleAS Report Services
    Version :-   10.1.2.0.2
    Name    :-   prod_report_server
    Status  :-   Server is Shutting down
    Jobs in Queue  0
    Active Engines  0
    I got the Following Error when I trying to run the Report
    FRM-41211: Integration error:SSL failure running another product
    Thanks and Regards,
    Faziludeen

  • Why the code in a user exit is executed twice?

    Hi all,
    I've got a development in a user exit EXIT_SAPMP56T_001.
    This user exit allows us to control the travel expenses.
    When you go to the TX: PR05 you can see a list with travels to add expenses. Here you can select one item on the list and press the edit button to add new expenses.
    We want to control this and we use this user exit for that purpose.
    When the user selects a row and presses the edit button, the user exit is triggered. We can check the values of the table and see which row is selected. But this exit is executed twice. The first time the table doesn't have any changes on it, the second time it has marked the selected row.
    Why is this happening? Why is this exit executed twice? And how can I control that the table is properlly updated?
    Thank you.

    Hi,
    I think this user exist in getting triggered both in the PAI and PBO of that screen.
    For avoiding this use the flag.
    If flag is initial then only your code needs to trigger.
    if flag is initial.
    flag = 'X'.
    then your code.
    endif.
    So when it again comes into the PBO it will check the flag and the same code will not be triggered for the second time.
    With Regards,
    Sumodh.P

  • Transaction executing in queue XBTOE_0000

    Hi,
    we have a scenario where PI picks up a file and sends it to some external partner.
    Afterthe file is picked up the message gets a status 'recorded for outbound processing' in SXMB_MONI. In SMQ2 it reads 'Transaction executing'. In the Runtime werkbench the message is set to 'DLVD'.
    All queues are registered in SMQR.
    We just made an upgrade from 7.10 to 7.11 - in 7.10 it worked - and still works.
    Thanks for helping.
    Kris Claes
    K.U.Leuven

    Hi Pavan,
       Did u try to execute it by going in Edit -> Execute LUW.
    If not, try that and also check by digging into the queue entry whether it gives any more details.
    Also, check whtehr the user which is uesed to login in R/3 is in an unlocked state or note.
    Regards,
    Akshay

  • Why is the last script executed twice?

    Here is my problem. I have two files, file1.sql and file2.sql that are called in a third file test.sql. The output from test.sql show that file2.sql was called twice
    --file1.sql
    select 'file1' as str from dual;
    --file2.sql
    select 'file2' as str from dual;
    --test.sql
    @file1.sql
    @file2.sql
    The output shows:
    STR
    file1
    STR
    file2
    STR
    file2
    Why is the last file execute twice. If I change the order of files in test.sql, then file1 is displayed twice

    I found my problem. In test.sql I had '/' in the last line
    --test.sql
    @file1.sql
    @file2.sql
    /

  • Transaction executing slow and database undo log increasing soon.

    Dears,
    I developed a transaction which query database many times in a repeater loop and finally generate a SAP MII XML Output Document which I want to display in a html hyper link in MII Navigation.  (Using XacuteQuery and iGrid)
    I found that
    1. if I execute in SAP MII Workbench, the transaction executing very slow, and also the database undo log in D:\oracle\TMI\sapdata2\undo_1\UNDO.DATA1 increasing soon.
    2. If I use MII Schedule Edit to run the transaction, it executing fast.
    Does any one know why?
    Is there any setting can make it executing fast in a MII Workbench?
    Many thanks!
    Ivan

    Hi,
    Can you explain why it's different by using MII Workbench and Scheduler depending on sql  joining and logic?
    My transaction logical is basically as below,
    1. query qualified sfc in SAPME tables
    SELECT *
      FROM (SELECT   s.site, s.sfc, ss.operation_bo, ss.qty_in_queue,
                     ss.qty_in_work, s.priority, s.item_bo, s.shop_order_bo,
                     s.status_bo, ss.sfc_router_bo, ss.step_id, ss.step_sequence,
                     st.status_description, cf.ATTRIBUTE, cf.VALUE
                FROM sfc_step ss,
                     sfc s,
                     sfc_router sr,
                     sfc_routing srt,
                     status st,
                     custom_fields cf
               WHERE sr.handle = ss.sfc_router_bo
                 AND srt.handle = sr.sfc_routing_bo
                 AND s.handle = srt.sfc_bo
                 AND st.handle = s.status_bo
                 AND SUBSTR (s.status_bo, -3) IN ('402', '403', '404')
                 AND sr.handle = ss.sfc_router_bo
                 AND sr.in_use = 'true'
                 AND ((ss.qty_in_queue > 0) OR (ss.qty_in_work > 0))
                 AND s.site = '[Param.1]'
                 AND cf.handle(+) = s.handle
                 AND cf.ATTRIBUTE(+) = 'QTIMECONTROL'
                 [Param.2]
            ORDER BY s.priority DESC, s.sfc)
    WHERE (ATTRIBUTE = 'QTIMECONTROL' AND VALUE != 'N') OR VALUE IS NULL
    2. use Repeater to query sfc's activity_log table
    SELECT   al.site, al.sfc, al.operation, al.operation_revision, op.description,
             al.step_id,
                TO_CHAR (NEW_TIME (date_time, 'PST', 'GMT'),
                         'YYYY-MM-DD'
             || 'T'
             || TO_CHAR (NEW_TIME (date_time, 'PST', 'GMT'), 'HH24:MI:SS')
                                                                     AS date_time,
             TO_CHAR (NEW_TIME (date_time, 'PST', 'GMT'),
                      'YYYY/MM/DD HH24:MI:SS'
                     ) AS complete_date,
             cf.VALUE AS qtime, action_code, ss.operation_bo AS current_op,
             ss.step_id AS current_step_id,
             ss.step_sequence AS current_setp_sequence,
             al.item || ',' || al.item_revision AS item,
             TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI:SS') AS check_time,
             (sysdate-NEW_TIME (date_time, 'PST', 'GMT'))2460 as difference
        FROM activity_log al,
             custom_fields cf,
             sfc s,
             sfc_routing srg,
             sfc_router sr,
             sfc_step ss,
             operation op
       WHERE al.site = '[Param.1]'
         AND (action_code IN( 'COMPLETE' , 'START' , 'SIGNOFF'))
         AND al.sfc = '[Param.2]'
         AND cf.handle(+) =
                   'OperationBO:'
                || al.site
                || ','
                || al.operation
                || ','
                || al.operation_revision
         AND cf.ATTRIBUTE(+) = 'QTIME'
         AND s.handle = srg.sfc_bo
         AND srg.handle = sr.sfc_routing_bo
         AND 'true' = sr.in_use
         AND sr.handle = ss.sfc_router_bo
         AND 0 < ss.qty_in_queue + ss.qty_in_work
         AND s.sfc = al.sfc
         AND al.operation = op.operation
         AND al.operation_revision = op.revision
         AND op.site= '[Param.1]'
         AND al.operation NOT LIKE '%-W'
    ORDER BY date_time DESC
    3. call another transaction to parse  input data and get output data
    4. parse get back data to form a MII xml output Document.
    Thanks!

  • Old tRFC entries in status "Transaction executing"

    Hi,
    Question is related to tRFC processing.
    I see in SM58 very old entries (older than a year) in status "Transaction executing" (ARFCSSTATE-ARFCSTATE = SENDED). I will ask basis team to clean them up, but my question is can this cause performance problems? How are the recorded tRFC entries executed? Does the system check the number of records being executed from ARFCSSTATE, like those old ones, so it blocks that many otherwise available work process/slot/whatever from being used by the other recorded tRFC calls? Or these 'stuck' entries should cause no problems other then requiring attention to clean them up?
    Thanks,
    Krisztian Klausz

    Hi,
    If you delete those tRFC It won't impact on system performance.
    To do this task please go through below steps.
    To delete old tRFC records, follow menu path "Log File --> Reorganize" and set the date ranges.  Leave the User Name fields blank and select all Status values and then Execute.
    I hope it will help you.
    Regards,
    Kiran .V

Maybe you are looking for