BO XI applet's saveAs url parameters
Post Author: Federico Schnabel
CA Forum: Migration to XI R2
Hi, I'm trying to migrate 6.5 to XI R2 and I'm completely new to Web Intelligence API. I want to create a new document in Java Report Panel applet and pass storageToken of that document to the save page specified in saveAs param. I noticed that the applet is passing document id as a param. My question is if I can have also the storageToken so I can get the document by it's token in a Struts Action class for example and call DocumentInstance saveAs method.
Thanks in advance for your replies.
The actual path that the SIA uses to start the connection server is now located in the CMS DB (from the services keys in the windows registry in XIR2). This is not an editable value. Did your installation get moved in windows? If so I think you will need to reinstall.
Regards,
Tim
Similar Messages
-
Using URL Parameters in a PDF Form
I built a form in LiveCycle Designer ES and I would like a couple of fields auto populated. The only way I could see doing this without having to purchase the LiveCycle Forms Server or another solution, is to embed the information in the URL.
I found a blog post about it on Stefan Cameron's blog: http://forms.stefcameron.com/2006/10/20/using-url-requests-in-pdf-forms/
I was able to get this to work, but when I try to allow the user to save their form locally, the form information get cleared when they try to reopen it.
I searched the NET and really couldn't find anything related to my problem.
Does anyone have an idea about this or should I be looking at a different solution?
Thanks,
JamesI think that I was able to resolve this issue myself. After opening the PDF with URL parameters, you need to manually enter data into a field before saving. After manually entering data in a field and saving, the form contains all of the data.
-
Using URL Parameters with HTTP Comms Channel
Hi,
I need to build a new interface (HTTP - RFC) which will use several URL parameters. I've created a HTTP communications channel and Sender Service and this works. I'm able to define several URL Parameters by checking 'Adapter-Sepcific Message Attributes' and then 'Apply URL Parameters' then specifying the individual parameters.
This is straight forward so far but in usual SAP fashion the documentation on HTTP Comms Channels and URL Parameters is non existent. My question is how do I use these parameters once they are passed. I need to use the values as input parameters for the RFC which means I'll need to map these in the Integration Repository I can't find anything on SDN or SAP help that answers the question.
I know I could include these values in the XML payload but that would mean my 'customer' would need to amend their application and I'd rather keep things as they are.
Looking forward to your replies.
Thanks in advance.May be this could help you to refference . .
For each process template, you can define interactive or composite form reference objects that can optionally be executed at runtime.
To be able to see and execute the reference object at runtime, you must add an appropriate runtime view.
Prerequisites
You can only attach standalone interactive forms to a process. For more information, see Interactive Form Types.
Activities
To attach an interactive form to a process:
1. Open the gallery and select a process template. To open its design time, choose Open
2. To switch to edit mode, choose (Edit).
3. Open the Forms tab page.
4. Choose Add and select the type of reference object you want to add. You can choose between Callable Object and Development Object.
Browse and select the reference object, and choose Add once again.
5. Repeat step 4 to add more objects.
6. To define parameter mapping, select an entry and choose Map Parameters. Select a parameter from the left-hand table, and then select the parameter you want to map from the right-hand table. This groups the input parameters of the form reference object to the relevant input parameters of the process.
If the process does not define input parameters, you can set default values.
7. When you have defined the required mappings, choose Done.
8. Whenever a newer version of the form reference object is available, its status on the Forms tab page changes to (Deprecated). To update the object, select it from the list and choose Update. The status changes to (Active).
Parameter mapping is preserved unless the parameters of the new object version are different. In this case, you need to define mappings again.
9. Finally, choose (Save). -
Reading URL parameters in ABAP webdynpro
I have a requirements to run my ABAP Webdynpro application view based on two parameters passed to it from portal. How can I read the parameters in ABAP webdynpro and use them to write my condition in the run time. I would appreciate it if someone has any code that would help me also.
Again your help and support is highly appreciated.
LilyHi Lily,
To read the URL parameters, you need to right the following code in the HANDLEDEFAULT method
of the your default window controller.
DATA : it_parameter TYPE tihttpnvp,
wa_parameter TYPE ihttpnvp.
DATA lo_nd_url_param TYPE REF TO if_wd_context_node.
DATA ls_url_param TYPE wd_this->element_url_param.
" Get all URL parameters
CALL METHOD wdevent->get_data
EXPORTING
name = if_wd_application=>all_url_parameters
IMPORTING
value = it_parameter.
" Get parameter values
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'PERNR' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-pernr = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'SUBTY' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-subty = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'BEGDA' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-begda = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'ZZPRNTOPT' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-zzprntopt = wa_parameter-value.
ENDIF.
" Save URL parameter to context
lo_nd_url_param = wd_context->get_child_node( name = wd_this->wdctx_url_param ).
lo_nd_url_param->set_static_attributes(
static_attributes = ls_url_param ).
Regards,
Vikrant -
Live view doesn't correctly pass URL parameters from HTML docs?
Running into something that I wonder if anyone else has seen. I've created a site in DW CS5 with a local testing server (XAMPP on Win7), and if I use LiveView to view an HTML page that has a link to a PHP page that includes a URL parameter, the parameter shows up in the LiveView address bar, but the page doesn't seem to use it (trying to display an image where the file is built using $_GET to retrieve the parameter). The same HTML page, displayed in a browser, works. And if I then save the HTML page as a PHP page in DW, identical code, LiveView works. Sure looks like LiveView will does not properly handle URL parameters from HTML documents...
Sorry if I wasn't clear... the navigation works correctly; I get to the page I'm tyring to get to. One of the things that page should do is display an image, the I use a URL parameter to build the image file name to retrieve. The link in the first page is something like <a href="gallery.php?pg=1">. Works fine if the first page (the one I'm navigating from) is a PHP page, doesn't work (with the same code which is only HTML) if the page is an HTML page.
-
How to parse crystal report query prompt value via url parameters
HI All,
I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
for example, in my query panel i have created a prompt called "pwwid"
and this is how i parse the prompt value via open document url.
OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
any idea why i am not getting this works?
Regards,
KeatAunCould you try:
OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
-Abhilash -
The Web Dynpro application was called up with the wrong URL parameters
Hi all,
I am using the systems below:
ERP STACK :16
EHP : 4
EHP SP Stack :4
EA-HR * : 604(SP12)
SAP-HR * :604(SP12)
XSS JAVA components : SAP ESS 603 SP05
SAP MSS 600 SP16
PCUI_GP 603 SP05
Business Package : BP ERP05 ESS 1.41 SP04
BP ERP05 MSS 1.41 SP04
BP ERP05 COMMON PARTS 1.41 SP04
I am getting below error after clicking on the appraisal document:
App. Called Up Incorrectly
The Web Dynpro application was called up with the wrong URL parameters.
Note
Enter the URL parameters and their use.
You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
I already applied the below notes also:
1468466 Performance Management Launchpad Configuration
1463821 Performance Management Portal Configuration
1416756 OBN Configuration in Performance Management
1408243 Configuration for object-based navigation
Plz advise me??
Thanks,
Anumitcan you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!
-
Error using XI HTTP adapter specific message attribute URL parameters
Hi XI gurus, in our XI 7.0 SPS11,
we have problem using URL parameters of plain HTTP receiver adapter.
If I set Adapter specific message Properties in communication channel and activate switch for Apply URL parameters (using Parameter 1 to 5) filling them using message mapping, we have no effect; instead we have error "Dynamic Header - Missing Message Attributes: Fields/Parameters".
We carried out this test:
1. not using adapter specific message attribute and setting
a static URL target with fixed parameters it runs correctly.
2. using adapter specific message attribute for target
URL and URL parameters both doesn't runs correctly.
3. using adapter specific message attribute only for target
URL doesn't run correctly.
These attribute key used for URL parameters:
URLParamOne
URLParamTwo
URLParamThree
URLParamFour
URLParamFive
Namespace: http://sap.com/xi/XI/System/HTTP
Can you solve this issue? Are there oss notes, corrections, ...
Thanks in advance.
Marco TricaseSome other test done with TCP gateway.
Activated adapter specific message properties for
*URL
*HTTP Header fields (one header field named "lisca")
*URL Parameters (one param named "objectType")
The HTTP message catched by TCP Gateway
POST /csl/cslinker HTTP/1.0
content-type: text/xml; charset=UTF-8
content-length: 318
connection: close
accept: /
user-agent: SAP Web Application Server (1.0;700)
host: 10.10.43.94:54000
accept-encoding: gzip
<?xml version="1.0" encoding="UTF-8"?>
seems nothing has been generated, and obviusly URL and params have been set in message mapping.
Hope some guru has been solved the issue ...
Pasquale Rossiello -
I'm having some trouble getting coldfusion to see japanese
characters in the URL string.
To clarify, if I have something like this:
http://my.domain.com/index.cfm?categorylevel0=Search&categorylevel1=%E3%82%A2%E3%82%B8%E3% 82%A2%E3%83%BB%E3%83%93%E3%82%B8%E3%83%8D%E3%82%B9%E9%96%8B%E7%99%BA
All of my code works correctly and the server is able to pass
the japanese characters to the database and retrieve the correct
data.
If I have this instead:
http://my.domain.com/index.cfm/Search/%E3%82%A2%E3%82%B8%E3%82%A2%E3%83%BB%E3%83%93%E3%82% B8%E3%83%8D%E3%82%B9%E9%96%8B%E7%99%BA
My script (which works fine with English characters) parses
CGI variables and converts these to the same URL parameters that I
had in the first URL using a loop and a CFSET url.etc..
In the first example, looking at the CF debug info shows me
what I expect to see:
URL Parameters:
CATEGORYLEVEL0=Search
CATEGORYLEVEL1=アジア・ビジネス開発
In the second example it shows me this:
URL Parameters:
CATEGORYLEVEL0=Search
CATEGORYLEVEL1=???·??????
Can anyone suggest means for debugging this? I'm not sure if
this is a CF problem, an IIS problem, a JRUN problem or something
else altogether that causes it to lose the characters if they are
in the URL string but NOT as a parameter.My suggestion was that you test with the
first url, not the second. However, I can see a source of
confusion. I overlooked your delimiter, "/". It should be "?" and
"=" in this case. With these modifications, we get
<cfif Len(cgi.query_string) neq 0>
<cfset i = 1>
<cfloop list="#cgi.query_string#" delimiters="&"
index="currentcatname">
<cfoutput>categorylevel#i# =
#ListGetAt(currentcatname,2,"=")#</cfoutput><br>
<cfset i = i + 1>
</cfloop>
If it is a failing of Coldfusion, the above test should fail,
too.
Now, an adaptation of the same test to your second url.
<cfset url2 = "
http://my.domain.com/index.cfm/Search/%E3%82%A2%E3%82%B8%E3%82%A2%E3%83%BB%E3%83%93%E3%82% B8%E3%83%8D%E3%82%B9%E9%96%8B%E7%99%BA">
<cfset query_str =
ListGetAt(replacenocase(url2,".cfm/","?"),2,"?")>
<cfif Len(query_str) neq 0>
<cfset i = 1>
<cfloop list="#query_str#" delimiters="/"
index="currentcatname">
<cfoutput>categorylevel#i# =
#currentcatname#</cfoutput><br>
<cfset i = i + 1>
</cfloop> -
Dear All,
I have issues in Url Parameters in SharePoint Integrated Mode (Reporting in SQL Server 2012).
Test Server - Working fine
with URL Parameter
1. SharePoint 2010 + SQL Server 2008 R2 Reporting - SharePoint Integration Mode
2. I have 1 PageView Web Part to call a Reports. Eg:-
http://myserver_Test/ReportServer/Pages/ReportViewer.aspx?http://myserver_Test/SSRS%20Reports/Report_1.rdl
Production Server - Failed
with URL Parameter
1. SharePoint 2010 + SQL Server 2012 Reporting - SharePoint Integration Mode
2. Same a Test Server, I have a PageView Web Part to call a Reports but failed with page not found. Eg:-
http://myserver_Production/ReportServer/Pages/ReportViewer.aspx?http://myserver_Production/SSRS%20Reports/Report_1.rdl
I have check the Reporting folder (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WebServices\Reporting) and can't found any web page as
ReportViewer.aspx.
ThanksDear All,
Did anyone know, how can I Use the HTML Viewer in SharePoint Integrated Mode for SQL Server 2012 Reporting.
I'm able to user the HTML Viewer in SharePoint Integrated Mode with the Reporting is SQL Server 2008 R2.
http://techpunch.wordpress.com/2008/09/17/sql-server-reporting-services-url-parameters-in-sharepoint-integrated-mode/
I know there is possible to call a report with RSViewerPage, but my users are
not happen with the UI of default SharePoint reports display (RSViewerPage).
http://msdn.microsoft.com/en-us/library/a58b4ca6-129d-45e9-95c7-e9169fe5bba4(v=sql.110)
Appreaciate you help.
Thanks -
How to read URL Parameters in ABAP WebDynpro ?
Hi,
How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
Thanks
MeenalHi Meenal,
Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
Cheers,
Rich -
Displaying the URL parameters in pdf file.
Hello, I need help about using JavaScript with pdf file. I have an URL like this: http://www.a.org/mta/sigtr_mta.pdf?&rqst_id=8762312&inst=The+Jackson+Laboratory&pi=Dr.PI& 022008-UCD. Is there a way that I can extract the URL parameters (such as rqst_id or inst ) from JavaScript in this pdf and replace some form text field with the parameters and set these fields to read only.
I appreciate any of your help or hint!this.URI(), I believe, will get you the complete URI that the document was opened from. Then you can parse it any way you'd like.
Leonard -
Start IC WebClient with URL Parameters
Hi,
we are currently implementing IC WebClient 5.0. One of the customer needs is it, to start the IC WebClient with a service order ID, so that the order is displayed immediately without searching and confirming an account. Is it possible to start the IC WebClient with URL parameters to solve that issue?
Thank you for you help in advance!
Marcus WalenaHallo Marcus,
This is currently not possible.
However, you don't need to always confirm the customer. You can use the agent inbox to do the search and navigate directly to the service order. However, if you want to do any processing after that, then you will need to identify the customer. The other option is to implement this yourself.
BTW: It is possible to navigate via a URL to the service order directly using PC UI.
Regards,
Shiv -
HTTP reciever adapter pass URL parameters
Hello all,
I have a question regarding passing parameters as querystring in the url of reiever HTTP adapter. This is an RFC> XI> HTTP scenario and we're posting to an external URL. Here are the details
URL: xxxx.yyyyy.com
Service Number: 80
Path: /api/company_codes
It works fine with these. I want to pass a parameter called "bulk" with value "1".
How should I do it. Should I append it to the Path directly like
Path: /api/company_codes?bulk=1
or enable Apply URL Parameters under Adapter Specific MJessage Attributes and fill in
Parameter 1 : bulk=1
Could somebody clarify this please?
Thanks
KarthikCan anybody help wwith this please?
Thanks
Karthik -
HTTP reciever adapter URL parameters
Hello all,
I have a question regarding passing parameters as querystring in the url of reiever HTTP adapter. This is an RFC> XI> HTTP scenario and we're posting to an external URL. Here are the details
URL: xxxx.yyyyy.com
Service Number: 80
Path: /api/company_codes
It works fine with these. I want to pass a parameter called "bulk" with value "1".
How should I do it. Should I append it to the Path directly like
Path: /api/company_codes?bulk=1
or enable Apply URL Parameters under Adapter Specific MJessage Attributes and fill in
Parameter 1 : bulk=1
Could somebody clarify this please?
Thanks
KarthikWhen the parameter is fix, so apply it to the path.
Regards
Stefan
Maybe you are looking for
-
Multiple logic scripts in a package
Hello All, How do I execute mutliple packages using a single package in datamanager? I need to execute 3 scripts. I cannot use them as *INCLUDEs on the first script because the first script has *FOR EACH PROCESS TIME statement. But the second one and
-
Photoshop Elements 6 won't open RAW with XMP file.
Hi, I searched for an answer but, could not find an answer. I edited a RAW file with Photoshop Elements 6 (mac). I saved the file and closed the program. Next day I fire up PSE6 and open the same RAW file; the file is unedited. How can I open the RAW
-
Variable acting differently in differnt reports
Hi All, i Have a problem with a Variable. i have used a standard variable for Fiscal year (Manual Entry/ Default). i have used the same variable in 2 reports, in Free Chanracteristics and restricted with variable in Default values of Quer Designer. R
-
Hi, I need to make a Ale from HR (Server A) to FI, PM, MM, SD, etc (Server B) in both ways. Please, do you have an idea of how to do it? What do you suggest me? Regards, Ruben.
-
Looking for a way for students to view the dropbox
I'm using Server OS 10.2 in the classroom and have a drop box on the server. I realize the purpose of the drop box, but it would be a plus for my students if they could view the list of files or just their files, so they would have an idea of what th