Prob. in execution of t-code

I have created t-code for executable programm...when i put this t-code it shows respective transaction but at the time of execution it exits to sap easy access screen...what should i do??

SE93 (Maintain Transaction) is the T.Code to assign a transaction code to the Executable program.
Goto SE93
Give the T.Code name you want to create
Click on Create button.
Give the Short Text for the T.Code
Select the Object type for which you are assigning the T.Code
(for executable program select the option "Program and Selection Screens (report transaction)" )
Now Give the Program name to be attached to T.Code
Select  all the GUI Support options (Check Boxes).
Click on save.

Similar Messages

  • Where does the execution of the code begin

    Hi all,
    I am wondering where the execution of the code below begin.
    Declare
    cursor c_zip(p_state in zipcode.state%type) is
    select zip, city , state
    from zipcode
    where state=p_state
    begin
    for r_zip in c_zip('NJ')
    loop
    dbms_output.put_line(r_zip.city||' '||r_zip.zip');
    end loop;
    end;

    At the first statement after the begin keyword?

  • How to optimize execution time for code

    Please suggest the way as i m new to performance tuning for reducing the execution time of code . Related document to performance tuning is appreciable .also tell how to work with Tcode ST05 .
    Thanks in advance

    Please Read before Posting in the Performance and Tuning Forum
    Thread locked.
    Thomas

  • BOS: Triggering Execution Services, Transaction Code: BOSMM

    Hi,
    Triggering Execution Services:
    In the transaction code ‘BOSMM - Subcontractor/Vendor Processing’. 
    The screen is displayed as shown below.
    1. Show/Hide Work Lists
    2. Show Execution Services
    3. Execution of Services (Post)
    4. Object to be Planned
    5. Update document overview
    (To avoid posting twice by mistake, you can display the document overview for this execution service and this object to be planned by choosing . You can perform the Execution Service in the system by choosing Post. If you choose Update in the document overview, the posted document is displayed.)
    The required buttons are not available in the displayed screen.
    Please suggest what needs to be done to get these buttons in the displayed screen.
    Best Regards,
    K. Rajendra Prasad Rao

    Hi,
    you have to maintain entries in the IMG activity Define Execution Service Profile (under
    Project System > Costs > Planned Costs > Easy Cost Planning and Execution Services >Execution Services) to enable the "Execution Service" button in the transaction BOSMM. The profile name has to be BOS01.
    Example:
    Best regards,
    Maria Miessen

  • Timing the Execution of Labview code

    Hey Guys,
    I am looking for suggestions to limit the execution time for my code, or even to time it, Idont want it to exceed say 30 seconds as the next device is carried in to be tested.  I am initialising the code,aquiring parameters from a database , running through the test sequence and writing the results back to a database. Thanks guys.
    Damien

    Damien,
    You might get more replies by posting on the LabVIEW Board.  It gets much more traffic than this one, which is primarily for issues related to hardware counter/timer cards.
    Several methods are in common use for timing code. One is to use the Tools >> Profile >> Performance and Memory menu item. This opens a window which allows you to get information about the time each VI and subVI takes to execute along with quite a bit of other useful information.  It is quite helpful for idenitfying those portions of the code which are taking the largest amount of time.  Then you can focus your efforts to improve the code where they will do the most good.  If your code does not use subVIs, (well, it should), then this will not help much.
    A way to test the time of small segments of code, subVIs or not, is to include the code in a 3-frame sequence structure. The first and last frames have Tick Count functions. In the middle frame is the code under test, often inside a For loop so that it can be repeated many times to capture the time of code which may execute in nanoseconds or microseconds. After the sequence structure completes the two tick counts are subtracted to get the elapsed time for the code in the middle.  There are many posts in the LV Board about pitfalls and how to optimize this technique.
    As for limiting the time, this can be more problematic.  Assuming that you are not running on a Real Time operating system, it is hard to guarantee a maximum time.  I think timed loops will report that they finished late.  The key is to break up the code so that no section takes very long.  Then a supervisory module can stop a process after any section if the total time approaches or exceeds your limit.  For example if your database is offline, you need to make sure that the code which acquires the parameters has a timeout mechanism so the program does not wait forever for data it may never get.
    Lynn

  • How Do I Cotrol the Flow of Execution of this Code ?

    HI,
    I am trying to write a code that can take all the user information at the command prompt and displays the same entered information. My code works well upto taking theh data and displaying..
    But, now i want to put some restrictions like entering valid acceptable data for ex.: for gender only male or female and not anything else.
    So I implemented this using the string comparison ignoring the cases just for the gender, using the "==" operator and the if statement.
    Now my desire was to check the input data at gender and see if it valid like male/female or not irrespective of cases, and then asking the user to renter that right value for gender. and should not proceed until entered properly. But my code checks it and skips to the next data to be fed !
    How do I control that flow of my code ie., it should not go ahead after checking the validity of data entered until the right data is fed ??
    MY CODE IS:
    import java.io.*;
    import java.lang.*;
    class Profilev1{
    public static void main(String args[]) throws IOException{
    String gend=null;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Please enter your name:\r");
    String name=br.readLine();
    b1:{System.out.println("Please enter your gender Male/Female :\r");
    gend=br.readLine();
    if(gend!="male" && gend!="female")
         {     System.out.println("Please enter either Male or Female\n");
    break b1;
    System.out.println("Please enter your age:\r");
    int age= Integer.parseInt(br.readLine());
    System.out.println("Please enter your salary $Dollars.cents:\r");
    float sal=Float.parseFloat(br.readLine());
    System.out.println("\n\nThank You "+name+".\n\n\nHere's your profile with us on file :\r");
    System.out.println("Name:\t"+name+"\nGender:\t"+gend+"\nAge:\t"+age+"\nSalary:\t"+sal+"\r");
    OUTPUT IS:
    C:\Program Files\Java\jdk1.6.0_02\bin>javac Profilev1.java
    C:\Program Files\Java\jdk1.6.0_02\bin>java Profilev1
    Please enter your name:
    Aron Philip
    Please enter your gender Male/Female :
    male
    Please enter either Male or Female
    Please enter your age:
    100
    Please enter your salary $Dollars.cents:
    75600.23
    Thank You Aron Philip.
    Here's your profile with us on file :
    Name: Aron Philip
    Gender: male
    Age: 100
    Salary: 75600.23
    C:\Program Files\Java\jdk1.6.0_02\bin>
    Message was edited by:
    aron_phil

    Actually, I often use the equalsIgnoreCase instead of teh equals method, but you use them the same way.
    Here are two examples:
    import java.util.Scanner;
    class Fubar 
        private Scanner sc = new Scanner(System.in);
        private void testKeepGoing()
            boolean keepGoing = true;
            while (keepGoing)
                System.out.print("Enter \"goodbye\" to quit: ");
                String goodbyeString = sc.nextLine();
                if (goodbyeString.equalsIgnoreCase("goodbye"))
                    keepGoing = false;
        private void testTypeQuit()
            Scanner sc = new Scanner(System.in);
            String quitString = "";
            while (!quitString.equalsIgnoreCase("quit"))
                System.out.print("Type \"quit\" to exit: ");
                quitString = sc.nextLine();
            sc.close();
        public static void main(String[] args)
            Fubar foo = new Fubar();
            foo.testKeepGoing();
            foo.testTypeQuit();
    }

  • How to turn off Currency Conversion within the execution of Fox code

    Hi All:
    We have a number of custom key figures defined in a Planning Layout.
    We had wanted to define those fields as type CURR with 4 Decimals, however it appeared that 2 Decimals was the maximum we could specify.  We therefore wound up using Type FLOATING POINT with 16 Decimals.
    In some Fox code that calculates these custom key figures we then use a ROUND statement to produce values such as 3.2735000000000000.
    When this Fox code executes in debug mode, I see a generated ABAP program running which includes Include programs RUPFGENTOP and RUPFGEN00.   This program executes a Form F_00001, which is essentially the Fox code. Here I can see the ROUND statement producing the desired result.  Right after though a Form TCURX_CONVERSION executes, which often reintroduces all 16 decimals, and I might get values, such as 3.2735000000000001 or 3.2734999999999998.   These small fractions cause other issues later on in the process.
    In our case we are not trying to convert an amount from one currency to another, so we don't understand why it even would try to do a currency conversion.
    My question:  is there any way to "turn off" this currency conversion routine?
    Please advise - any suggestions would be most welcome.
    Many thanks in advance,
    Robert van der Kam

    Hi Robert,
    the solution suggested by Anass only works for key figures of type number. For key figures of type amout or quantity it is not allowed to change the number of decimals. Especially for amounts the number on the DB can only be intepreted correctly knowing the currency. Depending on the currency the value 1 on DB may be 100. This is why the FOX does the TCURX_CONVERSION, a better word would be currency shift since currency values have to be scaled depending on the values maintained in table TCURX. Since FOX needs one common number type for calculations the shift is neccessary.
    This is the reason why amounts have only 2 decimals on DB, the real number of decimals comes from TCURX; no entry there means 2 decimals, i.e. not scaling is neccessary. This is why changing the number of decimals via domains might corrupt all data.
    It seems that you are using release 7.0x, in releases 7.3x internally uses DECFLOAT data type, thus the 'problems' coming from binary arithmetic in ABAP FLOAT will not occur any more.
    Regards,
    Gregor

  • Test Stand File menu item entry point execution in VC++ code

    Hi,
    Can you please suggest me, how to execute a file menu item entry point pragmatically in a VC++ code.
    My process model seq inserts an item called "Select Model" into TS file menu.
    i have to programmatically execute this entrypoint from an Operator interface developed in VC++.
    Request your suggestion in this concern.

    Couln't you just use the PerformClick Method?  So basically you'll have a reference to your menu somewhere in the code.  Get the node of the item you want and then use the PerformClick method.
    From MSDN: http://msdn.microsoft.com/en-us/library/system.win​dows.forms.menuitem.performclick%28v=vs.71%29.aspx
    I recommend that vs going through the TestStand API.  It will be a lot cleaner.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Execution of this code

    Hai All
    declare
    pin_no varchar2(26);
    pin_date date;
    pin_time varchar2(25);
    mstr varchar2(200);
    m_file TEXT_IO.FILE_TYPE;
    m_file_path varchar2(100) := :global.filename;
    line_count number;
    M_BARCODE VARCHAR2(26);
    M_BARDATE DATE;
    M_BARTIME varchar2(25);
    M_No number;
    Cursor c1 is
    select barcode,bardate,bartime
    --row_number() over (partition  barcode order by bartime) as RN
    from temp_attendance
    order by barcode,bardate;
    begin
    --open c1;
    If m_file_path is not null then
    m_file:= TEXT_IO.fopen(m_file_path, 'r');
    --DELETE FROM temp_attendance;     
    Loop
    begin
    go_block('TEST_MS1');
    clear_block(no_validate);
    TEXT_IO.get_line(m_file,mstr);
    mstr := ltrim(rtrim(mstr));
    M_barcode :=substr(mstr,1,16);
    M_bardate := to_date(substr(mstr,17,8),'DD/MM/YYYY');
    M_bartime := (substr(mstr,25,4));
    INSERT INTO temp_attendance(BARCODE,BARDATE,BARTIME) VALUES(M_BARCODE,M_BARDATE,M_BARTIME);
    Exception
    when no_data_found then
    text_io.fclose(m_file);
    exit;
    End;
    End loop;
    -- go_block('TEST_MS1');
    -- clear_block(no_validate);
    For r1 in c1 loop
         :barcode := r1.barcode;
         :bardate := r1.bardate;
         :bartime := r1.bartime;
         next_Record;
    end loop;
    first_record;
    end if;
    exception
    when others then
    forms_ddl('commit');
    message (sqlerrm);
    end;
    While i am executing this code using the control directly goes to for loop and its executing over there and my first loop is not executing
    How to change my code to run in good mode.
    Thanks & regards
    Srikkanth.M

    check ur not null condition
    m_file_path varchar2(100) := :global.filename;
    If m_file_path is not null thencheck the value is coming in Global.filename or not ?
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • Back ground execution of t.code with variant !!

    Hi Team,
              I need excute the Z transaction code ( which is assigned to to stnadard program).
      How can i execute this transaction in back ground with the given specified variant.  (program should be executed for every 5 mts).
    Regards
    Badari Talanki

    Hi Badari,
    when you set the Background Job via <b>SM36</b>, you can mention the Variant. and set the time , so that the report will run for every 5 minutes with the mentioned variant. Check it.
    Regards
    Vijay

  • Problem: Execution of T-CODE via RRI ( RSBBS )

    Hey,
    I have an ongoing problem with rsbbs using a t-code as target. I want to use rri within a bw bex-query to call rsdmd within the source system. So far so good but everytime when I use the rri via context menü within bex to following happens:
    1.) Starting the protal
    2.) Open the BW 'Startpage' ( The Gui you see when you log on the system)
    The RRI jumps in the right system but not in the defined transaktion. My settings within the rsbbs look like this:
    Reporttyp: Transaktion
    Target System: local
    Report: rsdmd
    I didn't do any setting in the assignment details. Perhaps there is something to set there to keep it running !?
    Thanks for your support !
    Cheers, Moritz

    Hi
    OK.
    I think that the reason why it does not work  is that your transaction does not know which IO to take...
    So go in the Assignment details and just play with the different options...But keep in mind that if you have several characteristics in the drill down, only one should be transfered (I do not know the  transaction RSDMDM, but I assume that it waits for ONE char value..)
    Hope it helps
    PY

  • Exception in query execution through JDBC code

    Hi all,
    I am getting the following error when I am trying to use JDBC in a web dynpro application. I need to execute select query on table XI_AF_MSG.
    java.sql.SQLException: Invalid object name 'BC_DDDBTABLERT'
    When I tried to debug the code, I came to know that connection is getting done successfully but error comes when I try to execute the query.
    Can anyone help me to solve the problem?
    Regards,
    Bhargav

    Sure I can show my code.
    try {
         //        Get the database connection
              InitialContext dbInitContext = new InitialContext();
              String dbName = "jdbc/SAP***DB";  //datasourcename
              DataSource dataSource = (DataSource) dbInitContext.lookup(dbName);
              Connection conn = dataSource.getConnection();
              str=str" Connection is done successfully. "dataSource.toString();
              messageMgr.reportSuccess(str);
              String SelectStmt = "Select * from XI_AF_MSG";
         //        Prepare the SQL statements
         str=str+" before preparing statement";
                   messageMgr.reportSuccess(str);
              Statement stmt = conn.createStatement();
              str=str+" statement is prepared.";
                        messageMgr.reportSuccess(str);
         //        Execute the Query
              ResultSet resultSet = stmt.executeQuery(SelectStmt);
              str=str+"query is executed.";
                        messageMgr.reportSuccess(str);
    catch(Exception e)
    As you can see in the code, I have created messages at several points. When I execute the application, i can see message "statement is prepared" before exception is thrown. It means, connection is getting established and statement is also getting created but query is not getting executed.
    Regards,
    Bhargav

  • Satellite P100: Fatal Execution Engine Error code Ox7927e03e

    The above error message (code Ox7927e03e) appears every time I restart my Satellite P100.
    Various suggestions on the Microsoft XP website to update/repair Net.Framework don't work.
    Any ideas? The computer works normally except for Media Centre which generates the same message.

    You could firstly use the Windows own system restore tool. This tool will turn back the OS to the early point. If it does not work you could use the Toshiba recovery CD. On this CD everything was preinstalled and this installation will set the notebook back to the factory settings

  • Dbms_session.set_sql_trace(true) in PL/SQL Code to trace execution

    Hi,
    I'm working on some legacy PL/SQL Code with the objective of tuning. I added the following to the PL/SQL Body so that I can trace the execution and identify low-hanging-fruit that can be tuned.
    I added the following after the BEGIN section of the PL/SQL body:
    trace_process_flow_info_sp( this procedure captures the parameters passed into the procedure of the package body);
    execute immediate 'alter session set events '||''''||'10046 trace name context forever, level 12'||'''';
    dbms_session.set_sql_trace(true);
    My objective is to capture the execution of the code, capture the bind variable values, however I am not seeing the bind values in either tkprof or the Trace Analyzer.
    Any Ideas on how to see the Bind Variable Values?
    Thanks

    Level 0 means no binds.Are you sure that this level is available?
    According to note 115675.1 there are only four
    possible levels (1,4,8,12)Hmmm it seems you are right.
    SQL> conn xxx/xxx@xxx
    Connected.
    SQL> ed
    Wrote file afiedt.buf
      1* alter session set events '10046 trace name context forever, level 0'
    SQL> /
    ERROR:
    ORA-02194: event specification syntax error 231 (minor error 283) near '0'
    SQL> ed
    Wrote file afiedt.buf
      1* alter session set events '10046 trace name context forever, level 1'
    SQL> /
    Session altered.
    SQL> The same results for 9.2.0.7.0 and 10.2.0.1.0
    So OK a correction dbms_session.set_sql_trace(true) means level 1, but anyway it means no binds.
    Thank you for your correction, should go and update my article!
    Gints Plivna
    http://www.gplivna.eu

  • Return Code for scenario execution

    When we execute an interface,package or scenario.
    We can go in execution tab and see the start time , end time and Return code which has values like 0,7000,1722,1777 etc.
    This value is fetched from odi system table :-snp_sess_task_log.
    This table contains the log status for an execution . it contains start time, end time ,status code and all.
    My problem is that i want to know which table stores the status code that table snp_sess_task_log picks from.
    I mean is there any master table containing all the error codes/status codes that can occur in a scenario execution?

    I mean is there any master table containing all the
    error codes/status codes that can occur in a scenario
    execution?The code and the message come from the RDBMS...
    But they are stocked on a table after raising.
    Try this on your work rep connexion:
    SELECT *
    FROM SNP_STEP_LOG L, SNP_SESS_STEP SS,SNP_SESSION S,SNP_EXP_TXT X
    WHERE
    L.SESS_NO = SS.SESS_NO AND
    L.NNO = SS.NNO AND
    S.SESS_NO = L.SESS_NO AND
    STEP_STATUS = 'E' AND
    L.I_TXT_STEP_MESS=X.I_TXT

Maybe you are looking for

  • I just bought iphone 3 off of someone and i cant figure out how to delete her accounts and put mine on? like facebook

    i bought an iphone 3 off of a lady and i need to find out how to delete her accounts so i can set mine up

  • System Refresh problem - request/task does not exist

    I have a problem after system refresh, and when I am trying to import users and roles, I get the message - request/task XXXXXXX does not exist. Data/cofile are present. Can someone help me please ? Thanks in advance, Jordan

  • Multiple shift issue

    hi gurus, i have one issue,i.e,our plant&machinary is used in multiple shifts,depreciation rate from one shift to another shift varies,how can i customise and in asset master data where i can find the multiple shift tab. regards jana

  • About ready to scream! 2nd Nano in ONE DAY!!!!

    Okay, I've downloaded the CD to my PC (by the way, I have a mini, that I've had for over a year and it is just fine except a crappy battery..so I know its not my PC). and it asks me to restart.. then I hook up my nano after the restart..and it seems

  • Won't recognize files

    Numbers won't open any of my files.  It says "you need a newer version of Numbers to open this spreadsheet." I've tried multiple files, including files I haven't touched in a long time, and it's always the same message. I've tried deleting Numnbers,