Add code to pl/sql pages from web generator designer

Has anyone tryed to put code before pl/sql procedure that
manages web pages with designer ?
I'm more specific:
i want to put pl/sql code on top the procedure "Forminsert"
generated by designer; i know i can use text in the module but
generator transform text in htp.p('text');
Is there any solutions ?
thanx
Francesco Galante

You can put code in the Event PreInsert.
Example: Check web user with access control list.
Define procedure checkACL(p_userid, p_role).
Then in the PreInsert event put:
BEGIN
checkACL( owa_util.get_cgi_env('REMOTE_USER'),
'ADMIN');
END

Similar Messages

  • Call an ABAP Program from Web Application designer

    Hi Gurus,
    I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
    To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
    Ankit

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • Calling Web PL/SQL page from Employee Search Page

    Hello,
    I have a requirement where in I have to call a custom Web PL/SQL self service page from the Employee Search page (this is a page where managers search employees giving criteria as First Name, Last Name, Assignment number etc. which is a OA Framework page supplied by Oracle)
    Now situation is after search when I will click on Details button on the search results table the custom Web PL/SQL page should be called.
    But I am not able to figure out how to do it. Could anybody be able to help me on this ?

    You have to set the destination property of the button to call your WebPL/SQL page.

  • BusinessObject 4.0 API to get SQL statement from webi or crystal report

    Hello,
    Need your help.... could you confirm whether BusinessObjects 4.0 provides any SDK, API or Web Service to get physical SQL statement from the webi or crystal reports file?
    If so, could you provide name of package, class and method?
    If I am not wrong, there is an SDK in v3.0 that allows to extract the SQL. But I am reading a lot on these forums that lot of SDK classes and functions are deprecated / removed in v4.0.
    Thanks for your help.
    Omer

    For Crystal Reports in BI 4.0 to retrieve the SQL query you can use Report Application Server SDK. Here is a code snippet that retrieves the SQL statement.
    //oInfoObjectReport is of type IInfoObject corresponding to the crystal report.
    ReportClientDocument reportClientDoc = reportAppFactory.openDocument(oInfoObjectReport, 0, Locale.ENGLISH);
            //for all crystal reports
            GroupPath grpPath = new GroupPath();
            //get CR SQL query string
            String reportSQL=reportClientDoc.getRowsetController().getSQLStatement(grpPath,null);
            System.out.println("report SQL String: "+reportSQL);
            //for report whose datasource is command object:
            Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
            for (int i = 0; i < tables.size(); i++)
             ITable table = tables.getTable(i);
             ICommandTable ic= (ICommandTable) table;
             //Command can be obtained from the report using getCommandObject() method
             //get CR SQL query string
             String SQLText=ic.getCommandText();
             System.out.println("SQLText_"+i+": "+SQLText);
    Here are useful links for BI 4.0
    [RAS API Specification|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_apiRef_en.zip]
    [RAS Developer Guide|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_rasjava_dg_en.zip]

  • Does apple reject app load pages from web?

    Hi,
    We are developing an iOS app, which loads the pages developed in web side. Web pages are created by HTML 5 and jquery mobile framework. We loads that pages by using UIWebView Component. We have controlled the web pages thru Objective C. Our App is also using push notification to alert the user on certain events.
    My question is, Does Apple reject this sort of app? Since most of the pages loads from web side.
    Thanks!

    <img src="WTTC.png" width="739" height="91" alt="WTTC"/>
    <img src="/WEB-INF/docs/WTTC.png" width="739" height="91" alt="WTTC"/>
    <img src="/FrontController/WEB-INF/docs/WTTC.png" width="739" height="91" alt="WTTC"/>All files under WEB-INF are private, and are not served to a client.
    that's why above codes are not work.
    BufferedInputStream in  = null;
        ServletOutputStream out = null;
        String contentType = "image/png";
        try{
         in = new BufferedInputStream(getServletContext().getResourceAsStream("WEB-INF" + filename));
            response.setContentType(contentType);
            response.setHeader("Content-Disposition", " inline; filename=" + filename);
            out = response.getOutputStream();
            byte[] buffer = new byte[4 * 1024];
            int data;
            while((data = in.read(buffer)) != -1){
           out.write(buffer, 0, data);
            out.flush();
          catch(Exception e){
            e.printStackTrace();
        }You can ask then how above code is working. That is running in server side. that's why you are getting.
    If you want work with first code, you have to move your docs directory to under the root directory.
    Prior that read the directory Structure of Web application.
    http://e-docs.bea.com/wls/docs61/webapp/basics.html#136976

  • How do I include a page from web search into an Email?

    I have a HP TouchSmart 610-1147c Desktop computer. running Windows 7 64 bit.  I should have known the answer to this question years ago, but I don't....terrible huh?  Anyway, how do I include a page from a web search that I did into an Email?  Believe it or not, I've never had to do this before, so don't have the faintest idea how to do this.  I have a feeling that it would be sent as an attachment, but how don't know how to do that!!
    I would appreciate any help that anyone would take the time to give me.  I thank you beforehand for having patience with me and my silly question.
    Auntie CC
    This question was solved.
    View Solution.

    Well, the way I would do it is to copy and paste the web address in the email, so the recipient can click on the link and get right to the Web page.
    For example, I just googled "horses," and here is the result of that search:
    http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=horses&oq=horses&aq=f&aqi=g4&aql=&gs_l=h...
    I highlighted the Web address, copied it, and then pasted it in the response.  Same thing can be done into an emial.
    Does that make sense?  Or were you looking for something else?
    GeorgeFN
    GeorgeFN
    I work on behalf of HP.

  • Unable to add replication feature in sql server 2012 web edition

    Hi All,
    We are using SQL Server 2012, Web edition and when it was installed replication is not an added feature so I tried to add this feature but getting below error.
    Error: There are no SQL Server instances or shared features that can be updated on this computer.
    Description: The version of SQL Server instance MSSQLSERVER does not match the version expected by the SQL Server update. The installed SQL Server product version is 11.1.3000.0, and the expected SQL Server version is 11.0.2100.60
    And also please let me know how to identify the default file location of the setup file 'setup.exe' for SQL Server 2012 (Webedition, 64bit) Grateful to your time and support.
    I'm using "C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2777772\QFE\setup.exe" to add replication feature, please correct me if I'm wrong.
    Thank You.
    Regards,
    Kalyan
    ----Learners Curiosity Never Ends----

    It looks like you are trying to add Replication Components, however, you are using the Cumulative update package 5 setup, which is wrong.
    Note that you will not find the setup file for SQL Server on your file system, it will be on your installation media.
    To install SQL Server Replication Components, locate your installation media and run Setup.exe.  Select the add features to an existing instance option, select your instance, and add replication components.
    Brandon Williams (blog |
    linkedin)

  • Tag base in HTML page from web repository

    We are using EP 6.0 SP10 with KMC SP10 on host http://ep60:55000/. We want to configure web repository for http://example.com.
    We have created HTTP system "ExampleSite" in KM system landscape for web site "http://example.com", created web site "Example" in KM landscape and configured web repository manager "WebSystems" with prefix "/websys" for created web site "Example" with property "External Server URI Handling"="rewrite".
    We were create URL-iView on link http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example.
    The problem is following:
    There is no tag <base> in page content when we opening http://example.com directly in browser.
    When we preview created URL-iView page it is opened but tag <base href=http://example.com> is present in HTML page content.
    Thefore all relative links point to http://example.com but not to http://ep60:55000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/websys/Example as we need.
    What settings (in web repository, HTTP System or anywhere) disables addition tag <base> to page content?

    Hi, All. Sorry for tardy reply.
    Now i'm attempting to use "HTML Filter" (from repository filters in Content Managenment Configurator) for reset base tag.
    Unlike "HTML Stylesheet Filter" working fine (LINK tag is appearing in content of HTML repository documents),
    "HTML Filter" doesn'n work (browser display "500 internal error"). This error possess when we use "HTML Filter" for native CM repository (for example: documents).
    I find following error in knowledgemanagement.0.log file:
    #1.5#C000AC140312000500000002000012240003F737312F4F50#1116241350578#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#irj#com.sapportals.wcm.protocol.webdav.server.WDGetHandler#System#0#####Client_Thread_7##0#0#Error##Plain###Exception while applying filters: null - com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null
    Displaying pages from repository without "HTML Filter" works fine.
    My filter has following properties:
      Base Tag      = http://test.base.tag/
      Extensions    = htm
      MIME Types    = text/html
      Paths         = /**
      Active        = checked
      Priority      = 99
      Repositories  = documents
    I'm not use properties "Base URL", "URL Handler Class"
    What is a reasone of the error?
    Did anybody find a solution to remove/reset base tag?

  • Failed to connect SQL Server from Web Analysis

    Hi,
    I am not able to connect RDBMS-SQL Server 2000 SP3 from Web Analysis 9.3. I have installed JDBC driver for SQL Server 2000 also. Also defined CLASSPATH environmental variable for MSSQLSERVER.jar file. I am creating JDBC drive as: -
    Driver Type: Microsoft SQL Server
    Database Connection String:
    jdbc:microsoft:sqlserver://CNOIA258:1433;DatabaseName=biplus;SelectMethod=cursor
    JDBC User: biplus
    JDBC: biplus
    I am getting error "Getting Connection Failed"
    Please suggest any solution to resolve this issue.
    Regards.
    Atul K

    Hi Atul
    I think you need to amend the standard strings as follows:
    hyperion.jdbc.sqlserver.SQLServerDriver
    jdbc:hyperion:sqlserver://CNOIA258:1433;DatabaseName=biplus;SelectMethod=cursor
    This has always worked for me, hope this helps
    Stuart
    www.analitica.co.uk

  • Firefox prints partial pags from web why on left side only?

    When I want to print a page from the web, Firefox prints only 2-3 inches on left side of page.
    I can print e-mail OK.
    == This happened ==
    Every time Firefox opened
    == 7-20-10

    '''"I can print e-mail OK. "'''
    Web mail through Firefox, or using a different email program?
    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]
    Also, check the margin setting in File > Page Setup. An excessively large right margin setting can cause something like that.

  • Retrieve JSP page From WEB-INF

    I have query about,
    how to retrieve Jsp page that i have put in WEB-INF director,
    session.setAttributes("Here Vector not String","Value")..
    i want to set value with in vectore using above session attributes, i dont wanto set one attributes but more values in one vectore using session,

    Web pages under WEB-INF can not be accessed directly by the client.
    That is by design.
    However you can forward/include them with the RequestDispatcher, or using <jsp:forward>/<jsp:include>
    I don't understand what the bit setting session attributes is about.

  • Not publishing entire site with all pages from site studio Designer

    Hi,
    I have created the site with one primary page & one secondary page in the site designer. I must admit that they don't have link to each other. When I publishing this site using Oracle Site studio publishing utility to a subscriber, it is publishing the primary page as index.htm in the destination. It is not pulling the secondary page. But i would like to get the entire site including the secondary page. What needs to be done to get the entire site. If you have any idea, please let me know.
    Any help would be appreciated.
    Regards & thanks,
    Nirmala Vijaya Sekhar Varre

    Hi
    One way is setting a region in secondary as 'set replaceable' and geting ssURL from the code and link them in primary page.
    Thanks
    Srinath

  • Add "Trailing Nullcolls" to sql loader control files generated by OWB

    Hi gurus,
    I've got a problem loading data with SQL Loader. I need to add the parameter "trailing nullcols" into the SQL Loader control file generated by OWB. I don't want to do this by saving the skript on my hard disk and run it manually, so any ideas where I can put this parameter? I am using OWB 10.1 on a windows 2000 machine.
    Thanks
    Stephan

    Hi,
    I found the solution to problem.
    1; Select the mapping where you map your source flat file to a table.
    2; Right click on the mapping and select "configure"
    3; Go Sources and Targets -&gt; YOUR_TABLE_NAME -&gt; SQL*Loader Parameters
    4; Set Trailing Nullcols = true :-)
    Thank you to anyone looking at this problem.
    Greetings
    Stephan

  • Settings for SAP Portal start page from BEx Query Designer

    Hi!
    In order to see queries I would like to use SAP Enterprise Portal from BEx Query Designer.
    When I push "execute" button within BEx Query Designer a wrong page will be shown in browser.
    I changed the settings in table RSPOR_T_PORTAL, but still get the wrong Portal page shown in browser.
    Question:
    What is the transaction/table/report to customize the portal start page using by BEx Query Designer?
    Thank you very much!
    regards
    Jürgen

    Hi Anton?
    Many thanks for your reply.
    But I mentioned that I changed the URL within table RSPOR_T_PORTAL and this does not help...
    Do you speak Russian? Me too
    Can you also help me with the following problem?
    Hi!
    I am about to implement SAP Best Practices scenario "B34: Accounts Receivable Analysis".
    Therefore I load the data from SAP ERP IDES system into SAP NetWeaver 2004s system.
    My problems are:
    when I try to load the transaction data for Infosources 0FI_AR_4 and 0FI_AR_6 from SAP ERP system the following happens:
    - the status is getting u201Cyellowu201D (194 from 0 records)
    - at the next day the status is getting u201Credu201D and I received the following error:
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    Comment:
    I did not find any entries on "Environment -> Transact. RFC -> In source system"
    The Source system connection EC6CLNT100 is OK
    Can some one help me to solve this problem?
    Edited by: Jgen Pfeiffer on Feb 5, 2009 12:48 PM

  • Can't add new element to model node from web service

    Hi Folks,
    we are using the old WebService (not adaptive one) for calling a service on XI. We are reusing the same service for loading the data and also sending them back to the backend to modify, delete or add new elements. Request and response tree structure consist basically of the same structure.
    Now everything works fine so far except adding a new element to the model tree.
    So what are we doing:
    After calling the service for reading (and invalidate on the response), we copy the received data from response node into the request node. All the view forms are bound to the model elements in the request.
    Modifying single attributes worked just fine (from dialog and programatically). A new element we add to the model tree shows up in the dialog and seems to work equally fine, but when we trigger the service call to send the collected data, every change to the model data is send except the new added element. It just won't be send.
    What's the problem here? Seems to me this must be somehow related to the supplying relation role maybe.
    What code do you need to look at and how do I mark code in the new forum editor so it gets displayed properly formatted?
    Thanks,
      ok

    Hi,
    Can you tell me which code are you using currently for transferrring the data? It might help me to figure out what your problem is.

Maybe you are looking for

  • Why can't I actually put widgets on the desktop?

    Why can't I actually put widgets on the desktop and have stay on the desktop; not float on top of all my programs so I can't see what I am doing? I know there are a few widgets that claim to do this, but they don't! (Dashit) Here is the main problem

  • BI 7.0.2

    Hi all, has anyone got any reading notes on BI 7.0.2? like what are the new features. have any pilots been done? is product stable. Responses would be great help Thanks Xeon

  • Leopard Terminal - No ANSI Colors at all?

    I've done a lot of searching on Terminal colors in Leopard (updated to latest.) I keep coming across fixes to change your colors, but my issue is that my Terminal doesn't display any ANSI colors at all. The terminal configuration works fine, but colo

  • Chat Live with our BT Vision expert – Weds 2nd Feb...

    Hi Everyone UPDATE: Thanks to everyone who joined our chat tonight!  Very busy and lots of great questions coming through.   We weren't able to answer them all in the time we had, so if you posted a question but didn't see it come through it's becaus

  • Ipad min without 4g

    if i purchase a ipad mini without 4g will i still be able to access the internet if needed through my iphone as a hotspot?