Type conflict error for method of a class

Hi all,
I am getting a type conflict error in method Read of class CL_SWF_REP_ITEM2OBJECT, the error text is
"A type conflict occurred when the program tried to passan actual parameter to the formal parameter 'EX_WI2OBJ_WIHDR' of the method 'READ' of the class'CL_SWF_REP_ITEM2OBJECT'."
I am calling this method from the FM SAP_WAPI_WORKITEMS_TO_OBJECT. I have checked the type and other things and they all seem fine. Funny enough, all the culprits in question are sap standard objects.
Also the same methods and FM work fine for 4.7 and release 640 of Ecc6.0, however doesnt work for release 700 of ECC6.0
kindly guide

Hi,
If the method is:
'Instance Method' use -> to refer to the method of the class
If the method is :
'Static Method' use => assignment to refer to the method.
Could you specify the class and method details so that if the error can ba analyzed.
Regards,
George

Similar Messages

  • Type Conflict error for "CommonResult"

    Hi,
    I am Getting TypeConflictError for "CommonResults" under StandardType on opening the sequence file.
    what counld be the possible cause for this error?
    I am not altering the type in my sequence file anywhere.
    Thanks
    Bharathi

    Hi,
    What Teststand version are you using?
    Dont forget it's not only the Client SequenceFile but also the Process Model sequence file.
    After you tried using the Types Diff tool to identify where the problem lies.
    (http://forums.ni.com/t5/NI-TestStand/error-SpecifyExeByExpr-error/m-p/1124170#M28903)
    This sequencefile you are opening, do you know where this sequence file has come from?
    Regards
    Ray Farmer

  • Type conflict during dynamic method call.

    While executing the following program I get the error "Type conflict during dynamic method call.":
    DATA: container_r  TYPE REF TO object,
          grid_r       TYPE REF TO object,
          itab_saplane TYPE TABLE OF saplane.
    * IMPORTANT NOTE: class names must be in UPPER CASE
    DATA: str_cnt TYPE seoclsname VALUE 'CL_GUI_CUSTOM_CONTAINER',
          str_gui TYPE seoclsname VALUE 'CL_GUI_ALV_GRID',
          meth_name TYPE STRING VALUE 'SET_TABLE_FOR_FIRST_DISPLAY'.
    TYPE-POOLS abap.
    DATA: ptab    TYPE abap_parmbind_tab,
          wa_ptab LIKE LINE OF ptab,
          ref     TYPE REF TO data.
    CREATE OBJECT container_r TYPE (str_cnt)
      EXPORTING container_name = 'CUSTOM_CONTROL1'. " Name of the custom control area (UC!)
    * Construct parameter itab
    GET REFERENCE OF container_r INTO ref.
    wa_ptab-name  = 'I_PARENT'.  " Must be upper-case
    wa_ptab-value = ref.
    INSERT wa_ptab INTO TABLE ptab.
    *   EXPORTING i_parent = container_r.
    CREATE OBJECT grid_r TYPE (str_gui)
      PARAMETER-TABLE ptab.
    SELECT * FROM saplane INTO CORRESPONDING FIELDS OF TABLE itab_saplane.
    * Cannot call set_table_for_first_display directly...
    CALL METHOD grid_r->(meth_name)
      EXPORTING I_STRUCTURE_NAME = 'SAPLANE'  " Type of the rows in the internal table  (UC!)
      CHANGING  IT_OUTTAB = itab_saplane.     " The internal table itself
    CALL SCREEN 100.
    Any help would be appreciated!

    Hi ...
    Apologies ... for confusion ... actually both are required ...
    the type 'E' as well as CL_GUI_CONTAINER.
    The below code worked for me ...
    check out how I cast it to the parent class type ...
      DATA : lv_container   TYPE seoclsname VALUE 'CL_GUI_CUSTOM_CONTAINER',
             lv_control     TYPE seoclsname VALUE 'CL_GUI_ALV_GRID',
             lv_method      TYPE string VALUE 'SET_TABLE_FOR_FIRST_DISPLAY',
             lt_par_tab     TYPE abap_parmbind_tab,
             ls_param       LIKE LINE OF lt_par_tab,
             lref_cont      TYPE REF TO cl_gui_container,
             lv_data        TYPE REF TO data.
    CREATE OBJECT lref_container
          TYPE
            (lv_container)
          EXPORTING
            container_name = 'ALV_AREA'.
        ls_param-name = 'I_PARENT'.
        ls_param-kind = 'E'.
        lref_cont ?= lref_container.
        GET REFERENCE OF lref_cont INTO lv_data.
        ls_param-value = lv_data.
        INSERT ls_param INTO TABLE lt_par_tab.
    **  Now create ALV Control.
        CREATE OBJECT lref_alv_ctrl
          TYPE
            (lv_control)
          PARAMETER-TABLE
            lt_par_tab.
    **  Set table for 1st display
        DATA : lv.
        lv = lref_alv_ctrl->mc_fc_print.
        CALL METHOD lref_alv_ctrl->(lv_method)
          EXPORTING
            i_structure_name = 'T001'
          CHANGING
            it_outtab        = lt_company.
    Cheers
    Edited by: Varun Verma on Aug 12, 2008 4:19 PM

  • Assign Type conflict error

    Hi,
    I am trying to load the data from PSA to write optimised DSO in production and it is throwing me an error 'Short dump :Assign Type conflict error".
    I have no routines in the transformations.Source data types are matching with target data types.
    Is there any way I could resolve this issue.
    Thanks,
    Chandra

    Hi,
    I had this problem when i was loading the sales cube. the problem was UOM was not maintained in the system. Then I maintained UOM in the bi and solved the issue. JUst check if your data from the source has got the master data in bi.
    Thanks
    Srikanth

  • Error: SHA1 digest error for javax/mail/Authenticator.class

    I am using javax.mail api to sending emails.
    when I calls main method of the class to send email its works perfect, but when I imports the same class in jsp its shows me above said error.
    My email server requires authentication before sending mails.
    please guide me how to use this class in jsp .
    class code is as below :
    =========================
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    public class SendMailUsingAuthentication
    private static final String SMTP_HOST_NAME = "myserver.smtphost.com";
    private static final String SMTP_AUTH_USER = "myusername";
    private static final String SMTP_AUTH_PWD = "mypwd";
    private static final String emailMsgTxt = "Online Order Confirmation Message. Also include the Tracking Number.";
    private static final String emailSubjectTxt = "Order Confirmation Subject";
    private static final String emailFromAddress = "[email protected]";
    // Add List of Email address to who email needs to be sent to
    private static final String[] emailList = {"[email protected]", "[email protected]"};
    public static void main(String args[]) throws Exception
    SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
    smtpMailSender.postMail( emailList, emailSubjectTxt, emailMsgTxt, emailFromAddress);
    System.out.println("Sucessfully Sent mail to All Users");
    public void postMail( String recipients[ ], String subject,
    String message , String from) throws MessagingException
    boolean debug = false;
    //Set the host smtp address
    Properties props = new Properties();
    props.put("mail.smtp.host", SMTP_HOST_NAME);
    props.put("mail.smtp.auth", "true");
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getDefaultInstance(props, auth);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    * SimpleAuthenticator is used to do simple authentication
    * when the SMTP server requires it.
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username = SMTP_AUTH_USER;
    String password = SMTP_AUTH_PWD;
    return new PasswordAuthentication(username, password);

    Find all the jar files under Tomcat's installation directory and all the jar files in the jre/lib/ext directory.
    Make sure only one of them includes javax.mail.* classes.
    Note that setting CLASSPATH to a directory does not cause all jar files in that directory to be loaded.
    Finally, make sure Eclipse isn't copying the class files out of mail.jar and packaging them with your
    application.

  • Type Conflict Error

    Hi Experts
    I Created One FM Called ZIN_INVOICE . . . .
    When I AM Calling That In WEB DYNPRO Code Wizard It Throwing ERROR
    Type conflict when calling a function module error web dynpro abap
    Can Any One Help
    BY
    Srinivasan.r

    Hello!
    You have to provide the same vars types when you call the FM.
    Parameter: p1 of type p_pernr for example, needs a var of the type p_pernr you cant use STRING.
    Try to find out the parameter that dont have the same type when you call it, than when you define it in your FM.
    Bye

  • Type Conflict Error with RFC FM

    Hi Guys,
                  I am getting "Type conflict when calling a function module" in XI.
    Here is the full error.
    <rfc:ZFIBAPI_ACC_DOCUMENT_POST.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>Type conflict when calling a function module.</Text><Message><ID>RFC_ERROR_SYSTEM_FAILURE</ID><Number>341</Number></Message><Attributes><V1>CALL_FUNCTION_CONFLICT_TYPE</V1></Attributes></rfc:ZFIBAPI_ACC_DOCUMENT_POST.Exception>
    Is it something with the XI side or SAP side.
    Thanks
    Senthil

    is there any solution to the problem you mentioned????
    "The object can only be displayed
    Message no. MO705
    Diagnosis
    You tried to change an object that cannot currently be edited using the editor for complex objects. Possible causes:
    The object is a sorted table
    The object contains sorted tables
    System Response
    The system can only display the object"
    Please reply back as we need it very urgently... thanks
    Mani

  • Type conflict error when using TS_EngineGetSeqFile

    I was trying to use function TS_EngineGetSeqFile to load a sequence file build in TestStand 4.0, and I got a OLE error showing me that I have a type conflict with "CommonResults". Does anyone know how to solve this problem??

    Hi huizhong,
    The type conflict dialog you are seeing is evidence that the copy of CommonResults (an NI-Installed type) in the sequence file has the same version but different settings than the currently loaded CommonResults type definition. CommonResults
    is stored in almost all of the built in TestStand type palettes which
    automatically get loaded when you open TestStand. Because of this, it
    becomes a part of the global type usage list in the Engine. If you
    didn't make any changes to CommonResults yourself, it is likely you have inherited a type virus from somewhere and I suggest you take measures to correct the problem.
    A
    type virus can spread when you tell TestStand to resolve a type
    conflict by using the version from the file you are currently opening
    (as opposed to the currently loaded type in the global type usage
    list). Once the "new" type is copied over to the type palettes, it will
    then get loaded every time TestStand runs. At this point, if you open
    up more files that use this same type and choose to use the currently
    loaded type when the type conflict dialog shows, TestStand will copy
    the "new" version into the file - thus the spread or viral like
    behavior.
    In order to correct the problem, you can either:
    Manually open each and every infected file and replace the invalid type with the valid type or...
    Use the Type Differ tool that I wrote to inspect each file pair and merge the conflict automatically
    I
    realize that using the Type Differ at this point is still "manual" in
    the sense that you must open each file pair and merge the conflict, but
    hopefully in your case there aren't that many affected files. To that
    end, I am working on a Batch version of the Type Differ that can diff
    and merge entire directory structures automatically. Let me know if you
    are interested in using such a tool and I will post a link when
    development has reached a beta version.
    Regards,

  • Output type processing error for adobe forms

    We have created one output type in NACE transaction for Application V1(Sales) and attached the Adobe form to that output type. Whevener i am creating or saving a quotation / Sales order that output type is not processesed rather it is giving an Express document error that 'Update was terminated'.
    Please help me out to solve it.

    It is processed as there was a issue in the program.

  • Type conflict error - in Transformations

    Hi all,
    I have done Transformation euregine of Transfer/Update rules for 0FI_AA_006 DS/IS I have activated and loaded till PSA.When  Iexecuting my DTP it is showing an dump stating that " Dump: ABAP/4 processor: ASSIGN_TYPE_CONFLICT " .
    I have seen all assignments of my transformations ,all are correct( default given by SAP ),why I am getting that error did any one faced that error. ihave faced that problem previously also for other data source in FI.Shall  Ihave to install any notes for that ?
    Regards
      KK

    We also encountered this error please follow the below mentioned step.Hopefully U'll b able to make it up
    If the error occurs in a note you implemented or in Support Package 06 or higher, you must follow the manual troubleshooting steps<AS Char>described below.
               Import Support Package 06 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70006) into your BI system. The Support Package is available when Note 0872278 "SAPBINews BI 7.0 Support Package 06", which describes t his Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    You must then proceed as follows:
    Manual steps for troubleshooting:
    The transformation(s) involved must be newly activated or you must reset the generation status:
    Carry out the following steps to reset the status:
    Call Transaction 'RSSGPCLA'
    Place the cursor on the 'RSTRAN_MASTER_TMPL' program class.
    Choose the 'Set status' pushbutton (CTRL+F3)

  • SHA1 digest error for javax/mail/Message.class

    it's been 4 hrs that i am striving to get around this .....Does any body has any idea why this error appears and how to remedy it ....
    help will be much much appreciated....

    Either:
    1. Your mail.jar is corrupted, or
    2. You have more than one copy of the javax.mail.Message class in your CLASSPATH.

  • Select options field is giving type conflict when calling a class.

    hai guys,
           i have a field SALESORD in subscreen as a SELECT-OPTIONS field for vbeln.
    Now i created a class,with SALESDETAILS  of type TABLE as a parameter of a method.
    when i call the method(after creating an object) the SALESDETAILS parameter is supposed to take the SALESORD field.
      but it gives me a type conflict error.
    i wonder why..coz both fileds have same type..
    how to resolve the issue..
    helpful answers will be rewarded.
    thank you.

    Hi Shravan,
    Pass the select-options vbeln values into a temporary table and pass this table into the method.
    <b>Reward for helpful answers</b>
    Satish

  • Error:Type conflict when calling a function module RFC_ERROR_SYSTEM_Failure

    Hi Experts,
    When I run my Application in Portal, i am getting the following error.
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    When I execute the BAPI, it is getting executed.
    My Bapi Strucute:
    Import Parameters
    IM_MAT_Search --> ZPTIP_MAT --> Import Parameters
    Tables
    IT_INFO_REC --> ZMM_GET_ITEM --> Output Parameters
    When I import the model, i am getting the structure like this
    BAPI_Name > ZMM_BAPI_Input> IM_MAT_Search(respective Parameters) , Output (respective Tables and their parameters)
                        > ZMM_Input1> Parameters
    This is the way, how i am executing in webdynpro java
    Zmm_Bapi_Ptip_Search_Input eleInput = new Zmm_Bapi_Ptip_Search_Input();
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    Zptip_Asset eleInputAsset = new Zptip_Asset();
    eleInputAsset.setSearch("ACRS");
    wdContext.nodeZptip_Asset().bind(eleInputAsset);
    eleInput.setIm_Ast_Search(eleInputAsset);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().currentZmm_Bapi_Ptip_Search_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    Please let me know, how to do the same.
    Thanks in advance.
    Regards,
    Palani

    Hi David,
    I checked for the Parameter of setIm_Ast_Search, it is of Zptip_Asset.
    Hi Saleem,
    When I changed the same, i am getting the Type conflict error,
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    Please let me know,what can be done in this regard to solve the problem.
    My BAPI Structure when imported as model
    SearchBAPI
    --> ZMM_BAPI_SEARCH_INPUT
    > IM_AST_SEARCH(zPTIP_ASSET)
    >Zptip_Asset
    >Search (Parameter)
    > OutPut(ZMM_BAPI_Search_Output)
    >IT_Asser_Rec(ZMM_Asset)
    >ZMM_Asset
    >TXT100 (output Parameter)
    --> ZMM_BAPI_SEARACH_OUTPUT
    --> ZPTIP_ASSET
    >Search (Parameter)
    Thanks & Regards,
    Palani
    Edited by: Palani Appan on Nov 11, 2009 5:31 PM

  • ORA-29534 error for Class can not be resolved

    HI,
    I am trying to load and resolve a third party jar file which has some JMS classes. But while using the loadjava utility,
    "loadjava -u scott/tiger@dbname -r -v -genmissing weblogic.jar"
    i get "ORA-29534: referenced object <Class Name> could not be resolved" error for most of the classes.
    This Jar file has around 15000 classes definitions and it takes almost a complete day to load and resolve it. Even after taking so much of time it is unable to resolve all the classes and give a runtime exception Class can not be resolved for some class.( i have created the oracle java stored procedure successfully)
    I need a help on this very urgently...
    Thanks in advance....
    Sachin

    Sachin,
    There are many possible causes for the error you are getting, for example:
    1. The DBMS_JAVA package is corrupt.
    (Have you previously successfully loaded JARs -- or even java classes -- into the database?)
    2. A java version mismatch.
    (What Oracle database version are you using, and what java version is your JAR file compatible with?)
    You say,
    Surely they are loaded but not resolvedIs this a question, or a statement? Have you verified that the classes are loaded and not resolved? I use the following query for this:
    select DBMS_LONGNAME(OBJECT_NAME), STATUS
      from USER_OBJECTS
    where OBJECT_TYPE like 'JAVA%'The value for the STATUS column should be 'VALID'.
    I'm only guessing, but you may find more information (regarding the error you are getting) in the Oracle log files. Have you checked them?
    Have you tried searching the MetaLink Web site?
    http://metalink.oracle.com
    (Search for "ORA-29516", perhaps.)
    Good Luck,
    Avi.

  • SHA1 digest error for javax/mail/MessagingException

    java.lang.SecurityException: SHA1 digest error for javax/mail/MessagingException.class
         at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:194)
         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:201)
         at java.util.jar.JarVerifier.update(JarVerifier.java:188)
         at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:411)
         at sun.misc.Resource.getBytes(Resource.java:97)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Exception in thread "main"
    What could be the problem for this error Exception ???
    Thanks and Regards.

    Hi!
    Do you use some plugins with eclipse IDE, like Tomcat by example or other plugins ... ?
    If yes, update mail.jar and activation.jar inside Tomcat or in your lib project Eclipse...
    You have a conflict with the class loader that check for security for class javax/mail/MessagingException
    See you Manifest.mf inside mail.jar :
    (old version here...)
    Manifest-Version: 1.0
    Implementation-Version: 1.4
    Specification-Title: JavaMail(TM) API Design Specification
    Specification-Version: 1.3
    Implementation-Title: javax.mail
    Extension-Name: javax.mail
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Implementation-Vendor-Id: com.sun
    Implementation-Vendor: Sun Microsystems, Inc.
    Specification-Vendor: Sun Microsystems, Inc.
    SCCS-ID: @(#)javamail.mf     1.6 05/12/09
    Name: javax/mail/search/SearchTerm.class
    SHA1-Digest: SwGnDhIUmpZhfhq/FKkCQ9nD7ZE=
    Name: javax/mail/SendFailedException.class
    SHA1-Digest: XdCEygaIZQB9YrH2WIr4nPRYYk0=
    Name: javax/mail/MessagingException.class
    SHA1-Digest: lfjX30OQ88v/n9G9fTJGqjFmPd0=
    regards,

Maybe you are looking for

  • How can I use an external hard drive for capturing? I don't have enough mem

    I'm new at this...I have a Powerbook G4 and not nearly enough memory for capturing a full size video. Is there some way to send it to an external hard drive- for capturing, then burn it in my laptop? Would that external hard drive have to have IDVD l

  • Determining a Device That Does Not Exist

    Hello, We have a Citrix Xendesktop 7.1 PVS environment. The VHD disks are hosted on a volume on a Windows Server named S00CITRIXVHD01 that has 2 disks C drive(Disk0) and D drive(Disk1). In the event log of the server hosting the VHD disks I see this

  • Windows 8 Disk Partition Error

    Every time I press install to create a partition for windows 8 in Boot Camp I get an error message that says "your disk could not be partitioned, an error occurred while partitioning the disk". Why is this error occurring and how can I stop it?

  • PRT doubts

    hi all I have follwoing doubts reg PRT. 1. Is it possible to assign PRT to an operation in a MO. (Other than thro' Task List) 2. What is the PRT formula stands for in SPRO (std SAP). What formula should I use, if I assign a PRT in a Routing so that M

  • Camera connection kit import photo limit of 16GB fixed?

    Last fall there was a discussion of a limitation of 16GB on photos in the iPad. http://discussions.apple.com/thread.jspa?messageID=12297747 I haven't been able to find out whether this was resolved with an iOS 4.x update or the problem persists. This