Creating URL and fetching the parameters
Hi,
In my webdynpro application I hav to create a URL that shud take me to a new IView and in that URL I have to give certain Parameters that I have to fetch as application parameters.I am not aware how to create URL and give the PCD path of the new iView and the Parameters that I hav to fetch. I have seen some of the threads but I am not able to find out the clear picture.Could anyone help me out?
This is really urgent.
Thanxs in advance.
Hi,
You can navigate from one view to another using portal navigation
WDPortalNavigation.navigateAbsolute();
The above method needs various parameters which are shown<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm">here</a>
Warm Regards,
Murtuza
Similar Messages
-
Adding and reading the parameters from the WebDynpro Application URL
Hi,
I have a WebDynpro Application with two views. Based on the values populated by the user in the first view, I am pulling the data from database and populating the data in the second view. I do have a scenario where I have to skip the first screen and show the second screen directly. But, for the values that has to be populated in first screen, I am planning to append the parameters in the url and provide the link to the users via email.
Is it possible to add parameters to URL and read those Parameter values when user clicks on the URL.
Thanks & Regards
swetha.HI,
Code for accessing params in webdynpro java:
String urlParamVal = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("URL_PARAMETER");
if((urlParamVal != null) && (urlParamVal.trim().length() > 0))
<Write the code>
Reading parameters:
Re: Reading URL Parameter
How to pass and fetch multiple parameter in the URL of the Web Dynpro
Regards,
Lavanya.G -
How to open an URL and close the URL window, using adobe javascript
Hi,
Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
Thanks.Hi all
In addition to what Bobby W - Adobe TS added, you might find
the following useful as a bypass or workaround to the pesky prompt.
var pw=window.parent;pw.opener=window.self;window.open("
http://www.adobe.com");
pw.close();
I think this will only work for IE browsers. Actually, I
think the whole window.close() only works for IE, but could be
wrong about that.
Cheers... Rick -
Can we split and fetch the records in Database Adapter
Hi,
I designed a Database Adapter to fetch the records from oracle Database. Some time, the Database Adapter need to fetch around 5000, or 10,000 records in single shot. In that case my BPEL process is choking and getting error as
java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
Could someone help me to resolve this?
In Database Adapter can we split and fetch the records, if number of records more then 1000.
ex. First 100 rec as one set and next 100 as 2nd set like this.
Thank you.You can send the records as batches useing the debatching feature of db adapter. Refer documentation for implementation details.
-
Error message an error occurred while signing in " when I worked with Create PDF and at the signed
Error message "an error occurred while signing in " when I worked with Create PDF and at the signed in status. Please help so that I can continu my work.
Hi Stacy,
Thank you for your attention.
I have been working with Create PFD under normal procedures including
sign-in and several documents had been finished. However, when continued
creating another document the computer took a long time to pprocess and
finally a mesage appeared: "An error occurred while signing in" and stopped
there. I clicked the OK button and start creating again and the same
message appeared once more. I tried to log off and log in again in no
avail. So I went to the help site and called for help.
Later, I decided to reboot the computer and tried once more. This time it
worked and I continued creating. Thanks.
laozhao39 -
Call the database table on commit operation and fetch the rows
Hi
I am new to Bpel. I have a task to call the database table on commit operation and fetch the rows and call a webservice iteratively for fetching the data into a file?
Can anybody help me on this
Thanks and regards
RichaHI,
update ZYBKP set MATNR = <b>zcore_2-ZDUMMY</b> where matnr = <b>zcore_2-ZDUMMY</b>.
update ZY310 set MATNR = zcore_2-ZDUMMY where matnr = zcore_2-ZDUMMY.
update ZYBCS_LOT set MATNR = zcore_2-ZDUMMY where matnr = zcore_2-ZDUMMY.
<b>YOU ARE COMPARING SAME MATERIAL AND UPDATING WITH THE SAME..</b> AND ALSO ZCORE_2 IS A DATABASE TABLE AND MAY NOT CONTAIN ANY VALUE AT THAT POINT...
in these statments you say that
update table set matnr = 'MATNR' WHERE MATNR = 'MATNR'.
EVEN THOUGH THIS STATMENT IS EXECUTED THERE WILL NOT BE ANY CHANGE IN THE TABLE...
Thanks,
Mahesh -
Open a url and view the files with it's timestamp
Hi guys,
I need to create a flow service in SAP BC to connect to a server by it's url and display it's files with it's timestamps.
I have never done this b4, and usinf SAP BC makes it harder for me.. Mostly I need to know how to access the server and view the files with their timestamp.
Any guidance for me will be much appreciated.
Thank u.Yes,
It's like this. I will connect to an FTP server. Then I need to view the files it the server or folder i specify with their respective timestamps.
I am using SAP BC and it's webMethods to create the JAVA flow service. I am only now familiarising myself with SAP BC.
Moreover I have never done a coding to access a server and list it's file. I can do it o view in a local directory using JFrame aand stuff... But SAP BC doesn't support those..
So If u can give me some guidelines to follow.. i would appreciate it.
Here's what i have come up with so far
public static final void ReadFileServer( IData pipeline ) throws ServiceException
//define input variables
IDataCursor idcPipeline = pipeline.getCursor();
String path = null;
path = (String)idcPipeline.getValue();
// Check if url is in the pipeline
if (idcPipeline.first("path"))
File dir = new File(path);
String filesFound[]=dir.list();
long [] age;
age = new long[filesFound.length];
for (int i = 0; i < filesFound.length; i++)
age = new File(filesFound).lastModified();
String temp = "";
for (int i = 0; i < age.length - 1; i++)
for(int k = i+1; k < age.length ; k++)
if (age > age [k])
temp = filesFound;
filesFound = filesFound[k];
filesFound[k] = temp;
for (int i = 0; i < filesFound.length; i++)
//get url out of the pipeline
path = (String)idcPipeline.getValue();
//insert the FILES into the pipeline
idcPipeline.insertAfter("filesFound", filesFound);
idcPipeline.insertAfter("age", age);
//If it is not in the pipeline ERROR
else
age = "False";
idcPipeline.insertAfter("path", path);
//insert the successFlag into the pipeline
idcPipeline.insertAfter("age", age);
//Always destroy cursors that you created
idcPipeline.destroy();
return;
} -
HOWTO: Changing the URL and reloading the dataset
Sometimes, you will need to change the url of your dataset
and reload the dataset. This is quite easy to do with changing a
variable and calling a method. Below is the code you would use. I
use it to page through a set of data which only comes back in 10
row increments and we do not know the recordcount of. (Yippee,
Oracle E1). Anyway, here's the code....
<script type="text/javascript" language="javascript">
rowCount = 0;
dsPeople = new
Spry.Data.XMLDataSet("/spry/?event=peopleSearch&srchRowStart="
+ rowCount,"/orders/row", { useCache: false });
function changeRowCount()
rowCount = rowCount+10;
var spryURL = "/spry/?event=peopleSearch&srchRowStart="
+ rowCount;
dsPeople.url = spryURL;
dsPeople.loadData();
</script>
<div spry:region="dsPeople">
<div spry:state="loading"><img
src="/assets/images/ajax-loader.gif"/></div>
<div spry:state="error">Error Loading
Data...</div>
<div spry:state="ready">
<div spry:repeat="dsPeople">
<span spry:content="{dsPeople::NAME}"></span>
</div>
<a href="javascript:changeRowCount()"><span
spry:content="Next 10 Records"></span></b>
</div>
</div>Enabling SSL for Central Administration is a good idea. Making it so it is only accessible using an IP address doesn't make it any more secure. This is security through obscurity and anyone dedicated enough to attacking Central Administration will find the
site whether it's an IP address or named.
For what it's worth an attacker is going to try scanning IP ranges long before they try looking at DNS. And, because of the way SharePoint works if the site is accessible by its IP address and not a specific hostname, anyone who knows the IP address and
the SSL port (443) can connect. If you have a hostname it won't be immediately accessible.
Some other thoughts: When you rely just on the IP address, what happens if you want to move Central Administration to another server in the farm, or you want to provide load balancing and have multiple servers hosting Central Administration? What happens
when the server running Central Administration dies so you create a new Central Administration site on a server with a different IP address? How will you communicate this URL change to all of your administrators?
Jason Warren
@jaspnwarren
jasonwarren.ca
habaneroconsulting.com/Insights
Sorry,
I wasn't clear in my OP. The IP would be tied to a DN. So you would go https://abc123.com and it would ask for authentication. That URL would be tied to a separate IP on the network card of that server. The IP address association
is done through IIS. -
Create, write, and close the Spool
Hello everybody,
I have a problem with the spool in one program i have to develop.
In the same program I have to create different lists and transform them into pdf to send by mail. The issue I am facing is to create different entries in the spool with the different lists. I read something about the function Get_print_parameters, but what I need is to open the spool, then write into this spool and close it, because afterwards I will send the email with this attachement. i have to do this several times.
Does anybody know how to do this opening writing and closing??
Regards, and thanks very much
CaletrioYou may use these FMs
RSPO_OPEN_SPOOLREQUEST
RSPO_WRITE_SPOOLREQUEST
RSPO_CLOSE_SPOOLREQUEST
P.S. Please search the forum before posting the query. -
Creating class and returning the dataset when the proxy function is called
Hello all,
I am able to set the connection and call the function from .net. My requirement is all follow,
I want to create a class in .net which will call this function and will return a dataset.
That means when that class is called with the required parameter it should return a dataset.
Can anyone can give the code or the steps how can i achieve it?You can either have an instance variable SoSession, if your seConnect() method is in the same class as the saveInterest() method, or pass in the SoSession object to the saveInterest() method.
public class Sample{
private SoSession session;
public SoSession seConnect()
SOApplication app = new SOApplication();
SoSession se = SoSession.Authenticate(app.Database.Username, app.Database.Username);
return se;
public void saveInterest2()
if (se != null) //Here i want to check on the returned se, but this is probably the wrong way ??, because it fails
System.out.println("Yeah' im still inn");
else
System.out.println("Doo' im not inn");
} this way, the class calling the methods would do this:
public class Test {
public static void main(String [] args)
Sample s = new Sample();
s.seConnect();
s.saveInterest();
}~Tim
Message was edited by:
SomeoneElse -
Insertion in XML Type table and fetching the data in Pro*C
I have a Pro*C program written which populate one temp table. That temp table is used for writing the records to a flat file and then the table is purged by this program itself. Now my requirement is to write a new procedure in this progarm which simultaneously populate new XML Type table. Also i have to write some other procedures/functions to query the XML type table
in Pro*C. I am new to XML part of database. Could somebody suggest how to go ahead with this problemPlease check the Oracle Database 10g: XML DB Developer's Guild for example.
-
Creating Relationships and using synchronization parameters in SUP
Hello Experts ,
I am developing an iPhone application using generated code from sup .
I want to put forward some querries that i have in my mind .
Basically my scenario is i have an equipment list and details for each equipment .
On iPhone one page displays the list and on clicking on any equipment i go to another page displaying eq details .
1.How do i filter data for details based on particular equipment number selected on first screen .
2.In SUP i have 2 mbo's , one for eqpmnt and another for details .Does creating relationship between them in sup changes generated code and filters data automatically in xcode .
3.Do i have to use synchronization parameters in this case to filter out data .
If not please tell me how should i go forward about this .
Any kind of help would be appreciated .
Thanks & Regards ,
Rockky .Hi Rockky,
1- If you want to filter data on page displays list then you have to create synchronization parameters. Once you retrieved data from back-end it all comes to CDB (sybase consolidated database) so synchronization parameter filters data from cdb for which input you entered.
2- If you display detail of any equipment you have to set relation between root and child MBO.
there is a very clear tutorial which sybase provides you can find samples about using relations and synchronization prmtrs:
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01213.0200/doc/pdf/sup_tutorials_ioscodegen.pdf
Regards
Tahir -
Way to check who created PO and input the Goods Receipt?
SAP Experts
A question to you all. Is there a way/report/number of tables to validate which user ID create or changed a Purchase Order and if they also entered the Goods Receipt? We want to be able to check this on a monthly basis as a management check.
Thanks
DeniseIf you need report for the same then you can check ME2N - dynamic selection - drop down Purchasing document header - select Created by field and enter User ID(or list of User ids) for which you want to see POs created.
MIGO Display - Doc Info can give you the User who created.
If you want other way round then you can use tables as suggested above:
EKKO for PO
MKPF for MIGO
RBKP for MIRO
Thanks,
Praveen. -
I recently tried to download a pdf file from a website in the UK. Up popped a message saying the website could not be accessed, followed by this message: "MAC OSX doesn't recognize internet addresses starting with "c:". I was able to access the website easily (its domain was "www") and the page listing the pdfs, but could not download a pdf. Of course," c:" appears not to be a valid domain name, but why would anyone use "c:" in place of a domain name in their URL? And what can I do about the problem? I'm using Snow Leopard 10.6.8 and Safari 5.1.10, but also have Firefox and Chrome loaded. Thanks.
An address starting with c: wouldn't be any kind of domain name. C: is the drive lettering system DOS and and later uses. By default, A: and B: are reserved for your first and second floppy disk drive. All hard drives are then named C: through Z:, if you have that many. C: is normally your startup disk.
Anyway, their PDF file is incorrectly linked to a file directly on the C: drive of someone's computer. It's not going to work no matter what you do. -
Create idoc and send the purchase order
Hi all,
In transaction code ME22N when the items in PO is changed then it should make delivery zero and in another system another delivery should be created that should be done via IDOC...
so please help me in finding BAPI or FM to send IDOC to another system...
IF u have any question please ask me, i ll tell the requirement...
thanks in adv...Hi pawan ,
Check this link, it contains info about Sending IDocs to an External System
Link: [http://help.sap.com/saphelp_bw/helpdata/en/52/16ae23543311d1891c0000e8322f96/content.htm]
Regards,
Anand
Maybe you are looking for
-
When i connect my ipad to itunes it says "this ipad could not be used because the required software is not insatlled.Run the itunes installer to remove iTunes,then install the 64-bit version of itunes." I tried uninstalling and reinstalling itunes. s
-
Can't re-install native apps on Nokia 5233
Yesterday i un-installed Facebook application that comes bundled with phone OS. It was not working actually. When i downloaded the new Facebook app from OVI store. It says that application is already installed and if i want to replace with current ve
-
.PSD file doesn't look like in Adobe Photoshop
Hi everybody! I have problem with Adobe Fireworks CS4 trial. My friend created a .psd file in Adobe Photoshop and sent it to me. When I opened it, some layers didn't look like in Adobe Photoshop. They had 50% opacity, but in Photoshop was set only 20
-
Hi I have iphone 4s and my Bluetooth and wifi do not work. it was working before and I did not do any update for IOS or anything but it just happened. what I should I do to resolve this?
-
Upgraded to Lion, wish I'd stayed with Snow Leopard
Just venting here.... I bought my first Mac in 1985, and I have been using them ever since. I have always eagerly anticipated the release of a new OS, and I have never been disappointed--until now. I upgraded to Lion on the first day it came out, and