Error in Map Interface tutorial?

On page http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html in the tutorial, the code example has the line
Map<String, Integer> m = new HashMap<String, Integer>();When I used this in my NetBeans program, it gave an error "type packagename.Map does not take parameters" ('packagename' substituted for the name of my package).
When I changed the 'Map' on the LHS to 'HashMap' it was OK.
I did previously have a class called Map which I refactored to something else - I checked the sources and no references to the old name remain. Maybe this has something to do with it?

I did previously have a class called Map which I
refactored to something else - I checked the sources
and no references to the old name remain. Maybe this
has something to do with it?It sounds like your Map.class is still hanging around. You should
dust out your project's folders. In a pinch, this will always work:
java.util.Map<String, Integer> m = new HashMap<String, Integer>();

Similar Messages

  • Internal error Occured mapping can not be opened - while opening interface

    Hi Gurus,
    I Am using ODI 11g to load data from Oracel to Oracel database using different schemas as a source to load facts.
    for the first time its loading sucessfully and when i try to open the same interface to see the mapping its showing the errror like *"Internam error Occured mapping can not be opened"*
    Tis is very urgent to resolve as per my project neeed.
    Please suggest steps : how to resolve the issue.
    Thanks in Advance.
    regards
    sri

    While the iTunes app is being updated, you are correct, it cannot be opened.
    This is true of all Apple apps on your Mac.
    iTunes is not very large compared to other apps.  Let it update, then open it.

  • CSCso80701 - "show policy-map interface" in 2960, 2970, 3560, 3750 should give error - 3

    Have similar issues with 12.2(50)SE4....
    Service-policy command has taken but cann't see in running config. Eventually no output "show policy-map interface fa0/x".

    Try this config:
    policy-map QOS-SOFTPHONE-POLICY
     class QOS_VOICE_CLASS
       set dscp cs3
     class QOS_SIGNALING_CLASS
       set dscp cs2
     class QOS_DATA_CLASS
       set dscp cs1
     class class-default
       set dscp default
    BR

  • Please help me to solve error: Split mapping created no messages

    Hi Experts,
    I am facing Split mapping created no messages  when i run my scenario.
    My Scenario is : Proxy to FILE.
    I am triggering Proxy and based on one condition i am generating different Flat Files.
    Now when i do this i am getting error :Split mapping created no messages in SXI_MONITOR.
    When i check this in Message Mapping by taking data from SXI_MONI its working fine...
    but when i trigger the data from RUNTIME WORKBENCH its throughing the error.
    When i remove the NameSpaces <ns0:message>
    and <ns0:messages1> its working fine.
    How can i solve this issue.
    Even though i removed Namespace in Message Type, i am getting the error.
    I changed occurance of Target message to O..unbounded both in Message Mapping and Interface Mapping.
    Its working fine in Message Mapping, problem occurs only when i run end-to-end scenario.
    So please help me to solve this issue.

    I think there might be mismatch between your name spaces.
    may be this link might help you
    Split mapping created no messages -Mluti Mapping
    are you getting the same structure from your proxies whatever structure you have in your XI structure(sender) and NS should match.
    but I dont have exp with proxies.
    Sri

  • Use of generics in the Map interface

    After using Java 1.5 for a while, I've gotten pretty comfortable using generics and the collections framework. Very often, I depend on the new generics-related compiler warnings to guide me when I've made changes to my code. Recently, I missed a fairly subtle bug because of the following issue. Why isn't the get() method in the java.util.Map interface declared as:
    V get(K key);Is there some subtle reason why this method isn't declared to enforce the generic type K for the key value? Likewise for containsKey() and remove() as well.
    Thanks!

    So where is the problem to use K in the first
    place??The cast to K is removed during complilation. It's
    not going to do anything at runtime.
    Just because a reference is of type Object doesn't
    mean it's not a K.
    If I get an Object of unknown type, why should I have
    to down-cast it just so that I can check to see
    whether it is in the Map?
    To state the point I wrote this simple code:
            Map<String,Integer> testMap = new TreeMap<String,Integer>();
            testMap.put("test", Integer.valueOf(100));
            // test the get method
            Integer value = testMap.get("test");
            System.out.println("First value: " + value);
            // test the method with differing parameter
            value = testMap.get(Float.valueOf(2));
            System.out.println("Second value: " + value);The code compiles without any error (so far so good) but the execution of this code results in Exception in thread "main" java.lang.ClassCastException: java.lang.String
         at java.lang.Float.compareTo(Unknown Source)
         at java.util.TreeMap.compare(Unknown Source)
         at java.util.TreeMap.getEntry(Unknown Source)
         at java.util.TreeMap.get(Unknown Source)
         at MapTest.main(MapTest.java:27)So when the Object parameter is allowed (I'm okay with that) why the ClassCastException. A similar approach to the implementations of Lists would be necessary. The current implementation is not satisfactory.

  • Error during Mapping

    Hello,
    My XI 2.0 scenario :
    Flat file => File adapter => XI => IDoc adapter => SAP 4.7
    The File adapter reads the file successfully & passes to the Integration Server. In XI XML message monitor (SXMB_MONI), I'm getting the following error ...
    ====================
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._R_MsgMap_1_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ --- Load of com/sap/xi/tf/_MsgMap_1_.class from /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ failed. --- Class not found: com.sap.xi.tf._MsgMap_1_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MsgMap_1_ Class not found: com.sap.xi.tf._MsgMap_1_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.load(RUMappingJava.java:119) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:40) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>
      <SAP:Text language="EN">Error during mapping</SAP:Text>
      </SAP:ErrorHeader>
    ====================
    MsgMap_1 is the Message Mapping defined - mapping the flat file structure to the IDoc structure.
    Do I have to do more than just create the Message Mapping in the Integration Repository ? In the Integration Directory, the Interface Mapping (from Repository) is used.
    Any help is greatly appreciated.
    Regards,
    Homiar.

    Hi Homiar,
    Need a little more detail.
    The directory points to the interface mapping.
    The Interface mapping points to the message mapping.
    What type of message mapping are you using?
    - Graphical mapping.
    - XSLT.
    - Java.
    - Abap.
    The main problem is "java.lang.ClassNotFoundException"
    Do other mappings work in your system?
    Jason

  • Error in mapping program in scenario

    Hi all,
               here i am facing an issue which is to be fixed very urgently. please help me masters.
    here i am having a single source structure and multiple receiver structures. after confirming many sources i finally started my work with the help of this blog.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    But now i am facing a problem that my mapping program and interface mapping are executing the file successfully when i tested in the test tab of both of them.
    When i tried to test my scenario in TOOLS-----TEST CONFIGURATION . there it is showing error in the interface determination/mapping step.
    here on the receiver side we are going to use proxies. for that we used XI adapter.
    please check the above blog and let me know  whether my total procedure is perfect or not
    THANKS in advance to all .
    HELPFUL ANSWERS WILL BE REWARDED.

    Hi Ramana !
    Could you take a screenshot of your error and put it in www.imageshack.us, then give us the link to see exactly which error are you getting. Please expand the node of the error message.
    Does the scenario works actually?? I've noticed some cases where the test tool gives errors but once the scenario is running everything works fine.
    Regards,
    Matias
    Message was edited by:
            Matias Denker

  • DIP issue :ActiveChgImp:Error in Mapping EngineODIException: DIP_GEN_INITIA

    Hi,
    I have configured Sync between AD->OID.
    I am getting following Error:
    Trace Log Started at Tue Aug 30 19:06:51 IST 2011
    java.lang.NullPointerException
    at oracle.ldap.odip.engine.ConfigReader.readConfigInfo(ConfigReader.java:264)
    at oracle.ldap.odip.engine.Profile.initConfigInfo(Profile.java:551)
    at oracle.ldap.odip.engine.Profile.initialise(Profile.java:214)
    at oracle.ldap.odip.engine.Profile.initProfile(Profile.java:507)
    at oracle.ldap.odip.engine.SchedEntry.<init>(SchedEntry.java:65)
    at oracle.ldap.odip.engine.Scheduler.addToSyncList(Scheduler.java:975)
    at oracle.ldap.odip.engine.Scheduler.createSyncList(Scheduler.java:492)
    at oracle.ldap.odip.engine.Scheduler.run(Scheduler.java:269)
    Trace Log Started at Tue Aug 30 19:07:03 IST 2011
    ActiveChgImp:Error in Mapping EngineODIException: DIP_GEN_INITIALIZATION_EXCEPTION
    java.lang.NullPointerException
    at oracle.ldap.odip.util.DirUtils.getLastChgNum(DirUtils.java:48)
    at oracle.ldap.odip.gsi.LDAPReader.initAvailableChgKey(LDAPReader.java:933)
    at oracle.ldap.odip.gsi.LDAPReader.initialise(LDAPReader.java:264)
    at oracle.ldap.odip.engine.AgentThread.readerInitialise(AgentThread.java:461)
    at oracle.ldap.odip.engine.AgentThread.mapInitialise(AgentThread.java:510)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:376)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:238)
    ActiveChgImp:about to Update exec status
    Updated Attributes
    orclodipLastExecutionTime: 20110830190703
    orclodipConDirLastAppliedChgNum: 62024511
    orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted
    orclOdipSynchronizationErrors: Profile Initialization Failure
    Any Pointer on this.
    My Mapping File is :
    DomainRules
    OU=users,OU=Domino User Mig Accounts,DC=atfoods,DC=com:cn=Users, dc=atfoods,dc=com
    OU=TSUsers,OU=HYD Users,OU=HYD Site,DC=atfoods,DC=com:cn=Users, dc=atfoods,dc=com
    #OU=users,OU=Domino User Mig Accounts,DC=atfoods,DC=com:cn=Users, dc=atfoods,dc=com
    #OU=HYD Site,DC=atfoods,DC=com:cn=Users, dc=atfoods,dc=com
    #CN=Users,DC=atfoods,DC=com:cn=Users, dc=atfoods,dc=com
    AttributeRules
    # attribute rule common to all objects
    objectguid: :binary:group :orclobjectguid:string:groupofuniquenames :bin2b64(objectguid)
    ObjectSID: :binary:group:orclObjectSID:string :orclADGroup:bin2b64(ObjectSID)
    distinguishedName: : : :orclSourceObjectDN: :orclADObject
    # attribute rule for mapping windows organizationalunit
    ou: : :organizationalunit:ou: : organizationalunit:
    # attribute rule for mapping directory containers
    cn: : :container: cn: :orclContainer:
    # attribute rule for mapping directordomains
    dc: : :domain: dc: :domain:
    # USER ENTRY MAPPING RULES
    # attribute rule for mapping windows LOGIN id
    sAMAccountName,userPrincipalName: : :user:orclSAMAccountName: :orclADUser:toupper(truncl(userPrincipalName,'@'))+"$"+sAMAccountname
    # attribute rule for mapping Active Directory LOGIN id
    userPrincipalName: : :user:orclUserPrincipalName: :orclADUser:userPrincipalName
    # Map the userprincipalname to the nickname attr by default
    #userPrincipalName: : :user:uid: :inetorgperson:userPrincipalName
    # Map the SamAccountName to the nickname attr if required
    # If this rule is enabled, userprincipalname rule needs to be disabled
    sAMAccountName: : :user:uid: :inetorgperson:
    # Assign the userprincipalname to Kerberaos principalname
    userPrincipalName: : :user:krbPrincipalName: :orcluserv2:trunc(userPrincipalName,'@')+'@'+toupper(truncl(userPrincipalName,'@'))
    # This rule is mapped as SAMAccountName is a mandatory attr on AD
    # and sn is mandatory on OID. sn is not mandatory on Active Directory
    #SAMAccountName: : :user:sn: : person:
    # attributes to map to cn - normally this is the given name
    cn: : :person:cn: :inetorgperson:
    departmentNumber: : :inetorgperson:departmentnumber: :inetorgperson:
    # attribute rule for mapping entry and to create orclUserV2
    # There should be a mapping rule with orcluserv2 objectclass
    # without which the PORTAL may not function properly
    # The next rule shows any attribute of any objectclass can be mapped
    # to different attribute of different objectclass so long as the
    # schema and syntax are compatible.
    #givenName: : :user:displayName: :inetorgperson:
    employeeID: : :user:employeeNumber: :inetOrgPerson:
    physicalDeliveryOfficeName: : :user:physicalDeliveryOfficeName: :organizationalPerson:
    title: : :user:title: :organizationalPerson:
    mobile: : :organizationalperson:mobile: :inetorgperson:
    telephonenumber: : :organizationalperson:telephonenumber: :inetorgperson:
    facsimileTelephoneNumber: : :organizationalperson:facsimileTelephoneNumber: :inetorgperson:
    l: : :user:l: :organizationalperson:
    # mail needs to be assigned valid value for default settings in DAS
    mail: : :user:mail: :inetorgperson:
    #Start of additional attributes added for SSO
    sAMAccountName : : :user:uid: :inetorgperson:truncr(sAMAccountName, '.')+'_'+truncl(sAMAccountName, '.')
    #manager: : :user:manager: :inetorgperson:dnconvert(manager)
    givenName: : :user:givenName: :inetorgperson:
    sn,sAMAccountName: : :user:sn: :inetorgperson:sn|truncl(sAMAccountName, '.')
    displayname: : :user:displayname: :inetorgperson:
    streetAddress: : :user:street: :inetorgperson:
    st: : :user:st: :inetorgperson:
    postalcode: : :user:postalcode: :inetorgperson:
    homephone: : :user:homephone: :inetorgperson:
    department: : :user:departmentnumber: :inetorgperson:
    #End of additonal attributed added for SSO
    # GROUP ENTRY MAPPING RULES
    #cn: : :group:cn: :groupofuniquenames:
    # displayname needs to be assigned a valid value for default settings on DAS
    #SAMAccountName: : :group:displayName: :orclgroup:
    # Description needs tobe assigned a valid value for default settings on DAS
    #Description: : :group:Description: :groupOfUniqueNames:
    #member: : :group:uniquemember: :groupofUniqueNames:
    #managedby: : :group:owner: :groupOfUniqueNames:
    #sAMAccountName: : :group:orclSAMAccountName: :orclADGroup:
    and my activechgimp.properties
    # Profile Name : Name of the profile
    # NOTE - This should be a unique name
    odip.profile.name = ActiveChgImp
    # Profile Password : Specifies the password for accessing this profile
    #odip.profile.password = ProfilePassword
    odip.profile.password = welcome1
    #Welcome123
    # Profile Status : Can be either DISABLE or ENABLE
    # NOTE - Default is DISABLE
    odip.profile.status = ENABLE
    # Synchronization Mode : Specifies the direction of synchronization i.e when the
    # changes are required to be propagated from the 3rd party to OID then the
    # synchronization mode is IMPORT. On the other hand when the changes needs ot be
    # propagated to the 3rd party directory then the synchronization mode is EXPORT.
    odip.profile.syncmode = IMPORT
    # Retry Count : Maximum number of times this profile should be executed
    # in case of an error before the integration server gives up
    # NOTE - the default value is 4
    odip.profile.retry = 5
    # Schedule Interval: The time interval between successive execution of this
    # profile by the integration server.
    # NOTE - the default value is 60 sec. If the previous execution has not
    # compeleted then the next execution will not resume until it completes.
    odip.profile.schedinterval = 60
    # Agent Execution Command : In case of a NON-LDAP interface the command
    # that needs to be executed that would produce the information in LDIF format.
    odip.profile.agentexecommand =
    # Connected Directory Url : The 3rd party directory location
    #odip.profile.condirurl = host:port:sslmode
    odip.profile.condirurl = 192.168.40.56:389:0
    # Connected Directory Account : The Dn or user name used to connect to
    # the 3rd party directory.
    odip.profile.condiraccount = CN=ssoadmintest,OU=SSO,OU=Administrators,DC=atfoods,DC=com
    #ssoadmintest
    # Connected Directory Account : The password used for identification to
    # the 3rd party directory. This password will be prompted to the user.
    odip.profile.condirpassword = Welcome12
    # Interface Type : Whether the LDAP or LDIF or DB or TAGGED format is
    # to be used for data exchange
    # NOTE - Default value is LDAP
    odip.profile.interface = LDAP
    # Config Info : Additional information required for execution of this
    # profile by the integration server.
    # NOTE - The value for this property is the name of the file that contains
    # the additional profile specific information to be used for execution
    odip.profile.configfile = /sso/oracle/infra/ldap/odi/conf/activechg.cfg.master
    # Mapping Rules : Specifies the Mapping Rules to be used for execution
    # of the profile by the integration server.
    # NOTE - The value for this property is the name of the file that contains
    # the domain and attribute mapping rules
    odip.profile.mapfile = /sso/oracle/infra/ldap/odi/conf/activechg.map.master
    # Matching filter Con Dir : Specifies the filter that needs to be
    # applied to the changes that are read from the connected directory
    # before importing to OID
    # NOTE - The default provided here will import from Active Directory the
    # following objectclass:
    # gorup, organizationunit, and user (but not computer)
    #odip.profile.condirfilter = "searchfilter=(|(objectclass=group)(objectclass=organizationalunit)(&(objectclass=user)(!(objectclass=computer))))"
    odip.profile.condirfilter = "searchfilter=(&(objectclass=user)(!(objectclass=computer)))"
    # Matching filter OID : Specifies the filter that needs to be applied
    # to the changes that are read from the OID before exporting to the
    # connected directory
    odip.profile.oidfilter = orclObjectGUID
    # Change Number : Specifies the last applied change number. In case of
    # an export profile this number refer's to OID's last applied change number.
    # However, in case of the import profile this number refers to the last
    # applied change number in the connected directory.
    odip.profile.lastchgnum = 39467751
    # Debug Level : Specifies the debug level of the profile
    odip.profile.debuglevel = 64
    odip.profile.interface = LDAP
    odip.profile.directorytype=ACTIVEDIRECTORY
    ==========
    Profile successfully modified.
    Note: For security reasons it is not recommended to provide a password on the command line, unless you're being prompted for it.

    ldapmody -a -h -p -D -w -f <Filename>
    file
    ===
    dn: orclodipAgentName=ActiveChgImp,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory
    modify :add/replace
    Add:orclodipagentconfiginfo
    orclodipagentconfiginfo :[INTERFACEDETAILS]
    orclodipagentconfiginfo :Package: gsi
    orclodipagentconfiginfo :Reader: ActiveChgReader
    orclodipagentconfiginfo :SkipErrorToSyncNextChange: TRUE
    orclodipagentconfiginfo :SearchDeltaSize: 500
    orclodipagentconfiginfo :UpdateSearchCount: 100

  • XI Error : EXCEPTION_DURING_EXECUTE.Mapping Queue stopped

    Hi All,
    We are facing an issue when the mapping fails due to a use one as many function it fails the queue and Queue goes into state SYSFAIL. We see the error as XI Error : EXCEPTION_DURING_EXECUTE.Mapping Queue stopped
    Is this expected ? Isnt the queue expected to work normally by just failing the message which would then appear in sxmb_moni?
    Any help , pointers?
    Regards,
    Sathya

    Hi Jyothi,
    Sorry for not being clear.. I know what is causing the mapping error. its incorrect number of values in use one as many function as i Mentioned earlier.
    I want to know is there a way to stop the queue from failing. Queue failure causes other messages which are coming from other interfaces to get blocked.
    Ideally the messages in error should show up in sxmb_moni and queues should be processing normally. However in this case it does not happend.
    Regards,
    Sathya

  • Ajax Map Viewer Tutorial - Not showing Map !

    Hi, there
    I just tried the Ajax Map Viewer Tutorial.I downloaded the Ajax Map viewer component and imported it to JSC.
    Got the Google API key and dropped the Map viewer component on the page and added the API key
    But when I run the application.The page doesn't show the Map .
    I get error "Error in this Page " on the status bar of IE.
    What 's the reason .Any ideas??
    Thanks..

    Hi,
    Any chance on the geocoder component also supporting proxy user and password ? Preferably like creator itselves, since it seems to work fine with windows domain level users and passwords..
    Thanks,
    Leo

  • Error Category Mapping

    Hi all,
      When I try to execute a file to file scenario, I am getting an error. Error Category Mapping, Error Code EXCEPTION_DURING_EXECUTE. The sender service, interface and receiver service, interface is correctly dipslyed in the SXMB_MONI, Monitor for processed XML messages.
    Can any one tell me what is this error and how I can correct it?
    Thanks in Advance.
    Regards,
    Jai Shankar.

    Hi,
    I got the XML message. When I gave it in the Interface Mapping test tab. I got an error
    Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_FILE_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8
    This is the XML format I got from SXMB_MONI
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_FSOURCE xmlns:ns="urn:Team8:File:File">
    - <Recordset>
    - <Header>
      <EmpId>5601</EmpId>
      <FName>JAI</FName>
      <LName>RAMAKRISHNAN</LName>
      <Project>H</Project>
      </Header>
    - <Header>
      <EmpId>5602</EmpId>
      <FName>JAI</FName>
      <LName>RAMAKRISHNAN</LName>
      <Project>H</Project>
      </Header>
    - <Header>
      <EmpId>5603</EmpId>
      <FName>JAI</FName>
      <LName>RAMAKRISHNAN</LName>
      <Project>H</Project>
      </Header>
      </Recordset>
      </ns:MT_FSOURCE>.
    Kindly tell me what is the error.

  • Accounting Document not posted for Cancelled Invoice -error in FI interface

    Hi,
    When I create a billing document then an accounting document gets created automatically in the background and then when I cancel the billing document no accounting document gets generated and the field Posting Status in header Detail of Billing document updated as "Errors in Financials Interface.
    I tried to release it for Posting via VFX3 but failed due to below error message in Log:
    "Incorrect doc.no.: 4900000005. Select document number between 3000000000 and 3099999999"
    I have checked the Number range assignments to the Invoice type and Accounting type.
    The number range is same for both Invoice type (Y0F2) and Cancelled Invoice type (Y0S1).
    The Accounting document type (RV) is also same for both the cases. But it is working fine for Y0F2 (Acounting document generated and cleared automatically). But not working fine for Cancelled Invoice (Y0S1).
    Can anybody please help me find out a solution to the issue.
    Thanks, Ram.

    Hi,
    The error message F5151 refers to the number range of the FI document.
    Please have a look at the note 1259505: FAQ: New cancellation procedure in SD, which covers this issue in detail.
    Question 5:
    Q5. What is the FI document type, generated by the cancellation ?
    In the old cancellation procedure, the FI document type is always
    determined in SD, and passed to FI (the same when a normal invoice  -
    not a cancellation -  is transferred to accounting).
    In transaction VOFA there is the field 'Document type' (TVFK-BLART).
    If this field is filled, then the FI document will have the document
    type maintained here.
    If TVFK-BLART is empty, then the FI document will get the default
    document type 'RV'.
    If the new cancellation procedure is performed, the FI document type is
    always determined in FI, based on the document type of the FI document
    to be reversed.
    In transaction OBA7 the FI document type has assigned the field 'Reverse
    document type' (T003-STBLA).
    If it is filled, then the FI cancellation document will get the document
    type maintained here.
    If T003-STBLA is empty, then the FI document cancellation will get the
    same document type as the cancelled FI document.
    Notice that an unexpected FI document type can cause the error message
    F5 151.
    Example:
    F2 invoice 90000001 was released, creating an accounting document with
    document type 'RV'.
    This F2 invoice is reversed by the S1 billing document 70000001.
    In customizing of SD there is:
    Billing Type    Document Type
    F2              RV
    S1
    In customizing of FI there is:
    Document Type    Number range   Reverse Document Type
    RV               00             AB
    AB               01             AB
    The FI number ranges (object RF_BELEG) are:
    No  From number    To number   Ext
    00  0090000000     0099999999  X
    01  0100000000     0199999999
    Different situations can occur, due to these customizing settings of the
    FI document type, caused by the type of cancellation.
    If the new cancellation is used:
    The FI document type 'RV' has 'Reverse Document Type' = 'AB'.
    Document type 'AB' has number range '01' set as internal.
    So the FI document will have its own number included in
    100000000-199999999.
    There is no issue.
    If the old cancellation is used:
    The cancellation billing type S1 has no 'Document type' maintained, so
    the FI document will get document type 'RV'. It has number range '00',
    set as external number range.
    So the FI document should get the same number of S1 billing document.
    But the S1 billing document has number 70000001, not included in the
    interval of number range '01'.
    This will cause error F5 151.
    I hope this information helps you.

  • How do I resolve error message "mapi was unable to load aplzod.dll"? Outlook2010 on Win7

    Attempts to open Outlook calendar files (apparently located) on iCloud result in the error message "MAPI was unable to load the information service C:\PROGRA~2\COMMON~1\Apple\Internet Services\APLZOD.dll". Be sure the service is correctly installed and configured."
    I am running Outlook 2010 on Windows 7. I have uninstalled and reinstalled iTunes with no apparent effect. Is this a problem with iTunes or Outlook, how do I resolve it?

    That's part of my problem - I was getting the error message when I tried to click on iCloud in the Calendar portion of Outlook 2010. I don't know where it was generated (iCloud, iTunes, or as an add-in to Outlook).
    After my original post I tried restoring my computer to a date when I knew this worked, the restoration worked, and I can access my calendar. So that problem resolved itself.
    I do have another question, but I'll post it separately. Thanks for your response.

  • VLD-1141: Internal error during mapping generation.

    I am getting the "VLD-1141: Internal error during mapping generation" error when deploying a mapping. This mapping was previously working fine. As part of a re-factoring effort, for all the underlying tables and views, we replace 2 existing columns with a new column. All the objects were successfully re-imported and synchronized in the mapping. The mapping is using Mapping Input Parameter, Lookups, Expression Transformations, Splitter, Set Operator, Source & Target Tables. All these transformation were part of the earlier working version of the mapping.
    On doing validation within the mapping, I get a success message followed by 4 warning for the Lookup Condition on key Lookup does not contain a complete unique key. Before the re-factoring effort, I was getting the same 4 warning messages, however the mapping was executing correctly.
    When I do Generate within the mapping, I get the following message:
    Code cannot be generated.
    Click the message tab for details.
    In the Design Center, when I do a validation on the mapping I get the following error:
    VLD-1141: Internal error during mapping generation.
    java.lang.NullPointerException
    at oracle.wh.service.impl.mapping.component.Sequence.getSequenceExpressions(Sequence.java:138)
    at oracle.wh.service.impl.mapping.component.Sequence.doSequenceValidation(Sequence.java:239)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:123)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:97)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext(EntitySqlDelegate.java:78)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:240)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBasedInternal(PlSqlGenerationMediator.java:2108)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBased(PlSqlGenerationMediator.java:2090)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:541)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:798)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:335)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:102)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:251)
    Any help in this regards would be appreciated.
    Naval

    Hi,
    I think your mapping is corrupted by converting two columns to one. The owb has always a problem if you change the structure of a table which is bound to a table operator. The way to avoid this is to drop the table operator after changing the table in the table editor and recreate it with the changed table definition.
    Make a test: select the new attribut in the table operator and look left on the configuration window. To which table and attribute it's bound?
    Regards,
    Detlef

  • Error in Acctg Interface in Invoice

    hi all,
       I cannot create an accounting doc for an invoice which has a posting status: "  Error in Accounting Interface".
    I read all the threads in the forums.  I did not have issue with Acct Determination for Revenue.  I do not use acct assignment group. The Account Anlysis in VF02 is fine.
    Do we assign anything from an invoice to a cost center ??
    When i try to release accounting doc, i got error msg:
       Cost Center Control-Area/ 3150 does not exist on 7/7/2010
    Issue is  there is no cost center 3150 at all.  Why is it saying cost center ? Any suggestions are welcome.
    thanks
    Joyce

    Cost center is not available in the specific Controlling area. Reason could be any of the below :
    - not available on particular date, that means the validity is not in the period in which you are posting.
    - cost center itself is not available.
    -wrongly selected cost center / wrongly entered cost center
    Please check the valid from date and valid to date of the cost center in the cost center master data in KS02 and you can extend the valid to date if necessary.
    OR
    Is it a GUI transaction that you are trying to pass or some batch input/BAPI?
    If the last is correct, put leading zeros in the cost centre field. If it's a normal transaction, check that the cost centre is assigned to the right company code (KS03).
    Thanks & Regards
    JP

Maybe you are looking for

  • Contract , PO and PR

    Dear Expert We are having a 3 department one is dealing with vendor so they create contracts with the vendor and other is meant for po creation and third one is a user department  which create PR  either manually or through MRP . So the client requir

  • Custom Table Updation

    I have a custom table. While updating a field in that table , suppose when we enter some value like hITLeR then the same string should get updated in that table . It should not get modified to either lowercase or uppercase.Is there any way to do it.

  • Send to multiple participants

    Activity A is in Role A. Activity B is in Role B which has 5 participants (a, b, c, d, e). Activity A is sent to 3 participants (a, b, c) of Role B. If one of the 3 participants receives the instance, this instance can only be assign to this particip

  • BPA 90 days evaluation

    Hi, I've just downloaded the "Oracle Business Process Analysis Suite 10g (10.1.3.4)", Oracle_BPA_Suite_10.1.3.4_download.zip, and I expanded it in a temp dir. The README.TXT explains that s valid for a trial period of 90 days only. OK, right. Then I

  • Obtaining SAP User information from J2EE Application

    Hi All, I am using SAP NetWeaver Developer Studio to create a J2EE Application, which requires accessing user information from SAP coming from Windows Active Directory. My question is as follows; Is there a possibility in a J2EE application to use an