Creating a simple iview with a link
hi everyone
how do i create and display an iview within the portal with just a link to yahoo in it without using dev studio or any IDE?
thanx
nb
Hi namira,
You can create a <b>URL iview</b> & Give any URL you want to it.
For ex:
<b>URL</b>: http://www.yahoo.com
Try this link for Using the URL iView Wizard::
http://help.sap.com/saphelp_nw04/helpdata/en/4c/eee2bedf3b4082b14a933e5ee63472/frameset.htm
<b>Regards,
Sai Krishna.
PS: Plz do give points if it helps. ;-)</b>
Similar Messages
-
How do I create an iView with multiple links to R/3 transactions
Hello Portal developers,
I'm looking for a solution for displaying multiple links on a single iView or Page. The requirement is calling for several SAP Transactions and a link to an external web application from a single view. Could or should this be done using KM Navigation iView, or creating separate iViews for each link and placing them in a page?
Thank you for your recommendations.Hi Terry,
Are the SAP Transactions fixed ?
I mean have you fixed that only these many transactions have to be displayed ?
If yes, better option would be to create separate iviews for each and assign these to the "Related Links" or "Dynamic Navigation" of a page.
IF no, that means, you want the user shall enter the transaction code and that transaction should open up in iview, then ofcourse you cant go in for the above solution.
Thanks,
Samta -
How to create a table report with alphabetic link at the top
Hello,
I have a db table of users, and have created a report based on this table, however I want to have each aphabet letter at the top of the report so that users can click on the letter and see all records where the username field starts with that letter.
How can I achieve this?
Thanks,Hello user11243298 (please tell us your name),
Your report query would look something like this (assuming page number is 1):
select some_column1, some_column2
from your_user_table
where username like :P1_INITIAL || '%'
For the letters at the top of the report, here's a couple options:
- If you want all letters to appear whether or not there are any rows, you can create a series of buttons or links, one for each letter, and specify the target URL to submit back to the report page, setting the item P1_INITIAL to each letter.
- If you want only letters that have rows, one way is to create a dynamic LOV based on a query like this:
select distinct upper(substr(username, 1, 1)) d, distinct upper(substr(username, 1, 1)) v
from your_user_table
order by upper(substr(username, 1, 1))
Then use that for a select list with submit, again targeting the report page and setting P1_INITIAL to the selected value.
Hope this helps (if it does, please reward it),
John -
I want to create a simple docuement with 2 pages?
I want to my plugin to create a simple document as soon as My Plugin is loaded in Indesign. I have derived my class IStartupShutdownService so that it's called in startup.
But this is failing at line 23 below.
What else do I need to include in my .fr file?
class LTestStartupShutdownServiceImpl : public CPMUnknown<IStartupShutdownService>
public:
LTestStartupShutdownServiceImpl(IPMUnknown* boss);
virtual ~LTestStartupShutdownServiceImpl();
virtual void Startup();
virtual void Shutdown();
CREATE_PMINTERFACE(LTestStartupShutdownServiceImpl, kLTestStartupShutdownServiceImpl)
LTestStartupShutdownServiceImpl::LTestStartupShutdownServiceImpl(IPMUnknown *boss):CPMUnknown<IStartupShutdownService>(boss)
do
const PMReal width=612, height=792;
const int32 numPages=5, numPagesPerSpread=1;
// Create the command.
InterfacePtr<ICommand> newDocCmd(Utils<IDocumentCommands>()->CreateNewCommand()); //<-----this is coming null and failing
ASSERT(newDocCmd);
if (newDocCmd == nil)
break;
// Set the command's parameterised data.
InterfacePtr<INewDocCmdData> newDocCmdData(newDocCmd, UseDefaultIID());
ASSERT(newDocCmdData);
if (newDocCmdData == nil)
break;
newDocCmdData->SetCreateBasicDocument(kFalse); // Override the following defaults.
PMPageSize pageSize( width, height);
newDocCmdData->SetNewDocumentPageSize(pageSize);
bool16 bWide = kTrue; // landscape orientation.
newDocCmdData->SetWideOrientation(bWide);
// Size margin proportional to document width and height.
PMReal horMargin = width / 20;
PMReal verMargin = height / 20;
newDocCmdData->SetMargins(horMargin, verMargin, horMargin, verMargin);
newDocCmdData->SetNumPages(numPages);
newDocCmdData->SetPagesPerSpread(numPagesPerSpread);
// Create the new document.
CmdUtils::ProcessCommand(newDocCmd);
while (false);
LTestStartupShutdownServiceImpl::~LTestStartupShutdownServiceImpl()
void LTestStartupShutdownServiceImpl::Startup()
void LTestStartupShutdownServiceImpl::Shutdown()
Below is the .fr file:
* Boss class definitions.
resource ClassDescriptionTable(kSDKDefClassDescriptionTableResourceID)
Class
kLTestStartupShutdownServiceBoss,
kInvalidClass,
// Implementation of IStartupShutdownService
IID_ISTARTUPSHUTDOWN, kLTestStartupShutdownServiceImpl,
// Implementation to IK2ServiceProvider to identify the service type as startup-shutdown
IID_IK2SERVICEPROVIDER, kLTestStartupShutdownServiceImpl,Hi maddy,
I want to save the document to MyDocuments folder, I tried to look in IDocFileHandler but I can not get a function which takes path/name as input with docRef.
Can u suggest how can my document to disk?
I dont want user to enter any detail, the document just created should get saved on Disk with the use of some commands only. -
What is the best qay to create a simple page with three textbox fields
Hi
I try to create a Portal page for Password change.
At first look, I taught that to create that basic page will be easy as one, two , three.
Unfortunately not.
I need to create three textbox and include pl/sql validation agains our BD.
I usually work with a form base on procedure whose contain htp.package procedure
to create a portal page when that form is called. (Base on the way where Portal manage his own change password page.)
I try to get a better design of the page.
Where I get all the information about that package ? I want to center the page.
Oh yeah, I'm a newbie in html.
Any ideas will be appreciate
Thank
RegisHi,
You could create a FORM with non base table fields. You could then validate the values on SUBMIT (say through a button) and then do whatever processing,redirection needs to be done.
Or
you could create a DYNAMIC PAGE with all html fields and proper alignments etc and on form submit do the relevant processing.
Thanks,
Anu -
Creating A Simple Video With Music and A Picture Background
Some of you all may know that I am in a band. I am wanting to put some of my music on youtube and am wanting to make just a simple video- with the song playing in the background- and just some sort of nature picture, or only a few going in the background. I'm thinking I should use iMovie, but I haven't had a whole lot of luck figuring it out this morning, so I was wondering if anyone here could help me with the task that I mentioned. It would be so greatly appreciated!!!
Thanks So Much,
EthanAluminum or not, there actually is an iMovie forum:
http://discussions.apple.com/forum.jspa?forumID=1307
Good luck! -
How to Create a simple report with headers and repetitive details
Hi All,
I have been trying to do a report through PLD with a query that accept a parameter and has been saved into a Query category of the Query Manager. The Problem that i have encountered is that though i wish to have some of my fields into the Report's Page Header Area, i may not able to move it from Repetitive Area1 Area.
I tried creating a field of database and tried linking it with Table but only the First Record details of my table gets displayed in that field irrespective of the parameters i provide.
Thanks in Advance,
Siju DasanHi Suda,
The 'T0.' and 'T1.' can be avoided as you say...
The resultset would contain same values for fields of Table1 and the different values of fields of Table2, which means the fields of table1 can be grouped and moved to the header and so it needn't be redundant in the report.
just like resultset,
T0.Field1 T0.Field2 T1.Field1 T1.Field2
1 Henry Item01 345
1 Henry Item02 112
1 Henry Item03 745
As in this resultset above, you can see that fields of T0 that is Table1 can be grouped so that only Fields of T1 that is Table2 need be displayed in repetitive area.
Thanks,
Siju Dasan -
Create SAP RFC iView with a structure as import parameter
Hello All,
I'm creating a SAP RFC iView from Portal SAP 7.4.
I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when I do a preview the iview, the following error occurs:
Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
And only is possible select a output object.
Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
Thanks for your collaboration.Hello All,
I'm creating a SAP RFC iView from Portal SAP 7.4.
I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when I do a preview the iview, the following error occurs:
Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
And only is possible select a output object.
Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
Thanks for your collaboration. -
How to create a new IView with a new User assigned to it?
Hi All,
I have a Web Dynpro application and I want that to use in Portal.
I am creating a IView..and a Role and assigning it to a created User.
But when I am logging in with the new User I am getting an error. The Error is some Desktop.
Can any provide me the steps for the creation of the same.
Regards
DKHi,
Here is the step-by-step procedure to create a web dynpro iView in portal:
1. Logon to portal.
2. Content Administration->Portal Content.
3. Right Click on the folder 'Portal Content'.
4. Select 'iView' ->'New'
5. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'
6. In the 2nd step, Give iView Name and iView ID and a prefix. Next.
7. Select application variant, say, 'Java' in the 3rd step. Next.
8. In the 4th step, select the System (Your WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace. In the Application Name, enter the application name of your Web Dynpro Application, say ABC_App. Next.
9. Finish.
10. In the left panel, now you will see an iView has been created.
11. Create necessary role/workset and assign this iView for an user.
Regards,
Vijayakhanna Raman -
Create a simple connection with mysql
hello
my name is edvanio i am from brazil.
i'd like to connect one program in Java with mysql for insert, delete and update one simple base ex. teste with nome and fone.
thank , byehere's a couple of sites
http://www.javacoding.net/articles/technical/java-mysql.html
http://www.developer.com/java/data/article.php/3417381
I recently installed MySQL (just to see if I could get a working program to run)
these were the steps
1. downloaded MySQL
2. downloaded the connector file
3. unzipped/installed MySQL
4. unzipped the connector file
mysql-connector-java-3.0.17-ga-bin.jar
copied the jar file into this directory
C:\Program Files\Java\jdk1.5.0_03\jre\lib\ext
5. opened MySQL, using the code from Gamelan
create the db JunkDB
created the user, permissions, password
6. combined the code from both sites (code follows)
and it worked OK
import java.sql.*;
class MySQL_Test
public MySQL_Test() throws Exception
testDriver();
Connection con = getConnection();
executeUpdate(con,"CREATE TABLE test(id int,text varchar(20))");
executeUpdate(con,"insert into test(id,text) values (1,'first entry')");
executeUpdate(con,"insert into test(id,text) values (2,'second entry')");
executeUpdate(con,"insert into test(id,text) values (3,'third entry')");
executeQuery(con,"select * from test");
executeUpdate(con,"drop table test");
con.close();
protected void testDriver() throws Exception
try
Class.forName("com.mysql.jdbc.Driver");
System.out.println("MySQL Driver found");
catch(ClassNotFoundException cnfe)
System.out.println("OOPs - MySQL Driver nowhere to be found");
throw (cnfe);
protected Connection getConnection() throws Exception
String url = "";
try
url = "jdbc:mysql://localhost:3306/JunkDB";
Connection con = DriverManager.getConnection(url,"auser","drowssap");
System.out.println("Connection OK");
return con;
catch(SQLException sqle)
System.out.println("OOPs - No Connection");
throw (sqle);
protected void executeUpdate(Connection con,String sqlStatement) throws Exception
try
Statement s = con.createStatement();
s.execute(sqlStatement);
s.close();
catch(SQLException sqle)
System.out.println("OOPs - error executing statement");
throw (sqle);
protected void executeQuery(Connection con,String sqlStatement) throws Exception
try
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sqlStatement);
while(rs.next())
String id = (rs.getObject("id").toString());
String text = (rs.getObject("text").toString());
System.out.println("Found record "+id+" "+text);
rs.close();
catch(SQLException sqle)
System.out.println("OOPs - error executing resultset");
throw (sqle);
public static void main(String[] args)
try
new MySQL_Test();
catch(Exception e){e.printStackTrace();}
} -
Error in creating a simple table with JSON object in SAPUI5
The error is : SCRIPT1006: Expected ')'
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.ui.table "
data-sap-ui-theme="sap_goldreflection">
//themes : sap_platinum, sap_goldreflection
</script>
<script>
// create some local data using JSON
var aData = [
{Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
{Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
{Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
{Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
{Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
{Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
{Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
{Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
{Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
{Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
{Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
{Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
{Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
{Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
{Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
{Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
{Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
// Define a table [Note: you must include the table library to make the Table class work]
var oTable = new sap.ui.table.Table({
title: "Projects Status", // Displayed as the heading of the table
visibleRowCount: 4, // How much rows you want to display in the table
selectionMode: sap.ui.table.SelectionMode.Single, //Use Singe or Multi
navigationMode: sap.ui.table.NavigationMode.Paginator, //Paginator or Scrollbar
fixedColumnCount: 4, // Freezes the number of columns
enableColumnReordering:true, // Allows you to drag and drop the column and reorder the position of the column
width:"1024px" // width of the table
// Use the Object defined for table to add new column into the table
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Applications"}), // Creates an Header with value defined for the text attribute <<<<<<<SCRIPT1006: Expected ')'
template: new sap.ui.commons.TextField().bindProperty("value", "Applications"), // binds the value into the text field defined using JSON
sortProperty: "Applications", // enables sorting on the column
filterProperty: "Applications", // enables set filter on the column
width: "125px" // width of the column
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "PercentComplete"}),
template: new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"),
sortProperty: "PercentComplete",
filterProperty: "PercentComplete",
width: "125px"
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Date_Due"}),
template: new sap.ui.commons.TextField().bindProperty("value", "Date_Due"),
sortProperty: "Date_Due",
filterProperty: "Date_Due",
width: "125px"
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Testing_Due"}),
template: new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"),
sortProperty: "Testing_Due",
filterProperty: "Testing_Due",
width: "125px"
//Create a model and bind the table rows to this model
var oModel = new sap.ui.model.json.JSONModel(); // created a JSON model
oModel.setData({modelData: aData}); // Set the data to the model using the JSON object defined already
oTable.setModel(oModel);
oTable.bindRows("/modelData"); // binding all the rows into the model
//Initially sort the table
oTable.sort(oTable.getColumns()[0]);
// finally place the Table into the UI
oTable.placeAt("content1");
</script>
</HEAD>
<BODY>
<div id='content1'></div>
</BODY>
</HTML>Hi Amr
Here is an example on how to addColumn
Example
-D -
Error creating a simple polygon with lat/lon
Hello,
When I validate the result of the following code used to insert a polygon, I get oracle error 13050 - Contact Oracle. If I change the order of the points, I get error 13349 - Polygon crosses itself, so I feel I have the points in the correct order. Any ideas why this polygon won't validate to true?
insert into tblname values(
(mdsys.sdo_geometry(2003,null,null,
mdsys.sdo_elem_info_array(1,1003,1),
mdsys.sdo_ordinate_array
(-89.228298,42.916663,
-89.344087,43.247025,
-89.016191,43.33739,
-88.912663,43.079601,
-89.02033,43.008463,
-89.228298,42.916663))
), field 2, 'field3')
Thanks for any thoughts,
DavidBruce,
I was attempting solve a business/spatial problem the wrong way, based on limited experinece with Oracle spatial.
I need to create a convex hull polygon from a splatering of points. (for sake of arguement, lets say the points are salesmans locations and there will be approx 2,000 salesmans locations. I need to create a convex hull of these 2000 points).
My initial thought was to use the points as input to making a polygon. I was then going to use this polygon as input to making the convex hull. In order to make a valid polygon to feed into the generation of the convex hull, the points have to be in such an order so there are no crossing lines and the polygon closes itself, when creating a polygon.
I have since been given the suggestion of using my ponits as input to making a linestring geometry, and then using this linestring geometry as input to creating a convex hull.
Hope this explains my thought process. Thanks for your input.
David
null -
Creating a simple graph with time and values?
I think I'm probably just plain stupid that I can't seem to get this done, but I've been trying now for two hours and tryed the help section so some one please help!
I have a table with quite a lot of columns.
First column is the years, the other column are prices values for different regions.
Why can't I pick two regions and plot them against the years????
I can pick two regions and plot them, but then I don't get the years underneath.
When I try to add the years, it also ends up as a value on the y-axis, while I want those as the x-axis.
This can't be difficult... even in Excel it took me five minutes to get it, so why not here??????
nullA Scatter Graph takes an extra step (or two).
Make Table with Header Row and create Columns for each data pair.
Select data.
Select Scatter Graph.
Adjust X-Axis Ranges and Steps (Select Labels).
Regards, -
How to create treeControl's node with DynamicViewObject & Link?
Thanks for your help.
The technique to do exactly this is called XNode. It's very difficult, not
supported or documented, and although they work in >7.1, you have to use
scripting a lot, and that is not supported in 8.x. The technique used in 7.1
is also preceded. I would really not recommend it. Search LAVA if you need
to know more.
You could do this with XControls. These technique might not do 100% what you
want, but at least they are supported. Haven't used LabVOOP (search class or
classes in the LV help, there are instruction tutorials and videos), but I
think you can't make property nodes and methods. I'm sure XControls can do
that. Both are advanced stuff...
A third option is to make an express VI, that is configurable by double
clicking on it. Don't like to use them myself, and therefore haven't make
any. I think you need a toolkit to make them.
Regards,
Wiebe. -
Pdf-file with clickable links from iweb 09
How can I create a pdf-file with clickable links from a website created in iweb 09?
All iwork apps have an export button, which fulfills this task, but iweb does not.
Any idea?I am running 10.5.6 on a MacBook Pro 2.53 GHz. I create my PDFs via the print dialogue. I tried to create a PDF from iweb with Hyperlinks activated and all links are dead. I tried to create the PDF from the Safari window, were all links are active, and – funny enough – sometimes all, sometimes half of my links are dead. But most of them do not work. As soon as I create PDFs from third party sites, everything works fine.
Maybe you are looking for
-
IPod no longer updates smart playlists after upgrade to 1.3
After upgrading my 5th Gen 30GB iPod to 1.3 I noticed immediately that the smart playlists on my iPod aren't updating any longer. Until 3 days ago my iPod had firmware version 1.2.1 and all smart playlists worked as expected. I have many smart playli
-
Multiple Transaction with Fully Rolled Back
Hi there, I've the scenario for a project that require multiple transaction as a subsequent process. I'll have one RFC Function Module that wrap multiple BAPI inside there. This RFC will be publish as a webservice and will be consumed by .NET applica
-
Please explain how to change Album sort order
I'm sorry if this has been asked before. I've looked everywhere and can't find a solution. Itunes appears to be sorting my albums by year. For instance on my iPad under Dave Matthews the first album is Remember two thing from 1993. I want to change t
-
What Are Application Keywords in Snow Leopard?
I recently updated to Snow Leopard, and I've been trying out the expanded syntax coloring. However, I cannot find one example of code colored as an application keyword. I set the color for application keywords to bright red so it would stand out. I h
-
Hi, I have a link(to a pdf) in a pageStatus of a page.On clik of the link I want to see the content in a new browser.Right now,the current browser gets refreshed. How can I solve it. I see "Target Frame" property for the link in Jdev.What are the val