How to use iframe to generate a dynamic URL for error message
Hi guys,
I am new to web dynpro java and having my first webdynpro project. Just wondering how to acquire the host name, port number and error message info. dynamically in order to form the following URL format. The iframe is directed to this following URL address.
http://<%host name%>:<%port number%>/portal/ErrorPage.all?MSGID=<%=SYMSGID%>&NO=<%=SYMSGNO%>&PROG=<%=SYREPID%>
I need to replace the <%...%> part with the dynamic content. Any one could provide me with some ideas? What java classes I should use? Thanks very much.
hi
Not sure why to you need hostname and port.
You can assign relative path to the Iframe. (e.g. /test/error.html )
You can use context to generate the dynamic path and assign it to IFrame.
-Ashutosh
Similar Messages
-
How to use the selection profile and status profile for production order?
Hi expert,
I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
Please help me.
thanks in advance.
george.shiHi George,
There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
In this status profile,
1.We define the sequence in which user statuses can be activated,
2.We define initial statuses
3. Allow or prohibit certain business transactions.
Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
Regards,
Raja.
Edited by: Rajarao on Oct 30, 2008 6:21 AM
Edited by: Rajarao on Oct 30, 2008 6:22 AM -
Hi,
I have an ASA firewall with three interfaces, inside, outside and Link.
I have a situation where I need the ASA to perform the following nat rules:
from "Inside" to "Link" - any source to destination 192.168.51.0/24 - translate source to 10.0.0.19
from "inside" to "outside" - any source to any destination - translate source to "interface" (internet navigation)
from "inside" to "outside" any source to 192.168.51.0/24 - translete source to 10.0.0.17
This is what I am trying to get working:
nat (any,TEF) source dynamic any 130.130.0.19_nat destination static obj_192.168.51.0 obj_192.168.51.0
nat (any,outside) source dynamic any 130.130.0.17_nat destination static obj_192.168.51.0 obj_192.168.51.0
The problem is that the "outside" route to 192.168.51.0 is an alternative route over a VPN tunnel. I'm using sla monitor, so when the "Link" interface is out, the route table changes the network 192.168.51.0/24 to be reachable over the outside interface. but ASA is using the NAT rule to perform "egress interface lookup" instead of route-lookup.
I know about the command route-lookup on the NAT configuration, but I need to translate the source address and when I try to use the route-lookup command I get an error message:
ERROR: Option route-lookup is only allowed for static identity case
Anybody has some suggestion?
ThanksHi Julio,
Thank you for the reply.
It didn't work either.
Here are the options I get when I use the specific interfaces (using "source dynamic"):
configure mode commands/options:
description Specify NAT rule description
inactive Disable a NAT rule
net-to-net Net to net mapping of IPv4 to IPv6
service NAT service parameters
If I try to use source static:
nat (inside,TEF) source static inside_nat 130.130.0.19_nat destination static obj_192.168.51.0 obj_192.168.51.0 route-lookup
ERROR: Option route-lookup is only allowed for static identity case -
How to use BAPI to add a new version for a claim number in WTY transaction.
How to use BAPI to add a new version for a claim number in WTY transaction.
I am using function module " BAPI_WARRANTYCLAIM_ADD_VERSION ".
It needs to copy all contents of previous version to a new version.
While doing so i am unable to copy fields like valic valoc etc. Any ways by which i can copy this values.
WTY will update PNWTYH , PNWTYV and PVWTY tables.
Thanking you,
Lokesh.Hi Vishnu,
You can do that through EEWB. Please go through SAP Note 484597. You would get the details of using Easy Enhancement Work bench.
Rewards point if you think this info is useful
Regards,
Dipender Singh -
Hi, I'm Hannah. I'm using a Mac. Can you show me how to use the options with F10, F11, F12 for turning the sound up, or down or mute? Thank you very much
Normally simply pressing them should do what you want, F10 to mute; F11 to decrease volume; F12 to increase volume. However, it's possible that you have a box ticked in Keyboard preferences which modifies the behaviour of the keys, requiring you to also hold down the Fn key (bottom left key on the keyboard) to enable the function.
Check System Preferences>Keyboard to makes sure the box indicated in the image isn't ticked. -
I got a software license crtificate ,how to use it??? i paied for it.
I got a software license crtificate ,how to use it??? i paied for it.
Which program, and where did you buy?
Do you have a redemption code?
Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html -
Dynamic URL for HTTP receiver adapter
Hi all,
when the XI send the http request to the target system, the format maybe like this:
header + body the body is including: Prolog, payload and Epilog
here is about the target system have a 'input' parameter(maybe string type)
is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
i mean is it possible to set the dynamic URL for http receiver adapter like this:
http://host:port/path?input=<the header and body>
i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
and the similar threads in the forum
please give me some advice
thanks in advanceWhen a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
Could you check this?
Regards
Stefan -
Dynamic URL for Exploration View
Hi Experts,
We know that we could create Dynamic URL for InfoSpace to get its facet value and chart type
Would you kindly let me know whether it is possible to get dyanmic URL for Exploration View
I know it's hard to set chart type but we just want to fitler value on facet
Best regards
Alex yangHi Mallik,
Thanks for your help
But it looks like this kind of thing does not even for InfoSpace.
According to the document from SAP, http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_exp_admin_en.pdf
The strucutre will be as below for InfoSpace if you want to pass parameter value
http://Test.com:8080/explorer/index.jsp?isna=Dynamic URL Test&fans=Year_:_2013
We need to use isna to get infospace name or document id and using Fans to get facet value
But we do not know what's the key word to get exploration view name
Would you kindly let me know whether there is some document to use?
Best regards
Alex yang -
How to restrict the Save of a Campaign if any error messages are raised/there?
Hi All,
How to restrice the save of the Campaign if any error messages are called/raised.
Now, I am using conditions in the Save method but it is not working now.
find the Attachment for the error message.
I am assuming this error is calling from some where not from my code.
Please suggest me any Badi or other way to restrict the save of the Campaign.
Thanks in Advance....
Regards
vam'sHi I am actually trying to prevent the saving by using the BADI and putting
ev_reject_save = abap_true.
Nevertheless the campaign is saved with errors...any idea how to prevent this ? -
Dear ALL,
i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
var myBookFileName ,myBookFileName_temp;
if ( myFolder != null )
var myFiles = [];
var myAllFilesList = myFolder.getFiles("*.indd");
for (var f = 0; f < myAllFilesList.length; f++)
var myFile = myAllFilesList[f];
myFiles.push(myFile);
if ( myFiles.length > 0 )
myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
myBookFileName_temp=myFolder.name ;
myBookFile = new File( myBookFileName );
myBook = app.books.add( myBookFile );
myBook.automaticPagination = false;
for ( i=0; i < myFiles.length; i++ )
myBook.bookContents.add( myFiles[i] );
var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
var bookComps = myBook.bookContents;
if (bookComps.length === 1)
bookComps = [bookComps];
var myPDFExportPreset = app.pdfExportPresets.item("AER6");
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
//myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
//myBook.exportFile(pdfFile, false, pdfPref, bookComps);
myBook.close(SaveOptions.yes);Change the below line:
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
to
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
Vandy -
I downloaded the icloud software on my computer in order to sync calenders and contacts using Windows 2007, but I keep getting an error message when trying to sync my icloud and Outlook calendars. I downloaded it for the first time a month ago and had it working but it stopped syncing, so I deinstalled the iCloud software and reinstalled, but keep getting the error message "Your setup couldn't be started because of an unexpected error. What do I do now? Can anyone help with this?
Hello easbda,
Thank you for providing the details of the calendar issue you are experiencing with your iPhone. I recommend following the steps in the section titled "Troubleshooting on Microsoft Windows (Microsoft Outlook)" in the following article to assist with syncing your calendar events between your devices:
iCloud: Troubleshooting iCloud Calendar
http://support.apple.com/kb/ts3999
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Dynamic URL for Recv HTTP (Adapter spec attribute enabled)
Hi,
I need to have a dynamic URL for one of my cases been worked. the URL is
httlp://:<host>/perform/XTA?serv=*&action=start
the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
conf.put(trig,action);
return "";
this udf is mapped to the root node of the target...but when execute the case i get the following error
"Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
when i execute the url
httlp://:<host>/perform/XTA?serv=*&action=start
in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
any help on it pls?Hi Prabhu,
Enable Adapter-Specific Message Attributes(ASMA) in receiver HTTP channel.
Dont enable checkboxes for "URL or HTTP Destination".
Enable checkbox "Apply URL Parameters"
for parameter1 textbox give value action
Regards,
Praveen Gujjeti -
how do I get ITunes back when I get the error message :
The application "ITunes" unexpectedly quit while trying to restore it's windows. Do you want to restore it's windows?
I already tried reloading ITunes and it still doesn't startup.You didn't mention but are you still running a version of iPhoto older than iPhoto 11?
If yes, then go to the App Store and purchase the iP 11 app and install it. Back up your photo library first.
Once iP 11 is installed and has imported all your photos do a restart of the Mac.
This should resolve most issues with iTunes 10.6 and you should be able to run iTunes and sync up your iOS devices. -
Itunes U private- how to resolve an "no unhandled exception to display." error message?
How do I resolve a "no unhandled exception to display" error message when trying to access our schools itunesU site? Thanks.
Can you provide a site name, screenshot of error, and steps to reproduce?
-Thanks -
I cant use my iphone because I'm getting the error message that I must connect to Itunes and when I do it says the only option I have is to restore my phone.
Try using RecBoot or TinyUmbrella to kick it out of Recovery mode.
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
In Memory of Steve Jobs
Maybe you are looking for
-
Is it possible to create soap to file sync/async bridge
Hi All, I am balakrishna, I have one requirement, at sender side we have ep system and at receiver side having http system. from ep side we are using soap req/res as sync communication. At reciver side we have to use the reciver file adapter as a dum
-
HttpClusterServlet defaultServer List
I'm trying to use HttpClusterServlet to access a serlet deployed in a 2-wls cluster.Instead of doing this on the proxy server, as indicated in WLS document (and everything works)weblogic.httpd.register.someservlet=weblogic.servlet.internal.HttpCluste
-
How can I make CS6 panels "sticky"?
This is probably a very basic question. In the previous versions of Photoshop I've used (CS3, CS5), when I opened multiple panels (e.g. History, Info, etc) they would all stay open for reference. However with CS6 I've noticed that if I have, say, t
-
Since Aperture Update, certain keyboard short cuts don't work
I have a keyboard shortcut set-up for Curves Auto RGB which was working fine until the upgrade. Now, when I hit the key combo, it seems to be applying a Quick Fix Preset. Wrong! I checked the assignment in my custom keyboard commands menu and it's co
-
Printer does not working after restart
I have installed HP LaserJet m1120 using hplip and hplip-plugin from AUR. Everything was fine (printer worked) but after rebooting, printer doesn't working at all - cups doesn't "see" it and hp-testpage shows this: # hp-testpage -i warning: hp-testpa