Effect html code of sap portal
Hi all
Along with our web team I am looking into re-skining the SAP portal and was just wondering if there is a way of effecting the html code generated for each page of it. I know you can change the CSS tags, images via the theme editor etc but was wondering if it was possible to actually change the html code. i.e. have the ability to remove certain <table> tags or add new div tags and assign a class to them which could them be re-styled by adding aditional code to the CSS file. Basically the more that can be accessed the better so any help/advice in this area would be much appreciated.
Regards
Mart
Hi,
for more info about Tag Library read this: [Tag Libraries Tutorial |http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html] and usage in portal this: [Layout Tag Library|http://help.sap.com/saphelp_nw2004s/helpdata/en/42/ea3a29b28e1bcae10000000a11466f/frameset.htm]
Romano
Similar Messages
-
How to import my html code in to portal?
hi all,
I have got designed all my htmls pages from a web designer now how can i put all this html code in to portal package without a long by line cut and paste from html in to pl/sql??please suggest as i have around 60 odd htmls pages and badly need a direct way to import all these to pl/sql pakage into portal
thanx in advance
anuragI have tried the above mentioned solutions but it only adds a link to the html page and the full page.The tutorial says add a perspective and add a file item to it(ur html page) and then publish that perpective as portlet.So i did it that way but first i couldn't get the genereated code for the portlet and then felt even if i would have get the page there would have been just a link to html page and not the page it self??please suggest a solution for this as I have around 60 html pages with vey complex designs so line by line code cut/paste gonna be avery time consuming/complex option.
null -
Hi gurus
my requirement is to display html code in sap. in transaction o12c i am giving the html code in longtext , i want to display in co60 transaction . now when i am going to co60 it is taking as textfile instead of html.Plz give a solution
thanks
vivekHi Vivek,
You can take reference of BCALV_DEMO_HTML this program.
Regards,
Pravin -
Change html generated by SAP portal
Hi all
Along with our web team I am looking into re-skining the SAP portal and was just wondering if there is a way of effecting the html code generated for each page of it. I know you can change the CSS tags, images via the theme editor etc but was wondering if it was possible to actually change the html code. i.e. have the ability to remove certain <table> tags or add new div tags and assign a class to them which could them be re-styled by adding aditional code to the CSS file. Basically the more that can be accessed the better so any help/advice in this area would be much appreciated.
Regards
MartHi Mart,
You can modify in the relevant .par files if you want to remove or add in the JSP file under relevant par files.
Hope it helps
Regards
Arun -
How to use Google Tool Bar using web Services in SAP Portal
Hi,
I created a HTML Page in SAP Portal project. I want to incorporate <b>Google Toolbar using web services in my HTML Page.</b>
Please suggest/ tutorial/ codes how to implement this ?
Thanks in Advance,
Anmolsolved
-
Adobe Form called from SAP Portal, not executing interface global init code
Hello!
I have an adobe form called from both R/3 and SAP Portal and I need to show long text dinamically calculated.
The deal is at the SAP Portal execution, as scenario characteristics don't allow string definitions, I'm using 255 characters tables (QISR_TAB_TYPE), that I'm trying to convert inside form interface (Global init code).
The problem is that the interface global init code is being executed when the form is called from R/3, but it is not at SAP Portal.
Does anybody know how to manage this? It's kind of a problem that the BAdi method int_service_request_init doesn't allow types over 255 characters... and if it is not possible to access the form interface code section (maybe there's any way)... i need to find some code section where i can convert tables before the form context is filled!!
Thanks a lot!!
Regards,
Diana.Hi,
have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
Cheers -
How to increase TD width in SAP using HTML code in mail body
Dear guru.
how to increase TD width in SAP using HTML code in mail body
Sample Code :
CONCATENATE '<tr height= "3%"> <td style="background-color:#CCC8AA;" style="font = 12.0" colspan = 3 >' WA_EIS_TOT-DESC '</td>'
INTO WA_OBJTXT-LINE separated by space.
APPEND WA_OBJTXT TO T_OBJTXT.
CLEAR: WA_OBJTXT.
Regards,
Dharmin ShahHi Dharmin,
Did you try something like
CONCATENATE '<tr height= "3%"> <td height="23" width="84" style="background-color:#CCC8AA;" style="font = 12.0" colspan = 3 >' WA_EIS_TOT-DESC '</td>'
Regards,
Soundarya. -
Default Coder in VIM in SAP Portal
Hi all experts,
When set and save the Default Coder in VIM in SAP Portal under Personalise setting, the next day or next time the coder's name is disappeared in the VIM SAP Portal screen and the most important is invoice does not route to the default coder set.
Have checked Chart of Authority, the two users (Approver and Default Coder) exist in User Details and COA Details. Approval COA and Optura User Mapping Object tables also have the two users.
Any idea/help to share what is the problem or missing configuration ? Thanks in advance.Hello there,
you can just mark your post as "Correct answer" and then de-select it again. This way the thread will appear as open again.
Regards,
Steffi. -
How to link a Portal User ID in the Html code
Hi,
I have requirement where in I need to create a HTML page with a Input Parameter as Portal user ID.
This HTML Page is included in a webpage created by Web Page Composer.
Please guide me how i can catch Portal UserID PArameter in this HTML code ?
OR
Can I use EPCM Portal Eventing for the same ?
Awaiting Reply !
Thanks,
Smita Thorat
Edited by: smita thorat on Feb 8, 2010 5:09 PMHi!
The way you suggest should not be used.
A CS user will be created as a normal OID user and will receive the CS attributes in a different subtree later during the provisioning.
For creating CS users use oesuser and uniuser. Files provisioning will work in a different manner anyway.
cu
Andreas -
After add single signoff HTML code, Portal system can not login in Firefox
We implemented single singon between our Portal system and HCM system.
After we add the single signoff HTML code to the signout.html,expire.html, exception.html file of the web server of portal system, and we change the web profile:
Logout Page:signin.html to signout.html
Signon Page:signon.html to signout.html
We can not login the Portal system in Firefox browser, system display the following error information:
"You must have cookies enabled in order to sign in to your PeopleSoft application."
We can login in the Portal system in IE browser.
We can login the HCM login in FireFox.My HCM and Portal application is 9.0. PeopleToos is 8.49 for the same application.
The Firefox Browser is :3.0.1.
My App, Web and DB server for the HCM and Portal deployed on the same local machine, so the tow application have the same domain.
And the client browser is on the same machine with the server.
And when I remove all the pagelet from the portal homepage, the system report the same error information when login portal system in Firefox. Only when I stop the HCM web server, I can login in portal system in Firefox. -
Add code to 'com.sap.portal.runtime.logon'
Hi,
I want to add custom code to the logon page after the user is authenticated.
Where do I need to add this code?
Is it possible to add it under unLogonPage.jsp? or do I need to call other portal component?
The code should update custom property under user maintenence
Something like:
String uID = user.getUniqueID();
IUserMaint us = UMFactory.getUserFactory().getMutableUser(uID);
String[] param = { "123456" };
us.setAttribute("MyNameSapce","customProp",param);
us.save();
us.commit();
Thanks,
OmriHi,
I don't have welcome/home page but this is what I did:
in umLogonPage.jsp I change the action in the form to:
<FORM name="logonForm" method="post" action="/irj/servlet/prt/portal/prtroot/com.company.SetUserData.SetUserData">
I wrote AbstractPortalComponent with the following content:
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
try {
IUser user = request.getUser();
String uID = user.getUniqueID();
IUserMaint us = UMFactory.getUserFactory().getMutableUser(uID);
String[] param = new String[1];
param[0] = uID + "Testing 1 2 3";
us.setAttribute("Namespace","customProp",param);
us.save();
us.commit();
} catch (Exception e) {
response.write("<script>");
response.write("alert("Error";)");
response.write("</script>");
response.write("<script>");
response.write("location.href = "/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default"");
response.write("</script>");
The code seems to be working but I wonder what will go wrong (-: (what is the meaning of not using the 'inPortal' parameter in umLogonPage)
Should I perform any more tests?
Regards,
Omri -
SAP portal /index.html redirection
Hi.
My question is easy, or should do I guess, but I'm looking around and don't find it:
Can be changed the automatic redirection that happens in the SAP portal when you enter:
http\s://myportal.mydomain.com:<port>
and it goes directly to:
http\s://myportal.mydomain.com:<port>/index.html
I would like it to be changed so the redirection goes to
http\s://myportal.mydomain.com:<port>/irj/portal (or just /irj)
I'm sure there must be soma way to configure it, I've been looking around visual administrator and config tool but didn't found any property that defines is...
Thanks in advance and regards.Hi Olivier,
and that's (or: should be) best practice.
Don't touch the standard portal /index.html or start page. Only makes an upgrade more difficult.
A reverse proxy is meant for this. Hope that one day SAP will automatically install a WebDispatcher together with the portal. Would eliminate a lot of questions like:
- http://server/ instead of http://server:50000
- how to do load balancing
- how to show a maintenance page
br,
Tobias -
We plan to display HR transaction TRIP in a transaction iView in SAP Portal.
By default a pop-up is opened when you enter TRIP and the user is prompted for tabbing in his personnel number. How can we configure TRIP to collect the logged on user’s personnel number by default?
Any input welcomethe pop-up comes up only the first time. Than the system recognize the user.
Where this happened I think you have to do a de-bugging.
On the other hand - you are aware that TRIP is out of time?
Why are you not using WebDynpro for ABAP? -
SAP ITS URL not throwing correct HTML code
Gurus,
I am working on publishing warehouse management transaction LM05 on web browser using ITS. On our ECC6.0 system, I created required HTML templates, ITS service and published them. They are working fine and the browser is throwing up HTML pages and code as expected.
Now, on our other system which has Enhancement pack 2, I followed the same procedure, but getting different results. The initial page though is being displayed, is throwing up HTML code which is very different from what is expected. If I navigate to second screen, it is throwing up expected HTML code. Is this is a Enhancement pack issue? If not, what might be the problem and how do I get around this?
Will greatly appreciate help in this issue and points will be awarded too.
Thanks,
Surya.HI Surya,
Is the issue regarding the look and feel of your custom service?
If you review the view source of each page - what are the differences.
Check the parameters used for both service in SICF and compare.
Regards,
Oisin -
Pass Parameters to T.Code in the portal from aTransaction Iview.
Good Morning.
I published a T.code in the portal as a Transaction Iview. This work fine.
I want pass a parameter to this t.code and that the program ABAP can get this value .
I check a suggestion in the post following :
From Portal transaction iView
I did the steps , but this not work. I don't can get the value passed in the field Applications Parameters.
Attach screenshot with the steps that I did.
[Screenshot|http://www.freeimagehosting.net/uploads/3d4dd249ad.jpg]
I want know how can solve this issue?
Thank in advance.
RegardsHi Carmen,
The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
~okcode=/nSU01
And you can pass parameters in the same way:
~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
Regards, Rory
Maybe you are looking for
-
Hi all, I have the follow question: can I populate a range vith a null value? I have a field in a standard table which can be "space" or "null". But if I insert: sign = I option = EQ low = space records with "null" field aren't extracted by the selec
-
Back-up fcpx with time machine on external disk?
Hey there, I just started with editing in FCPX on a Mac Book Pro, and I'm trying to make a back-up on an external hard disk with Time Machine and I work from my internal hard disk. So every time I'm done editing in FCPX I let Time Machine make a back
-
Specify default ship to address on import
I have imported my ship to addresses for customers, but then I realized I didn't specify a DEFAULT ship to address for my customers. I looked at the template and don't see a way to specify the default ship to address. Any ideas?
-
Performanceproblem with WL6.1 JDBC and Oracle
Hi! I have a big performance-problem using wl6.1, jdbc and oracle. My Server is sending a Vector with NodeBeans via JDBC to a OracleDB. The answer comes immediately with the timeout. Why is the EJB waiting for the timeout? Is it a problem of configur
-
Hi, my printer was working fine until an error message came up. The error comes up on the printer screen as Cartridge Error: it then tells me to troubleshoot. I can't find what is wrong, so any suggestions are welcome. Thanks in advance, Lee.