How to load portlet css by myself defined.
for example:
I creart myCSS.css,I used it by html include tag,like:
<link type="text/css" href="<%=request.getContextPath()%>/css/myCSS.css" rel="stylesheet" />
at fact,it doesn't work,just load weblogic css file
when i maximize the portlet,after manually refresh this page,then load myCSS.css.
why?I don't understand.
does anyone hit this issue before?kindly let me know,thank you very much.
aris
The . means start the search relative to the . dependencies file , so the path you specify in href must resolve relative to that
Suppose your folder structure is
TestPortal
resources
yourdepenciesfile.dependencies
css
demos.css
Then you would specify (the search path element means start in folder css relative to where the file is and the href is then searched beginning from there)
<search-path>
<path-element>css</path-element>
</search-path>
<link rel="stylesheet" type="text/css" href="demos.css" />
Your Css file cannot be under WEB-INF it must be under a location that can be reached by the browserAll The framework will do when the file is found is print the following in the <head> section
<link href="/TestPortal/resources/css/demos.css" ...
which the browser will then try to download. If you keep your css file in WEB-INF then the browser will request for the file, but the server will refuse to serve it (since it doesnt serve any file under WEB-INF)
and I added xmlns="http://www.bea.com/servers/portal/framework/laf/1.0.0"
you have to add xmlns:p="http://www.bea.com/servers/portal/framework/laf/1.0.0" i.e. you are binding the prefix 'p' to the namespace specified. Read up on XML namespaces if you have a problem with the above. Your xml works because you have defined the default namespace to be the correct one , but it always helps to know how something is working. If you add xmlns:p then you need to add p: to the elements, if you define it as default you dont need anything else. As before read up on XML namespaces
Edited by: deepshet on Jun 15, 2009 6:59 PM
Edited by: deepshet on Jun 15, 2009 7:00 PM
Similar Messages
-
How to load images from css file in JavaFX 8
I have this css file which loads images in JavaFX 8 application:
#pill-left {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/left-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-left:selected { -fx-border-image-source: url("/com/dx57dc/images/left-btn-selected.png"); }
#pill-left .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-left:selected .label {
/* -fx-text-fill: black; */
-fx-text-fill: white;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-center {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/center-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-center:selected { -fx-border-image-source: url("/com/dx57dc/images/center-btn-selected.png"); }
#pill-center .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-center:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-right {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/right-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-right:selected { -fx-border-image-source: url("/com/dx57dc/images/right-btn-selected.png"); }
#pill-right .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-right:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
The images are located at the Java package com.dx57dc.images
In Java 7_25 this code works as expected but in JavaFX 8 b99 I get this error:
ava.lang.NullPointerException
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
at java.lang.Thread.run(Thread.java:724)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
What is the proper way to load images from css in Java 8?
Ref
How to load images from css file in JavaFX 8 - Stack OverflowThere is nothing special to do - you execute the statement from your program just like any other SQL statement. The only thing to be aware of are the privilege/permission issues:
When loading from a file on a client computer:
READ CLIENT FILE privilege is also required for the database user.
Read privileges are required on the directory being read from.
The allow_read_client_file database option must be enabled.
The read_client_file secure feature must be enabled.
Revoking these privileges is also the only way you can prevent a user from executing the statement. -
We have CSS 11503 which is configured for load balancing for two servers.
We have configured 3 services for load balancing.
Now we want to check how much load is distributed on each servers.
How we can see this?For a good overall summary on services try
sh summary
It is good for more long term stats. It will also let you see what services can be removed without issues. -
hello,
I wonder if anybody can explain how to load a script to run with CSS 11050.
many thanks
RaquelHi Raquel,
Do you mean a custom script or one of the canned scripts that ship with the CSS ?
If you want to load a custom script file, simply ftp to the CSS.
Once connected to the CSS via FTP (you will be in the running code directory when you ftp into any CSS), CD to "script". Once in this directory, you can "put" the file into the directory. Do not use any file extensions here.
Now, from the CSS cli, you can do a "script play filename" where filename is the name of your script. If you want to see what scripts are there (to see if your file is there correctly), do a "script play ?"
If you need further direction, feel free to reply here. You can also have a look at the following link:
http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/css_500/advcfggd/appa.htm
Regards
Pete Knoops
Cisco Systems -
How to load the content in Combobox
Dear All,
Any one can tell me how to load the combobox dynamically.. i have one combobox in that i defined the value as "Defined New" when i click the DefineNew a new form wil come i wil enter the value in the editext. when i click the combobox the value should display.. i have done this, its working fine but the problem is every time when i add the value it wil show the data in the the form Load.. i want data should come dynamically..
any one can help me in this regard
G.shankarYou can use this "oForm.Refresh()" every time you add a new valid value to the ComboBox.
I hope this help you.
Regards.
Enriquillo Guigni -
How to load a properties from path that is relative to the classpath
Hello;
I need to load a set of properties from a propertie file from inside and EJB. I need to do so that I don't set the full absoulte path of the property file. In brief I don't want to be dependent on the file system struture instead I want to read the property file relatively to the package path name.
Here is my code:
package packagename.com;
import packagename.com.*;
import java.util.*;
import java.io.*;
public class PropDemo {
public static void main(String[] args) {
public static final String PROP_FILE_NAME
= "configuration.properties";
File inputFile = new File(PROP_FILE_NAME);
Properties prop = new Properties();
try {
FileInputStream fis = new FileInputStream(inputFile);
prop.load(fis);
} catch (Exception e) {
Any body have an idea how to so.
Regards
malI realize that you are trying to be a pain in the arseNot really. I know that I spent about a day figuring it out and that was after skirting around the issue for a about a year.
with that reply, but we can look here:
public void load(InputStream inStream) throws
IOExceptionReads a property list (key and element pairs) from the
input stream. The stream is assumed to be using the
ISO 8859-1 character encoding.
The original post suggests the author already knows how to load from a file. So this doesn't help at all.
And possibly GASP cross reference this entry in
Class:
public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method
returns null if no resource with this name is found.
The rules for searching resources associated with a
given class are implemented by the defining class
loader of the class.
Now you may equivocate that the docs don't
specifically state that the classpath is where
resources are searched for, but I would maintain that
any Java developer worth anything should know this.Really? So where, in the above entry, does it explain the impact of the "/" character at the beginning of the string?
I know how classes are searched for. I know the impact of the class path. How that impacts a 'resource' is less clear. Particularily since the "/" character has nothing to do with loading classes.
>
This should be Java 101. Advanced Topics should be
something that affect people who have programmed Java
for years. (This is usually something that first year
programmers work out). If this is representitive of
the kinds of questions that qualify as "Advanced" then
this forum will become basically useless.So an opposing opinion...this is an advanced topic. Nothing in the java docs makes it clear. And it is even less clear the context of a container. -
How to load color table in a indexed mode file??
How to load color table in a indexed mode file??
Actually, if i opened a indexed file and want to edit color table by loading another color table from desktop (or any other location), any way to do this through java scripting??continuing...
I wrote a script to read a color table from a GIF file and save to an ACT color table file. I think it might be useful for someone.
It goes a little more deeper than the code I posted before, as it now identifies the table size. It is important because it tells how much data to read.
Some gif files, even if they are saved with a reduced palette (less than 256), they have all the bytes for the full color palette filled inside the file (sometimes with 0x000000). But, some gif files exported in PS via "save for web" for example, have the color table reduced to optimize file size.
The script store all colors into an array, allowing some kind of sorting, or processing at will.
It uses the xlib/Stream.js in xtools from Xbytor
Here is the code:
// reads the color table from a GIF image
// saves to an ACT color table file format
#include "xtools/xlib/Stream.js"
// read the 0xA byte in hex format from the gif file
// this byte has the color table size info at it's 3 last bits
Stream.readByteHex = function(s) {
function hexDigit(d) {
if (d < 10) return d.toString();
d -= 10;
return String.fromCharCode('A'.charCodeAt(0) + d);
var str = '';
s = s.toString();
var ch = s.charCodeAt(0xA);
str += hexDigit(ch >> 4) + hexDigit(ch & 0xF);
return str;
// hex to bin conversion
Math.base = function(n, to, from) {
return parseInt(n, from || 10).toString(to);
//load test image
var img = Stream.readFromFile("~/file.gif");
hex = Stream.readByteHex(img); // hex string of the 0xA byte
bin = Math.base(hex,2,16); // binary string of the 0xA byte
tableSize = bin.slice(5,8) // Get the 3 bit info that defines size of the ct
switch(tableSize)
case '000': // 6 bytes table
tablSize = 2
break;
case '001': // 12 bytes table
tablSize = 4
break;
case '010': // 24 bytes table
tablSize = 8
break;
case '011': // 48 bytes table
tablSize = 16
break;
case '100': // 96 bytes table
tablSize = 32
break;
case '101': // 192 bytes table
tablSize = 64
break;
case '110': // 384 bytes table
tablSize = 128
break;
case '111': // 768 bytes table
tablSize = 256
break;
//========================================================
// read a color (triplet) from the color lookup table
// of a GIF image file | return 3 Bytes Hex String
Stream.getTbColor = function(s, color) {
function hexDigit(d) {
if (d < 10) return d.toString();
d -= 10;
return String.fromCharCode('A'.charCodeAt(0) + d);
var tbStart = 0xD; // Start of the color table byte location
var colStrSz = 3; // Constant -> RGB
var str = '';
s = s.toString();
for (var i = tbStart+(colStrSz*color); i < tbStart+(colStrSz*color)+colStrSz; i++) {
var ch = s.charCodeAt(i);
str += hexDigit(ch >> 4) + hexDigit(ch & 0xF);
return str;
var colorHex = [];
importColors = function (){
for (i=0; i< tablSize; i++){ // number of colors
colorHex[i] = Stream.getTbColor(img, i);
importColors();
// remove redundant colors
// important to determine exact color number
function unique(arrayName){
var newArray=new Array();
label:for(var i=0; i<arrayName.length;i++ ){
for(var j=0; j<newArray.length;j++ ){
if(newArray[j]==arrayName[i])
continue label;
newArray[newArray.length] = arrayName[i];
return newArray;
colorHex = unique(colorHex);
// we have now an array with all colors from the table in hex format
// it can be sorted if you want to have some ordering to the exported file
// in case, add code here.
var colorStr = colorHex.join('');
//=================================================================
// Output to ACT => color triplets in hex format until 256 (Adr. dec 767)
// if palette has less than 256 colors, is necessary to add the
// number of colors info in decimal format to the the byte 768.
ColorNum = colorStr.length/6;
lstclr = colorStr.slice(-6); // get last color
if (ColorNum < 10){
ColorNum = '0'+ ColorNum;
cConv = function (s){
var opt = '';
var str = '';
for (i=0; i < s.length ; i++){
for (j=0; j<2 ; j++){
var ch = s.charAt(i+j);
str += ch;
i ++;
opt += String.fromCharCode(parseInt(str,16));
str = '';
return opt
output = cConv(colorStr);
// add ending file info for tables with less than 256 colors
if (ColorNum < 256){
emptyColors = ((768-(colorStr.length/2))/3);
lstclr = cConv(lstclr);
for (i=0; i < emptyColors ; i++){
output += lstclr; // fill 256 colors
output += String.fromCharCode(ColorNum) +'\xFF\xFF'; // add ending bytes
Stream.writeToFile("~/file.act", output);
PeterGun -
How to load images from different path
Hi,
i'm triying to load an image using the next code:
String path="C:/images/tv_on.gif";
java.net.URL imgURL =new java.net.URL(path);
img=Toolkit.getDefaultToolkit().getImage(imgURL);
but when it is compiled it returns MalformedURLException.
the image is in my local directory so i've tryed to define
path="file:///C:/images/tv_on.gif";
becuase the port and the local host name aren't needed.
Anyway it does not work.
I don't know how to load an image that it is in a file in a different path from the mainclass path
CAN ANYONE HELP ME?sorry to bother, similar like above, i tried many times on my computer to load a simple image in java application.. here's my code:
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
import java.net.*;
import javax.swing.*;
public class View extends JFrame {
private URL imageURL;
private File file;
private Image sourceImage;
private String name, title, message;
private int width, height;
public static void main(String[] args) {
System.out.println( "Hello Eros!!!" );
View img = new View();
public View() {
name = "D:/shared/inputpic.gif";
file = new File( name );
Toolkit toolkit = Toolkit.getDefaultToolkit();
try {
imageURL = new URL("http://www.google.com.my/images/logo_sm.gif" );
} catch (MalformedURLException e) {
if ( file == null ) {
sourceImage = Toolkit.getDefaultToolkit().getImage( name );
System.out.println( file );
} else {
sourceImage = toolkit.getImage( imageURL );
System.out.println( file );
width = sourceImage.getWidth( this );
height = sourceImage.getHeight( this );
System.out.println( "Pixel = " + width + "x" + height );
if ( width * height == 1 ) {
title = "Greetings"; // Shown in title bar of dialog box.
if ( file == null ) {
message = "Unable to load the file " + name;
} else {
message = "Unable to load the link " + imageURL;
JOptionPane.showMessageDialog(null, message, title, JOptionPane.INFORMATION_MESSAGE);
}could anyone test this n give my the reason i couldnt even load the image -
How can i add css styling to all elements within a symbol.
How can i add css styling to all elements within a symbol.
For instance.
If i have a symbol call "data" and within this i have 4 elements called 1,2,3,4 how do i add styling to all these elements without having to re-write code for each element.
I know i can style a symbol called "data" by :
sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
...But this does not style the content of the elements 1,2,3 and 4
If i were using standard CSS and HTML then all div's within a div called "data" would be styled the same.
help "my friends of the code"Hi Justin,
1) You have a syntax error here: sym.$("data").css("font-family", "baumans, sans-serif", "font-size", "15px");
sym.$("data").css({ "font-family": "baumans, sans-serif", "font-size": "15px"} ); // correct
sym.$("data").css( "font", "15px baumans, sans-serif" ); //correct
2) Then, loading the jQuery file is not required. You can create a class or change tags.
How to add a class:
Changing tags:
You've got 2 demo files (Edge 5.0) here: class or tag.zip - Box -
Step- by- Step on How to Load Excel data into Crystal Reports?
Hi Friends,
Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
VijayIt's also important to 'prep' the excel file prior to connecting to it.
Give the data tab a meaningful name
Make sure the column headers are unique and that every column has a header
Delete any blank tabs
If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text. You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
Schema.ini example:
200912PUSD.csv
ColNameHeader=True
Format=CSVDelimited
MaxScanRows=25
CharacterSet=OEM
Col1=SSN Char Width 9
Col2=LAST_NM Char Width 25
Col3=FIRST_NM Char Width 25
Col4=DOB Date
Col5=STDNT_ID Char Width 10
Col6=SORTKEY Char Width 10
Col7=SCHOOL_NM Char Width 30
Col8=OTHER_ID Integer
Col9=GRADE Char Width 2
The filename in the first line needs to have the [] brackets around it, but I couldn't get it to display in this forum correctly.
Edited by: Eric Petersen on Jan 27, 2010 9:40 AM -
How to load hierrarchies using dtp using flat file in bw ineed clear ste
how to load hierrarchies using dtp using flat file in bw ineed clear steps
Hi,
If you want to load InfoObjects in the form of hierarchies, you have to activate the indicator with hierarchies for each of the relevant InfoObjects in the InfoObject maintenance. If necessary, you need to specify whether the whole hierarchy or the hierarchy structure is to be time-dependent, whether the hierarchy can contain intervals, whether additional node attributes are allowed (only when loading using a PSA), and which characteristics are allowed.
1.Defining the source system from which you want to load data:
Choose Source System Tree ® Root (Source System) ® Context menu (Right Mouse Button) ® Create.
For a flat file, choose: File System, Manual Metadata; Data via File Interface.
2.Defining the InfoSource for which you want to load data:
Optional: Choose InfoSource Tree ®Root (InfoSources) ® Context Menu (Right Mouse Button) ® Create Application Component.
Choose InfoSource Tree ® Your Application Component ® Context Menu (Right Mouse Button) ® Create InfoSource ® Direct Update
Choose an InfoObject from the proposal list, and specify a name and a description.
3.Assigning the source system to the InfoSource
Choose InfoSource tree ® Your Application Component ® One of your InfoSources ® Context Menu (Right Mouse Button) ® Assign Source System. You are taken automatically to the transfer structure maintenance.
The system automatically generates DataSources for the three different data types to which you can load data.
Attributes
Texts
Hierarchies (if the InfoObject has access to hierarchies)
The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
4.Maintaining the transfer structure / transfer rules
Choose the DataSource to be able to upload hierarchies.
Idoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject, for which hierarchies are loaded. With this transfer method, during loading, the structure is converted to the structure of the PSA, which affects performance.
PSA transfer method: The transfer methods and the communication structure are also generated here.
5.Maintaining the hierarchy:
Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy.
PSA Transfer Method: You have the option here to set the Remove Leaf Value and Node InfoObjects indicator. As a result, characteristic values are not transferred into the hierarchy fields NODENAME, LEAFFROM and LEAFTO as is normally the case, but in their own transfer structure fields. This option allows you to load characteristic values having a length greater than 32 characters.
Characteristic values with a length > 32 can be loaded into the PSA, but they cannot be updated in characteristics that have a length >32.
The node names for pure text nodes remain restricted to 32 characters in the hierarchy (0HIER_NODE characteristic).
The system automatically generates a table with the following hierarchy format (for sorted hierarchies without removed leaf values and node InfoObjects):
Description
Field Name
Length
Type
Node ID
NODEID
8
NUMC
InfoObject name
INFOOBJECT
30
CHAR
Node name
NODENAME
32
CHAR
Catalog ID
LINK
1
CHAR
Parent node
PARENTID
8
NUMC
First subnode
CHILDID
8
NUMC
Next adjacent node
NEXTID
8
NUMC
Language key
LANGU
1
CHAR
Description - short
TXTSH
20
CHAR
Description - medium
TXTMD
40
CHAR
Description- long
TXTLG
60
CHAR
The system transfers the settings for the intervals and for time-dependency from the InfoObject maintenance. Depending on which settings you have defined in the InfoObject maintenance, further table fields can be generated from the system.
The valid from and valid to field is filled if you select Total Hierarchy Time-dependent in the InfoObject maintenance. The time-dependent indicator is activated if you select the Hierarchy Nodes Time-dependent option in the InfoObject maintenance.
6.Save your entries.
Depending on which settings you defined in the InfoObject maintenance, additional fields can be generated from the system. Also note the detailed description for Structure of a Flat Hierarchy File for Loading via an IDoc and for Structure of a Flat Hierarchy File for Loading via a PSA.
Also find the below blog for your reference...
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
You can load hierarchy using process chain...
Find the below step by step procedure to load hierarchy using process chain...
http://help.sap.com/saphelp_nw70/helpdata/EN/3d/320e3d89195c59e10000000a114084/frameset.htm
Assign points if this helps u...
Regards,
KK.
Edited by: koundinya karanam on Apr 8, 2008 1:08 PM
Edited by: koundinya karanam on Apr 8, 2008 1:09 PM -
How to load XI Mail Adapter screen
We are using XI 3.0 how to load or how to configure XI mail adaptor, will I goto RWB or some tcode?
Please advised...
One more thing, is there any way I send xml messages for some others user eaiml?
Thanks a lotHi all
We are using XI30 SAP640 SP20 and trying to create Alerts to eamil setup
SAPconnect is working fine... all eamil works fine... in SAP system
System Name XDV
Follow this documents pdf file URL blow:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
I am sending some paragraph arcording my probelm; someting I didn't understand please help me out
If you open above URL and check page number I having problem
QUESTION NO.1 Page No. 4.
3.1.1 Runtime Workbench Configuration
ICF Services
/sap/bc/bsp/sap/spi_monitor for example this services
all services are actived but when I right click any of them getting an error messages ?
Will it efect somewhere ?
QUESTION NO.2 Page No. 6
System Group Entry
When I check System Group Entry in RZ21 It does show XDV which is our XI system name with "YES" but
under Group name is "System 640" not as a documents said ExchangeInfrastructure_System
is that ok ?
QUESTION NO.3 Page No. 8
Set Up the Central Alert Server
In doc. said RFC dest alert server: None
In my system define our XI system host name forexample: xdbcixdv
sould I have to put none or is ok?
QUESTION NO. 3 Page No. 9
3.ICF Services: Activate the following services in SICF
some services are not listed in ICF such as
/sap/bc/bsp/sap/alertinbox
/sap/bc/bsp/sap/alertsubscription
/sap/bc/bsp/sap/alertpersonalize
/sap/bc/bsp/sap/alertpersonalize_rules
When I tried to create its not take longer 15 char. I eamil to SAP they said its ok but services
are running in background... i am not sure they are answer...? what do you thing?
QUESTION NO.4 Page No. 9 (same page)
4. Schedule Alert Processing
I didn't define schedule, sould I have to do that ? if yes, what sould I do that
and what kind of Variant report name should I select ?
QUESTION NO.5 Page No. 10
6. Schedule Report
What kind of Report does it said and why we need to do that ?
QUESTINO NO.6 Page No. 10
3.2 End-to-End Monitoring
its show PMI what is that for ? what does it do for alert
QUESTINO NO.7 Page No. 13
3. Schedule Alert Report
I didn't define background job, I will do that so what varlant should I select ?
QUESTION NO.8 Page No.14
4. Create System Group
When I tried to create its never create like Group its does show only sub-group
why ? I want its show same as picture like yellow folder or group
Exchangeinfrastructure_System
as I maintion above its show my XDV system under group System640 with monitoring active YES
is that ok ?
QUESTION NO.9 Page No. 15
6. Exchange Infrastructure Monitor
When I goto RZ20 and select SAP CCMS Monitor Template, its show Exchange Infrastructure
When I select it just show gray color look like disabled why is that that why its does not
shows like picture shows ?
QUESTINO NO.10 Page No. 16
1. Create GRMG Customizing File
Goto sap notes and download file in my computer change name like xdv_sld.txt
change scenario only system landscape directory for testing purpose
goto GRMG and updated that file and start it
its show GREEN check mark which is running fine no errors
Remember I just only change system landscape directory and create RFC connection
with test connection no errors...:), i will be create some more RFC connecitno first
I have to makesure its will works fine... or not ?
question is that will I have to create all others at this time or 1 is ok ?
QUESTINO NO.11 Page No. 18
2. Use Standard XI Monitor as Basis
can you please tell me what monitor should I select ? from the list ?
QUESTION NO.12 Page No. 19
1. Create an Alert Category
What kind of Alert category will I create, I treid ALRTCATDEF and copy some other category was there
like XDV_ALRT thats it ?
can you please tell me what alert category sould I select or where should I go?
QUESTINO NO.13 Page No. 21
5. Define Recipients
I would like to define some user like basis and other users sould I have to define there ?
and what about next picture "SAP_XI_MONITOR" should I have to define that roules alwyas?
QUESTINO NO.14 Page No. 22
7. Alert Inbox
When I goto Alertinbox does't show any messages at all; ? what i am missing
QUESTINO NO.15 Page No. 24
1. Create Alert Category for CCMS
I didn't understand from page no 24 to till end why we are create again some alert for CCMS
why we need that?
Please can you tell me thease answse or any create dummy alert for testing, will be very
help for me
Thanks a lot in Advance
Travis -
? on How to Load Variable Within For Loop
Hello,
I'm a PL/SQL newbee so I apologize up front if this is a basic question. In summary, I'm trying to build a field name within a FOR LOOP and also load this field with it's associated data from an input record and finally load the data to the output record and pipe the row. I can successfully build the field name but don't know how to load it with data from the input record.
Here is a sample from the code.
The input table is shown with the 6 different Fnma codes. Instead of checking each code for data, I want to build the field name, load this field name with data from the input record and move the data to the output record.
CURSOR cur_loan(prod_date_in IN DATE) IS
Select
Ln.Ln_No,
Ln.Prod_Date,
Ln.Ln_Fnma_Ftr1_Cd,
Ln.Ln_Fnma_Ftr2_Cd,
Ln.Ln_Fnma_Ftr3_Cd,
Ln.Ln_Fnma_Ftr4_Cd,
Ln.Ln_Fnma_Ftr5_Cd,
Ln.Ln_Fnma_Ftr6_Cd,
from LOAN Ln
where PROD_DATE = '16-FEB-11';
Here is the FOR LOOP that successfully builds the field name in l_feat_code_name. Then I "assume" by moving this field to l_output that l_output will contain the actual data, not the field name. However, it appears to contain the field name instead of the data.
FOR l_To IN 1 .. 6
LOOP
l_feat_code_name := ('l_loan_rec.ln_fnma_ftr'||l_to||'_cd');
l_output := l_feat_code_name;
IF (l_output is not null or
l_output <> ' ') THEN
l_out_rec.Inv_Type := l_Fnma_Cd;
l_out_rec.feat_code := l_output;
l_out_rec.Src_Delete_Flag := l_src_delete_flag_n;
PIPE ROW(l_svc_ln_rec);
END IF;
END LOOP;
How can I move the data itself into the l_out_rec.feat_code output record? Thanks in advance.Hi,
l_output is defined as follows:
l_output varchar2(20) ;
I appreciate your example.
Again, after I build l_feat_code_name it contains the column name from the input record, Ln_Fnma_Ftr1_Cd, ....Ftr2...., .....Ftr3..... and so on up to Ftr6. However, I also need the **data value** of Ln_Fnma_Ftr1_Cd, ....Ftr2...., .....Ftr3..... and so on up to Ftr6. My question is how to get the data value. You see below when I move l_feat_code_name to l_output I'm expecting l_output to contain the **data value**. Instead, when I display it in DBMS_output, it shows the column name.
CURSOR cur_loan(prod_date_in IN DATE) IS
Select
Ln.Ln_No,
Ln.Prod_Date,
Ln.Ln_Fnma_Ftr1_Cd,
Ln.Ln_Fnma_Ftr2_Cd,
Ln.Ln_Fnma_Ftr3_Cd,
Ln.Ln_Fnma_Ftr4_Cd,
Ln.Ln_Fnma_Ftr5_Cd,
Ln.Ln_Fnma_Ftr6_Cd,
from LOAN Ln
where PROD_DATE = '16-FEB-11';
Here is the FOR LOOP that successfully builds the field name in l_feat_code_name. Then I "assume" by moving this field to l_output that l_output will contain the actual data, not the field name. However, it appears to contain the field name instead of the data.
FOR l_To IN 1 .. 6
LOOP
l_feat_code_name := ('l_loan_rec.ln_fnma_ftr'||l_to||'_cd');
l_output := l_feat_code_name;
IF (l_output is not null or
l_output ' ') THEN
l_out_rec.Inv_Type := l_Fnma_Cd;
l_out_rec.feat_code := l_output;
l_out_rec.Src_Delete_Flag := l_src_delete_flag_n;
PIPE ROW(l_svc_ln_rec);
END IF;
END LOOP; -
Step by Step details on how to load data from a flat file
hi can anyone explain how to load data from a flat file. Pls giv me step by step details. thnx
hi sonam.
it is very easy to load data from flat file. whn compared with other extrations methods...
here r the step to load transation data from a flat file.......
step:1 create a Flat File.
step:2 log on to sap bw (t.code : rsa1 or rsa13).
and observe the flat file source system icon. i.e pc icon.
step:3 create required info objects.
3.1: create infoarea
(infoObjects Under Modeling > infoObjects (root node)-> context menu -
> create infoarea).
3.2: create char /keyfig infoObject Catalog.(select infoArea ---.context menu --->create infoObject catalog).
3.3: create char.. infoObj and keyFig infoObjects accourding to ur requirement and activate them.
step:4 create infoSource for transaction data and create transfer structure and maintain communication structure...
4.1: first create a application component.(select InfoSources Under modeling-->infosources<root node>>context menu-->create applic...component)
4.2: create infoSource for transation data(select appl..comp--.context menu-->create infosource)
>select O flexible update and give info source name..
>continue..
4.4: *IMp* ASSIGN DATASOURCE..
(EXPAND APPLIC ..COMP..>EXPAND YOUR INFOSOURCE>CONTEXT MENU>ASSIGN DATASOURCE.)
>* DATASOURCE *
>O SOURCE SYSTEM: <BROWSE AND CHOOSE YOUR FLAT FILE SOURCE SYSTEM>.(EX:PC ICON).
>CONTINUE.
4.5: DEFINE DATASOURCE/TRANSFER STRUCTURE FOR IN FOSOURCE..
> SELECT TRANSFER STRUCTURE TAB.
>FILL THE INFOOBJECT FILLED WITH THE NECESSARY INFOOBJ IN THE ORDER OR SEQUENCE OF FLAT FILE STRUCTURE.
4.6: ASSIGN TRANSFER RULES.
---> NOW SELECT TRANSFER RULES TAB. AND SELECT PROPOSE TRANSFER RULES SPINDLE LIKE ICON.
(IF DATA TARGET IS ODS -
INCLUDE 0RECORDMODE IN COMMUNICATION STRUCTURE.)
--->ACTIVATE...
STEP:5 CREATE DATATARGET.(INFOCUBE/ODS OBJECT).
5.1: CREATE INFO CUBE.
-->SELECT YOUR INFOAREA>CONTEXT MENU>CREATE INFOCUBE.
5.2: CREATE INFOCUBE STRUCTURE.
---> FILL THE STRUCTURE PANE WILL REQUIRE INFOOBJECTS...(SELECT INFOSOURCE ICON>FIND UR INFOSOURCE >DOUBLE CLICK > SELECT "YES" FOR INFOOBJECT ASSIGNMENT ).
>MAINTAIN ATLEAST ON TIME CHAR.......(EX; 0CALDAY).
5.3:DEFINE AND ASSIGN DIMENSIONS FOR YOUR CHARACTERISTICS..
>ACTIVATE..
STEP:6 CREATE UPDATE RULES FOR INFOCUDE USING INFOSOURCE .
>SELECT UR INFOCUBE >CONTEXT MENU> CREATE UPDATE RULES.
> DATASOURCE
> O INFOSOURCE : _________(U R INFOSOURCE). AND PRESS ENTER KEY.......
>ACTIVATE.....UR UPDATE RULES....
>>>>SEE THE DATA FLOW <<<<<<<<----
STEP:7 SCHEDULE / LOAD DATA..
7.1 CREATE INFOPACKAGE.
--->SELECT INFOSOURCE UNDER MODELING> EXPAND UR APPLIC.. COMP..> EXPAND UR INFOSOURCE..> SELECT UR DATASOURCE ASSIGN MENT ICON....>CONTEXT MENU> CREAE INFOPACKAGE..
>GIVE INFOPACKAGE DISCREPTION............_________
>SELECT YOUR DATA SOURCE.-------> AND PRESS CONTINUE .....
>SELECT EXTERNAL DATA TAB...
> SELECT *CLIENT WORKSTATION oR APPLI SERVER >GIVE FILE NAME > FILE TYPE> DATA SAPARATER>
>SELECT PROCESSING TAB
> PSA AND THEN INTO DATATARGETS....
>DATATARGET TAB.
>O SELECT DATA TARGETS
[ ] UPDATE DATATARGET CHECK BOX.....
--->UPDATE TAB.
O FULL UPDATE...
>SCHEDULE TAB..
>SELECT O START DATA LOAD IMMEDIATELY...
AND SELECT "START" BUTTON........
>>>>>>>>>>
STEP:8 MONITOR DATA
> CHECK DATA IN PSA
CHECK DATA IN DATA TARGETS.....
>>>>>>>>>>> <<<<<<<<<----
I HOPE THIS LL HELP YOU..... -
How to attach a CSS style sheet ?
Hi,
How to attach a CSS Style sheet to a portal page ?
Thanks for your help,
Jean-ChristopheFor a standard Portal page you should use the Portal styles and associate them to a page. These effectively generate a CSS style sheet anyway if you view the HTML source of a rendered page in your browser.
Using the correct PDK APIs you effectively reference the CSS tags in your Java or PL/SQL code.
If your portlet need to open a page in a new window you can no longer reference the Portal page style as the CSS style sheet does not get attached.
In this situation, code your HTML as normal and reference your CSS style sheets as normal.
If you create you CSS sheet you can store it in a page as a file and access using the direct access URL like I showed you in a previous response regarding the storing of images.
Cheers,
John
Maybe you are looking for
-
How to configure 3 different members under a single Month column
Hi SAP Gurus, My client requirement is to show the report in following format, where under a Month column 3 different columns having 1) Quantity (Number of unit ) of a product, 2) its rate (Amount per unit), and 3) Total (amount) will appear in
-
Uploading document in to SAP R/3 through Portal
Hi, We are in SAP EP5 SP5. Our requirement is to upload a document from the user into SAP. Is there anyway we could do this. We just have Portal Platform, no KM and Unification. Is there any standard Iview from SAP EP which allows us to upload the do
-
How to resolve error 51 in Mountain lion ?
Since I have updated my OS to 10.8 I am not able to connect the VPN . It is showing me error 51 . How to restart VPN connectivity.
-
How to detect H&J violations from a script
Is there a way to detect all lines that violate the H&J settings? ID highlights the lines in yellow, and I'd like to get a list of those lines so I can monitor in a script how changing frame width solves the problem lines. I realize I could manually
-
Increase in phishing emails supposedly from BT
In the past few months I've noticed that I am getting more & more phishing emails pretending to be from BT. They are all going to an email account that I don't use anymore (but what I used to set up my internet with originally) but have forwarded to