Incorrect parameter with CALL FUNCTION - WE19

hi! All
while creating IDOC through WE19 - Start Inbound it creates IDOC with Status - 64."IDoc ready to be transferred to application" "No filters , No conversion , No version change ."
Incorrect parameter with CALL FUNCTION
This parameter was "MASSAVEINFOS".
but i have Included this parameter in my Function module.
INPUT_METHOD TYPE INPUTMETHD
MASS_PROCESSING TYPE MASS_PROC
NO_APPLICATION_LOG LIKE SY-DATAR
MASSAVEINFOS LIKE MASSSAVINF
whats the mistake i have done.
Regards
Kv

That will not be possible KV, as the call to the FM is not being made, as far as i see you have completed the needed settings.
As i do not have access to an SAP system, i suggest that you try below,
1) Go to WE19, enter the IDOC number and F8.
2) In this screen, click on Inbound function module.
3) In the field for inbound function module press F4, it should list your FM name here if all the necessary we42/82/57, BD51 and WE20 have been done correctly.
Another thing that you can try is, on WE19,
1) Idoc Number F8
2) /h - to start Debug
3) Now click on Standard inbound, in the debug mode press F5 once.
4) Now put a break point on all message statement
See where exactly the message of wrong FM is being thrown, it will most probably be after a select statement on one of the tables associated with WE42/82/57/BD51 etc. With this you will where you have missed out.
All the best !!!
Regards,
Chen
Edited by: Chen K V on Mar 18, 2010 8:55 AM

