Passing Parameters using key mapping in web envirnment

if I use the url for passing parameters directly to report as
http://appserver/dev60cgi/rwcgi60?report=inv.rep+server=server=repserver+userid=scott/tiger@db+param1=1+param2=2+DESTYPE etc;
it works fine but Now the problem is I m using key mapping to hide username and password for this the url is
http://appserver/dev60cgi/rwcgi60?mapkey+report=inv.rep+server=repserver+param1=1+param2=2;
where mapkey is defined in CGIcmd.dat file as
mapkey := scott/tiger@db
I have checked by rearranging the order of paramerters but still get error.
Oracle Reports Server CGI - Reports Server name is not specified.
but I m mentioning the server name as server=repserver
Hope to get it soon
Thnx in advance

You key defined in the cgicmd.dat file should be:
mapkey := userid=scott/tiger@db *
You need parameter name 'userid=' before scott, and need space character and '*' in the line. Without '*', cgi won't take any more parameter from the URL after the key, so '+report=inv.rep+server=repserver+param1=1+param2=2' is ignored if there is no '*' for mapkey.

Similar Messages

  • How can I pass parameters directly to report in web envirnment

    Hi
    I want to call reports by skipping the parameter form in web enviroment.
    for example I m caling a report inv.rep with parameter userid=1 what I want is
    when user clicks the button(on oracle forms) it will get that report sort on userid=1 without displaying the param form to user.
    I m using web.show for this purpose with parametr form every thing is working fine but I want to hide tht paramform and process the parameter setinng in bacground.
    CODE Tht I m Using
         v_url := 'http://appserver/dev60cgi/rwcgi60?rep+inv.rep';
    web.show_document:=(v_url)
    this shos the param form with user id
    how can I skip it and set user id directly
    Any Tip or suggestions ??
    Thnx in Advance

    Hi all
    I'm having the same problem! Im defining a key in "cgicmd.dat" like
    my_key : userid=user/pass@db
    and Im calling the report using a url like
    http://appserver.com/ows-bin/rwcgi60.exe?my_key&report=name.rdf&destype=cache&desformat=pdf&server=Rep60_SERVER
    and what I get? Error: "Oracle Reports Server CGI - Reports Server name is not specified."
    Ive changed my_key to
    my_key : userid=user/pass@db report=name.rdf destype=cache desformat=pdf server=Rep60_SERVER
    and works fine ...
    Problem:
    My problem is that I need to pass more parameters in the url to run the report. Parameters like "p_dept=10"
    http://appserver.com/ows-bin/rwcgi60.exe?my_key&p1=something&p2=whatever
    Report, however isnt receiving the parameter p1 and p2.
    And using the complete url
    http://appserver.com/ows-bin/rwcgi60.exe?userid=user/pass@db&report=name.rdf&destype=cache&desformat=pdf&server=Rep60_SERVER&p1=something&p2=whatever
    works ...
    anyone knows a way to turn this question?
    I only need to get the user/pass@db out from the url ....
    thanks in advance
    Bruno Rabino
    Hi Sami
    I guess something wrong in your CGICMD.DAT entry
    Can you cut and paste what exactly you have in that file for the mapkey
    It has to be something like
    mapkey: userid=scott/tiger@db
    Thanks
    Oracle Reports Team

  • Pass parameters that contain spaces between web pages

    Hi,
    I have a .jsp . Inside it, I only need to call a link with a parameter.
    The problem is that the parameter contains spaces:
    name="ALARM LEVELS"
    If I write:
    <a href=modif_list.jsp?name=<%=paramName%>>See list</a></p>The parameter received in modif_list is "ALARM" and not "ALARM LEVELS"!!!
    How can I pass parameters that contain spaces between web pages?
    Thanks

    The think is that the parameter is a label and obviously I don't know the value before hand.
    In fact, I am using
    <a href=modif_list.jsp?table=<%=paramName%>&label=<%=label%>
    <%=tableName%></a></p>.....So I can't help it if the label contains spaces.
    Now if there is no solution, I suppose I can always replace the space by "_" and when I collect the parameter, I replace the "_" by a space!

  • Update key mapping via web service

    Hi ,
    I have a question about edit key mapping. The problem is that we create vendors in MDM and syndicate them to different ERP systems. To decide which system a new vendor/changes must be send to, I need the Edit Key Mapping, but the users do not want to enter this information manually and I do not see how I can create key mapping automatically.
    We are working on a new solution where vendors are entered in sharepoint and updated in MDM via web services. I would like to know if one of you know if key mapping can be maintained via a web service.
    Kind regards
    Jonna

    Hello,
    You may use the document,
    [MDM PI via Web Service Key Mapping|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0812356-e62f-2c10-76aa-9a02d038ba81]
    Hope this helps your scenario
    Regards,
    Abhishek

  • Passing parameters from dynpro to a web dynpro

    Hi all,
    we have following scenario: a user starts a web dynpro, fills in the week and push a button. By this, an interactive form is created, with the users personal ID and the week, so the user can maintain his worked times.
    Now our problem is that we want to go into that interactive form skipping the web dynpro, i.e. we don't know how to pass parameters from a dynpro to a web dynpro.
    Do someone have a clue how we can do that? I would highly appreciate any help.
    Many thanks in advance
    Regards
    Anna

    hi anna
    please check the following links it is explains simple webdynpro java examples which is using interactive forms.
    http://help.sap.com/saphelp_nw04s/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d60ac9-3f59-2a10-4a86-a612d41c24e4
    Thanks and Regards
    shanto aloor

  • Executing a program and passing parameters using ProcessStartInfo

    I am trying to run an application and pass parameters from within a c# desktop application.  It appears to attempt to execute but it doesn’t run and the exeProcess shows errors in the locals.
    Here is the code:
    ProcessStartInfo startBin2TextApp =
    new
    ProcessStartInfo(strNowRunThis, strDataFile +
    " a");
    startBin2TextApp.CreateNoWindow =
    true;
    startBin2TextApp.UseShellExecute =
    false;          startBin2TextApp.WindowStyle =
    ProcessWindowStyle.Hidden;
    Process exeProcess =
    null;
    exeProcess = Process.Start(startBin2TextApp);
    This is what is in the Arguments when Process.Start(startBin2TextApp) is ready to execute.
    Arguments         "C:\\Users\\10065421\\Documents\\ab\\Working\\Projects\\Panel Explorer\\B640130A.DAT a"             
    After the line is executed, exeProcess shows an error in most of the attributes.  For instance, BasePriority shows “exeProcess.BaePriority” threw an exception of type “System.InvalidOperationException”.
    I ran this from the command prompt so I know it runs on this machine with the same parameters I am using in the code.
    Any ideas?
    Thanks.

    Here is the complete code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    using System.Diagnostics;
    using System.Threading.Tasks;
    namespace PanelExplorerV1
        public
    class
    CommonCode
    public
    delegate
    void
    PassStatusBackFunction(string
    msg);
    public
    void RunBinToText(PassStatusBackFunction
    messageCallback)
    try
    string strStartDirectory =
    string strDataPath =
    string strDataFile =
    string strDataFileTitle =
    string strBin2TextPath =
    string strDestinationDirectory;
    string strNowRunThis =
    //int intReturnValue = 0;
                    strStartDirectory =
    Application.StartupPath;
    OpenFileDialog dlgCommonDialog =
    new
    OpenFileDialog();
    //CommonDialog dlgCommonDiaglog = new CommonDialog();
                    dlgCommonDialog.FileName =
    //dlgCommonDialog.CancelError = true;
                    dlgCommonDialog.Filter =
    "Binary Data Files (*.dat)|*.dat|All Files (*.*)|*.*";
                    dlgCommonDialog.ShowDialog();
                    strDataFile = dlgCommonDialog.FileName;
                    strDataFileTitle = dlgCommonDialog.Title;
                    if
    (strDataFile.Length == 0)
    return;
                    strDataPath =
    Path.GetDirectoryName(strDataFile);
    object argumentHolder = 1;
                    messageCallback("Extracting data from
    " + strDataFile +
    "!!!  Please Wait");
                    strBin2TextPath = strStartDirectory +
    "\\" +
    "Bin2Txt.exe";
                    strDestinationDirectory = strDataPath +
    "\\" +
    "Bin2Txt.exe";
                    System.IO.File.Copy(strBin2TextPath,
    strDestinationDirectory);
                    strNowRunThis = strDestinationDirectory;
    ProcessStartInfo startBin2TextApp =
    new
    ProcessStartInfo(strNowRunThis, strDataFile +
    " a");
                    startBin2TextApp.CreateNoWindow =
    true;
                    startBin2TextApp.UseShellExecute =
    false;         
                    startBin2TextApp.WindowStyle =
    ProcessWindowStyle.Hidden;
                    Process
    exeProcess = null;
                    exeProcess =
    Process.Start(startBin2TextApp);
                    messageCallback("Finished Extracting
    data from " + strDataFile);
    return;
    catch (InvalidOperationException
    inEx)
    Console.WriteLine(inEx.Message);

  • Passing parameters between views in different Web Dynpro applications

    Hi everyone,
    I would like to pass the value of one parameter between one view in a webdynpro application and another view that is in other webdynpro application. How can I do this in a secure way?

    Hi,
    Check below links for passing parameters between two applications:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e
    Re: Pass parameters via POST in WDPortalNavigation.navigateAbsolute method
    Regards,
    Anagha

  • Can we pass parameters using Personalization?

    Using Personalization options ,Can we pass a parameter from existing jsp to the custom jsp url given in the button/link added through personalization?e.g if A is existing jsp and B is new(custom jsp)added for button,then on the click of the button, can B take parameter from A?

    I am also looking for a solution to this.
    I am trying to pass a parameter from JTT jsp Menu link to OA Framework Page.
    Thanks
    Srini

  • Problem with key mapping in 10g

    Hello,
    my client is using key mapping on their reports server. It works fine except for parameter values...
    I can run this URL:
    http://<host>/reports/rwservlet?kr+2002+20
    and there is a mapping for kr in the cgicmd.dat file like this:
    kr: report=KR userid=<user>/<pw>@orcl desformat=html destype=cache p_verksamhetsar=%1
    p_verksamhetsar is a parameter of the report (meaning year).
    My problem is that when the report is run using the above URL the parameter gets the value 2002=
    An equal sign is added! The year column is a varchar2 so the query works but gives no result.
    I get the same problem if I try this URL:
    http://<host>/reports/rwservlet?kr%262002%2620
    If I run this URL it works fine (with a result as well):
    http://<host>/reports/rwservlet?report=KR&userid=<user>/<pw>@orcl&desformat=html&destype=cache&p_verksamhetsar=2004
    Any suggestions?
    Kind regards
    Tomas Albinsson

    Hi Kranthi,
    I think you mean %* at the end, meaning all parameters sent.
    Yes, I use this approach now as I've been unable to get %1, %2 etc to work.
    Strange, because %1 is described in the manual and I feel I use it like they say.
    Well, it works in a way, just that = is appended to the values.
    It has that buggy smell :)
    Kind regards
    Tomas

  • Steps in Key mapping

    Hi all,
    i have gone through many forum's regarding key mapping.
    i can see that the following are used..
    --> remote systems
    --> key mapping option in table-field properties
    --> key mapping option in table properties.
    -->key generation(none, range, qualified range) field in remote system properties.
    But never understood like in which order we need to define all the above, what is the relation b/w them.
    i have gone through some theory in sdn regarding key mapping but unable to get the logic..
    can any one one show me with 2 records in 2 tables so, that i can clear my confusion.
    Thanks in advance.
    Regards
    phani

    Hi Phani,
    first you should understand the basic idea of key mapping. MDM usually wants to consolidate master (objects like vendors, customers, and so on) and/or reference (lookup tables like countries, regions, and so on) data. The idea is to load this data from various remote systems into MDM, compare and match the data, and in some cases merge multiple records into a single one. Let's take an example.
    Image you have attache two remote systems to MDM. The first is an ERP system, the second a CRM system. Both system contains countries as reference data. In ERP, your country India looks like
    Name = India
    Code = INDIA
    whereas in CRM it looks like
    Name = India
    Code = IND
    It is obvious that the country is the same, but the systems use a different internal code. Now you load this data into MDM. What do you do? Do you want to create two records having different codes? Or do you want to "merge" the indentical records into a single one. The common decision in MDM is the second one.
    But what happens now if you send customers from ERP and CRM to MDM? Usually the Customer message contains the Country CODE but not the Country NAME. From ERP the message could look like:
    Customer = Mr. X
    Country = INDIA
    whereas from CRM the message could look like
    Customer = Mr. X
    Country = IND
    Surely you want to map the different code in both case to the same country "India". That's why you use key mapping in MDM. Key Mapping allows MDM to store different codes for the same data. So in MDM you store just one record, but if you receive and/or send data from and/or to remote systems, you can always ensure that you store and/or send the correct codes.
    Hope that clarifies your doubts about key mapping in general?
    OK, now regarding your question about "Update NULL fields only":
    In Import Manager you have several options for data import. If you import for the very first time (for RS1), your table in MDM is usually empty. That why you need to "Create" the records. If you import the second time (for RS2), your table in MDM already contains data. Depending on the matching field for import, several options are now possible. If Import Manager is not able to match the record you want to import against any other existing in the repository, you have to "Create" the new record. If Import Manager is able to match the record that you want to import with a record of your repository table, you can choose what happens next. "Update NULL fields only" compares the record you want to import with the existing values in MDM. In your case, following info is already part in MDM:
    Country = India
    Code = INDIA
    Remote Key RS1 = INDIA
    Remote Key RS2 = NULL
    Now the file you want to import contains the following values:
    Remote System = RS2
    Country = India
    Code = IND
    Import Manager identifies that only "Remote Key RS2" is NULL. All other fields already have values. As you choose to "Update NULL Fields only", only Remote Key RS2 gets a new value. If you choose a different option, e.g. "Update All Mapped Fields" Import Manager would update the Country and Code fields, too.
    Best regards
    Michael

  • Question about key mapping for bank data in SP3 standard Vendor Repository

    Hello Colleagues:
    The situation is the following:
    1) MDM Standard vendor repository does not use Key Mapping for the qualified table data "Bank Details". This makes sense because normally you would pay a vendor in the same account and bank regardless of the company or R/3 system you are paying him from.
    2) However, here in my project customer don't have the same bank data for all of the 3 R/3 Systems. Furthermore, they would like to pay a vendor in a diferent bank and account number; depending on where the payment is generated (Company or R/3 system).
    Because of this, I though about creating a lookup table for the banks which would use key mapping. I did this and I had no trouble importing bank data in to it.
    Now I have this tables:
    1) Banks: Lookup Flat:
    Country and Bank Key as display fields.
    2) Bank Details: Qualified Flat:
    2.a) Field "Bank" as a non-qualifier display lookup field which points to a record on "Banks" table (Described in number 1).
    2.b) The rest of the fields (Account number, Account holder, Reference, etc.) as qualifier non-display fields.
    This aproach works well in data manager.
    However, when I try to import vendors from R/3, I'm not being able to map the bank details, not even with "compound field" functionality, because I cannot map the display fields in the "Banks" lookup table (Described in number 1); in the "Map Fields/Values" tab in the Destination fields pane, it won't show any fields from this table.
    Also, I'm not very sure if I will be able to syndicate this data back to the R/3 systems correctly, this is; replicate only the banks which exist on each R/3 client system.
    Any ideas on how to solve this problem? Please help.
    Best Regards,
    Jorge.

    ... Where
    did Terminal's default keystrokes (e.g., Esc,[5C for
    ctrl-right-arrow) come from? They just produce
    annoying beeps in bash. Are they standard sequences
    for some shell that I don't know about? I
    Somewhere deep in the bowels of computer history....for example
    http://vt100.net/docs/vt100-ug/table3-6.html
    http://www.termsys.demon.co.uk/vtansi.htm#cursor
    that is to say, these codes date back to early hardware terminals such as the VT100. I believe. And that is why Terminal is a member of a class of software called "terminal emulators".

  • Key Mapping for Flat lookup tables

    Hi,
    How do we decide if we need to make Key Mapping "Yes" for flat look-up tables?
    Can anyone plz explain with an eg on where to make key mapping yes or no for Flat Tables.
    Thanks,
    Ketan

    Hi,
    Can anyone plz explain with an eg on where to make key mapping yes or no for Flat Tables.
    1. A remote system’s objects are mapped to master data objects within MDM using key mapping. A key mapping maintains the relationship between the remote system’s identifier (or key) for an object and the corresponding master data object in MDM.
    2. in the data manger based upon some strategy, you found that 4 records are duplicate, and then you merged into single record.
    the merged record is having 4 records inside it with respective remote keys.
    if you want to edit those records, key mapping should be enabled for that particular table.
    3. while harmonizing the records to the respective client systems, you can use edit key mapping functionality for merged records.
    if you enabled key mapping functionality in the console for the particular table, then only you can aceess EDIT KEY MAPPINGS functionality in data manager & syndicator.
    hope this may help you,
    Regards,
    Srinivas

  • Passing Parameters from JSP with Drill Down Graphs

    Hello,
    I have 2 JSP's where when user clicks on the bar graph it drill down and goes to next JSP, it is hyperlink. How can I pass parameters using HttpPortletRendererUtil.portletParameter
    My JSP code is something like this which is pasted below.
    StandardCategoryURLGenerator("xy_chart.jsp","series","section")) is the function, I need to use for drill down.
    Kindly help me with this and any help is highly appreciable.
    Thanks
    ************ JSP**************
    CategoryAxis categoryAxis = new CategoryAxis("Site");
    ValueAxis valueAxis = new NumberAxis("Value");
    StackedBarRenderer3D rend = new StackedBarRenderer3D();
    StandardCategoryToolTipGenerator tt = new StandardCategoryToolTipGenerator();
    rend.setItemURLGenerator(new StandardCategoryURLGenerator("xy_chart.jsp","series","section"));

    Trenton,
    One way to pass parameters to other portlets on the page while using a form is to create a hidden form field and assign it the value that you need to pass to it. If the hidden field has an unqualified name (i.e. not created by using the portletParameter method) then it will be seen by all portlets on the page.
    Since all the form fields are passed on to the query string as part of the URL, you can then use request.getParameter(paramName) to take different actions in your portlets.
    You could use different techniques where based on the values you pass on to parameters of the portlets, some portlets make specific updates to themselves. Though the whole page would be refreshed, you could allow portlets to decide based on the incoming parameter value whether they need to change or not.
    So given the functionality you desire - here's something you might try.
    1) Create hidden form field that gets populated when you select values from the drop-down lookup.
    One way to do this would be to add a onChange ="populateMyHiddenParam(this.form)" to your form item that changes.
    And you could add a small JavaScript function that populates the parameter.
    e.g.
    function populateMyHiddenParam(thisForm){
    thisForm.myHiddenParam.value=thisForm.elements[4].value;
    2)In the other JSP portlet (on the same page) where you need to populate a table based on the value selected, just get the parameter value passed by using request.getParameter("myHiddenParam").
    Since you want this parameter to be read by other portlets, you need to create it as an unqualified parameter. So dont call the HTTPPortletRendererUtil.portletParameter while assigning the name to the form component for the hidden field.
    Hope this helps.

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

  • Key mapping for forms on web

    Presently we are using forms 4.5. We have got costomise key
    mapping for operating through forms. Now we want to start forms
    on web (Intranet). Earlier we use to change key mapping through
    oracle*terminal. I require help in knowing how to customise key
    mapping in forms 6i / oracle 8.1.7.

    Hi,
    Boy, I have some good news to you: Oracle*Terminal is no longer
    needed.
    WordPad (or your favorite text editor) is your tool from now on.
    Keyboard files are located in $ORACLE_HOME\FORMS60.
    Simply ignore the binary file fmrusw.res when you run Forms on
    the Web. FMRWEB.RES is the one that is used, and it's pure ASCII.
    There are some comments in the file itself.
    The keys are the same as the Motif version of Forms.
    If you prefer the Windows keys, simply use FMRPCWEB.RES instead.
    How? Check under $ORACLE_HOME\FORMS60\SERVER for your
    formsweb.cfg, go to User Parameters and replace the
    otherparams=
    line with
    otherparams=term=%forms60%\fmrpcweb.res
    Now, anyone can define the Function-0 till Function-9 key
    combinations, in order to use KEY-F0 till KEY-F9 triggers.
    Hope this helps,
    Pedro das Neves
    [email protected]

