Tranporting a report and use of AFTER_IMP - function

Hi all,
after transporting a report I want to automatically let start an action.
My ambition:
Before I start the transport I check that the report isn't running and isn't planned to run in any productive system. Then I set a flag which prevents the start of this report in the productive systems.
After import in each productive system I would like automatically let reset the flag.
My try:
Use sobj to create an object which has an after_imp function. But how can I bring them together?
Probably it's the wrong approach.
Has anybody any idea?
Thank you
Best Regards
Norbert

Hi,
My idea was to insert automatically the XPRA during the insert of the object into a request (function RS_CORR_INSERT) but there are no customer exit...
there are no customer exit also during the release of a request...  (function TR_RELEASE_REQUEST)
the only way seems a repair, it's soo important?
bye
sambarza

Similar Messages

  • Dataset query issues twice if the dataset is connected to matrix and used in multilookup function

    hello everybody.
    could not find any information if this is an intended behavior:
    dataset query issues twice if the dataset is connected to matrix and used in multilookup function
    parameters in both queries are the same
    ssrs: 2008 r2, sharepoint 2010 integrated
    sharepoint 2010: september 2014 cu
    thanks in advance
    Sergey Vdovin

    Hello, Wendy.
    I prepared a very empty sample report for you to demonstrate the problem - with this report, i hope, there is no place to discuss the shrinking of time data retrieval.
    There is one dataset, one parameter and one lookup function. The query is executed twice.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>http://t005/ProjectBICenter/DocLib/IntegrationDBVdovin.rsds</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>7e554344-d6c2-48a5-a7f4-1d24608cb4b5</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>select 1 as temp, '$' as tempname</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="temp">
    <DataField>temp</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="tempname">
    <DataField>tempname</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportSections>
    <ReportSection>
    <Body>
    <ReportItems>
    <Textbox Name="ReportTitle">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Lookup(1,Fields!temp.Value,Fields!tempname.Value,"DataSet1")</Value>
    <Style>
    <FontFamily>Verdana</FontFamily>
    <FontSize>20pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
    <rd:DefaultName>ReportTitle</rd:DefaultName>
    <Top>0mm</Top>
    <Height>10.16mm</Height>
    <Width>139.7mm</Width>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>57.15mm</Height>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </Body>
    <Width>152.4mm</Width>
    <Page>
    <PageFooter>
    <Height>11.43mm</Height>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <PrintOnLastPage>true</PrintOnLastPage>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </PageFooter>
    <PageHeight>29.7cm</PageHeight>
    <PageWidth>21cm</PageWidth>
    <LeftMargin>2cm</LeftMargin>
    <RightMargin>2cm</RightMargin>
    <TopMargin>2cm</TopMargin>
    <BottomMargin>2cm</BottomMargin>
    <ColumnSpacing>0.13cm</ColumnSpacing>
    <Style />
    </Page>
    </ReportSection>
    </ReportSections>
    <ReportParameters>
    <ReportParameter Name="ReportParameter1">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>1</Value>
    </Values>
    </DefaultValue>
    <Prompt>ReportParameter1</Prompt>
    <ValidValues>
    <DataSetReference>
    <DataSetName>DataSet1</DataSetName>
    <ValueField>temp</ValueField>
    <LabelField>tempname</LabelField>
    </DataSetReference>
    </ValidValues>
    </ReportParameter>
    </ReportParameters>
    <rd:ReportUnitType>Mm</rd:ReportUnitType>
    <rd:ReportServerUrl>http://t005/ProjectBICenter</rd:ReportServerUrl>
    <rd:ReportID>cd1262ef-eca7-4739-a2ce-d3ca832d5cd6</rd:ReportID>
    </Report>
    Sergey Vdovin

  • Is there a solution for dynamic reports and using Denes' Export to Excel?

    Oracle 10.2.0.4.0
    Application Express 3.2.1.00.10
    Hello all!
    I am using Denes Kubicek's Export_Excel_Pkg in my application and I'm having trouble exporting reports based on report regions created using a PL/SQL function body returning SQL query. I realize this is not an Oracle supported package, but was hoping someone here could shed some light on it. When I open up the Excel file, I get an error such as: Report Values Error: ORA-06550: line 22, column 5: PL/SQL: ORA-00907: missing right parenthesis.
    I've searched the forum and already have done as others suggested by modifying the REPLACE on the v_sql variable in Export_Excel_Pkg.Get_Usable_SQL, but it did not work. My assumption is that there is an issue with the value being passed to the wwv_flow_utilities.get_binds function. I could not find documentation on this function, but I'm thinking that it cannot extract the bind variables within a PL/SQL block. The report only works when I have just use SQL with bind variables...doesn't work for PL/SQL. Nor does it work for dynamic SQL reports that use a "lexical" parameter (e.g. using WHERE &p_and_condition.) to build the WHERE clause.
    Has anyone come up with a work-around to this? I somehow need to be able to extract reports based on dynamic SQL (or PL/SQL) to Excel.
    Help is appreciated!
    This is my example of a report based on PL/SQL function:
    DECLARE
      v_sql VARCHAR2(4000);
    BEGIN
      v_sql := q'[SELECT UPPER(t1.olo_name) agency_title,
           t1.class_code,
           UPPER(t1.class_title) class_title,
           t1.pay_plan,
           t1.pay_grade_code,
           COUNT(t1.appt_fte) total_employees,
           SUM(t1.appt_fte) filled_fte,
           AVG(DECODE(t2.pay_cycle_code,
                      'UB',((t1.wage_type1_amt_for_pay * 26)/t1.appt_fte),
                      'UM',((t1.wage_type1_amt_for_pay * 12)/t1.appt_fte),
                       0)) avg_annual_rate
       FROM my_schema.table1 t1,
                my_schema.table2 t2,
                my_schema.table3 pro
      WHERE t1.pos_wk = t2.pos_wk
        AND t2.pos_rate_active_flag = 'Y'
        AND t1.ops_ind = 'N'
        AND t1.employee_type IN ('1','2')
        AND pro.ROLE_CODE = :F101_DW_ROLE
        AND pro.pos_role_orgs_active_flag = 'Y']';
      IF :P_MULTI_OLO IS NOT NULL THEN
        v_sql := v_sql || q'[ AND INSTR(':'||']' || v('P_MULTI_OLO') || q'['||':', ':'||t1.olo_code||':') > 0]';     
      END IF;
      v_sql := v_sql || q'[GROUP BY UPPER(t1.olo_name), t1.class_code, UPPER(t1.class_title), t1.pay_plan, t1.pay_grade_code ORDER BY t1.class_code ASC, avg_annual_rate]';
      RETURN v_sql;
    END;This is my example using a SQL statement with a lexical parameter:
    SELECT UPPER(t1.olo_name) agency_title,
           t1.class_code,
           UPPER(t1.class_title) class_title,
           t1.pay_plan,
           t1.pay_grade_code,
           COUNT(t1.appt_fte) total_employees,
           SUM(t1.appt_fte) filled_fte,
           AVG(DECODE(t2.pay_cycle_code,
                      'UB',((t1.wage_type1_amt_for_pay * 26)/t1.appt_fte),
                      'UM',((t1.wage_type1_amt_for_pay * 12)/t1.appt_fte),
                       0)) avg_annual_rate
       FROM my_schema.table1 t1,
                my_schema.table2 t2,
                my_schema.table3 pro
      WHERE t1.pos_wk = t2.pos_wk
        AND t2.pos_rate_active_flag = 'Y'
        AND t1.ops_ind = 'N'
        AND t1.employee_type IN ('1','2')
        AND pro.ROLE_CODE = :F101_DW_ROLE
        AND pro.pos_role_orgs_active_flag = 'Y'
        &P63_AND_CONDITION.
      GROUP BY UPPER(t1.olo_name),
               t1.class_code,
               UPPER(t1.class_title),
               t1.pay_plan,
               t1.pay_grade_code   
    ORDER BY t1.class_code ASC, avg_annual_rateThe *&P63_AND_CONDITION.* value is populated based on a "Before Header" computation under Page Rendering, using the logic below. It is then used by the SQL query defined in the reports region at run time.
    DECLARE
      v_sql VARCHAR2(4000) := NULL;
    BEGIN
      v_sql := ' ';
      IF :P_MULTI_OLO IS NOT NULL THEN
        v_sql := v_sql || q'[ AND INSTR(':'||']' || v('P_MULTI_OLO') || q'['||':', ':' || t1.olo_code || ':') > 0]';     
      END IF;
      RETURN v_sql;
    END;

    Did you get an answer for this?

  • How to get prompt value in Financial Reporting and use it as header

    Hi Oracle Gurus,
    I have Hyperion Financial Reporting 11.1.1.3. I created a report.
    I have Products dimension on rows. And I also have prompt for Products.
    Let's say there is 3 products, Product A, B, and C, with each has its own level 0 item (for example A1, A2, B1, C1)
    Currently in my situation, user will be prompted to select a list of Products, and then the report will display only the level 0 of the product chosen by the user. For example, user select Product A, then the report (or the grid) will display A1 and A2 on rows. User select Product B, B1 will be displayed.
    My question is, I want to create a dynamic header report, so how can I get this prompt value and use it as a report header? For example: Sales of Product A when user choose Product A, or Sales of Product B when user choose Product B.
    Thanks a lot for your response.

    Hi,
    Here is the possible way to achieve it:
    1. Insert a row (may be as row 1) in the report which has product as "User prompt".
    2. mark this row as hidden always
    3. User other rows as level0 of product in row 1
    4. Use MEMBERALIAS in your header to use product as dimension & row as row1
    Hope it helps !!
    Edited by: user8628169 on Jun 22, 2011 10:53 AM

  • OBIEE 10g How ADD new report and use outer join

    Hi,
    I have to add a new report that use a new view...(just created in db)
    I'm new in OBIEE.. can you explain how can i do it?
    Actually:
    1. I opened administrator tool and import new view (and created an alias) in physical
    2. I built a logical table in BMM
    3. I built a new presentation table in presentation
    problem: the table in BMM have yellow icon like a fact table.. why??
    can you explain me what i have to do?
    thank you
    Edited by: 1006028 on 15-mag-2013 2.54

    By default OBIEE 10g considers a table as fact table that is dragged from physical to BMM layer. That's why you see the yellow color icon.
    If it is a dimension table, you will have to join this table with a fact table in BMM layer. After this the yellow color icon will go away.
    Pls mark correct/helpful.

  • Printing a report and using the print dialog for it

    i already have the print dialog vi from NI. I am using the normal report generation toolkit for printing reports. But I want to give the user an option to choose the number of pages and landscape/portrait options. But how do I integrate the 2 so that before printing the user can select these features.

    There is an activeX control that will set these settings. It is called IAS Helper COM Component 1.0 Type Library. It operates the Windows printer configuration program. Since another company wrote the code, I do not have the resources to help you use the control, but the attached example program should get you started.
    Jeremy Braden
    National Instruments
    Attachments:
    Print_Window_Example_v61.llb ‏59 KB
    Print_Window_Example.llb ‏59 KB

  • Importing Excel files and using a search function to use specific data based on user selection

    Hi, I'm trying to create a search and solve function within Visual Basic.
    I want to use the combustion equation C8H18 + 20(O2 + 3.76 N2) = 8 CO2 + 9H20 + 47 N2 to determine flame temperature using
    9*Hf of C02 + 8 * Hf H20 + 47 Hf N2 = Hf C8H18
    I have all of the values of Hf in an excel spreadsheet but I want to be able to search the spreadsheet as my application requires the user to change to fuel (the C8H18 bit) which changes the value of Hf.
    Is there a way of searching that excel file each time I run my program?
    Thanks
    Jack

    Thanks for answering so quickly.
    I've used that method before, and I'm sorry I didn't specify. 
    This will be used as a student learning aid and so the application itself and the tables will be downloaded as a zip file and so I don't believe the line below would work?
    I've heard about including excel as a reference file in the application but I haven't been able to find any further information on that.
    Thanks again
    Dim oWBa As Excel.Workbook = oApp.Workbooks.Open("C:\Users\v-youtan\Desktop\colleagues.xlsx")"

  • Interactive report and SQL including a function

    Hi,
    I created an interactive report based on a simple sql statement, all OK. I added a function based column and get this error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    whenever I put a criteria in the search field large than one character long. It works with a single character search parameters but not more than one.
    The sql:
    select sc."SUPC_ID",
    sc."SUPERCODE",
    sc."NAME",
    get_unit_codes(sc.supercode) units --this is the beastie here
    from "#OWNER#"."SUPERCODES" sc
    Any ideas, can I exclude the function based column from the search parameters somehow. I un-checked the 'Sort, Filter, Control Break, Aggregate, Computer and Chart options for that column
    Thanks
    Gary

    Hi Gary,
    Assuming that your get_unit_codes() function just returns a string and the entire statement works ok in SQL, you could try creating a view over the same statement and base the report on the view or nest your statement:
    select SUPC_ID,
    SUPERCODE,
    NAME,
    UNITS
    FROM (select sc."SUPC_ID",
    sc."SUPERCODE",
    sc."NAME",
    get_unit_codes(sc.supercode) units --this is the beastie here
    from "#OWNER#"."SUPERCODES" sc)Andy

  • Product Drill Down Reporting and Using KKC7/KKC8 & KKRV

    Hello Guys,
    Need some expert advise on my issue.
    1. I have created a product group using T-code KKC7 and assigned materials to my product group.
    2. I have done some material movement posting using 261 on these materials.
    3. Next I run KKRV to collect data
    4. Next I run Report S_ALR_87013139
    I expect to see drill down  report by product group but I dont see anything?
    Is there something else which needs to be set?
    In spro I have checked reporting control parameters and its all good.
    Please share your thoughts.
    Regards,
    Sanjeev

    Dear Sanjeev,
    Did you get an error or information message when you execute S_ALR_87013139?
    Best regards,
    Jason

  • Dynamic SQL and use of aggregate functions

    Hello Forum members,
    I'm trying to create dynamic SQL in a function module and return the MAX value of a field. 
    I am passing in a parameter called CREATE_FIELD_NAME, and my SQL is
    SELECT MAX(CREATE_FIELD_NAME) INTO (CREATE_DATE) FROM (TABLE_NAME).
    I also tried:
    SELECT MAX((CREATE_FIELD_NAME)) INTO (CREATE_DATE) FROM (TABLE_NAME).
    But abap is not recognizing my variable as a variable in either case, but rather, as a field name.
    Anyone know a way around this?
    Thanks in advance,
    Jeff
    Here is my program:
    FUNCTION ZJLSTEST4.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(TABLE_NAME) LIKE  MAKT-MAKTX
    *"     VALUE(CREATE_FIELD_NAME) LIKE  MAKT-MAKTX
    *"     VALUE(UPDATE_FIELD_NAME) LIKE  MAKT-MAKTX
    *"  EXPORTING
    *"     VALUE(MAX_DATE) LIKE  SY-DATUM
    DATA: CREATE_DATE LIKE MCHA-ERSDA VALUE '19000101',
          UPDATE_DATE LIKE MCHA-LAEDA VALUE '19000101'.
    SELECT MAX(CREATE_FIELD_NAME) INTO (CREATE_DATE) FROM (TABLE_NAME).
    ENDSELECT.
    *SELECT MAX((UPDATE_FIELD_NAME)) INTO (UPDATE_DATE) FROM (TABLE_NAME).
    *ENDSELECT.
    IF CREATE_DATE > UPDATE_DATE.
       MAX_DATE = CREATE_DATE.
    ELSE.
       MAX_DATE = UPDATE_DATE.
    ENDIF.
    IF MAX_DATE = '19000101'.
    MAX_DATE = SY-DATUM.
    ENDIF.
    ENDFUNCTION.

    Max is right, you need the spaces, as in my example.
    You might like to try this:
    data: l_CREATE_FIELD_NAME) LIKE MAKT-MAKTX,
          l_UPDATE_FIELD_NAME) LIKE MAKT-MAKTX.
    DATA: CREATE_DATE LIKE MCHA-ERSDA VALUE '19000101',
    UPDATE_DATE LIKE MCHA-LAEDA VALUE '19000101'.
    concatenate 'MAX(' create_name ')' into l_create_name separated by space.
    concatenate 'MAX(' update_name ')' into l_update_name separated by space.
    SELECT SINGLE (l_CREATE_FIELD_NAME)
    INTO CREATE_DATE FROM (table_name).
    SELECT SINGLE (l_updATE_FIELD_NAME)
    INTO updATE_DATE FROM (table_name).
    IF CREATE_DATE > UPDATE_DATE.
    MAX_DATE = CREATE_DATE.
    ELSE.
    MAX_DATE = UPDATE_DATE.
    ENDIF.
    IF MAX_DATE = '19000101'.
    MAX_DATE = SY-DATUM.
    ENDIF.
    If it still fails please post the latest abap code for us to check.

  • Can we make array of movieclip and use as onrelease function

    var gold:Array = [g1,g2,g3,g4,g5,g6,g7,g8,g9,g10,g11,g12,g13,g14,g15,g16,g17,g18,g19,g20];
    and
    gold.onRelease=function(){
              if(gold._visible==1){
              this.gotoAndStop(2);
              updateScore(500);
              this.enabled=false;

    var gold:Array = [g1,g2,g3,g4,g5,g6,g7,g8,g9,g10,g11,g12,g13,g14,g15,g16,g17,g18,g19,g 20];
    and
    for(var i:Number=0;i<gold.length;i++){
    gold[i].onRelease=function(){
      // it's not clear what you want to do here for each element of gold.

  • Using the "V" function in dynamic queries

    I have a report region using 'pl/sql function body returning query'. It uses 'return package.function;'. The function makes extensive use of the "V" function to read session state.
    If I have a predicate like
    if (something) then
    q:=q||'
    and some_column=v(''P1_ID'')
    end if;
    When the query is parsed, this gets translated to
    and some_column=v('P1_ID')
    Question: Is the v('P1_ID') treated like a bind variable similar to the sys_context() concept? So it is evaluated just once per query and the value is plugged into the query. It is NOT evaluated for every row returned by the query, right?
    I am pretty sure thats the way it works, just wanted someone to confirm it.
    Thanks

    Vikas,
    v() is a function, no differently than any other PL/SQL function you would employ in SQL. The way you have composed your query, it would be evaluated for every row.
    A simple example to show this:
    SQL> create or replace function vv (p_in varchar2) return varchar2
    2 is
    3 begin
    4 dbms_output.put_line('vv was called');
    5 return p_in;
    6 end;
    7 /
    Function created.
    SQL> set serveroutput on size 100000
    SQL> select count(*) from emp where ename = vv('KING')
    2 /
    COUNT(*)
    1
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    vv was called
    SQL>
    SQL> select count(*) from emp where ename = (select vv('KING') from dual)
    2 /
    COUNT(*)
    1
    vv was called
    SQL>
    Note the last query, how you can specify this without causing it to be evaluated for every row.
    Joel

  • Use of Average Function in repository

    Hi,
    I need to use the average function on a derived column in the repository.
    The requirement is to find different between two dates and then perform an average for a particular time period on the difference.
    AVG(TIMESTAMPDIFF(SQL_TSI_DAY, Deposit_date, Withdrawal_Date))..This is the sample of my requirement in the repository.
    I am not able to use it as I get the following error..
    [38083] The Attribute defines a measure using an obsolete method.
    How can I get past this and use the average function in the repository..I cannot pass this to the answers part as this is a adhoc reporting DM.
    Any help will be greatly appreciated.
    This requirement is for OBIEE 10.1.3
    Thanks
    Edited by: vjbez1 on Dec 3, 2012 6:24 AM

    OBIEE doesn't support aggregate functions in formulas that are built from logical columns. Use logical columns that already have an aggregate function defined to build formulas. Alternatively, add this under the General section of your NQSConfig.ini file: SUPPORT_OBSOLETE_MEASURES = YES;
    Please mark if helpful/correct.

  • Overriding sub-report queries in CF8 with function calls

    There is not enough information in the documentation about
    overriding sub-report queries using functions. I can not figure out
    how the function call is to be passed.
    Here is the page and quote from the livedocs:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_r-s_07.html
    "Note: You cannot specify a subreport query that depends on
    arguments from the master report. Instead, you can define a CFML
    function or CFC method that returns the subreport query given the
    arguments from the master report. ColdFusion calls this code when
    it executes the subreport."
    If I send over just the function call as a string it throws
    an error that it must be a query. If I evaluate it with # then it
    appears to make the call once before creating the report and uses
    the same query for the sub-report for every single master report
    record.
    My example report is simple. Retrieve a query of contacts
    records. The contact records have a state field which is the
    parameter for the sub-report. The sub-report performs a query and
    presents related information.
    I am trying to optimize this by pre-processing the queries
    for each state into memory, then pass a function that is to be used
    to get the correct sub-report query from memory.
    I have tried all variations that I can think of with no
    success. If I try to pass variables to the function that exist in
    the report, such as query and param, errors are thrown. I can only
    access variables already created earlier in my code which makes me
    think that the function is being evaluated once in the cfqueryparam
    tag. I can not find a way to delay evaluation so that it is
    evaluated for each call to the sub-report instead.

    I'm following the instructions laid out in the livedocs for
    advanced queries with CFML :
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=reportBuilder_17.html
    However the Report Builder won't save the CFML I enter.
    Everytime I go back to the Advanced query there are just blank
    query tags. Most of the time it doesn't even show that any changes
    were made to the report at all. The little asterisks does not
    appear next to the report name tab which indicates if there are
    unsaved changes. At some point I got it to save some code but it
    had a mistake and I couldn't get it to save the corrected code.
    This is very frustrating. I'm putting in a bug report for at
    least the saving of CFML in the advanced query section.

  • How to use standard java functions in a XSLT mapping

    Hi All,
    I wish to use a standard java function in a XSLT mapping, The issue is either i am giving incorrect namespace which is used to invoke the function or the signature of the function call is incorrect, I have read all the links in http://help.sap.com, and i know <b> one can enhance a XSLT mapping by writing one's own java code and thereby using java standard functions </b>, but the requirement is such that i need to try and use java standard function in XSLT mapping itself.
    Please refer to the sample code below:
    <?xml version="1.0" encoding="UTF-8"?>
      <xsl:stylesheet version="1.0"  
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:javamap="java:java.lang.String">
    <xsl:output method="text"/>
    <xsl:template match="/">
    <xsl:variable name="input" select="Title">
    <xsl:if test="function-available('javamap:toUpperCase')">
    <xsl:value-of select="javamap:toUpperCase($input)"/>
    </xsl:if>
    Author:<xsl:value-of select="Author"/>
    </xsl:template>
    </xsl:stylesheet>
    error encountered is: Illegal number or type of arguments.
    please reply if you have tried a similar scenario in SAP XI.
    Thanks & Regards,
    Varun

    Hi Varun,
        First of all i want to tell you that as per the documentation you can only call the static function inside xslt mapping. Your toUpperCase method is a non static function.
    What i am getting is that you have an element called Author and you want to convert its value into uppercase.
    you can write your own user defined function which is static.
    Signature of your java method :
    public static string toUpperCase(String Author,Map inputparam)
    try this xslt map.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:javamap="java:JavaProgram">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
         <xsl:param name="Author">
                 <xsl:value-of select="//Author_name"/>
         </xsl:param>
         <xsl:param name="inputparam" />
         <xsl:template match="/">
         <Author>
                 <xsl:if test="function-available('javamap:toUpperCase')">
                  <xsl:value-of select="javamap:toUpperCase($Author,$inputparam)"/>
                 </xsl:if>
         </Author>
         </xsl:template>
    </xsl:stylesheet>
    Hope this will work.
    Thanks and Regards
    Vishal Kumar

Maybe you are looking for

  • Always prompted with Save As Dialog when viewing dashboard

    Post Author: jgagarin CA Forum: Performance Management and Dashboards Hi,   We are having problem viewing dashboard which contains Xcelsius document. In our development server we were able to view all dashboards with embedded Xcelsius document but wh

  • Xbox 360 and WRT54G

    I think I've reached a solution to the issues that I've had w/my Xbox network settings and the console not finding an IP address via the WRT54G v.6. After hours and hours of trying all the suggestions that I've read on this forum I've decided to take

  • How to deactivate adobe acrobat Pro version 10?

    I need to reformat my hard drive and I need to deactivate Adobe Acrobat Pro version 10.  I go to the help options and "Deactivation" is not even an option. Any idea of how to deactivate the software if there isn't even an option? Thanks for your help

  • Snow Leopard Server To Mavericks odmigration errors

    Hi, I am currently trying to migrate our old Mac Mini 10.6.8 server to a shiny new Mac Mini Mavericks/3.x server configuration as unfortunately the 10.6.8 Mac Mini is too old to accept Mavericks as an in-place upgrade. I have prepared a bootable USB

  • How to create an auto-filled in field within a database ?

    Hello, I look for a way to get a database field automatically filled in when adding a new record with a generated value: The value of this field should consist of the actual date, a random alphanumerical or numerical string of five digits and some fi