Similar Messages

  • Need a File Parameter with Browse Functionality in ABAP

    Hi
    I Need a File Parameter with Browse Functionality in ABAP.
    Can anyone help me with logic.
    Regards,
    Sree

    Check below code:
    PARAMETERS: p_file TYPE localfile.
    DATA: l_path TYPE string,
          l_fpath TYPE string,
          l_fname TYPE string.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title         = 'Save to...'
          default_extension    = '.txt'
          initial_directory    = 'C:\'
        CHANGING
          filename             = l_fname
          path                 = l_path
          fullpath             = l_fpath
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
      IF sy-subrc EQ 0.
        MOVE l_fpath TO p_file.
      ENDIF.

  • Problem with call function close_form

    Hello ,
    I have a problem with function module close_form.I dont know if I am doing something wrong but please help me.
    the issue is
    declarations:
    data: gt_itcpp type table of itcpp,
             gt_otfdat type table of itcoo.
    CALL FUNCTION 'CLOSE_FORM
    EXPORTING
       RESULT  = gt_itcpp
    TABLES
       otfdata = gt_otfdat
    EXCEPTIONS
       OTHERS  = 1.
    DUMP: FUNCTION PARAMETER RESULT IS UNKNOWN.
    THANKS

    My point was that there are actually two problems with the original code: the one that you pointed out and the one that abapuser pointed out.
    Although both were very helpful individually, I don't think either one actually solved the problem.
    It would be misleading to anyone searching the forum looking for posts that solved a problem similar to theirs and only implemented half the solution.
    In fact abapuser's answer is the one that answers the question that was actually asked.
    Rob

  • Lock inheritance with "CALL FUNCTION func IN BACKGROUND TASK"

    I see that the "SAP Lock concept" documentation states that for locks obtained with _scope = '3', all UPDATE tasks (spawned via "CALL FUNCTION func IN UPDATE TASK" inherit the lock (which is released only once all such update tasks and the calling process have requested a DEQUEUE).
    What should happen when instead, I use "CALL FUNCTION func IN BACKGROUND TASK" (for doing the update in a queue)? Are the locks inherited here as well?
    Cheers!

    Hopefully not, as a background task may be executed late. While update tasks are to be executed quickly (if not, administrators should review the system configuration, like increasing the number of UPD workprocesses).
    Solution: In the background task, redo the locks, as if it was a background job.

  • Passing value as parameter to 'call function'

    Hi,
    CALL FUNCTION 'TH_POPUP'
       EXPORTING
        client               = '100'
        user                 = 'XXXXXX'
        MESSAGE              = 'Hello! u got END SESSION'
      MESSAGE_LEN          = 0
      CUT_BLANKS           = ' '
    EXCEPTIONS
       user_not_found       = 1
       OTHERS               = 2.
    The above program pops up a new window in another user system from a user system. xxxxx is that particular userID.
    I want to enter the userID after executing and userID should be passed to call function 'TH_POPUP' and show the result.
    I tried using 'PARAMETER' statement. It did not work.
    Thanks,
    vbsigate.

    Hi,
    What i understand is you want to enter the user name on selection screen.
    This is the program and it works fine.
    (May be in your program the parameter was not defined correctly as type sy-uname).
    report abc.
    PARAMETERS : p_user type sy-uname obligatory.
    CALL FUNCTION 'TH_POPUP'
      EXPORTING
        CLIENT               = sy-mandt
        USER                 = p_user
        MESSAGE              = 'Hello! u got END SESSION'
    *   MESSAGE_LEN          = 0
    *   CUT_BLANKS           = ' '
    EXCEPTIONS
       USER_NOT_FOUND       = 1
       OTHERS               = 2
    regards,
    amit m.

  • Help Please ... with calling functions inside listener events

    I need the window to update itself before another method inside my listener is called. When I make the call to updateUI() it preforms it's function once my listener event is compelete while I would like to to happend.
    paw.updateHasMoved();
    temp.updateUI();// -->Want the update to occure before the next line is called
    piece.CB.board = ComputersMove(piece.CB.board);

    okidoi Mr Helpy!
    let me try with this
    just one more question, the button should be created at
    runtime or inside my
    movieclip?
    Regards
    Rick
    "Mr Helpy mcHelpson" <[email protected]>
    escribió en el mensaje
    news:f46tjk$lg1$[email protected]..
    > flooring.onLoad = function(success) {
    > if (flooring.firstChild.hasChildNodes()) {
    >
    > you can just do
    >
    > flooring.onLoad = function(success) {
    > if (success) {
    >
    > you'll need to create a button on top of your image.
    This for me is most
    > easily done with a predefined custom class, and on the
    instantiation of
    > your
    > image(movieclip) you can define the button actions
    contained in the movie
    > clip.
    >
    > make sense?
    >
    > HmcH
    >

  • OBIEE: Incorrect SQL - with count function uses ORDER BY instead GROUP BY

    I made a basic report that is a client count; I want to know how many clients the company have.
    But, when I run this report, OBIEE generates a ORDER BY sentence, instead a GROUP BY. Remember that I'm using count function, that is a agregation.
    The SQL generated was:
    select 'N0' as c1,
    count(*) as c2
    from
    (select distinct T1416.CLIENT_INTER_KEY as c1
    from
    (select *
    from prd.D_SERVICE where SOURCE_SYS in ('ARBOR','PPB') and DW_SERV_ST_ID in (100000003,100000009)) T1836,
    (select *
    from prd.D_CLIENT) T1416,
    (select *
    from prd.D_CUSTOMER_ACCOUNT where SOURCE_SYS In ('ARBOR','PPB')) T1515
    where ( T1416.DW_CLIENT_ID = T1515.DW_CLIENT_ID and T1515.DW_CUST_ACCT_ID = T1836.DW_CUST_ACCT_ID and T1836.MSISDN = '917330340' )
    ) D1
    order by c1
    The error that I receive is:
    "Query Status: Query Failed: [nQSError: 16001] ODBC error state: S1000 code: -1005018 message: [Sybase][ODBC Driver][Adaptive Server Anywhere]Illegal ORDER BY item Order Item: 'N0',
    -- (opt_OrderBy.cxx 429) .
    [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement."
    If I substitute ORDER BY with GROUP BY and test it in Sybase, Ithe query runs without any problem.
    select 'N0' as c1,
    count(*) as c2
    from
    (select distinct T1416.CLIENT_INTER_KEY as c1
    from
    (select *
    from prd.D_SERVICE where SOURCE_SYS in ('ARBOR','PPB') and DW_SERV_ST_ID in (100000003,100000009)) T1836,
    (select *
    from prd.D_CLIENT) T1416,
    (select *
    from prd.D_CUSTOMER_ACCOUNT where SOURCE_SYS In ('ARBOR','PPB')) T1515
    where ( T1416.DW_CLIENT_ID = T1515.DW_CLIENT_ID and T1515.DW_CUST_ACCT_ID = T1836.DW_CUST_ACCT_ID and T1836.MSISDN = '917330340' )
    ) D1
    group by c1
    Do you know why OBIEE generates this SQL??? Why uses, with a aggregation function, a ORDER BY and not a GROUP BY? How can I resolve this problem???
    Regards,
    Susana Figueiredo

    Verify your repository design and make sure that you have defined count aggregate on fact column. You would also need to define the content level of each dimension in fact table.

  • Incorrect values with AGO function

    Hi,
    I am trying to fix a problem where my AGO function is producing close but not 100% correct values.
    I have:
    Fact Table (pk is by date, employee, and measure keys)
    Dim Date Table (only date, month, quarter, year - very simple) Month and quarter are just numbers (not identified by year)
    Dim Emp Table
    I have a logical dimension hierarchy for Dim Date: Total > Year > Quarter > Month > Date
    In my Logical Fact table, I have a SUM column for the measure. My AGO column is just AGO(Measure (SUM), Dim Date.Month, 1)
    For my report, I have tried a few things.
    If I just use the Month column from my Date table, the AGO numbers are way off. If I do MONTH(Date) instead, the AGO numbers are close, and even accurate most of the time, but sometimes they will be a little bit off, by only 1 or 2 usually.
    I'm having the hardest time trying to figure this out, but one thing I'm suspicious of is the Date table - should Month and Quarter be like 2008-01, 2008-02, instead of just 01, 02?

    It would come as no surprise to me if the datetime dim is incorrect. I have been cleaning up someone else's mess.
    The date dim is just this:
    desc date_dim;
    Name                           Null     Type                                                                                                                                                                                         
    DATE_KEY                       NOT NULL NUMBER(8)                                                                                                                                                                                    
    D_YEAR                         NOT NULL NUMBER(4)                                                                                                                                                                                    
    D_MON                          NOT NULL NUMBER(2)                                                                                                                                                                                    
    D_DAY                          NOT NULL NUMBER(2)                                                                                                                                                                                    
    DATE_VALUE                     NOT NULL DATE                                                                                                                                                                                         
    D_QUARTER                      NOT NULL NUMBER(1)                                                                                                                                                                                    
    6 rows selectedFor today's date:
    DATE_KEY               D_YEAR                 D_MON                  D_DAY                  DATE_VALUE                D_QUARTER             
    20090417               2009                   4                      17                     17-APR-09                 2                     
    1 rows selectedI tried making the logical columns for D_YEAR||D_MON and D_YEAR||D_QUARTER, and added them as non-drillable chronological keys in my hierarchy, but still getting the same results.
    Any ideas?
    Edited by: KevinC_VA on Apr 17, 2009 2:40 PM

  • Getting error of CALL FUNCTION in coding

    hi all,
    i have wrtie a code for calling SMART FORM.In the coding START OF SELECTION,i got error at f_display_report
    This the code:
    FORM f_display_report .
      DATA: fname(30) TYPE c.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZCCL_RATE_COMPARISION2'
        IMPORTING
          fm_name            = fname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
        CALL FUNCTION fname
          EXPORTING
            gi_main    =  gs_main
          TABLES
            it_detail  =  gi_detail.
      ENDIF.
    ENDFORM.
    where GS_MIAN and GI_DETAIL are:
    gs_main LIKE ekko,
        gi_detail LIKE STANDARD TABLE OF ekpo WITH HEADER LINE.
    after execuring it gives me error of Incorrect parameter with CALL FUNCTION.
    Thanks & Regards,
    sappk25

    Please also place the type refered in smart forms.
    Your dump analysis will clearly say which parameter was mistyped.
    My assumption is
        CALL FUNCTION fname
          EXPORTING
            gi_main    =  gs_main
          TABLES
            it_detail  =  gi_detail[]   "<--- try adding a square bracket here

  • CALL FUNCTION 'API_SEMBPS_FUNCTION_EXECUTE'

    We r maintaining some bps function wition our project...with 
    CALL FUNCTION 'API_SEMBPS_FUNCTION_EXECUTE'
    before it used to work  without errors and sometimes with short dumps ...only remarks..
    but now it is not working ........
    we should do this manuelly in TCODE "bps0"
    with  "Execute Planning seq. in Background"
    can anybody help me to make the program to run automatically...

    HAI BINDU;
    TNX FOR QUICK REPLY..
    actually we r using this prog.. to
    getting the data from deltas into transaction cube...
    THEN THE PROGRAM DOES the following
    SPLITS the data and writes into target systems......
    here is the program......
    REPORT  ziv_upc_kapro_mc_dummydistr             .
    DATA: ltk_return TYPE STANDARD TABLE OF bapiret2.
    DATA: ls_return TYPE bapiret2.
    DATA: l_subrc LIKE sy-subrc.
    Planungsfunktion ausführen
    CALL FUNCTION 'API_SEMBPS_FUNCTION_EXECUTE'
      EXPORTING
        i_area     = 'ZIVASMP1'
        i_plevel   = 'ZIVKAPRO'
        i_package  = 'ZIVKAPRO'
        i_function = 'ZIVKAPRO'
        i_param    = 'ZIVKAPRO'
      IMPORTING
        e_subrc    = l_subrc
      TABLES
        etk_return = ltk_return.
    wenn schiefgeht --> dump
    IF l_subrc <> 0.
      MESSAGE x009(ziv_upc).
    sonst buchen
    ELSE.
      CLEAR l_subrc.
      CALL FUNCTION 'API_SEMBPS_POST'
        IMPORTING
          e_subrc   = l_subrc
          es_return = ls_return.
    wenn schiefgeht --> dump
      IF l_subrc <> 0.
        MESSAGE x009(ziv_upc).
    sonst speicher freigeben
      ELSE.
        CLEAR: l_subrc, ls_return.
        CALL FUNCTION 'API_SEMBPS_REFRESH'
          IMPORTING
            e_subrc   = l_subrc
            es_return = ls_return.
      ENDIF.

  • Feature NUMAP was called with incorrect parameter value PME15

    hi
    i am getting following error while running transaction pb10.
    Feature NUMAP was called with incorrect parameter value PME15
    please help me out.
    regards
    archana

    this might be occur in case there is mismatch of the fields of decision being used in feature maintenance.
    check the feature and the return value , wether the return value is correct or not
    goto PE03->NUMAP check the return value  and check wether the return was configured in number ranges
    eg: if the return value is 01 go to your config and check the number range has been set for "01"
    you gave return value as "01" and the number range has not been set in configuaration for "01" this kind of error s may occur.
    Edited by: Piscian . on Jul 18, 2011 11:54 AM

  • Call function from data base with clob input parameter.

    Hello,
    In this project I use Jdev 11g.
    I call function from database.
    create or replace function get_fa_list (
    p_fa_id_list in clob
    return sys_refcursor
    is
    vCursor sys_refcursor;
    begin
    put_msg ('begin');
    if p_fa_id_list is null then
    put_msg ('CLOB is null!');
    else
    put_msg ('size CLOB: ' || dbms_lob.getlength (p_fa_id_list));
    end if;
    put_msg ('Save');
    open vCursor for
    select rownum as id, s.*
    from (
    select f.latitude, f.longitude, count (distinct f.res_id) as res_count, count (*) as fa_count, 16711680 as color, res_concat_distinct (f.res_id) as station_list
    from mv_frequency_assignment f, table (SplitClob (p_fa_id_list, ',')) l
    where f.ext_system = 'BI' and
    f.ext_sys_id = l.column_value
    group by f.latitude, f.longitude
    ) s;
    put_msg ('Open and End');
    return vCursor;
    end get_fa_list;
    I use TopLink in ejb.
    i use follow code for call function and get result.
    public List<TmpResPoints> findAllPointsBI(String p_id){
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    uow.beginEarlyTransaction();
    StoredFunctionCall call = new StoredFunctionCall();
    call.setProcedureName("get_fa_list");
    call.useUnnamedCursorOutputAsResultSet();
    ClobDomain c = new ClobDomain(p_id);
    //System.out.println(c.toString());
    call.addNamedArgumentValue("p_fa_id_list", c);
    ReadAllQuery query = new ReadAllQuery();
    query.setReferenceClass(TmpResPoints.class);
    query.setCall(call);
    List<TmpResPoints> result = (List<TmpResPoints>)uow.executeQuery(query);
    uow.commit();
    uow.release();
    return result;
    But size parameter "p_fa_id_list" is 0. (geting from temp table in Data base). this code in function >>
    if p_fa_id_list is null then
    put_msg ('CLOB is null!');
    else
    put_msg ('size CLOB: ' || dbms_lob.getlength (p_fa_id_list));
    end if;)
    How I can call this function from dataBase and get result?
    thx,
    Demka.

    What is the SQL generated?
    The argument should just be the Clob value (a String) not the domain object.
    Also try addNamedArgument, and then pass the named argument to the query.
    James : http://www.eclipselink.org

  • Passing arrays with Call Library Function does not work after application builder

    Calling a DLL with Call Library Function which requires an array of data works correctly in Labview, but after building an exe with application builder, the call no longer works.  Dereferecing the pointer in the DLL retuns all 0s and not the actual values.
    Solved!
    Go to Solution.
    Attachments:
    TEST.zip ‏28 KB

    I did not run your code because it is a little unclear to me what it does.
    Two things:
    First, is the DLL you are calling the DLL-ified version of PopUpNames.vi? Then the problem is likely that the panel is not being built into the DLL.
    When LabView builds an application / dll, it strips the front panel and block diagram from all VIs that it doesn't think need to show a panel at run time. This reduces file size and increases code security. The App Builder's panel inclusion logic can be overridden by Build Specifications -> Source File Settings -> Remove front panel. A better method is to put a property node on a control in a window you want to show marking it "visible"; this is sufficient to tell the App Builder it should keep the panel.
    Currently Source File Settings shows "no dependencies" (clearly incorrect---another evil side effect of Express VIs I guess) but if you change the settings as shown below to keep ALL panels, one might hope the App Builder can figure it to keep the panel when it deconstructs the Express VI. (Alternatively convert the Express VI into a regular one.)
    A second comment: I am a bit flummoxed at the larger goal here. You are calling LabView DLL from LabView, which doesn't make a lot of sense, so I assume your larger goal is to call LabView from C or vice-versa. In that case be aware that your DLL is x86 (32-bit) but you are passing 64-bit ints as your pointers. In this case it is 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers calling 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers, so it all works, but if your going to call this from C or whatnot you're going to have to follow that same design.
    When calling C code the LabView Call Library Function does have a "unsigned pointer-sized integer" data type that always appears to be 64 bits in the dev env but which actually passes a 64 or 32-bit int to the DLL depending on the environment. The "pointer sized int" has to be 64 bits in the "LabView" part of the code because LabView's strong typing requires the data type to be determined at compile time. Casting all pointers to the largest data type in LabView makes it possible to write platform-independent code, but down at the Call Library level you still have to put the right number of bytes on the stack.

  • SQL query slow with call to function

    I have a SQL query that will return in less than a second or two with a function in-line selected in the "from" clause of the statement. As soon as I select that returned value in the SQL statement, the statement takes from anywhere from 2 to 5 minutes to return. Here is a simplified sample from the statement:
    This statement returns in a second or 2.
    select A.pk_id
    from stu_schedule A, stu_school B, stu_year C, school_year D,
    (select calc_ytd_class_abs2(Z.PK_ID,'U') ytd_unx
    from stu_schedule Z) II
    where B.pk_id = A.fk_stu_school
    and C.pk_id = B.fk_stu_year
    and D.pk_id = C.year
    and D.school_year = '2011';
    if I add this function call in, the statement runs extremely poor.
    select A.pk_id,
    II.ytd_unx
    from stu_schedule A, stu_school B, stu_year C, school_year D,
    (select calc_ytd_class_abs2(Z.PK_ID,'U') ytd_unx
    from stu_schedule Z) II
    where B.pk_id = A.fk_stu_school
    and C.pk_id = B.fk_stu_year
    and D.pk_id = C.year
    and D.school_year = '2011';
    Here is the function that is called:
    create or replace FUNCTION calc_ytd_class_abs2 (p_fk_stu_schedule in varchar2,
    p_legality in varchar2) return number IS
    l_days_absent number := 0;
    CURSOR get_class_abs IS
    select (select nvl(max(D.days_absent),'0')
    from cut_code D
    where D.pk_id = C.fk_cut_code
    and (D.legality = p_legality
    or p_legality = '%')) days_absent
    from stu_schedule_detail B, stu_class_attendance C
    where B.fk_stu_schedule = p_fk_stu_schedule
    and C.fk_stu_schedule_detail = B.pk_id;
    BEGIN
    FOR x in get_class_abs LOOP
    l_days_absent := l_days_absent + x.days_absent;
    END LOOP;
    return (l_days_absent);
    END calc_ytd_class_abs2;

    Query returns anywhere from 6000 to 32000 rows. For each of those rows a parameter is passed in to 4 different functions to get ytd totals. When I call the functions in the in-line view but do not select from them in the main SQL, the report (oh, this is Application Express 4.0 interactive reports, just an FYI) runs fast. The report comes back in a few seconds. But when I select from the in-line view to display those ytd totals, the report runs extremely slow. I know there are the articles about context switching and how mixing SQL with PL/SQL performs poorly. So I tried a pipeline table function where the function for the ytd totals populate the columns of the pipeline table and I select from the pipeline table in the SQL query in the interactive report. That seemed to perform a little worse from what I can tell.
    Thanks for any help you can offer.

  • Error while transforming XSLT by calling function with Reflection API

    Hi,
    I'm new to Reflection API. I want to call function from the jar file which is not in my application context. So I have loaded that jar ( say XXX.jar) file at runtime with URLClassLoader and call the function say [ *myTransform(Document document)* ]. Problem is that when I want to transform any XSLT file in that function it throws exception 'Could not compile stylesheet'. All required classes are in XXX.jar.
    If I call 'myTransform' function directly without reflection API then it transformation successfully completed.
    Following is code of reflection to invoke function
            ClassLoader contextCL = Thread.currentThread().getContextClassLoader();
            URLClassLoader loader = new URLClassLoader(jarURLs, contextCL);
            Class c = loader.loadClass(fullClasspath);
            Constructor constructor = c.getDeclaredConstructor(constructorParamsClasses);
            Object instance = constructor.newInstance(constructorParams);
            Method method = c.getDeclaredMethod("myTransform", methodParamsClasses);
            Object object = method.invoke(instance, methodParams);Following is function to be called with reflection API.
    public Document myTransform ( Document document ) {
    // Reference of Document (DOM NODE) used to hold the result of transformation.
                Document doc = null ;
                // DocumentBuilderFactory instance which is used to initialize DocumentBuilder to create newDocumentBuilder.
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance () ;
                // Reference of DocumentBuilder used to create new Document (DOM NODE).
                DocumentBuilder builder;
                try {
                      // Initialize DocumentBuilder by using DocumentBuilderFactory instance.
                      builder = factory.newDocumentBuilder ();
                      // Initialize new document instance by using DocumentBuilder instance.
                      doc = builder.newDocument () ;
                      // Creates new DOMSource by using document (DOM NODE) which is coming through current transform() method parameter.
                      DOMSource domsource = new DOMSource ( document ) ;
                      // Creates new instance of TransformerFactory.
                      TransformerFactory transformerfactory = TransformerFactory.newInstance () ;
                      // Creates new Transformer instance by using TransformerFactory which holds XSLT file.
                      Transformer transformer = null;
    ********* exception is thrown from here onward ******************
                      transformer = transformerfactory.newTransformer (new StreamSource (xsltFile));
                      // Transform XSLT on document (DOM NODE) and store result in doc (DOM NODE).
                      transformer.transform ( domsource , new DOMResult ( doc ) ) ;
                } catch (ParserConfigurationException ex) {
                      ex.printStackTrace();
                } catch (TransformerConfigurationException ex) {
                      ex.printStackTrace();
                } catch (TransformerException ex) {
                     ex.printStackTrace();
                } catch (Exception ex) {
                     ex.printStackTrace();
                //holds result of transformation.
                return doc ;
    }Following is full exception stacktrace
    ERROR:  'The first argument to the non-static Java function 'myBeanMethod' is not a valid object reference.'
    FATAL ERROR:  'Could not compile stylesheet'
    javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:829)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:623)
            at com.actl.dxchange.utilities.Transformation.transform(Transformation.java:83)
            at com.actl.dxchange.base.BaseConnector.transform(BaseConnector.java:330)
            at com.actl.dxchange.connectors.KuoniConnector.doRequestProcess(KuoniConnector.java:388)
            at com.actl.dxchange.connectors.KuoniConnector.hotelAvail(KuoniConnector.java:241)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            ...........

    Hi,
    Thanks for response.
    Following is code for setting 'methodParamsClasses' array object. I do ensure that Document is not null and valid. My application is web application.
    Document requestObj = /* my code for generating Document object*/
    Object[] methodParams = new Object[]{requestObj}
    Class[] methodParamsClasses = new Class[]{};
                if (methodParams != null) {
                    methodParamsClasses = new Class[methodParams.length];
                    for (int i = 0; i < methodParams.length; i++) {
                        if (methodParams[i] instanceof Document) {
    /************** if parameter is instance of Document then I set class type as "Document.class" ***********/
                            methodParamsClasses[i] = Document.class;
                        } else {
                            methodParamsClasses[i] = methodParams.getClass();

Maybe you are looking for

  • SSO for partner applications

    Hi All, I have installed 10g AS Release 2 on a system. I also have Application Express(formerly HTML DB) installed on the same system. I registered one of the HTML DB applications as partner applications and have put SSO authentication for it. When I

  • Data present in  internal table, now how to open it in PDF format

    Dear Friends, my Scenario is.. I have uploaded a pdf file in my database table through  GUI_UPLOAD. It is uploaded. Now when user click on some button then that file should be displayed again in pdf format directly. (No download to user PC using GUI_

  • MiFi 4510L Uplink is slow

    I use "Verizon Jetpack 4G LTE Mobile Hotspot MiFi 4510L". Before, I heard "Download/Uplink is 2-5Mbps, All the time, 24/7" from Verizon chat system. Therefore, I started use of "Verizon Jetpack 4G LTE Mobile Hotspot MiFi 4510L". However, the Uplink s

  • PO created but Status showing as Awaiting for approval in extended classic

    Hi Experts, SRM 5.0 extended classic scenario,SC approved and PO created but status showing in follow on documents node in SC as awiting for approval. Can any help in finding solution.Thanks in advance. Thanks, Babu

  • Reagrding export tab declaration  in function module

    Hi, I am populating an error structure in the function module and want to export that error structure to calling program. Now I have to create this error structure using data: statement inside the function module. The error structure has following fi