Issue with parameter in my package

Hi !
I have a problem and I don't know how resolve it ... and I don't know where searching an answer ...
So my problem is that :
I create a concurrent program with a parameter : p_type_edition (in lower case)
I create a dataTemplate with the parameter (in lower case) and a beforeReport:
<dataTemplate name="XXAPINMOXML" description="SUIVI DES INTERETS MORATOIRES" defaultPackage="XXAPINMO_PKG">
<parameters>
<parameter name="p_type_edition"/>
</parameters>
<dataTrigger name="beforeReportTrigger" source="XXAPINMO_PKG.beforeReport"/>
Then I create my Package XXAPINMO_PKG as :
CREATE OR REPLACE PACKAGE XXAPINMO_PKG AS
p_type_edition varchar2(150);
FUNCTION beforeReport return boolean;
END XXAPINMO_PKG;
show errors package XXAPINMO_PKG;
CREATE OR REPLACE PACKAGE BODY XXAPINMO_PKG
AS
FUNCTION beforeReport return boolean is
BEGIN
fnd_file.put_line(FND_FILE.LOG,'p_type_edition ' || p_type_edition );
return true;
END beforeReport;
END XXAPINMO_PKG;
show errors package body XXAPINMO_PKG;
My problem is that I can not see the value of the parameter in my trace ...
It seems that the parameter is not "entered" in the package ...
I'm sorry I'm French so my english is bad :(
Someone can help me please ?!? I don't know what to do !
I use XDODTEXE and my version is 5.6.3.
Thanks a lot !!
Frédérique
Message was edited by:
user586891

Hi Darshan,
Thanks for your answer.
I change my package to do an another test.
My XML :
<dataTemplate name="XXAPINMOXML" description="SUIVI DES INTERETS MORATOIRES" defaultPackage="XXAPINMO_PKG">
<dataQuery>
<parameters>
<parameter name="p_type_edition"/>
</parameters>
<PROPERTIES>
<property name="include_parameters" value="true"/>
</PROPERTIES>
My package :
CREATE OR REPLACE PACKAGE XXAPINMO_PKG AS
p_type_edition varchar2(150);
FUNCTION beforeReport return boolean;
END XXAPINMO_PKG;
show errors package XXAPINMO_PKG;
CREATE OR REPLACE PACKAGE BODY XXAPINMO_PKG
AS
FUNCTION beforeReport return boolean is
BEGIN
fnd_file.put_line(FND_FILE.LOG,'p_type_edition ' || p_type_edition);
IF p_type_edition = 'Y' THEN
     fnd_file.put_line(FND_FILE.LOG,'Case Y');
ELSE
     fnd_file.put_line(FND_FILE.LOG,'Case N');
END IF;
return true;
END beforeReport;
END XXAPINMO_PKG;
show errors package body XXAPINMO_PKG;
Then I launch my concurrent program with 'Y' in parameter and I see the log of my concurrent program :
XDO Data Engine Version No: 5.6.3
Resp: 51213
Org ID : 45
Request ID: 2468909
All Parameters: p_type_edition=Y
Data Template Code: XXAPINMOXML
Data Template Application Short Name: XXAP
Debug Flag: N
{p_type_edition=Y}
Calling XDO Data Engine...
Début des messages de journalisation à partir du fichier FND_FILE.
p_type_edition
Case N
Fin des messages de journalisation à partir du fichier FND_FILE.
But normally it should be 'Case Y' which would be written ...
And when I see the XML via Diagnostic I don't see the parameter however I add <property ...>
I really don't understand ...
Maybe do you have an another idea ?
Frédérique

Similar Messages

  • Issue with ESS/MSS Business package 1.41

    Hi All
      I had an issue with ESS/MSS recently we deployed Business package 1.41 it contains HCM Forms and Process also,
    and we assigned the standard Manager-self-service role & Employee-self-service-role to test user but when the user is trying to access the standard application he is getting Portal runtime error.
       Is there any configuration is need from HRFunctional side and Basis side
    if any body have an idea please let me know ASAP.
    For every MSS standard applications like :work overview ,Recruiting,Team,Talent Management,Budjet,Projects,Planning ,Organization, leave
    I am getting like below error.
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 02:17_13/04/11_0031_116801250
    Refer to the log file for details about this exception.
    Thanks
    Renu.

    Hi All
        Here I am giving logs detail I got  two logs so giving both logs , can anybody help on this issue , if any configuration need please suggest.
    Full Message Text
    03:19_13/04/11_0045_116801250
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;sap-wd-tstamp=&lt;$TimeStamp&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Next One
    Full Message Text
    Exception ID:03:19_13/04/11_0045_116801250
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.14.bp_folder/com.sap.pct.erp.mss.14.roles/com.sap.pct.erp.mss.manager_self_service/com.sap.pct.erp.mss.manager/overview/com.sap.pct.erp.mss.work_overview/com.sap.pct.erp.mss.workoverview/com.sap.pct.erp.common.key_figure_monitor
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : P00000531
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;sap-wd-tstamp=&lt;$TimeStamp&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more

  • Issues with using a assigned package

    I have a task where I've been given pre compiled classes to create a program with. However, I'm having issues using them, and I'm not sure what's going on...
    Theoretically, the following code should work (to test the class for example):
    import question.*;
    public class Quiz {
         final private static int NoOfQuestions = 5;
         public static void main(String[] args) {
              // Create the library
              Question question = new QuestionLibrary();
              // For each question:
              for (int i = 0; i < NoOfQuestions; i++) {
                   // Show where we are
                   System.err.println("Before getQuestion()" + i);
                   // Getf the question
                   String q[] = question.getQuestion();
                   // Show where we are again, and print the first line of the question.
                   System.err.println("After getQuestion()" + i + "\n\n" + q[0] + "\n");
              // It worked
              System.err.println("All good - finishing");
    }The questionLibrary constructor goes and loads some plain text question files and dishes them out in a random order upon calls to getQuestion().
    The javadoc provided shows that getQuestion should return an array of Strings, each line of the question in a different string.
    When the code is compiled and run, the call to getQuestion() throws a null pointer exception, however, on different occasions the call will work as expected. Over many runs of the program, all the questions in the files have been printed out at some point (since they are given randomly), so I know it's not the question files having bad formatting, or one question that breaks the program. The question files total 5 questions, but the run of the program has never passed 3 questions before it fails.
    I know it's probably hard to know exactly what's going on, but is there anything I've forgotten? Or anything I should check?
    Damian

    Damo The Viking,
    I love your nic... though I'm not all sure that there ever were any good ones.
    Is this an exercise in testing? If so, Have you considered that maybe this bug was "injected" explicitly too give you a bug to find? If that's the case it's really not very subtle "bug" is it... every random so many times (I'd guess one in four probability) chuck an error. Even Blind Freddy could find that.
    If you're not sure what's going on I suggest you decompile the provided class files... I've uploaded my old decompiler (it's shareware, pay up after 30 days use) to [DJ_java_decompiler_377.zip|http://groups.google.com/group/comp_lang_java_exchange/web/DJ_java_decompiler_377.zip] [1.7 MB].
    Aside: Please does anyone know of a good "modern" decompiler? Preferably ingrated into Eclipse?... Mine doesn't seem to know about generics, and it's GUI is "a bit poxy".
    If this isn't actually an exercise in testing, then impress the beejazus out of your lecturer by extending the provided class, and overriding the method which has the error.
    If you want more guidance from me I'm going to need to see an SSCCE; the stack trace of the NPE; and of course the jar containing the question package (join my google group and post it up there).
    Cheers. Keith.

  • Issue with parameter/filter - trying to display null rows

    This is how my data looks in the database
    Order_ID -----   Vendor
    ID123             NULL
    ID234             ABC
    ID456             NULL
    ID001             CDE
    I want to create an SSRS report with a filter for vendors
     *All Vendors should be checked off by default
     *Users should be able to select multiple vendors
    So I started by creating the VendorDataSet, the query looks like
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    *This query will return all active vendors stored in my vendor table
      Then, I created my parameter @prmVendor and it looks like:
     -Data Type: Text
    -Allow blank value("")
    -Allow multiples values
    Available Values:
    -Dataset: Vendor
    -Value field: vendor_name
    -Label field: vendor_name
    The main query of the report looks like
    Select Order_ID, Vendor
    FROM Order
    LEFT JOIN Vendors
    ON Order.VendorID = Vendor.ID
    WHERE Vendor IN (@prmVendor)
    So at this point it does what is supposed to do except - that when I run the query with all the vendors selected,
    the query will only return the ones with vendors populated.
    Order_ID -----   Vendor
    ID234             ABC
    ID001             CDE
    I've tried adding the following to my VendorDataSet:
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT '' -- I've also tried SELECT NULL
     But when I run the report and look at the list of vendor displayed - it won't show the empty row in the vendor drop down filter
    thus, my main query will ignore the orders with no vendors.
     Any ideas on how to fix this issue?
    -Alan

    So I changed my VendorDataSet to look like this:
    ;WITH cteVendors AS (
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT ''
    SELECT (CASE WHEN Vendor IS NULL THEN '' ELSE Vendor END) AS VendorName
    FROM cteVendors
    This allowed me to show an empty box in my drop down filter see link for
    image
    Is there a way to make some changes to my main query so this works? so if the user was to select the blank box the query will return something like :
    Order_ID -----   Vendor
      ID123             NULL
       ID456             NULL
    -Alan

  • Issue with parameter passing in ie7 to php xml

    Hi
    I wondered if anyone could offer a little advice what the issue is here.
    I have a page with xml generated from php in a separte file and presented by a dataset in spry.
    The xml is OK and in firefox it all works but ie seems to barf on it.
    The situation is this:
    I have a jump menu on a front page that provides a url with anumeric parameter passed like this
    platforms.php?platform_id=1
    This parameter is picked up by php on the platforms.php page using the $_GET Array and is passed into the code in my Spry dataset to the file that runs my query and returns my xml- so basically the page displays a dataset filtered on this parameter id.
    It works perfectly in FF.
    In IE if I link straight to the page without a parameter at all- so platforms.php the page loads OK using the default parameter I have set up in the top of this page to send the default id of 1 to the code page so the spry query says platform_sql.php?platform_id=1 and the xml generator is fine with thisiel. ie I do a
    if(isset($_GET['platform_id'])){
                                                                     $platform=$_GET['platform_id'];
    }else{
    $platform=1;
    The dataset loads Ok in IE but when I pass a parameter in the url from my jump menu IE gives a blank SPRY table i- it momentarily appears with just the placeholders for my dataset elements then vanishes. The source code of the page shows the correct id was set in the spry data going to my query file.
    There is an error in ie saying there is a javascript error but its not any help- in ie fashion- FF shown no such errors.
    I thought this might be a data type thing again in the dataset but its not - I have set the elements returned to simple strings but it still does not work.
    Is there a problem passing in a parameter like this to a spry dataset?

    After about half a day of mucking round I found the problem and a solution to this problem.
    What appeared to have happened was that some of the older content in my database used html originally encoded using a WYSWYG editor called ktml.
    Later data uses Tiny MCE. It looks like the character set of the two formats is slightly different and as a result some characters rendered incorrectly when passed through XML parsing where it specifies the character set as utf-8.
    Firefox on the whole seems to ignore the issue though looking at the raw xml output of my php-xml code- where "-" characters were (dashes) there was a question mark character shown. None the less in actual use on my page the xml was produced and the dataset worked out.
    In IE, it barfed at these same characters and failed to return the xml dataset.
    What confused the issue more was some of my smaller datasets if they by chance never had a "-" character in rendered OK in IE- hence my default dataset (platform_id=1) worked in IE. After much experimenting I noticed other ids worked too if there was never such a character.
    How I got round it was to wrap my server side data in the utf8_encode() function, and now all my xml is clean.
    The javascript error being thrown was a red herring though I could not tell until I managed to run my page in ie7 with Visual Studio Express error console running- I had this on a spare machine at work so could debug with it.
    All sorted now- now just need to find away to wrap all my datasets in collapsible panels that work.
    K

  • Issue with makeing a gensplash package

    Hey.
    I've been trying to make a package following the gensplash guide from the wiki: http://wiki.archlinux.org/index.php/Gensplash
    I cannot make it work however. This is the error:
    ==> Starting build()...
    /usr/bin/makepkg: line 599: build: command not found
    ==> ERROR: Build Failed.  Aborting...
    from this PKGBUILD script:
    #Packager: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
    pkgname=splashutils
    pkgver=1.1.9.10
    pkgrel=1
    pkgdesc="It's general aim is creating a set of tools which could 'enrich' the Gentoo boot process (displaying messages, animations, progress bars, etc)."
    url="http://dev.gentoo.org/~spock/projects/gensplash/"
    license=""
    depends=('libjpeg' 'libpng' 'perl')
    conflicts=('gensplashutils')
    source=(http://dev.gentoo.org/~spock/projects/gensplash/current/splashutils-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$pkgname-$pkgver-pre10
    ln -sf /bin/install /usr/bin/install
    ln -sf /usr/src/linux-`uname -r` linux
    #echo -n 'Please enter full path to patched kernel sources: ' ; read source
    #ln -s $source linux
    make ||| return 1
    make prefix=$startdir/pkg/ install
    rm /usr/bin/install
    I'm useing a custom 2.6.14 kernel on 0.7.1 if it matters. Any help would be appreciated. Thanks in advance.
    regards.

    I'm useing kernel 2.6.14 with the fbsplash-0.9.2-r5-2.6.14 patch. I've reinstalled the gensplashutils package again and this time it apprears to be working more or less, must have been due to a install screw up earlier, then (odd, as I've reinstalled the package twice prior to this). However, I'm left at the silent boot screen when doing a silent boot (runlevel 3), I get no image change untill I hit ALT+Fx or ALT+LeftArrow. What goes for logging out and in, or rebooting, I've been doing this continueously all day, no change, I'm still getting the same error.

  • Issue with creation of SSIS package - reading from XML

    Good Morning,
    having a slight difficulty here and more than this, am afraid solution is pretty straight forward. I am trying to read an XML-file and save the rows to a CSV file (late ron it should be sent to SQL-database).
    Am having this input XML
    <?xml version="1.0" encoding="utf-16"?>
    <DataSet>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ROW">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="COLUMN" type="xs:short" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    <NewDataSet>
    <ROW diffgr:id="ROW1" msdata:rowOrder="0">
    <COLUMN>1</COLUMN>
    </ROW>
    <ROW diffgr:id="ROW2" msdata:rowOrder="1">
    <COLUMN>2</COLUMN>
    </ROW>
    </NewDataSet>
    </diffgr:diffgram>
    </DataSet>
    but when running the SSIS-package, I get this
    no errors are shown, but also no rows are written/processed.
    Why is nothing read here?

    by the way, when I split the schema and the XML data, having those 2 files
    data.xml
    <?xml version="1.0" encoding="utf-8"?>
    <NewDataSet>
    <ROW >
    <COLUMN>1</COLUMN>
    </ROW>
    <ROW >
    <COLUMN>2</COLUMN>
    </ROW>
    </NewDataSet>
    schema.xsd
    <?xml version="1.0"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" name="ROW">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="COLUMN" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    then result is fine

  • An issue with Dynamic SQL within Package using REF CURSOR

    Hi there,
    In the following package first two procedures works file but since I have added the third one ( GET_CONTRACT_BY_DYN_SQL) it does not work for me. When I try to compile and save it gives below error.
    "Error(6,15): PLS-00323: subprogram or cursor 'GET_CONTRACT_BY_DYN_SQL' is declared in a package specification and must be defined in the package body"
    Can you please help?
    Package Header
    create or replace
    PACKAGE CONTRACTS_PKG AS
    TYPE T_CURSOR IS REF CURSOR;
    PROCEDURE GET_CONRACTS (IO_CURSOR IN OUT T_CURSOR);
    PROCEDURE GET_CONTRACT_BY_ID (I_CONTRACTID IN NUMBER, IO_CURSOR IN OUT T_CURSOR);
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRATID IN NUMBER, P_COLS IN VARCHAR2, IO_CURSOR IN OUT T_CURSOR);
    END CONTRACTS_PKG;
    Package Body
    create or replace
    PACKAGE BODY CONTRACTS_PKG AS
    -- Get All Contracts
    PROCEDURE GET_CONRACTS(IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    BEGIN
    OPEN V_CURSOR FOR
    SELECT * FROM CONTRACTS;
    IO_CURSOR := V_CURSOR;
    END GET_CONRACTS;
    -- Get Contract By ID
    PROCEDURE GET_CONTRACT_BY_ID(I_CONTRACTID IN NUMBER, IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    BEGIN
    OPEN V_CURSOR FOR
    SELECT * FROM CONTRACTS WHERE contract_id = I_CONTRACTID;
    IO_CURSOR := V_CURSOR;
    END GET_CONTRACT_BY_ID;
    -- Get Contract Using Dynamic SQL
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRACTID IN NUMBER, P_COLS IN VARCHAR2, IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    V_SQL VARCHAR2(200);
    BEGIN
    V_SQL := 'SELECT '|| P_COLS || ' FROM CONTRACTS WHERE contract_id = ' || P_CONTRACTID ;
    --OPEN V_CURSOR FOR
    --EXECUTE IMMEDIATE V_SQL INTO V_CURSOR;
    OPEN V_CURSOR FOR V_SQL;
    EXECUTE IMMEDIATE V_SQL;
    --IO_CURSOR := V_CURSOR;    
    END GET_CONTRACT_BY_DYN_SQL;
    END CONTRACTS_PKG;
    Thanks in advance.
    Hitesh

    Thanks guys. Finally I have tweaked as per your suggestions and it's working for all 3 cases (stored procedures).
    Oracle
    ======
    Package Header
    create or replace
    PACKAGE CONTRACTS_PKG AS
    TYPE T_CURSOR IS REF CURSOR;
    PROCEDURE GET_CONRACTS (IO_CURSOR IN OUT T_CURSOR);
    PROCEDURE GET_CONTRACT_BY_ID (I_CONTRACTID IN NUMBER, IO_CURSOR IN OUT T_CURSOR);
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRACTID IN NUMBER, P_COLS IN VARCHAR2, IO_CURSOR IN OUT T_CURSOR);
    END CONTRACTS_PKG;
    Package Body
    create or replace
    PACKAGE BODY CONTRACTS_PKG AS
    -- Get All Contracts
    PROCEDURE GET_CONRACTS(IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    BEGIN
    OPEN V_CURSOR FOR
    SELECT * FROM CONTRACTS;
    IO_CURSOR := V_CURSOR;
    END GET_CONRACTS;
    -- Get Contract By ID
    PROCEDURE GET_CONTRACT_BY_ID(I_CONTRACTID IN NUMBER, IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    BEGIN
    OPEN V_CURSOR FOR
    SELECT * FROM CONTRACTS WHERE contract_id = I_CONTRACTID;
    IO_CURSOR := V_CURSOR;
    END GET_CONTRACT_BY_ID;
    -- Get Contract Using Dynamic SQL
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRACTID IN NUMBER, P_COLS IN VARCHAR2, IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    V_SQL VARCHAR2(200);
    BEGIN
    IF p_contractid > 0 THEN
    V_SQL := 'SELECT '|| P_COLS || ' FROM CONTRACTS WHERE contract_id = ' || P_CONTRACTID ;
    ELSE
    V_SQL := 'SELECT '|| P_COLS || ' FROM CONTRACTS';
    END IF;
    OPEN V_CURSOR FOR V_SQL;
    IO_CURSOR := V_CURSOR;
    END GET_CONTRACT_BY_DYN_SQL;
    END CONTRACTS_PKG;
    ColdFusion (calling app code)
    =====================
    <cfstoredproc procedure="CONTRACTS_PKG.GET_CONTRACT_BY_ID" datasource="#REQUEST.dsn#">
         <cfprocparam cfsqltype="CF_SQL_INTEGER" type="in" value="1" variable="I_CONTRACTID">
         <cfprocresult name="qData" resultset="1">
    </cfstoredproc>
    <br>Single Contract:
    <cfdump var="#qData#" label="Single Contract">
    <cfstoredproc procedure="CONTRACTS_PKG.GET_CONRACTS" datasource="#REQUEST.dsn#">     
         <cfprocresult name="qDataAll" resultset="1">
    </cfstoredproc>
    <br>All Contracts:
    <cfdump var="#qDataAll#" label="All Contracts">
    <cfstoredproc procedure="CONTRACTS_PKG.GET_CONTRACT_BY_DYN_SQL" datasource="#REQUEST.dsn#">
         <cfprocparam cfsqltype="CF_SQL_INTEGER" type="in" value="1" variable="P_CONTRACTID">
         <cfprocparam cfsqltype="CF_SQL_VARCHAR" type="in" value="contract_number,contract_title,created_date" variable="P_COLS">
         <cfprocresult name="qDataDynSQL" resultset="1">
    </cfstoredproc>
    <br>Dynamic SQL Query:
    <cfdump var="#qDataDynSQL#" label="Dynamic SQL Query">
    Thanks,
    Hitesh Patel

  • HR ABAP: Issue with using 'nocommit' parameter on FM HR_INFOTYPE_OPERATION

    Issue with using nocommit parameter on FM HR_INFOTYPE_OPERATION:
    My client has a requirement to create the following 4 infotypes in sequence in a LUW, i.e either all are created or none is created.
    9045   (custom infotype)
    0045
    0078
    0015
    I tried to use the nocommit parameter on FM HR_INFOTYPE_OPERATION to insert the 4 infotypes
    in a nocoomit mode and then at the end I have issued
    'Commit Work', but to my surprise only I/T 0015 is created in the database and the first three (9045, 0045 and 0078) did not make it to database.
    I searched many threads on SDN but could not find a solution.
    Please let me know if there could be any solution to implement the LUW.
    YOur inputs will be appreciated.

    Hi ,
    i think u can also try with this FM HR_MAINTAIN_MASTERDATA , see its documentations.
    no commit works like a simulation mode , what u can do is  ,
    call FM for all Infotypes and collect all error msgs if any , then finally call FM for all infotypes again without passing nocommit work ( i.e space).
    regards
    prabhu

  • Issue with package being distributed to DP

    Hi,
    We’re having an issue with a particular DP on trying to re-distribute a driver package to. The driver package was updated and re-distributed to around 80 DP’s. The package had been successfully sent to all except one.
    I have tried re-distributing packages to this DP and this failure and other packages work fine, so the issue lies with this particular package on this particular DP.
    I have run through the steps within this post but still no joy:
    https://social.technet.microsoft.com/Forums/en-US/8328f9ce-d290-4aba-8187-670080464476/sccm-2012-how-to-delete-packages-from-wmi
    I have made sure the package doesn’t exist on the DP by taking it out of root\sccmdp within WMI and also removing the ini file from the PkgLib folder, as per above post. But on trying to distribute to the DP via the admin console I get Error: The SMS Provider
    reported an error.
    There are no other details for the error and looking through various logs so no further indication for the error.
    Interestingly the package is being reported by the admin console as not being on the DP, so re-distribution is not an option. I can only use the distribute content option, even though it had been on this DP. This error is reported at the end of the distribute
    content wizard.
    Also we tried using content explorer from the Config Manager toolkit before running through the above postl, and the package was shown within content explorer but it was greyed out. The options to validate where also greyed out. On running the above removal
    the package was no longer displayed within content explorer. But running through distribute content via the admin console still shows the same error message.
    We then tried pre-staging the content manually on the DP. On using content explorer after this it still shows the package as greyed out.
    An overnight validation doesn’t report any errors for package content either.
    Another curious note is on running smsdpmon manually on the DP for the package, it reports the package as being successfully verified within the smsdpmon.log. This message is also reported back to the MP and can be seen within the Status Message Viewer.
    But this message is not displayed within Monitoring -> Distribution Point Configuration Status.
    We tried quite a few avenues but still no joy with this package. Could any offer any suggestions to help fix this issue?
    Thanks
    James

    It was originally but the driver package needed to be updated. Once updated the package was re-distributed to all sites, but failed on one out of 80. All DP's are more or less configured the same, with the same AV protection.
    The problem DP takes other packages OK. SO the thought was to try to remove the existance of the package from the problem DP. This is where we are now. Hope that is a bit clearer?

  • Issue with Dataflow Task in SSIS Package

    Hello Everyone,
    I have recently created an SSIS package to Load data from Flat file to SQL Server Table, it was working fine. Now I have bought a new laptop and copied the projects into this new system and changed all the connection managers(Flat files) accordingly. 
    Problem is, when I previously ran the package(With File1) in old laptop and check the distinct count on a table it was perfect, but when I ran the same package with same File on New Laptop, the Distinct count gives me an issue with particular record.
    Eg: Distinct Count with old laptop Run , 10,20,100
          Distinct Count with old New Run , 10,20,100  , 100
    There is a Space being generated for a particular record, when I run the package on new laptop with same File as old one.
    Any suggestions on this, I could not exactly figured out the Issue.
    Please Help.
    Thanks
    Thanks, Please Help People When they need..!!! Mark as answered if your problem is solved.

    You need to tell the responders here how exactly to reproduce your issue and provide the file.
    I do not know how the "distinct count" works.
    Seems to me it appears to be a database issue not SSIS.
    Arthur
    MyBlog
    Twitter
    When I perform the above query on old laptop, this gives me a result set of
    10
    20
    100
    When I perform the Same query on New laptop, this gives me a result set of
    10
    20
    100
    '100  ' (No Quotes please see the spaces generated)
    Thanks, Please Help People When they need..!!! Mark as answered if your problem is solved.
    Can you give us an idea of tasks you're having after the file source?
    Particulary see steps where you are doing some data manipulations.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page
    I am using simple Flatfile source and oledb destination in here. this is causing issue, all the other tasks after this are loading perfectly except this.
    Thanks, Please Help People When they need..!!! Mark as answered if your problem is solved.

  • Issue with request.get parameter

    Hi all,
    I am working on a developing a for  the users to request access to portal. on submit of the form a mail is sent to user and a page for the successful submission is displayed.
    When transported to Q system we started to get a null pointer exception on submitting the initial form. On investigating further I saw that the request.get parameter is not getting the values in the second page.Please let me know if there is any thing to be done at the portal level to solve this issue. As it is the same code and iview on both the systems.

    Hi,
    It might be issue with Permissions, And also Everyone role with end user permission is assigned or not in QA.
    Compare the permissions in dev and qa to resolve the issue.
    http://<hostname>:<port no>/irj/servlet/prt/portal/prtroot/com.sap.portal.admin.acleditor.listPermissions
    Hope this helps.
    Cheers-
    Pramod

  • Issues with Custom Package in Lightroom 3...please help

    I am having issues with the custom package in lightroom 3. I am selecting diferent cell sizes (with different aspect ratios) and placing multiple images in these cells.
    On screen everything looks good, but when it actually prints some of these cells are coming out stretched!! For example, the 6x4 cell comes out fine (same aspect ratio as the original capture), but i have 2 x 1.5 inch cell whose image comes out stretched??
    The first thing I thought of was the "zoom to fit" option, but this is not present in picture package.
    Then I thought it perhaps it was something to do with the my print settins, but cannot find anything there.

    I am having the same issue.  I used a Matt Kloskowski print grid and when I printed it, or printed to file, some of the images in the 15 that were created in the template were distorted.  Some the faces became wider and some narrower.  Not just zoomed to fit.  On screen it all looks correct.  Many others on the forum where the template was posted don't seem to have this issue.  I created a template myself just in case that was it but I got the same problem as walenahs.  I tried to figure out what he had done but I didn't get it.
    I have attached the two images.  You can see the distortion in the second image on the top row (too narrow), and on the second row, the second in and second down, black and white (too wide).
    Thanks

  • DateTime parameter issue with Stored Procedure CR XI

    Hello everyone.
    This error was touched on here previously but no answer provided.
    I am using Crystal Reports XI with SAP's BUSINESS ONE product. I have a report using a SQL Stored Procedure (SQL 2005). It has datetime parameters.
    The Stored Procedure (SP) works fine when executed from within the Management studio. I then created my report, connecting to the SP with an ODBC driver and all was great.
    But the add on being used for the report to be included in B1 requires OLE connectivity. No problem, all my reports (none of the others have SP's though), work fine with OLE.
    So I tried redirecting the report to use the OLE driver. But I get an error.
    I tried creating a new report with the SP using the OLE driver. Same message.
    I get the following:
    Query Engine Error: 'ADO Error Code: 0x80040e14
    Source: Microsoft SQL Native Client
    Description: Incorrect syntax near the keyword 'CONVERT'.
    SQL State: 42000
    Native Error: 156'
    My code does not include the word CONVERT anywhere.
    From what I can find on the web, this is supposedly an issue with the datetime parameter.  But despite a few people posting messages about this, I have yet to find the answer. None of the topics have had a reply that provides the fix.
    It seems to be something specific to OLE, since it works fine in ODBC. I am using SQL NATIVE CLIENT.
    Thanks in advance for any help.
    Mark

    Hi Alex. Thanks.
    One of my colleagues actually suggested a similar thing. He pointed out I should be using the MICROSOFT OLE DB PROVIDER FOR SQL SERVER (I had been doing so but somewhere along the line started using the Native driver).
    And yes, that worked like a charm.
    Thanks for your help.
    Mark

  • Crystal report Parameter binding issue with Liveoffice

    Hello,
    I have created a Crystal report on top of BW query. In crystal report when parameter is set to null the report gets all data from BW query.
    On inserting the same Crystal report to Live office document on binding the parameter i get the data for selected value for parameter but i am not able to set the parameter to null to get all the data from BW queries.
    Please help!
    Regards,
    Rahul Doshi

    Hi,
    I was able to solve the issue with the below code. I have added a parameter value as <Not Specifed> in paramter.
    if {?parameter1}='<Not Specified>' Then like '*' else
    ={?Parameter1} and
    if {?Parameter2}='<Not Specified>' Then like '*' else
    ={?Parameter2} and
    if {?Parameter3}='<Not Specified>' Then like '*' else
    ={?Parameter3} and
    if {?Parameter4}='<Not Specified>' Then like '*' else
    ={?Parameter4}
    This code works perfectly fine in crystal report. But when i bind the parameter with excel in Live office it gives me below error.
    Parameter has no value.
    Details: errorKind
    Error in File {7D9B961E-ADB9-4292-9DDE-A8D11B94D78E}.rpt:
    Error in formula  Record Selection:
    'if {?Sales Office}='<Not Specified>' Then {0SD_C03_ZQRY_0SD_C03_0011_BOBJ.D[0SALES_OFF]K} like '*' else
    Parameter has no value.
    Details: errorKind (LO 26603)  (6603)
    Please help.
    Regards,
    Rahul Doshi

Maybe you are looking for

  • How do i change the incoming sms to stop people from seeing the start of my new message?

    when i recieve a new sms it arrives as" new event" & shows the start ofte the message. how can i chang this so no-one can see my messages? i have a sony ericsson elm, my last sony ericsson had an option where i cohuld change it but tis one dosnt seem

  • Only sending the first 16 pages of spool out of full 145

    Hi gurus,     We got problem with sending e mail (spool recipients). After completion of a back ground job, the job should send the a pdf report to the mail address specified. But out of 145 pages it is sending only 16 pages (2MB) of data. Can any on

  • Premiere CC won't playback on my second monitor

    I can use the second monitor for putting anything else (like a window) but it doesn't playback the footage I'm using like before. The problem started when I updated Premiere several months ago and I can't find a solution. It does recognize the monito

  • WRT160N Router drops connection

    I have a couple laptops connected to a brand new WRT160N. Previous to putting in the new router, I never had any problems. Now that I have the new router, one of my laptops keeps dropping the connection. I have to open the wireless settings and disco

  • Skipping security questions and answers

    Since recently, my iPad (but also iTunes on my mac) asks me for security questions and answers when I try to download an app. How can I download apps without providing these questions and answers?