Problem in  Parameters in Report6I

Hi All,
I created report using report6i, i included parameter form which
is LOV. When i am ruuning this .rdf file on client machine it
works fine , but when i moved same .rdf file on web it gives
error like :
In my cgicmd.dat File i added below line:
preport : report=perfect-report.rdf+param=A_NAME destype=cache
desformat=html server=rptsrv6i %P
In my html file i using link as :
Parameter Link<br>
It gives error as :
Error: The requested URL was not found, or cannot be served at
this time.
Oracle Reports Server CGI - Report Job has terminated with error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter A_NAME
is not among the selectable values.
Is there any other change i need to do in .rdf file.
Does anybody had come accross this problem.
This is just report .rdf file i am not using any forms here , i
am just calling this rdf file from html file like :
Thanks in advance
Raja
email: [email protected]

Hi,
Your problem is you are selecting a value for a parameter which
is not a value from the LOV of the report parameter you have
created. If you want to test wether your selected values is
correct or not please try to select that value from the sql
statement you have written for the LOV.
select 'abcdef' from table_name where column_name =
value_of_parameter; this should return 'abcdef'.

Similar Messages

  • Problems passing parameters

    I have problems passing parameters from the html to the applet which is driving me crazy !!!
    HTML:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <APPLET code="com.b4.test.AppletTest.class" width="250" height="250">
    <PARAM NAME="val" value="9999">
    </APPLET>
    </body>
    </html>And here the Java Code:
    package com.b4.test;
    import java.awt.Dimension;
    import javax.swing.JApplet;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    public class TestAp extends javax.swing.JApplet {
         private String val;
         private JLabel jlblVal;
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              TestAp inst = new TestAp();
              frame.getContentPane().add(inst);
              ((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
              frame.pack();
              frame.setVisible(true);
         public void init(){
              val = this.getParameter("val");
         public TestAp() {
              super();
              initGUI();
              jlblVal.setText(this.val);
         private void initGUI() {
              try {
                   this.setSize(200, 200);
                   this.getContentPane().setBackground(new java.awt.Color(0,255,0));
                        jlblVal = new JLabel();
                        this.getContentPane().add(jlblVal);
                        jlblVal.setText("Nothing");
              } catch (Exception e) {
                   e.printStackTrace();
    }

    constructor TestApp gets called before init.
    import java.applet.Applet;
    public class test extends Applet {
         private String val;
         public void init() {
              val = this.getParameter("val");
         public test() {
              super();
              System.out.println(this.val);
    }This will work
    import java.applet.Applet;
    public class test extends Applet {
         private String val;
         public void init() {
              val = this.getParameter("val");
              System.out.println(this.val);
         public test() {
              super();
    }

  • Problem with parameters and non table based items

    Hi,
    I have a situation where I have some not table based items on a page (shuttles and select lists). It is parameters that the end user inputs. I have another page with the same items just here they are Display Only and also not table based. When the user press a button I branch from page 1 to page 2 and set the items on page 2. My problem is that the input the user keys in are not copied to the items on page 2. I can see the data in the session state.
    I assume that this is a silly question and I have just set Source Used or Source Type wrong one one of the items but I can not get it working. Can anybody help?
    It works fine if I use a Application Item and creates a process on page 1 where I copy the item value from the session state but that should be needed right?
    Regards Pete

    Thanks Scott,
    I think I got it working. If I remove all the colons from the data it works. I select several entries in a Shuttle and the result is a colon delimited string of values. If I remove these in a process it works fine. Is there a way of escaping the output from a Shuttle?
    Regards Pete

  • Problem with parameters in Data Template

    Hello,
    I created some reports using the data template and didn't have any problems. I wanted to change the name of a couple of my parameters and now I can't get any data returned in my reports. If I remove the parameters data is returned or if I rename the parameters to something else data is returned. It seems like it has something to do with these two names of the parameters that I'm using that is causing the report not to run, but I have no idea why or where to even look.
    Here is my example report:
    With parameter names P_JUR and P_TAXYR my report runs without any problems.
    <dataTemplate name="test" description="test Report">
         <parameters>
              <parameter name="P_JUR" dataType="character"/>
              <parameter name="P_TAXYR" dataType="number"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="RP"><![CDATA[select p.jur, p.parid, p.taxyr,
           p.luc, p.nbhd, o.own1, p.adrno,
           p.adrdir||decode(p.adrdir,'','',' ')||p.adrstr||decode(p.adrsuf,'','',' ')||p.adrsuf addr
            from pardat p, owndat o
    where p.jur = o.jur
       and p.parid = o.parid
       and p.taxyr = o.taxyr
       and p.cur = o.cur
         and p.cur = 'Y'
       and p.jur = :p_jur
       and p.taxyr = :p_taxyr
    and rownum < 10]]></sqlStatement>
         </dataQuery>
         <dataTrigger name="beforeReport" source="bipub.SETUSERIDSESSION(:P_USERNAME)"/>
         <dataStructure>
              <group name="RP" source="RP">
                   <element name="JUR" value="JUR"/>
                   <element name="PARID" value="PARID"/>
                   <element name="TAXYR" value="TAXYR"/>
                   <element name="CMAP" value="CMAP"/>
                   <element name="LUC" value="LUC"/>
                   <element name="OWN1" value="OWN1"/>
                   <element name="NBHD" value="NBHD"/>
                   <element name="ADRNO" value="ADRNO"/>
                   <element name="ADDR" value="ADDR"/>
              </group>
         </dataStructure>
    </dataTemplate>
    As soon as I change my parameters and remove the "P_" - changed to JUR and TAXYR my report no longer returns data:
    <dataTemplate name="test" description="test Report">
         <parameters>
              <parameter name="JUR" dataType="character"/>
              <parameter name="TAXYR" dataType="number"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="RP"><![CDATA[select p.jur, p.parid, p.taxyr,
           p.luc, p.nbhd, o.own1, p.adrno,
           p.adrdir||decode(p.adrdir,'','',' ')||p.adrstr||decode(p.adrsuf,'','',' ')||p.adrsuf addr
            from pardat p, owndat o
    where p.jur = o.jur
       and p.parid = o.parid
       and p.taxyr = o.taxyr
       and p.cur = o.cur
         and p.cur = 'Y'
       and p.jur = :jur
       and p.taxyr = :taxyr
    and rownum < 10]]></sqlStatement>
         </dataQuery>
         <dataTrigger name="beforeReport" source="bipub.SETUSERIDSESSION(:P_USERNAME)"/>
         <dataStructure>
              <group name="RP" source="RP">
                   <element name="JUR" value="JUR"/>
                   <element name="PARID" value="PARID"/>
                   <element name="TAXYR" value="TAXYR"/>
                   <element name="CMAP" value="CMAP"/>
                   <element name="LUC" value="LUC"/>
                   <element name="OWN1" value="OWN1"/>
                   <element name="NBHD" value="NBHD"/>
                   <element name="ADRNO" value="ADRNO"/>
                   <element name="ADDR" value="ADDR"/>
              </group>
         </dataStructure>
    </dataTemplate>
    I know it's getting my values because when I run the report I get this output:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <TEST>
    <JUR>040</JUR>
    <TAXYR>2008.0</TAXYR>
    <LIST_RP />
    </TEST>
    I can change the parameter names to BOB, TOM, A, B, C, etc. and the report runs fine. It's just those two parameters JUR and TAXYR that do not work. I'm integrating this with another system which is why it's important is uses JUR and TAXYR. Anyone have any idea where to check or what I can check to see why it wouldn't work with only those two parameter names?
    Thanks

    Always keep the parameter name with some standard :) to avoid these kind of issues.
    keep PARAM_XYZ
    like PARAM_TZXYR , PARAM_JUR

  • Problem with parameterized reports in InfoView interface with Russian local

    Please, help!
    We have a problem with users, who have u201CRussianu201D as Info View portal interface language. Users have problems with reports which are parameterized. When user tries to select a custom date he gets prompt with incorrect template "Enter Date Report: - jj.nn.aaaa H:mm:ss". As a result the report is not updated. If User uses English interface all is OK.

    Maksim,
    Could you provide the following info:
    1) BOE XIR2 or BOE XI3.1?
    2) Which Patch-level?
    3) Are you using the JAVA infoview or .NET infoview?
    4) Which kinds of reports are you attempting to put the custom date range in (CR, Webi, Deski)
    Thanks!
    -Brian

  • Problem matching parameters in a method

    Hi, all:
    I'm processing a LOT of data for some research. I have millions of lines of data I've generated and am working with. I've created a class that lets me do the things I need to with my data. In that class, I analyze the data (lines of several numbers) by averaging some output based on the input. Here's my problem. Though I've got the class working great when it comes to averaging when I'm only sweeping one parameter, there are problems when I'm trying to sweep over two parameters. The problem comes from the method I'm using to detect whether I've moved to the next set of parameter values. Here's an example of switching from one parameter to the next:
    Run, Tick, numSoldiers, randomSeed, strengthBooster, numGreens, numMagentas, winnerOrLoser.
    99,120.0,25,1218306701906,0,0.0,8.0,1.0
    100,448.0,25,1218306701953,0,0.0,1.0,1.0
    101,69.0,50,1218306702015,0,7.0,0.0,0.0
    102,514.0,50,1218306702062,0,0.0,1.0,1.0
    The third number (numSoldiers) is input; see where it switches from 25 to 50? My method can tell I've moved to the next parameter of 50 instead of 25 when I'm generating output, no problem. Here's right where the problem happens:
    1599,176.0,400,1218306810437,0,0.0,7.0,1.0
    1600,601.0,400,1218306810515,0,0.0,1.0,1.0
    1601,151.0,25,1218306810609,0.5,0.0,2.0,1.0
    1602,437.0,25,1218306810656,0.5,0.0,1.0,1.0
    See, that fifth number (strengthBooster) is ALSO input, not output. I've moved from an input of 400 (third value) and 0 (fifth value) to inputs of 25 and 0.5. I'm having problems structuring a method that can tell when EITHER of those two parameters have changed (which means that some other methods in the class get executed to calculate averages and write data to a text file, etc, etc.). Here's the method I'm using:
         public void checkTheParameterSweep () {
              lineStorage = new ArrayList <String>();//initializes the main storage for the data.
              sendMe = new ArrayList <Double>();
              for(int k = 0; k < (soldierColumnList.size() - 1); k++) {//for every element in soldier column list,
                   sendMe = checkerList.get(k); //go get the checker arraylist out of the master list that corresponds to this index,
                   double g = soldierColumnList.get(k);//get the k'th element and cast it to a double.
                   if (soldierColumnList.get(k + 1) != null) {//if we're not at the last line,
                        double h = soldierColumnList.get(k + 1);//get the k + 1 element and cast it to a double.
                        if (h > g) {//if the second double is larger than the first (we've switched parameters)
                             executeMeAfterAParameterSweep();
                        else {//if we haven't changed parameters,
                             processARowIntoArrayLists(sendMe);//and send it to be processed.
                   else if (soldierColumnList.get(k + 1) == null) {//we're at the last line.
                        executeMeAtTheEndOfTheLists();
                   else {
                        System.out.println("There's something wrong here.");
              for(int b = 0; k < (strengthBoosterList.size() - 1); k++) {//for every element in strength booster list,
                   sendMe = checkerList.get(b); //go get the checker arraylist out of the master list that corresponds to this index,
                   double f = strengthBoosterList.get(b);//get the k'th element and cast it to a double.
                   if (strengthBoosterList.get(b+ 1) != null) {//if we're not at the last line,
                        double h = strengthBoosterList.get(b + 1);//get the k + 1 element and cast it to a double.
                        if (h > f) {//if the second double is larger than the first (we've switched parameters)
                             executeMeAfterAParameterSweep();
                        else {//if we haven't changed parameters,
                             processARowIntoArrayLists(sendMe);//and send it to be processed.
                   else if (strengthBoosterList.get(k + 1) == null) {//we're at the last line.
                        executeMeAtTheEndOfTheLists();
                   else {
                        System.out.println("There's something wrong here.");
         } I need EITHER of those two for loops to work, and I'm not sure how to get them to do so. If I comment out one of the for loops, the output works just fine for either of the two parameters, but not at the same time. What do I do? (Also, suggestions on how to make my code more elegant are very welcome;-)

    I wold suggest something more object oriented and modular, along the lines ofpublic class Something {
       private int numSoldiers;
       private int strengthBooster;
       private boolean somethingNeedsToBeDone = false;
       public void checkTheParameterSweep() {
          int paramNumSoldiers = 0;
          int paramStrengthBooster = 0;
          // get the parameters from soldierColumnList
          setNumSoldiers(paramNumSoldiers);
          setStrengthBooster(paramStrengthBooster);
          if (somethingNeedsToBeDone) {
             doSomething();
       public void setNumSoldiers(int numSoldiers) {
          if (this.numSoldiers != numSoldiers && !somethingNeedsToBeDone) {
             this.numSoldiers = numSoldiers;
             somethingNeedsToBeDone = true;
       public void setStrengthBooster(int strengthBooster) {
          if (this.strengthBooster != strengthBooster && !somethingNeedsToBeDone) {
             this.strengthBooster = strengthBooster;
             somethingNeedsToBeDone = true;
       private void doSomething() {
          // do whatever
          somethingNeedsToBeDone = false;
    }db

  • Problem catching parameters at times.

    Howdy!
    Well I got a feckin' problem. It's like this: I got this .swf which takes a variable in the url, like: myswf.swf?id=1. I put it on my server and I embed it in a html-file on my server and it works fine. The swf takes the parameter(id) and it uses it correctly. THOUGH.. When I let some other person embed it in a html-file on their own server (you know, like you do with Youtube videos) it seems as if the swf doesn't get the parameter. If I run the html-file locally on my computer and links the <embed> tag to thesite.com/myswf.swf?id=1 it doesn't work neither, though if i link it to the local swf in the same folder it works fine. I don't get it, what's the problem here? Did anyone experience the same thing, and if so, did you solve it? How? Any suggestions appreciated! Thanks in advance!

    Show your embed code. If this happens in IE - you need <object> tag with classid. Also, think you need to wait until the thing is added to stage or read COMPLETE event. Otherwise some things are not available yet in the beginning:
    var theId:String;
    var myQueryStrings:String;
    addEventListener(Event.ADDED_TO_STAGE, onAdded);
    function onAdded(e:Event):void {
         removeEventListener(Event.ADDED_TO_STAGE, onAdded);
         myQueryStrings = this.loaderInfo.parameters;
         theId = myQueryStrings.id;

  • URLConnection problems(Sending parameters with URL)

    Guys i have some problems with sending parameters through URL using URLConnection class.
    That's my code:
    URL url = new URL("http://kiosk.homebank.kz:9090/default.asp?action=SaveContact&src=C_HOMEBANK&ClientId="+request.getParameter("ClientId")+
                        "&IdService="+request.getParameter("IdService")+
                        "&Contact="+URLEncoder.encode(request.getParameter("Contact"),"utf-8")+
                        "&Number="+URLEncoder.encode(request.getParameter("Number"),"utf-8")+
                        "&Work="+URLEncoder.encode(request.getParameter("Work"),"utf-8")+
                        "&Mobile="+URLEncoder.encode(request.getParameter("Mobile"),"utf-8"));
            URLConnection connection = url.openConnection();
            connection.setDoInput(true);
            connection.setDoOutput(true);I want just send these parameters without going to this link. How can i do it using URLConnection class? Help please!

    Try using this set method in the URL class (query is the parameters):
    protected void set(String protocol,
    String host,
    int port,
    String authority,
    String userInfo,
    String path,
    String query,
    String ref)

  • Problem using parameters in dynamic image loading

    Hello experts!!!
    I am using Crystal Reports 2008.  I am trying to make use of a class servlet application that returns an image based on a number of parameters.  I have put a formula behind a default image that should access the servlet and change the image at runtime.
    This works fine in the CR2008 designer.  However when it is published to my webapp, it doesn't work. 
    The problem is that for some reason, something somewhere is removing the '?' before the parameters in the URL.
    My formula
    "http://localhost:8080/demoMYSQL/servlet/em.cabbench.CabBenchSrv?requestType=getStaticDrawing&imageType=2D&scale=1.6&layerscale3d=0.03&extrusionlength3d=0.4&corelabellevel=1&solid=1&topLevel=1&userid=admin&password=admin&design=" + {designHeader/header/headerAtt.design}
    Image loading in designer
    [http://farm4.static.flickr.com/3503/3179649422_ebd760fa61.jpg?v=0]
    Web application log showing correct path name /em.cabbench.CabBenchSrv to servlet and a succesful request
    /em.cabbench.CabBenchSrv
    1231497711203|10:41:51:203|/demoMYSQL|null|requestType=getStaticDrawing&design=MV-120-XLPE-001&layerscale3d=0.03&scale=1.6&imageType=2D&userid=admin&topLevel=1&solid=1&extrusionlength3d=0.4&corelabellevel=1
    10:41:51:218  binding session 872DB3467263966DC9D5CEBB645C8A5D
    Image loading in viewer - NOT WORKED, default image displayed
    [http://farm4.static.flickr.com/3126/3179649516_5df47fa7fd.jpg?v=0]
    Web application showing incorrect path name to servlet because '?' is missing - result = null request!
    /em.cabbench.CabBenchSrvrequestType=getStaticDrawing&design=MV-120-XLPE-001&imageType=2D&scale=1.6&layerscale3d=0.03&extrusionlength3d=0.4&corelabellevel=1&solid=1&topLevel=1&userid=admin&password=admin&design=MV-120-XLPE-001
    1231498144859|10:49:4:859|/demoMYSQL|null|requestType=null
    1231498144859|10:49:4:859|End of
    Has anybody got any ideas of what to do with the question mark and how to get the image to change properly?????? Like it is doing in the report designer!
    Best Regards
    Nick Hirst

    Hi Nick,
    Since, the issue you have is with the web app only, I would request you to post this thread on the Dev Forum.
    Please click on the appropriate link below: -
    For .Net - SAP Crystal Reports, version for Visual Studio
    For Java - SAP Crystal Reports, version for Eclipse
    The people there would be the perfect people to help you with this.
    Hope this helps.
    Regards,
    Jay.

  • Problem with parameters to fix opening of old tabs and saving files when a new session is open

    Hello,
    Since 2 weeks I have a problem: I always fix my parameters to restore previous session with all my tabs and I choose that Firefox asks me where I want to save my downloaded files. Now each time I close Firefox and I reopen it, it is not taken into account, and 3 tabs are opened: Firefox, Google and Thank to install Zotero! I rechange it, but every time it opens these tabs and not my old tabs. The same for saving files. It goes back automatically to open start page and to save my file in Downloads. Even if I rechange, it comes back the same.
    I desinstalled CCleaner (I thought it could be that) but nothing changes!
    Please help. Thank you very much!
    Martha

    Here's what I would try:
    *Reset Firefox - this should fix the issue but it will change settings like where files are downloaded and what tabs open at startup back to their defaults.
    *Then change your download and session restore preferences back to how you like them.
    Here's how:
    #Go to Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    #Open the options window - Tools > Options > General
    #In the General panel set Firefox to open your tabs from last time and set Firefox to ask you where to save downloads.
    #Click OK
    That should do it. Let me know if this worked.
    Thanks,<br>
    Michael

  • Recursive & Loadable WD-Tree-Tutorial: Problems with parameters; NullPointe

    Hello all, it's me again
    This time I have a problem with the Tutorial called "Constructing a Recursive and Loadable WD-Tree". I followed each step in detail, but when I deploy it all I see several errors/mistakes in my resulting App:
    1. I can click on the "directories" in this example and the directory-text is displayed in the InputForm. Normally it should only display "filenames", not directory-names... I checked the bool-properties in the addChildren-method and they are set as it's said in the tut.
    2. When I try to expand any of the two nodes (C or Games; D is already expanded and includes "Games") I get a NullPointerException for the addChildren()-method in the first line (parent.nodeChildNode();). So the parameter "parent" is null or does at least not contain what it's expected to.
    3. I have some Warnings: "TreeNodeType 'onAction.onAction': Parameters of action 'Select' and event 'onAction' are not compatible" and the same again for the second action (LoadChildren). So perhaps problem 2 can be solved by solving no 3?!
    I'm stuck. Can anyone help me please?
    I doublechecked that everything is as said in the tutorial.
    Regards
    Michael

    Hi
    I realized I had an "Warning"-Message at my View-Context-Root-Node, where it said "Migrate Context". After I did this I get an "internal server error", Failed to process request.
    Hmm, it seems as if there were a lot of changes from NW2004 to NW7.1, cause when I try to deploy the ready-to-deploy-tutorial (downloadable along with the Initial project template from SDN) I get deployment errors.
    So I'll stop it now or perhaps try my own implementation (with java.io.File and recursive methods and loadable tree) to get familiar with the tree-thing in WD/Java
    Thanks so far for the help, it's greatly appreciated.
    Michael

  • Problem passing parameters to commandLink in a column

    Hi.
    I'm using JDeveloper 11.1.1.7.0
    I'm having this problem and I can't understand what I'm doing wrong.
    I have a table like this:
    <af:table value="#{bindings.myView.collectionModel}"
                var="row"
                rows="#{bindings.myView.rangeSize}"
                emptyText="#{bindings.myView.viewable ? 'No data to display.' : 'Access Denied.'}"
                fetchSize="#{bindings.myView.rangeSize}"
                rowBandingInterval="0"
                binding="#{backingBeanScope.myBean.t1}"
                id="t1"
                rowSelection="single"
                contentDelivery="immediate">
        <af:column sortProperty="#{bindings.myView.hints.PrId.name}"
                   sortable="false"
                   headerText="Nro. Proc."
                   id="c2" width="50">
          <af:outputText value="#{row.PrId}" id="ot5"/>
        </af:column>
        <af:column id="c8" headerText="Check" align="center" width="70">
          <af:commandLink text="rowCheck" id="cl1" partialSubmit="true">
            <f:attribute name="rowKey" value="#{row.rowKey}"/>
            <af:serverListener type="serverAction" method="#{backingBeanScope.myBean.linkEvaluacionServerAction}"/>
            <af:clientListener type="action" method="clientAction"/>
          </af:commandLink>
        </af:column>
    </af:table>
    After lot of tests, serverListener + clientListener is the only way to run some code after clicking the link. I don't know why, but actionListener in the link only works the first time. The second time and so on, actionListener did not fire.
    My problem is how to pass rowKey parameter to linkEvaluacionServerAction method:
      public void linkEvaluacionServerAction(ClientEvent ce){
        Object key1 = ce.getComponent().getAttributes().get("rowKey");
         // actions with key1
    I don't know why, but rowKey link attribute only takes its related value the first time I clicked on a link.
    From the second and so on, key1 values null
    How can I solve this? Any help is very appreciated.
    Regards

    Well, I rethink (again) the approach and solve it in  this way:
    <af:column id="c9" headerText="Evaluación">
                      <af:commandLink text="Evaluar Procedimiento" id="cl3"
                                      partialSubmit="true"
                                      actionListener="#{bindings.setCurrentRowWithKey.execute}"
                                      action="#{backingBeanScope.myBean.linkEvaluacionAction}"/>
                    </af:column>
    Parameter for setCurrentRowWithKey is #{row.rowKeyStr}
    In my method linkEvaluacionAction I do some additional checks.
    Hope this helps. Regards

  • Problems with parameterized mapping in BPM

    Hi
    I am using an RFC lookup in a message mapping. I have declared the parameters/bindings in Message Mapping and Operations Mapping, but when I use the Operations Mapping in a transformation step in my BPM, I am asked for an "import" value. There are no values to be selected. What do I do?
    Thanks!
    regards Ole

    In your integration process, define the import parameter under Configurable Parameters category.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/1f1a5c932d0d19e10000000a114a6b/frameset.htm
    Regards,
    Prateek

  • Problem with parameters in xsl

    Hi there,
    I have some trouble to use parameters or varaibles between models.
    Here is my xml file format :
    <ROOT>
    <PARAM>
    <NAME>NUMBER_STATION</NAME>
    <TYPE>INT</TYPE>
    <VAL>20</VAL>
    </PARAM>
    <PARAM>
    <NAME>NAME_STATION</NAME>
    <TYPE>TEXT</TYPE>
    <VAL>LAX</VAL>
    </PARAM>
    </ROOT>
    What I would like to do in the xsl code is to deal with PARAM differently if TYPE is INT or TEXT.
    Here is my xsl code :
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:java="java"
    xmlns:display="base.Display"
    version="1.0">
    <xsl:param name="name_p">0</xsl:param>
    <xsl:param name="type_p">INT</xsl:param>
    <xsl:output method="html" />
    <xsl:template match="/">
    <xsl:apply-templates select="ROOT/PARAM[NAME=$name_p]/TYPE" />
    <xsl:apply-templates select="ROOT/PARAM[NAME=$name_p]/VAL" />
    </xsl:template>
    <xsl:template match="TYPE">
    <xsl:variable name="type_p" select="text()"/>
    </xsl:template>
    <xsl:template match="VAL">
    <xsl:choose>
    <xsl:when test="$type_p = 'POURCENT'">
    <td>
    </td>
    </xsl:when>
    <xsl:otherwise>
    <td>
    </td>
    </xsl:othewise>
    </xsl:choose>
    </xsl:template>
    But of course this is not working...I also tried to use <xsl:call-template> with a parameter but without sucess. Does anybody have some idear about that ?
    Thanks in advance !

    "Not working" is not much information to go on. So I will just throw out some ideas. First make sure you are actually passing the parameters to your transform. Second, use XPath expressions that actually select something from your XML. The ones you are using are looking for a TYPE element that's the child of a PARAM element (that has a NAME child with a particular value), and there are no such elements in your example.
    PC&#178;

  • Problems with parameterized Url

    Hey,
    can anybody help me?
    I created following URL with 4 filter values:
    http://XXX/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=my_template& FILTER_IOBJNM_1=0SOLD_TO&FILTER_VALUE_1=123&FILTER_IOBJNM_2=0CO_AREA&FILTER_VALUE_2=123&FILTER_IOBJNM_3=0COMP_CODE&FILTER_VALUE_3=123&FILTER_IOBJNM_4=0SALESORG&FILTER_VALUE_4=123
    When I execute the url in browser a screen with filter value selection appears. I created the template with WAD 3.x - with WAD 7.0 it doesn't work. Do I have to use other parameters here?
    Best regards,
    Jule

    Hi Jule,
    I am facing issuse of URl length
    We pass the parameters in the URL for new 7.x machine. Unfortunately we are running more than 3000 characters, whereas system is allowing upto 2083 characters. Please do needful.
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DATAPROVIDER_1
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_2=DATAPROVIDER_2
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_3=DATAPROVIDER_3
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_4=DATAPROVIDER_4
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_5=DATAPROVIDER_1_2
    &BI_COMMAND_1-RANGE_SELECTION_OPERATOR=EQUAL_SELECTION
    &BI_COMMAND_1-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION=MEMBER_NAME
    &BI_COMMAND_1-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=0000000000000000000000000000000080000020
    &BI_COMMAND_1-CHARACTERISTIC=ZCRMPRDL1
    &BI_COMMAND_2-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_2-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroMonthlyBacklogofOpenBugs
    &BI_COMMAND_2-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_2-INIT_PARAMETERS-TITLE=AstroMonthlyBacklogofOpenBugs
    &BI_COMMAND_2-TARGET_ITEM_REF=CHART_1
    &BI_COMMAND_3-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_3-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroMonthlyBacklogofOpenBugs
    &BI_COMMAND_3-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_3-TARGET_ITEM_REF=TABLE_1
    &BI_COMMAND_4-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_4-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroWeightedDefectCount(WDC)ofOpenCustomerBugs
    &BI_COMMAND_4-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_4-INIT_PARAMETERS-TITLE=AstroWeightedDefectCount(WDC)ofOpenCustomerBugs
    &BI_COMMAND_4-TARGET_ITEM_REF=CHART_2
    &BI_COMMAND_5-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_5-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroWeightedDefectCount(WDC)
    &BI_COMMAND_5-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_5-TARGET_ITEM_REF=TABLE_2
    &BI_COMMAND_6-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_6-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroMonthlyIncomingRateofBugs
    &BI_COMMAND_6-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_6-INIT_PARAMETERS-TITLE=AstroMonthlyIncomingRateofBugs
    &BI_COMMAND_6-TARGET_ITEM_REF=CHART_3
    &BI_COMMAND_7-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_7-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroMonthlyIncomingRateofBugs
    &BI_COMMAND_7-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_7-TARGET_ITEM_REF=TABLE_3
    &BI_COMMAND_8-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_8-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroIncoming/ResolvedRatio-CustomerProductionBugs
    &BI_COMMAND_8-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_8-INIT_PARAMETERS-TITLE=AstroIncoming/ResolvedRatio-CustomerProductionBugs
    &BI_COMMAND_8-TARGET_ITEM_REF=CHART_6
    &BI_COMMAND_9-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_9-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroIncoming/ResolvedRatio-CustomerProductionBugs
    &BI_COMMAND_9-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_9-TARGET_ITEM_REF=TABLE_6
    &BI_COMMAND_10-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_10-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroIncomingSupportCalls
    &BI_COMMAND_10-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_10-INIT_PARAMETERS-TITLE=AstroIncomingSupportCalls
    &BI_COMMAND_10-TARGET_ITEM_REF=CHART_4
    &BI_COMMAND_11-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS
    &BI_COMMAND_11-INIT_PARAMETERS-WITH_TRAY-TRAY_SETTINGS-CAPTION=AstroIncomingSupportCalls
    &BI_COMMAND_11-INIT_PARAMETERS-WITH_TRAY=X
    &BI_COMMAND_11-TARGET_ITEM_REF=TABLE_4

Maybe you are looking for

  • Jdeveloper 11.1.2.4.0 - EJBModule exception

    After upgrading to Jdeveloper 11.1.2.4.0 ,I am getting the below exception on generating the webservice for a database procedure api. It works fine with the previous version. <Failure occurred in the execution of deployment request with ID '136794437

  • F4 CLICKED IN SALES ORDER CHANGE  SCREEN

    Hi Friends, I have a query regarding the sales orderchange.How can i know if the Delivery block f4 is clicked.Will i get any value into the save  userexit .Can you please help  me in coding it. Thanks and Regards, Kanti

  • Quick Embedded Fonts Question

    For some reason I can't seem to get any embedded fonts to show up.  Can anyone explain why the following doesn't work? Using the newest Flash Builder. Thanks! -Dave <?xml version="1.0" encoding="utf-8"?> <mx:Application initialize="init();" xmlns:fx=

  • Standard Development Methodology

    I work as a software development team leader in Oracle platform. We have been using Developer/2000 and Oracle Workgroup server for most of our projects. As a team leader I always tried to implemented a standard software development mothodology in our

  • Access Right Management to files just for some computers in Domain network

    hello dears... my manager asked me to manage files and documents,in this way that nobody can not open them anywhere except in domain computers.he wants to let some clients to open files,modify them,... but they can not open them in their personal com