Find the logic in a JSP

Hi all,
I'm new to OA Framework. I can work with forms, but now i have to find the logic under a specific JSP. I want to see what's happening when a button in that JSP is pressed. Does anybody can help me with this? I'm using Oracle E-Business Suite R12.1.3. Do i have to open one of the specific components of the MVC structure? I can find the query of the JSP via "About This Page" but i want the program logic - not only the SQL.
Thanks in advance,
Bahchevanov.

Hi Bahchevanov,
As you rightly noted, you can only view the components/queries involved but not the actual logic which is coded in the pages from the 'About This Page' link. If you want behind-the-scenes logic, you have to copy the components over to your local machine and access them using JDeveloper. This is the recommended approach. Please check the documents on how to extend OA Framework pages for more details.
Regards,
Sujoy

Similar Messages

  • Finding the logical path

    How to find the logical filename for the given ARCHIVE object.
    I want to know the logical file name of FI_FICA object.
    Can any one guide me.
    Thanks,
    Shree

    Hi Sree,
    I don't have SAP system right now to check it.
    I think if you know the physical path, logical path can be found.
    Please check this thread for further reference.
    https://forums.sdn.sap.com/post!reply.jspa?messageID=5726662
    Thanks and Regards,
    Guru

  • Where in the function palette can i find the "logical shift" function (shift x by y bits)?

    i am not able to find the "logical shift" function anywhere on the functions palette (after searching EVERY where). however, i discovered the function elsewhere in another VI (by pure luck!). i could keep bringing up these VI and copying and pasting, but that's a pain...i'd like to just have it on my functions palette to begin with.
    i am running labview 6.1 thanks for your help.

    hi,
    LabVIEW's functions pallete has come with a very useful tool --> "Search" tool
    Make use of the "Search" tool should you encounter difficulty in locating the desired function. For instants, search for keyword "Logical" or "Shift" and you will be able to locate the function
    happy coding
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • Guys! help me iin finding the logic

    can any one help me in finding
    1. inactive  customer
      1.1  - who did not have transaction for past 15day fianancial dept
      1.2 - who did not have transaction for past 15 days with sales dept
    2. inactive vendors
    2.1 - who did not have any transaction for past 15 days with finance dept
    2.2 - who did not have transactions for past 15 days with material dept.
    help me please asap.

    Hi,
    Inactive customers:
    Use tables kna1, knb1, knkk, vbrk(past activity).
    next activity - fplt, fpla, vbpa.
    1. 1st get the payers from KNB1 based on selection screen on payer and company code.
    2. KNKK logic
      select single kkber from t001 into v_kkber
                                   where bukrs eq p_bukrs.
        select kunnr kkber knkli nxtrv from knkk into table knkk_it
               for all entries in knb1_it where kunnr = knb1_it-kunnr and
                                                kkber = v_kkber and
                                                sbgrp in s_sbgrp.
    3.Last activity
        select vkorg erdat kunrg from vbrk into table vbrk_it
                           where vkorg = v_vkorg and
                                 erdat in before_dt.
        sort vbrk_it by kunrg.
    4. Next activity
    select single vkorg from tvko into v_vkorg where bukrs = p_bukrs.
      if not v_vkorg is initial.
        select fplnr fpltr fkdat from fplt into table fplt_it
                                                where fksaf = space and
                                                      fkdat in after_dt.
        sort fplt_it by fplnr fpltr.
        if not fplt_it[] is initial.
          select fplnr vbeln from fpla into table fpla_it
                 for all entries in fplt_it where fplnr = fplt_it-fplnr.
        endif.
        sort fpla_it by fplnr vbeln.
        if not fpla_it[] is initial.
          select vbeln kunnr from vbpa into table vbpa_it for all entries in
                                  fpla_it where vbeln = fpla_it-vbeln and
                                                posnr = '000000' and
                                                parvw = 'RG'.
        endif.
        sort vbpa_it by kunnr.
      endif.
    Later process all into final internal table.
    If this helps you award points.
    Thanks,
    Deepak.
    Message was edited by:
            KDeepak

  • There has to be a way to find the current directory in JSP, right?

    I've read a number of posts, with limited results.
    Here's my problem. I have 3 databases set up, and I'd like to use a different one depending on which directory I am in. (ie Stage, Production, Dev). So I am reading the database name from a parameter file.
    I am simply trying to read a text file from the same directory as my jsp file. For example, my jsp file is in /home/username/public_html/prod
    When I try System.getProperty("user.dir"), it returns /home/username/public_html/.
    Is there a way for the jsp page to let me know it is in the prod subdirectory? Verses another subdirectory? Everything I've tried puts me in either the /home/username directory or the home/username/public_html directory. I can't get to any of the subdirectories!!! Please help!

    This is what I'm working with right now, seems to work. Anyone know a better way:
    ServletContext context = getServletContext();
    String servletpath_str = request.getServletPath();
    StringTokenizer st = new StringTokenizer(servletpath_str,"/");
    int nooftokens_int = st.countTokens();
    nooftokens_int--;
    String virtualpath_str = "";
    for(int i=0; i<nooftokens_int; i++) {
    if(i == 0) { virtualpath_str = "/" + st.nextToken(); }
    else { virtualpath_str = virtualpath_str + "/" + st.nextToken(); }
    String currentDir = context.getRealPath(virtualpath_str);
    String filename = currentDir + "/file.txt";

  • I am trying to reinstall Logic Studio 7 and I cannot find the serial number. It's suppose to be in one of the installation booklets. I'm not sure which one. Could you help me?

    I am trying to reinstall Logic Studio that i bought back in 2008, and I cannot find the serial number. I think I barely remember running into this problem before with this application. When i use the installation disc it tells me that the serial number is located in one of the installation booklets, and it doesn't explain to me which one. Can you help me?
    Thank You!
    Steven harris!
    <Email Edited by Host>

    Hello Steven,
    Check out this article:
    Logic Studio: Locating the Support ID and Serial Number
    http://support.apple.com/kb/HT3416
    You can find the Logic Studio Support ID on the front of the Installing Your Software booklet included in the software box.
    The front of the Logic Studio Installing Your Software booklet:
    All the very best,
    Sterling

  • How to delete the logical lines in JTextArea

    Hi all,
    Now that I know how to find the logical line count in JTextArea as
    I found the following in the forum.
    public static int getLineCount (JTextArea _textArea)
    boolean lineWrapHolder = _textArea.getLineWrap();
    _textArea.setLineWrap(false);
    double height = _textArea.getPreferredSize().getHeight();
    _textArea.setLineWrap(lineWrapHolder);
    double rowSize = height/_textArea.getLineCount();
    return (int) (_textArea.getPreferredSize().getHeight() / rowSize);
    I want to delete the 4th line to the last line and append ... at the 4th, if the getLineCount exceeds 3. Does any body know how to do so?
    The intention is for the multiline tooltip as I just want to show
    the first three logical line and ... if the string is too long.
    Thanks
    Pin

    The code looks good to me. The only thought I have is that the y coordinate for the rowThree point is wrong and is referencing row four.
    I've been playing around with using a JTextArea as a renderer for a JTable. I have it working so that "..." appear when the text exceeds 2 rows. Try clicking on "B" in the letter column and then the update cell button a few times to add text. My code is slightly different than yours.
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TestTable extends JFrame
         private final static String LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
         JTable table;
         Vector row;
         public TestTable()
              Object[][] data = { {"1", "A"}, {"2", "B"}, {"3", "C"} };
              String[] columnNames = {"Number","Letter"};
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              table = new JTable(model)
                   public String getToolTipText( MouseEvent e )
                        int row = rowAtPoint( e.getPoint() );
                        int column = columnAtPoint( e.getPoint() );
                        if (row == 0)
                             return null;
                        else
                             return row + " : " + column;
              table.setRowSelectionInterval(0, 0);
              table.setColumnSelectionInterval(0, 0);
              table.setRowHeight(0,34);
              table.setRowHeight(1,34);
              table.setRowHeight(2,34);
              table.setDefaultRenderer(Object.class, new TextAreaRenderer(2));
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
              JPanel buttonPanel = new JPanel();
              getContentPane().add( buttonPanel, BorderLayout.SOUTH );
              JButton button2 = new JButton( "Update Cell" );
              buttonPanel.add( button2 );
              button2.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        int row = table.getSelectedRow();
                        int column = table.getSelectedColumn();
                        String value = (String)table.getValueAt(row, column);
                        value += value;
                        table.setValueAt( value, row, column );
                        DefaultTableModel model = (DefaultTableModel)table.getModel();
                        model.fireTableCellUpdated(row, column);
                        table.requestFocus();
         public static void main(String[] args)
              TestTable frame = new TestTable();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
         private class TextAreaRenderer extends JTextArea implements TableCellRenderer
              public TextAreaRenderer(int displayRows)
                   setRows(displayRows);
                   setLineWrap( true );
              public Component getTableCellRendererComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             boolean hasFocus,
                                             int row,
                                             int column)
                   setText( value.toString() );
                   Dimension d = getPreferredSize();
                   int maximumHeight = getRows() * getRowHeight();
                   if (d.height > maximumHeight)
                        setSize(d);
                        int offset = viewToModel( new Point(d.width, maximumHeight - 1) );
                        replaceRange( "...", offset-3, getDocument().getLength() );
                   return this;
    }

  • Finding "Default Logical System Name Model Instance" in DC Project

    Hi,
    While Creating an Adaptive RFCModel, one defines the
    Default Logical System Name for Model Instance & the
    Default Logical System Name for RFCMetadata.
    In which file can I find these settings at a later stage in the Project File Structure.
    Ofcourse, I can view them in the WedynproContentAdministrator under the Jco Destinations.
    But is there anyway to access them in the NWDS?
    Regards
    MK

    Hello MK,
    You'll find the Logical System Names of the JCo destinations in the file ".wdproperties" under the project structure.
    Bala

  • To get the logical system names of all the child systems in a CUA envirnmnt

    Hi Gurus ,
    Is there any table where we can find the logical system names of all the child sytems in a CUA environment .
    This is for a requirement that i need to develop an automated process where we can reset the password of all the child system in a CUA environemt when requested by the user at once .
    I found some tables such as V_TBDLS , but they do not contain the exact information what i need .
    Thanks in advance ,
    Harshit Rungta

    Hi,
    You are in the right track. BD54 will show you the logical system name for all the existed systems in CUA.
    Else you can also go to your CUA system and execute t-code SALE --> Basic Setting --->Logical Systems  ---> Assign logical system to client -
    > Display details
    here you can see logical system names for all the clients assigned to CUA.
    Thanks,
    Deb

  • How to find the sender information from a IDOC

    Hello Colleagues
    I have a list of IDOCs which are transferred by by ALE and EDI methods, the customer idocs are using EDI and internal buyers use the ALE technology.
    I have to write a report which tells me which was the originating system/ source of the order, so I wanted to know is there a way that I can find the origin system of the idoc message.
    I had a look into EDIDC but the sender port here is a self pointing RFC for the edi messages, any idea how to get the origin system here ?, however the ALE messages gives the correct sender. But in future we are planning to have XI for internal transfer for idoc will that also have the same problem.
    Best regards
    Sujoy

    Hi ,
    you can find receiver system details in partner profile , transaction we20.
    the sender system details are
    port = SAP+your systemID(can be found in login system details)
    EX if i am using ides server(testing server) having system id ESR then port = SAPESR
    partner number u can get by following the path
    sale...>basic settings...>logical system....> assign logical system to client.
    here you can find the logical system which is nothing but your partner number for a particular client.
    Hope this  helps you.
    Thank you.
    Regards,
    Lokeswari.

  • Find the Physical Location of an attachment

    Hi,
    One of the user's has attached a 'Test Document' in FB03/FB02 transaction. When I try to view the document (word document), it shows up. I need to know where this particular document is PHYSICALLY stored in SAP.
    I tried to debug and got some indirect references, but I could not find a place where exactly this document is stored in SAP/UNIX. Even finding out a UNIX path (if it is being stored in UNIX and called by reference) would be helpful.

    Srinivas,
    It was a great surprise to see you in the forum.
    I don't know the logical/physical location. I am trying to figure out if any of the function modules or classes gives me the reference or link to any logical or physical location.
    I have debugged the SAP code, but could not find any place where the location is stored. I was ending up going to tables storing the document ID or folder ID (ex: SOFD).
    Does anyone of you know if there is a way to find the logical or physical location based on the document ID or folder ID.
    Ville, I don't think going to AL11 will help me in anyway without my knowing either the logical or physical location. Still, I will give it a shot and see if it is helpful.

  • Where can I find the ducker plug-in?

    Hi,
    This may seem kind of lame, but I can't find the Logic "Ducker" plug-in anymore. I swear I was just seeing it as an option on the insert channel > dynamics list. I wonder if I deleted it by accident. I know how to do side-chain compression but I was wanting to try the ducker to see what it could do differently or better.
    Thanks!

    Right on. I knew I saw it somewhere. Thanks.

  • NEED THE LOGIC TO RETRIVE THE DATA FROM IT2001 SUBTY 0910 AND 0100

    HI ALL,
    ITS URGENT
    NEED THE LOGIC TO RETRIEVE THE DATA FROM IT2001(P2001) SUBTY 0910 AND 0100.
    BEST REGARDS
    SUNIL

    Hi,
    Please find the logic to retrieve the data from IT2001.
    <b>Infotypes : 2001 mode n."Declare the infotype in the infotypes declaration.
    Get pernr.
    RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA."Retrieves all the records of absence
    LOOP AT P2001 WHERE SUBTY = XYZ.
    Write the logic.
    ENDLOOP.</b>
    Regards,
    Pavan Kattamuri.

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    hi
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
    lf_opsys TYPE sy-opsys.
    lf_mandt = sy-mandt.
    lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    client = lf_mandt
    logical_filename = p_unix
    operating_system = lf_opsys
    IMPORTING
    file_name = gwa_input
    EXCEPTIONS
    file_not_found = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    Concatenating the physical path and the input unix file name
    CONCATENATE gwa_input p_file INTO gf_file .
    ENDIF.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • Cannot find the Recv Logical system in Distribution Model

    HI experts,
    Im triying a Idoc to file scenario, the logical system for PI and R3 has been already created and assinged for the appropriate clients.
    and i ve created the port from r3 using tcode we21 and in PI using idx1 and Idx2. The RFC destination also created for PI and R3 system.. when i created the distribution model using BD64 in R2. when i assigning message type i can give the source logical system and i cant find the Receiver logical system...  Also in WE19 i cant find the receiver port (which i created in IDX1 and IDX2)..
    Could u tell me how to solve this prob???
    Regards
    Balaji

    Hii Ravi,
    Thanks for your reply,
    Yes i have created the port (RFC800) idx1 and give RFC destination which points the R3 system.
    I have assigned the meta data to that port using tcode idx2.
    And I have created port with port name "PORT800"  in R3 using we21 and give the RFC destination which points the PI system
    when im using the WE19... i gave source logical system as R3 Logical system and receiver logical system as PI Logical system.
    now im getting error like  "PORT RFC800 DOESNT EXIT IN THE THE TABLE OF PORT DISCRIPTIONS".
    Regards,
    Balaji
    Edited by: Balaji Pichaimuthu on Jul 25, 2009 9:32 AM
    Edited by: Balaji Pichaimuthu on Jul 25, 2009 9:32 AM

Maybe you are looking for