Maybe you are looking for

  • External HD not being recognized

    I'm running a Seagate Free Agent Go FW 250GB external HD to back my computer up. Only thing is it isn't being read by my Macbook Pro. The last time I was able to back up my computer was 30 JAN 2012. I'm connecting it to my computer via the two includ

  • Airport Extreme Stopping G5 from Sleeping.. Help!!

    I have just upgraded to Leopard. Before the upgrade my G5 would go to sleep automatically as set in the Power saving prefs. After upgrading to leopard I found that my G5 will not automatically go to sleep. After pulling my hair our I have finally dis

  • How do I send someone a link so they can view my files?

    I don't understand this "free" storage.  I put some files on the cloud because I received a message about sharing file with others, but I don't see any way to do this, unless I upgrade to one of the plans.  Since I don't have a need for this often, I

  • Row level cascading in Apex tabular form

    Hi, I have searched alot,but i am not able to find the solution I have a tabular form and  having only one column say column A is dynamic LOV (Select col1 from lov_table will return values as 1,2,3........)   When user press ADD ROW button row 1 => c

  • Relation ship between table USR02 and ADRP

    Hi all, My requirement is to dispaly the userid , username, address and email id. iam unable to find the realtionship  between table USR02 ( which maintains userid's) and ADRP( which has user name, etcs). Please tell the how to fetch the name , addre