RFC Structure got changed, getting ArrayIndexOutOfBoundsException Exception

Hi All,
I am using a RFC in my web Dynpro Application. before it was working fine but now my RFC's Structure name got chnaged.
I reimported the RFC and mapped. But now I am getting ArrayIndexOutOfBoundsException Exception
java.lang.ArrayIndexOutOfBoundsException
I have invalidated the dictionary cache but still problem did not resolve.
Restarting of server will resolve this issue but I dont want to restart server as I am working on client server.
Please any one help me how to solve this issue without restarting the server.
Thanks in  advance!!

Hi,
Have you made any changes in your Function Module ? if yes have you reimported the Model ?
if you reimported , you need to restart the J2EE Engine
Or else you can do the following
Reimporting Model without restarting the J2EE Engine -- you can do u201CMetadata Cache invalidation for Webdynpro Adaptive RFC Modelsu201D ( Please look at Vishweshwarau2019s Links)
Hope this is help full for u
Best Regards
Vijay K

Similar Messages

  • File to RFC - XSLT Mapping after RFC structure has changed

    Hi
    I'm an XI beginner, and am looking at a File to RFC scenario which has been implemented in our 7.0 system.
    We have a requirement to add a new field to the RFC (which has already been done by the ABAPer) and I need to make the necessary changes in XI. So I have re-imported the RFC and added a field in Data Type (we had file content conversion and we have manually defined the Data Types).
    For mapping - is there a way to utilise the existing XSLT mapping without having to re-do the entire mapping in Stylus Studio? Is there an easy way to just add one additional field in Stylus Studio? or do I have to edit the xsl manually?
    Thanks
    Manoj

    Manoj,
    Let me explain you....
    1.Take the old XSL file into anote pad
    2.now import your newly modified source and target XSD and import into SS
    3.Perform the xslt mapping for the newly added source and target field
    4.generate the XSL for this mapping
    5.Now take the lines which mapped (Do not take all the lines in the generated XSL) and copy these few lines mapped
    6.Now go to the old XSL in the notepad and add the lines copied from the new XSL
    Now try to paste the entire XSL in SS then you would be able to see all the fields mapped in SS IF yes then you are done with XSLT mapping.
    Regards,
    Naveen.

  • Impact of the Datasource structure got changed?

    Hi all,
    I am working on CRM as sourcesystem.I have created datasource with Function module.Data has been loading to the cube since one month.The problem is in the structure Tittle1(40) and Tittle(40) length has taken.But it should have to take Tittle1(60).So I need to change the Structure of the function module.
    I would like to know what are the impacts will happen if changed the existing structure at CRM system.What are the steps to be taken to make these changes?What would be the impacts at BW side.
    your help will be greatly appreciated
    Regards,
    Praveena

    Hi Praveena,
                   Firstly there wont be any impact on your BW side assuming that the infoobject you were mapping in B/W can be mapped readily(assuming that you need not change the infooject properties) to the field (the field for which length is changed in the structure).
                   On the source system side, once you make your structure changes and activate, you need to make adjustments in function module and in cmod code(if any cmod code exists).
                  Apart from the above, there wont be any more impact on other objects. Anyway you want to change the length of a field in your structure, so there wont be much of changes even in FM.
                But you need to replicate your Datasource in BW once your FM is activated after your structure changes
    Regards
    Sunil

  • Changes in RFC Structure.

    Hi Experts,
    My RFC structure is changed, can i do anything else than restarting the server.
    Regards
    Upendra.

    Hi,
    its must and should, otherwise changes will not effect.
    Please tell me how i will know wether my RFC is Adaptive RFC or not.
    That will depend when you access the rfc in webdynpro  from R/3. in the second step you have to select the adaptive rfc while importing the  rfc.
    from r/3 side, your rfc will be remote enabled, thats all.
    PradeeP
    Edited by: pradeep bondla on Oct 16, 2008 12:16 PM

  • Change in RFC structure

    Hii experts,
    I was doing rfc scenario.. so i am imported a rfc structure in IR.. i done mapping and all.. but now my rfc structure has been changed say like one extra field has been added in rfc structure.. so i reimported it and trying to do mapping.. but i cant find the new field so i cant map that particular field.. how can i resolve this??
    Im using PI 7.0
    Regards,
    Balaji

    Ask your ECC Team to do the following things.
    1. Cancel the Release of RFC.
    2. Add the additional Field to RFC and Activate it.
    3. Release the RFC.
    After doing above.
    1. Re-Import the RFC.
    2. Make the mapping.
    3. do some dummy changes in Sender channel and activate it again.

  • Some how my IPOD Shuffle play list got changed to genres, I can't get it back listed as I added each song?

    My play list for my I POD Shuffle somehow got changed to genres. I can't find a place to help me return it to it's original version of 1st song, followed by second
    etc: I have 169 songs, and need help?

    Well, shut my mouth!  There was a similar question over to the right about a 6th generation nano repeating over and over again -- I read the answer to that one, followed the instructions, and holy crap, it's back to normal.
    Is there a name for this when you end up replying to your own aggravating question?  That's what I did.  Now I can go out and listen.  It's only 91 degrees.  Heaven. Thanks, Apple. 

  • Error getting application exception message from client EJB 3

    Hi, somebody nkow what is the error?
    I have this simple session bean deploy in a jboss 4.0.5 GA application server
    My interface:
    package server.ejb.usuarios;
    import javax.ejb.Remote;
    @Remote
    public interface Prueba {
         public void getError() throws Exception;
    }My Session bean implementation:
    package server.ejb.usuarios;
    import javax.ejb.Stateless;
    import server.ejb.usuarios.Prueba;
    public @Stateless class PruebaBean implements Prueba {
         public void getError() throws Exception {
              throw new Exception("Mensaje de error");
    }Simple, i can deploy this bean on my application server, now i have this client code:
    package clientold;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import server.ejb.usuarios.Prueba;
    public class MainPruebaError {
          * @param args
         public static void main(String[] args) {
              Context ctx;
              try {
                   ctx = getInitialContext();
                   Prueba pruebaSession = (Prueba) ctx.lookup("PruebaBean/remote");
                   pruebaSession.getError();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch(Exception e){
                   System.out.println("Get error from server: " + e.getMessage());
                   e.printStackTrace();
         private static Context getInitialContext() throws NamingException {
              Properties prop = new Properties();
              prop.setProperty("java.naming.factory.initial",
                        "org.jnp.interfaces.NamingContextFactory");
              prop.setProperty("java.naming.provider.url", "127.0.0.1:1099");
              prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              return (new InitialContext(prop));
    }and my client catch the exception but i can�t get the correct exception message. I need pass custom message from my server to my clients and wrap it in a exception, but when i run this example got the next output:
    Get error from server: [Ljava.lang.StackTraceElement;
    java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         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 org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
         at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
         at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
         at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
         at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
         at org.jboss.remoting.Client.invoke(Client.java:525)
         at org.jboss.remoting.Client.invoke(Client.java:488)
         at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
         at $Proxy0.getError(Unknown Source)
         at clientold.MainPruebaError.main(MainPruebaError.java:21)What is the problem??, i must see on the output
    Get error from server: Mensaje de errorbut i have :
    Get error from server: [Ljava.lang.StackTraceElement;why???, is only a simple application exception and don,t work, somebody can help me??
    i have tried to use an interceptor class for get the exceptions and work, but without interceptor, dont work
    thanks

    I can resolve this problem change the JDK version used to develop my clint application and to run the jboss application server.
    Current, in JBoss 4.0.5, the JDK requirement is JDK 5, and i was using JDK 6.

  • I'm getting an exception while sending a mail . .

    i'm get an excpetion while sending a mail, example i'm getting
    this particular error
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
    at MailTest.<init>(MailTest.java:25)
    at MailTest.main(MailTest.java:42)
    this is my code
    pls help me out
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class MailTest
         String mailHost = "mail.business-functions.com";
         String to = "[email protected]";
         String from = "[email protected]";
         String subject = "This is Test Mail Thru Java Mail API";
         String body = "This is Test Mail to check whether the Java Mail APi is Working or not. This is prototype developed by Snehal K gandhi of Business Functions Software Solutions Pvt Ltd.";
         Provider provider;
         public MailTest()
              try
                   Properties props = System.getProperties();
                   props.put("mail.smtp.host", mailHost);
                   Session session = Session.getInstance(props,null);
                   Message message = new MimeMessage(session);
                   message.setFrom(new InternetAddress(from));
                   message.setRecipients(Message.RecipientType.TO,new InternetAddress[]{new InternetAddress(to)});
                   message.setSubject(subject);
                   message.setContent(body, "text/plain");
                   Transport.send(message);
                   System.out.println("Mail has been Sent");
              catch(MessagingException me)
                   System.out.println("2. Error While Sending the Mail and the exception is : " + me.toString());
         public static void main(String arg[])
              new MailTest();
    ***********************************************************************/

    <sigh>
    You need activation.jar in your classpath and or
    import javax.activation.*;
    See the JavaMail Readme for more info.
    If you haven't got JAF get it here
    http://java.sun.com/products/javabeans/glasgow/jaf.html
    Rgds,
    SH

  • GR based IV is disabled but it got changed

    HI gurus ,
    We are using SRM 5.0 Extended classic scenario, ECC 6.0
    In the Purchase Order ,item data-> Follow-on documents -> Confirmation-Related Invoice Verification  is disabled.
    But somehow the GRIV indicator got changed , I can see the change log for the same.
    User just changed the Requester and Goods recepient , but the change log shows he changed the GRIV indicator too.There have been no changes on the GRIV field in the vendor master.Also when the changes were done, there were already some partial GR and invoices posted for the PO.
    Because of this , the PO fell into 'error in process' from 'ordered' status. Although I have removed the GRIV indicator at the table level and pushed the PO again into ECC which has changed the status of the PO to 'ordered' again, I want to know how the GRIV indicator got changed automatically ?
    Is there any OSS note for this ??

    Hi experts,
    We are on SRM 7.0 ECS , support pack SAPKIBKV08.
    Our vendor master in SRM has following flags set:
    GR= set
    IR = set
    GR based IV=set
    Now in an SRM PO , buyer wants to set the following flag:
    GR = buyer wants to set
    IR =buyer wants to set
    GR based IV= buyer wants to reset GR based IF flag , since the invoice comes before the GR and has to be paid
    But in the SRM system , if GR flag is set , and IR flag is set , then GR based IV flag gets set automatically. Buyer is unable to uncheck it. This is a bug in the system , how to resolve this. the above mentioned notes, 1010791, 1445234,1114343 are not applicable to the system .
    (If a PO was directly created in ECC system , and GR falg and IR flag is set , then buyer can manually uncheck the flag)
    Rgds
    sumendra

  • How to know whether any item value got changed

    How to know in Apex whether any form item got changed. That will help me to know when the user will be pressing the "Apply Changes" button and I will popuplate the "User Modifed" and "Date Modifed" column values in the table. For now, I dont want to write database triggers, but to implement it at application level.

    Hi Deb
    For a really good explanation of the naming /numbering of tabular form items see Patrick Wolf's blog on the matter.
    http://www.inside-oracle-apex.com/which-tabular-form-column-is-mapped-to-which-apex_applicationg_fxx-array/
    He also gives a simple example of using check-boxes in tabular forms here
    http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/
    You will notice in his example, that the apex_application.g_f40 is specifically named as 40 - a high number assuming that you don't have more than 39 editable columns in you tabular form - shown in the name="f40" code.
    <input type="checkbox" #ADMIN_USER_CHECKBOX# value="#ROWNUM#" name="f40" id="f40_#ROWNUM#"/>#ADMIN_USER_CHECKBOX#
    In essence the columns are numbered (only the editable ones) in the order in which they appear in the select statement - so the first editable column will be f(01), next f(02) etc - except where the column is specifically named - in this case f(40).
    I had a situation where I wanted to programatically stamp the user's name into a column depending on whether the user checked a check-box in each row.
    But if the column is editable and visible, then the user is free to type into this cell - this I wanted to avoid.
    Something that took me a while to work out is that you can hide an editable column - so it can updated by your procedure code - not by the user!
    The way to solve this is to have the sql statement select the relevant column twice - the first one is the editable one and hidden, and the second copy is a normal report column - displayed but not editable.
    I used Patrick's example in the link above to set up my tabular form with the first column as a check-box.
    The user then marks the desired rows by clicking in the check-box and submits / saves.
    The procedure then detects which rows have been checked - updates the editable (but hidden) database column, and then re-displays the result - with the second copy of the same column now showing the updated value!
    I hope this helps.
    Look at Patrick's other postings - they are so helpful.
    Mike

  • File to RFC Structure mapping

    Hi All
    This is the first time I am going to work on customized mapping for the following requirement, please give your inputs.
    I am working on File to Proxy Scenario where I have created custom proxy using standard RFC Function Module.
    I have created my source data type, message type and service interface. The target structure I got by importing corresponding RFC structure and created service interface and proxy for the same.
    Now I am trying for graphical mapping here to map file structure to RFC structure. Can you please tell if I have to consider whether its header data or item data. I mean how can I mention that there will be multiple entries of item.
    Please let me know if mentioning in data type i.e 1 to unbound is sufficient and no need to do anything specially while mapping them to targe RFC tables.
    Also, please let me know if my approach is correct. Thanks for your inputs.
    Regards
    Amol

    >
    Amol wrote:
    > Hi All
    > This is the first time I am going to work on customized mapping for the following requirement, please give your inputs.
    >
    > I am working on File to Proxy Scenario where I have created custom proxy using standard RFC Function Module.
    >
    > I have created my source data type, message type and service interface. The target structure I got by importing corresponding RFC structure and created service interface and proxy for the same.
    >
    > Now I am trying for graphical mapping here to map file structure to RFC structure. Can you please tell if I have to consider whether its header data or item data. I mean how can I mention that there will be multiple entries of item.
    >
    > Please let me know if mentioning in data type i.e 1 to unbound is sufficient and no need to do anything specially while mapping them to targe RFC tables.
    >
    > Also, please let me know if my approach is correct. Thanks for your inputs.
    >
    >
    > Regards
    > Amol
    if you are asking about how to actually map a file to a RFC/Proxy structure please note that such requirements are defined by the business. The logic is owned by the customer.
    But in case you are trying a POC scenario then all you need to consider is to make sure the mandatory fields and segments are mapped in the RFC/Proxy structure

  • Synchronous scenario(ABAP proxy to HTTP_AAE) getting error exception as "Message Expired Exception"

    Dear All,
    I have done all the configuration for ABAP proxy scenario using AAE/ICO as per the below "how to guide" using SOAP as sender adapter using xi protocol. My SAP PI is 7.4 dual stack system. here third party is not a webservice its HTTP based we server so no wsdl.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
    However after running the scenario from ECC I am getting the exception as "Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 53289257-97e0-06d0-e100-00000a70d384(OUTBOUND) expired.". I do not have any connection problem to third party(bank) URL. moreover I am able to get the response from bank using classical scenario s in PI, but the response message is not getting pushed to ECC, rather its reaming in PI SXMB_MONI with status "Log version".
    Thats the reason I am trying to do using ICO, but using ICO PI is not even sending the request out of PI to bank. Please see the below receiver communication channel message log.
    Thanks,
    Farhan

    Hi,
    As per the log, the message has started 23:18:02 and failed at 23.23:02 it took 5min time, if message is not process certain time this kind of errors comes up. Have you changed adapter type for existing SOAP communication channel or created new? provide complete log of the message from starting time to ending time if possible.

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • RFC Structure

    Hi All,
    Actually, I am working on FILE->XI->RFC scenerio.The custom Function module created is the merging of 3 BAPIS which is used at the receiving end.But ,the Custom Function Module is having the response structure also while I need to work on Asynchronous scenerio.
    From my understanding if I need to use the Asynchronous Adapter such as File for synchronouse communication then I need to write the Adapter Module.So if I need to use File for Synchronous Communication shall I need to write the Adapter Module for that?
    Also,from my understanding if the custom BAPIS(RFCS) are merged into the custom Function Module then it is obvious to have a response structure as RFCS are used for Synchronous communication.Is it?If so, then I can neglect the response structure of the Custom Function Module if I need to implement the Asynchronous File->XI->RFC scenerio.Is it?
    Please help me.
    Thanks in advance.

    Hi Shweta,
    >>Is the following document applicable for my scenerio? https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
    Yes very much..  BTW where you want your response to be written?
    >>No. of Data Types,Message Types
    2 Data type (Data type for sender file say DT_A,  Data type for getting response from RFC say DT_A_resp)
    2 Message Type (corresponding  Message type say MT_A and MT_A_resp)
    1 RFC structure
    >>No. of Message Mappings,Interface Mappings
    2 Message mapping (from MT_A to RFC and from RFC_response to MT_A_resp)
    1 interface mapping
    >>No of Communication channels
    3 one for sender file, one for RFC (receiver) and one as receiver file
    >>No. of Sender Agreements,Receiver Agreements
    1 with File sender
    >>No. of Receiver Determinations,Interface Determinations.
    1. Between file service and RFC service
    >>Which RFC Structure(Request/Response) shall I mention in the Interface Determination?
    Mention RFC (not the response one)
    Regards
    Suraj

  • Failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)

    Hi All,
    I am working on Rfc-SOAP scenario.
    I am getting error in SAP, there is no error in SXMB_MONI, responce is successfull and correct from SOAP.
    In SAP Dump is saying following
    Runtime Error          CALL_FUNCTION_REMOTE_ERROR
    Date and Time          08/07/2007 09:14:14
    "failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)
    Please guide
    Regards

    Hi Rohan !!
    Check this threads:
    - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    - CALL_FUNCTION_REMOTE_ERROR
    to see if you have correctly configured the RFC Sender, and the possible cause of error.
    Regards,
    Matias.

Maybe you are looking for

  • How do i transfer my documents from a PC to my new MAC?

    I just bought a new Mac and I tried to transfer my documents but they didn't transfer properly. I am not sure if there is something specific I need to do or not. Your help is appreciated!

  • How to display 15 minutes increment in a daily calendar.

    Hi, I'm interested to display 15 minutes by 15 minutes the time in the daily calendar. Is it possible with the last version of APEX ? Thanks. Eric

  • Security in Web services

    I am new to web services so please pardon me if what I am asking is really dumb..... I have created a simple PL/SQL web service using JDeveloper that I have published to an installation of 9iAS. My client is calling this URL directly passing the para

  • PSD file to FCP

    Good Morning all, I have run into a problem that I have been researching on the net and have found others with similar problems but no solutions. I have made a layout for a DVD menu in Photoshop which will consists of a background, text, and basic bo

  • Please Help - Can Not Install Flash

    This is not about downloading or uninstalling,this is about getting flash installed. I have a Power Mac G4 with 10.5.8 I was trying to install the latest version of Flash Player and it did not work. I used uninstaller,then downloaded - install_flash_