Need HTML code to call template from an existing web template
Hi all,
Can someone help me with a HTML code which can call another web template from a field of a table.
I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
Please provide me with a HTML code which can do this.
Regards,
Suchitra
Hi all,
Can someone help me with a HTML code which can call another web template from a field of a table.
I have a web template which includes table as web item.The template when executed displays the data of query view in the form of table.One of the field in the table is Europe.Now my requirement is when i click on that field Europe,it should open up another template which is present in the system.
Please provide me with a HTML code which can do this.
Regards,
Suchitra
Similar Messages
-
Call a FM in a web template to execute a workbook in the portal
this is what i got and what i need,
i got a web template like a panel buttons, where behind each button is a web report, but there is one report that is needed in a workbook, i got the button for this report, the problem is how can i call this workbook trough the web template???
trough javascript???
trough html???
trough FM ??
i got a FM RSAH_LAUNCH_EXCEL , this FM just need the ID WORKBOOK and ID QUERY and call the workbook , this FM can be fixed because this button is for this report, but now what can i do to make this...., helpHello.
I have exactely the same need, can you please let us know how you solved your problem?
Thanks
Best Regards. -
How to make a template from an existing document on my ipad Air 2 using word
I want to know if it's possible to make make a template from an existing document on my ipad Air 2 using the free microsoft word app.
Thank youRAW import is not yet supported. Just guessing that this is what you were trying . - Guido
-
Need PBL code to call webservice in ALBPM
I have make one HelloWorld webservice as below:-
package webBased;
import javax.jws.*;
@WebService
public class HelloWorld {
@WebMethod
public int hello(int a,int b) {
int c=a+b;
return c;
I have Created wsdl of it and imported in ALBPM by doing following steps:-
Catalog-> New Module -> WebService. All the xmls and wsdl are imported.
Now i want to call it in ALBPM flow and created Global activity. In main task of activity, I need to write PBL code to call that webservice.
Can anyone help me in this PBL code to call it.
or is there any other way to call this web service in ALBPM process flow.
Thanx,
VinnyThanx. I have drag and drop only two things
hello(OSBWeb.HelloWorldService.HelloWorldService, a : 10, b : 29, out @return : c)
helloWorldService = OSBWeb.HelloWorldService.HelloWorldService(endPoint : "http://localhost:7001/TestPOC/HelloWorld")
and successfully hit the service from Global Activity in ALBPM. -
Help needed in EJB - to call AS from EJB a Session Bean
Hi All ,
I have been strictly told not to use Web Services as all the applications are on the same server
actually I have to make an EJB invocation to an Application Service from the CAF layer from a Session Bean of another EJB Project(Not a CAF Service).
the CAF layer has 5 parts metadata , permissions , dictionary , ear and ejbmodule.
I added the ejbModule to the Build Path of the calling EJB Session Bean. And so I was able to access the operations of the Application Service which in turn accesses a BAPI(The Appl Service operation returns a String).
But while executing I got the exception java.lang.RuntimeException: java.lang.NoClassDefFoundError
My method :
Normally from a Dynamic Web Project acting as a client to an EJB Session bean, I was able to get access to EJB Local Interface by using
private ConverterLocal converterBean = null;
public void jspInit() {
try {
InitialContext ic = new InitialContext();
converterBean = (ConverterLocal)
ic.lookup("java:comp/env/Converter");
} catch (Exception ex) {
System.out.println("Couldn't create converter bean."+
ex.getMessage());
BigDecimal dollarAmount = converterBean.euroToDollar(value);
So I created a JNDI field in ejb-j2ee-engine.xml
enterprise-beans>
<enterprise-bean>
<ejb-name>com.sap*******.bapi_company_getlist.BAPI_COMPANY_GETLIST</ejb-name>
<jndi-name>COMPANY</jndi-name>
</enterprise-bean>
</enterprise-beans>
And from my Session Bean , I tried to access it using the code in already existing Bean which was working fine
BAPI_COMPANY_GETLISTBeanImpl bean = new BAPI_COMPANY_GETLISTBeanImpl();
try {
InitialContext ctx = new InitialContext();
bean = (BAPI_COMPANY_GETLISTBeanImpl)ctx.lookup("COMPANY");
} catch (NamingException e) {
System.out.println("Converter Bean can't be created");
String send = bean.returnDetails();
And I tried to print the String , but I got the above error
I have a doubt :
1) How do I specify the JNDI name ie in the ejb-j2ee-engine.xml file , what should I add as the name of the ejb
is this sufficient , or are there more steps ??Hi Ekaterina,
I have the document to access my Bean from another Bean.
I could access my Bean from a standalone Java class with this code
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");
props.put(Context.PROVIDER_URL,"hostname:port");
try{
Context ctx = new InitialContext(props);
Object o = ctx.lookup("sap.com/TestEAR/REMOTE/TestBean/com.@#$.TestRemote");
TestRemote testRem = (TestRemote)javax.rmi.PortableRemoteObject.narrow(o, TestRemote.class);
String msg = testRem.getMessage();
System.out.println(msg);
And in this document there is a way shown to access a bean from another Bean.
http://help.sap.com/saphelp_nw04/helpdata/en/13/c8633e0084e946e10000000a114084/frameset.htm
If your client is another enterprise bean, declare the EJB reference in the ejb-jar.xml.
-For more information, see Declaring EJB References.
But the problem is that in EJB 3.0 , I can't see the ejb-jar.xml file .
So how should I have a Bean as a client to another Bean, I am not that familiar with Annotations. -
Need Sample code to retrieve Data from Portal DB(Oracle)
Would anyone provide me steps to create application with a sample code to retrieve data from portal DB which is oracle and see the output in table format.
Hi Bris ,
The sample code , you didnt specified from where do u want to access the oracle thorough java code or through webdynpro .
Sample code to access through Java
import java.sql.*;
class Customer
public static void main(String args[]) throws SQLException
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
System.out.println("Connecting to the database...");
try
Connection cn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","t");
Statement st=cn.createStatement();
ResultSet rs=st.executeQuery("select 'Connected' from dual");
rs.next();
String s=rs.getString(1);
System.out.println(s);
st.close();
cn.close();
catch(Exception ex)
System.out.println("The exception raised is:" + ex);
[code]
If accessing through JDBC datasorce.
https://www.sdn.sap.com/irj/sdn/thread?threadID=328550
https://www.sdn.sap.com/irj/sdn/thread?threadID=309386
[code]
package com.dhl.employeemodel;
import java.sql.Connection;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;
public class DBConnectionManager {
Connection connection;
* @return
public Connection getConnection() {
try
Context jndiContext = new InitialContext();
DataSource ds = (DataSource)jndiContext.lookup("jdbc/MyAlias");
connection = ds.getConnection();
catch(Exception connectionErrEx)
//connectionErrEx.printStackTrace();
return null;
return connection;
Thanx
Pankaj -
Getting rep-3002 when calling report from form on web
i am getting rep-3002 when i call report from a form on web environment. Report is in character mode. It is coming proper if i change it to bitmap. but my requirement is of character mode. pl. give some solution.
Hello,
If you are running in WinNT/2000 environment, the NT/2000 user which runs the Report Server service must have a printer defined. In the control panel, look at the properties for the Report Server to see what user it runs as. Log in as that user and make sure a default printer is defined.
Regards,
The Oracle Reports Team --skw -
Calling report from form in Web environment
Hi,
We are in the process of migrating our C/S appication (developed in Developer2k) to intranet using OAS. My question :
a) Is there any other way to call report from a form other than web.show_document?
b) When a report is called from the report server(using web.show_document), a log-in screen comes up unless the login and password is passed as parameter. Only problem with this is the password shows in the URL. Is there any other way to make the call so that the login & password does not show and the user won't have to login a second time to run the report?
Any reply would be appreciated..Thanks1. Yes you can use run_product package procedure to call reports on web, Oracle documentation says that run_product command will run in web env.
2. Yes you can hide username & password from user, it depends on which method you are using to call reports, if you are using web cgi then add username & password in file "cgicmd.dat" and "oascmd.dat" for web catridge or in cartridge parameter setting you will find this files in directory "\orant\report60\server\".
Darshan Desai
[email protected]
null -
Calling OWF from customer build web application
All, All the example that I've read from OWF documentation is assuming that you builder the workflow from OWF Builder and manage it thru OWF manager, monitor is thru OWF Monitor. I'm wondering if it is possible to monitor the workflow and manage the workflow from customer build web application. Since we don't want our users have to login several times and use different URLs to get into the customer build application, then manage the workflow and monitor it via different urls. Anybody has experience doing all from one application can provide any insight would be greatly appreciated.
dslHi,
Well, I did my JSP pages doing selects to OWF tables and OWF java APIs. I used owf pl/sql procedures as my reference. For example, I need to know how to create actions buttons. I looked at wfa_html procedure and looked for how it was doing that.
Any doubts just ask,
Regards,
Luiz -
Problem in opening existing web template in WAD
hi,
I am facing a problem when opening an existing template through Web Application Designer on my computer.
We are on BW 3.5 and i am able to login into Web Application Designer and when i tried to open an existing template, it gives me the following error.
" Run-time error '9':
Subscript out of range"
If anybody experienced any similar type of problem and resolved it, please let me know.
I also want to let you know guys that my IExplorer version is 6.
Thanks in advance.make sure no one else is editing the template when you open the template in WAD.
Download the latest BW front end patch for BW 3.5, the latest patch available iS BW FE Ptach 6. This can downloaded from http://service.sap.com/patches .
Thanks. -
Need SQL code for this logic - - From Serial and To serial no.
In Forms 4.5 Screen I have two text boxes where i will be entering From Serial No
and to serial no.
I want the code which will check whether any number in between these from and to serial exists in a table or not ?
For Example
Select * from t; -- contains
serial number
321-456-789
123-456-654
321-569-986
321-569-987
When I enter from Serial no 321-456-789 and to serial no as 321-456-789.. I should get a message sayinig that 321-456-789 exists.
When I enter from Serial no 321-569-986 and to serial no as 321-569-988.
I should get a message sayinig that 321-456-986 exists.
I should get a message sayinig that 321-456-987 exists.
I should get a message sayinig that 321-456-988 not exists.
is it possible with a SQL query or do we need to go for procedure or temp table ?
If anybody ahving similar code please post it here.
Thanks in Advance
DevenderHi Devender,
Try this :
SQL> select * from t;
SN
321-456-789
123-456-654
321-569-986
321-569-987
SQL> var sn1 varchar2(11)
SQL> exec :sn1 := '321-569-986'
Procédure PL/SQL terminée avec succès.
SQL> var sn2 varchar2(11)
SQL> exec :sn2 := '321-569-988'
Procédure PL/SQL terminée avec succès.
SQL>1 select a.sn, decode(t.sn,null,'does not exists','already exists')
2 from
3 (select substr(replace(:sn1,'-','')+rownum-1,1,3)||'-'
4 ||substr(replace(:sn1,'-','')+rownum-1,4,3)||'-'
5 ||substr(replace(:sn1,'-','')+rownum-1,7,3) as sn
6 from (select level
7 from dual
8 connect by level <= (replace(:sn2,'-','')-replace(:sn1,'-',''))+1
9 )
10 )a,
11 t
12* where a.sn=t.sn(+)
SQL> /
SN DECODE(T.SN,NUL
321-569-986 already exists
321-569-987 already exists
321-569-988 does not exists
SQL> exec :sn1 := '321-456-789'
Procédure PL/SQL terminée avec succès.
SQL> exec :sn2 := '321-456-789'
Procédure PL/SQL terminée avec succès.
SQL> l
1 select a.sn, decode(t.sn,null,'does not exists','already exists')
2 from
3 (select substr(replace(:sn1,'-','')+rownum-1,1,3)||'-'
4 ||substr(replace(:sn1,'-','')+rownum-1,4,3)||'-'
5 ||substr(replace(:sn1,'-','')+rownum-1,7,3) as sn
6 from (select level
7 from dual
8 connect by level <= (replace(:sn2,'-','')-replace(:sn1,'-',''))+1
9 )
10 )a,
11 t
12* where a.sn=t.sn(+)
SQL> /
SN DECODE(T.SN,NUL
321-456-789 already exists
SQL> Nicolas. -
Need BDC code for Call Transaction of VL31N, which creates Inbound del.s,
Hi Experts,
Is any body does have the BDC (CALL TRANSACTION) code for VL31N transaction, where we can crete INBOUND deliveries from Purc Orders.
Actually, currently am doing by using FM - GN_DELIVERY_CREATE, but, its not given me a chance to incorporate BATCH SPLIT functionality. So, decided to go with BDC
1 - Is this VL31N is Okay for BDC, bcoz, some where I red that, since its a ENJOY tx, its NOT recommended?
2 - Is there any other FM, BAPI to create INBOUND deliveries from POs, which can take care of BATCH SPLIT functionality?
3 - BDC code for VL31N tx.
thanq
Edited by: Srinivas on Jul 29, 2008 1:47 PM1 - Is this VL31N is Okay for BDC, bcoz, some where I red that, since its a ENJOY tx, its NOT recommended?
yes you can do that .
2 - Is there any other FM, BAPI to create INBOUND deliveries from POs, which can take care of BATCH SPLIT functionality?
using BDC we can achieve the Barch split functionality.
3 - BDC code for VL31N tx.
Record using SHDB it will give you. -
Need source code to add image from a rolling camera onto a panel
is there anyone who would be kind enough to tell me how i would get a moving camera image to appear on a specified panel.I am using Java awt
Thankyou for responding. its important because i dont have a clue where to begin and i have a project idea that could help me exscape back into freedom
-
Need help in adding Cooliris photo gallery to premade web template.
Hi,
I purchased a flash template that has nice effects. I would like to add Cooliris or a nice photo gallery page to the site. I contacted their help forum from where I bought the template and they say the effects are an embedded video that has to be custom editied, which I don't know how to do.
What do I need to do? Can I upload the template in this forum to show exactly what I mean? or, I can show you the sample template at:
http://www.templatetuning.com/flash-templates-preview/32485.html
MartyChange this -
<p><u>Welcome to Automated Compliance Solutions</u></p>
<p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
to this -
<p><u>Welcome to Automated Compliance Solutions</u></p>
<p><a href="yourlink.htm"><img src="yourbutton.png" width="266" height="56" border="0" align="right" /></a></p>
<p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
Be aware that my suggestion here is NOT valid XHTML, but since you are not a web developer, and the 'invalid' markup that I have suggested will not affect the rendering or operation of the page, I decided to keep it simple for you. In my suggestion, "yourlink.html" refers to the page to which you want this button to link, and "yourbutton.png" refers to the filename of the button image (obviously you'd want to change this to correspond to the filename and extension of the image you have created). -
Calling portlet from a normal web application
I have the following question:
I would like to deploy portlets on Oracle Portal and "call" them programmatically from a home made web application running on the same Oracle Application Server where the portal runs.
As I am running my web application on the same server I would like to avoid WSRP and SOAP calls.
I am aware of the existence of the new Web Center and the possibility it gives to include portlets in web application ... but I cannot use the Web Center for now mainly because of licensing problems and application server versions.
Is there an API (Java, PL/SQL or anything else) allowing to "call" a portlet deployed on Oracle Portal ?
Thanks for the help.
NicolasHi,
Well, I did my JSP pages doing selects to OWF tables and OWF java APIs. I used owf pl/sql procedures as my reference. For example, I need to know how to create actions buttons. I looked at wfa_html procedure and looked for how it was doing that.
Any doubts just ask,
Regards,
Luiz
Maybe you are looking for
-
Etrecheck results and damaged Property List Data
In the past couple of weeks I have discovered several problems with my (mid-2010) iMac (System: OS X 10.9.4). First of all, Safari does not automatically open when I boot my computer. Although the computer appears to work alright otherwise, I then su
-
Manual reservation for order category 30 not allowed
Gurus, I want to do manual reservation for order category.In MB21 when i try to do the reservation the system in giving the error message Manual reservation for order category 30 not allowed What should be done to overcome this. In the order one comp
-
Camera not working on new profile
I have 3 profiles on this same Skype, on one laptop. 1 profile works fine but on second profile camera not working (video not showing), audio works fine. I created a new account (e-mail is same from second profile) and is this same - video not workin
-
hi all, I bought a DVI to HDMI adapter to use on my G4 and it works like a charm. Do they make any straight forward HDMI video cards to use on older G4 Macs?
-
Trigger mail on Custom Property Change event
Dear All, We have few license documents stored into our KM Repository and it has few custom properties attached to it such as Document Priority, Expiry Date, Document Status, description and so on... now We have already configure schedular task in km