Missing mapping for field error

Here is the set up:
Person extends Party using InheritanceType.JOINED
Household extends Party_Relationship using InheritanceType.JOINED
Household has a Set of Persons mapped One to Many unidirectional
When I use PrimaryKeyJoinColumn on the Person and/or Household to rename the column say to PERSON_POID instead of PARTY_POID and when adding Persons to the Household Set the following error occurs:
oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Missing mapping for field [PERSON.PARTY_POID].
Descriptor: RelationalDescriptor(com.dhsnet.cms.domain.Person --> [DatabaseTable(PARTY), DatabaseTable(PERSON)])
What am I missing? If I do not use the PrimaryKeyJoinColumn mapping this error does not occur. I am stumped! Any help is greatly appreciated.
Here are the mappings:
@Entity
@TableGenerator(name="party", table="generator", pkColumnName="table_name",
valueColumnName="key_value", pkColumnValue="party", allocationSize=1)
@Table(name="PARTY")
@Inheritance(strategy=InheritanceType.JOINED)
@DiscriminatorColumn(name = "PARTY_TYPE")
public abstract class Party extends AbstractEntity{
@Entity
@DiscriminatorValue("PERSON")
@PrimaryKeyJoinColumn(name="PERSON_POID")
public class Person extends Party{
@Entity
@Table(name="PARTY_RELATIONSHIP")
@TableGenerator(name="party_relationship", table="generator", pkColumnName="table_name",
valueColumnName="key_value", pkColumnValue="party_relationship", allocationSize=1)
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "PARTY_RELATIONSHIP_TYPE", discriminatorType=DiscriminatorType.STRING)
public abstract class PartyRelationship extends AbstractEntity {
@Entity
@DiscriminatorValue(value="HOUSEHOLD")
@PrimaryKeyJoinColumn(name="HOUSEHOLD_POID")
public class Household extends PartyRelationship {
On the Household Object:
@OneToMany
@JoinTable(joinColumns = @JoinColumn(name="HOUSEHOLD_POID"),
inverseJoinColumns = @JoinColumn(name="PERSON_POID"))
protected Set<Person> getMembers() {
return members;
}

This looks to be the same/related issue that has already been entered. See
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1586
The alternative like you mentioned, is to not use a PrimaryKeyJoinColumn to rename the column in the joined inheritance case.
Cheers,
Guy

Similar Messages

  • Descriptor exception for "missing mapping for field"

    I am using TopLink 9.0.3, oracle database 9, JVM 1.4.
    I got one DescirptorException that states that the descriptor misses mapping for one database field.
    However I have such field mapped through workbench.
    The is the exception.
    -----------------exception-----------------------
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-45] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Missing mapping for field [DatabaseField(DEVICEDB.DEVICEID)].
    DESCRIPTOR: Descriptor(ContactDB --> [DatabaseTable(DEVICEDB)])
    at oracle.toplink.exceptions.DescriptorException.missingMappingForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractForeignKeyFromReferenceObject(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.executeBatchQuery(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractResultFromBatchQuery(Unknown Source)
    at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromBatchQuery(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.batchedValueFromRow(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(Unknown Source)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows(Unknown Source)
    at oracle.toplink.queryframework.ReadAllQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(Unknown Source)
    at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(Unknown Source)
    at oracle.toplink.indirection.IndirectList.buildDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.getDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.isEmpty(Unknown Source)
    The is my mapping file for DeviceDB and ContactDB. The ContactDB is a subclass of the DeviceDB.
    Clearly from the mapping below, the DeviceDB has a mapping for the database filed DeviceID.
    The ContactDB is a subclass of DeviceDB. Therefore the ContactDB also should have a mapping for
    database field deviceID
    ----------------------- partial mapping file for DeviceDB----------
    public Descriptor buildDeviceDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(DeviceDB.class);
         descriptor.addTableName("DEVICEDB");
         descriptor.addPrimaryKeyFieldName("DEVICEDB.DBID");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("DEVICEDB.CLASS");
         descriptor.getInheritancePolicy().addClassIndicator(ContactDB.class, "c");
         descriptor.getInheritancePolicy().addClassIndicator(ContentDB.class, "f");
         OneToOneMapping deviceMapping = new OneToOneMapping();
         deviceMapping.setAttributeName("device");
         deviceMapping.setReferenceClass(Device.class);
         deviceMapping.setRelationshipPartnerAttributeName("databases");
         deviceMapping.dontUseIndirection();
         deviceMapping.readOnly();
         deviceMapping.addForeignKeyFieldName("DEVICEDB.DEVICEID", "DEVICE.DEVICEID");
         descriptor.addMapping(deviceMapping);
         return descriptor;
    ---------------------------partial mapping for ContactDB --------------
    public Descriptor buildContactDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(com.access.sync.business.contact.ContactDB.class);
         descriptor.addTableName("DEVICEDB");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setParentClass(com.access.sync.framework.systemObj.DeviceDB.class);
    Any help is really appreciated.
    jason

    Your 1-1 mapping must not be read-only.
    deviceMapping.readOnly();Read-only means the mapping will not write the field, and should only be used when another mapping does write the field.

  • File TO File-Using XSLT mapping (for Beginners) --- Error in XSLT

    Hi,
    I am following this wiki (TO File-Using XSLT mapping (for Beginners))
    https://wiki.sdn.sap.com/wiki/display/XI/FileTOFile-UsingXSLTmapping%28forBeginners%29
    When creating  Xslt from the MapForce, when I click on the XSLT Tab I am getting the following error
    http://www.flickr.com/photo_zoom.gne?id=1216715484&size=o
    How to correct this error ?.....
    Thanks
    srini
    Message was edited by:
            srinivas

    Hello,
    The XSD you are using is from Data Type and you are using it for mapping.
    Instead export XSD for Message Type and also pass the XML schema for source that will solve the issue and your XSLT will be generated.
    Regards,

  • 'Missing layout for container' error on deleted child containers

    Hi all, here was the problem: I have a Web Dynpro app built using NWDS 7.1 SP01 PAT0000 Build ID 200811152209. In this app I have a view where I had existing containers and child controls. I selected one of my existing transparent containers and used "Copy / Paste" to make a copy of it. Then I went underneath the pasted transparent container (which of course had a copy of all the original child controls) and started deleting the ones I didn't need.
    When I did a deployment, however, I had this strange set of errors:
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1': Missing 'Layout'.
    The funny thing about these guys--they were the child controls I had deleted from the designer UI after doing the paste. In the graphical view designer, they didn't show up. However, when I do a search for one of the offending items (say, tcPortHdr1) using Ctrl+H, then I get one match found in RoadMap03SelectMethodView.wdview. That makes sense; it's the file SAP uses to create the view.
    Double-clicking on that file brings up the visual view designer, which does not show the "missing" control in question. So, I tried right-clicking on the wdview file and using the Open With... -> Text Editor option. That brings up an XML file and voila the control is in there:
    <TransparentContainer name="tcPortHdr1">
      <ViewElement.Definition>
        <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
          name="TransparentContainer" type="UIElementDefinition"/>
      </ViewElement.Definition>
      <UIElementContainer.Children>
        <UIElement name="ftvPort1">
          <ViewElement.Definition>
            <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
              name="FormattedTextView" type="UIElementDefinition"/>
          </ViewElement.Definition>
        </UIElement>
      </UIElementContainer.Children>
    </TransparentContainer>
    Wow! Even though I have deleted the child controls from the UI, they are still in the XML file. So, just for kicks, I try deleting the controls manually from the XML file using this handy-dandy regex and CtrlF: *Port[\w_]\d*
    The above regex found four controls (all of 'em, of course, I had already deleted from the designer using the UI). I do another deployment and the build works great! So, it looks like problem solved and the only issue being some nasty little bug in the UI that doesn't really delete controls from the backing XML file when you delete them from the visual designer, right?
    Edited by: ANDY BRUCE on Feb 3, 2009 7:24 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:29 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:30 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:30 PM

    Dear Andy,
    I think this should go in the Web Dynpro forums?!
    Regards,
    George.

  • 'Missing layout for container' error on deleted child container

    At times in Web Dynpro apps I run into this compiler error. I thought I would share my investigation into it.
    Hi all, here was the problem: I have a Web Dynpro app built using NWDS 7.1 SP01 PAT0000 Build ID 200811152209. In this app I have a view where I had existing containers and child controls. I selected one of my existing transparent containers and used "Copy / Paste" to make a copy of it. Then I went underneath the pasted transparent container (which of course had a copy of all the original child controls) and started deleting the ones I didn't need.
    When I did a deployment, however, I had this strange set of errors:
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1': Missing 'Layout'.
    The funny thing about these guys--they were the child controls I had deleted from the designer UI after doing the paste. In the graphical view designer, they didn't show up. However, when I do a search for one of the offending items (say, tcPortHdr1) using Ctrl+H, then I get one match found in RoadMap03SelectMethodView.wdview. That makes sense; it's the file SAP uses to create the view.
    Double-clicking on that file brings up the visual view designer, which does not show the "missing" control in question. So, I tried right-clicking on the wdview file and using the Open With... -> Text Editor option. That brings up an XML file and voila the control is in there:
    <TransparentContainer name="tcPortHdr1">
      <ViewElement.Definition>
        <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
          name="TransparentContainer" type="UIElementDefinition"/>
      </ViewElement.Definition>
      <UIElementContainer.Children>
        <UIElement name="ftvPort1">
          <ViewElement.Definition>
            <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
              name="FormattedTextView" type="UIElementDefinition"/>
          </ViewElement.Definition>
        </UIElement>
      </UIElementContainer.Children>
    </TransparentContainer>
    Wow! Even though I have deleted the child controls from the UI, they are still in the XML file. So, just for kicks, I try deleting the controls manually from the XML file using this handy-dandy regex and Ctrl+F:
    *Port[\w_]+\d*
    The above regex found four controls (all of 'em, of course, I had already deleted from the designer using the UI). I do another deployment and the build works great! So, it looks like problem solved and the only issue being some nasty little bug in the UI that doesn't really delete controls from the backing XML file when you delete them from the visual designer, right?
    Edited by: ANDY BRUCE on Feb 3, 2009 11:52 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 11:54 PM

    Thanks for the advice, but I'm not interested in fixing the problem. Just in giving someone else some keywords to help resolve the problem

  • Mapping for fields in Standard cube

    Hi,
    There arent any mappings for the date related fields 0RPM_MONTH,0RPM_YEAR,..etc. in the business content cube 0RPM_c02 capacity management. I could not find any relevant mappings in sap help also.Please provide any pointers as to how to update these fields as these are the main field in the standard BC reports.
    Thanks & Regards,
    Rathy

    Hi,
    Because there no data in these fields 2 of the standard reports return with no applicable data.But all other fields in the report have appropriate data.What i would like to understand is since it is being used as main field in the report and not been provided a mapping in BC based on what shall go and update it so that i can get data in the report.
    Thanks
    Rathy

  • Mapping for field which appear more than once.

    Hi experts.
    My source and target structure is:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field4
    Field3 may appear a few times in the source message.
    For example:
    Field1
    Field2
    Field3
    ___Child1
    ___Child2
    ___Child3
    Field3[1]
    ___Child1
    ___Child2
    ___Child3
    Field3[2]
    ___Child1
    ___Child2
    ___Child3
    Field4
    I need to pass to the target structure the "Field3" who's "Child1" is greater than 5 and  "Child2" is greater than 10 and  "Child3" is greater than 15.
    My problem is that the condition is executed only once for the first "Field3",
    and if the check returns
    "True" all the "Field3" are copied.
    if "False" is returns no one of the "Field3" is passed.
    How should i hold the context for it, in order each of the "Field3" elements passes the condition?
    Regards Max.

    hi,
    map required Field3& Child1 field with the target with the required conditions and set the context of both to  the higher level.
    Regards,
    NJ

  • ABAP Mapping for Error handling in Proxy to JDBC

    Hi All,
    I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
    I am following the below steps,
    step 1 - In message mapping a UDF is created to catch errors and store them in a variable using  dynamic configuration
    step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
      <SAP:P2>001</SAP:P2/>
      <SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
       <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have written the following ABAP code to achieve this:
    method IF_MAPPING~EXECUTE.
      DATA l_record type mpp_dynamic.
    DATA error type String.
    getting dynamic configuration value
    filled in by any previous mapping
    CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
      EXPORTING
        NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
        NAME      = 'ERROR'
      RECEIVING
        RECORD    = l_record.
    error = l_record-value.
    *raising exception with our message
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '001'
        ERROR_TEXT = error .
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '003'
        ERROR_TEXT = error .
    endmethod.
    I am gettign the following message for our code:
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please help in finding the solution for getting currect error message from ABAP class?
    Edited by: SwethaC on Jan 21, 2011 8:18 AM

    The error is due to RFC Call fail from PI system to your ECC Application System.
    Check your RFC Destination for ECC System type 3 in PI System.
    When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
    Why you are not doing this validation on ECC System only in your proxy code ?
    In your proxy code, it will be much better for performance to check your data there on same system.

  • XML mapping inheritance problem; missing class indicator field

    Hi!
    I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance.
    In my XSD I have the following defined
    <xs:complexType name="Traject">
         <xs:sequence>
              <xs:element name="SoortTraject" type="SoortTraject"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpecialTraject">
         <xs:complexContent>
              <xs:extension base="Traject">
                   <xs:sequence>
                                 [some elements] 
                   </xs:sequence>
              </xs:extension>
         </xs:complexContent>
    </xs:complexType>My XML is an implementation of this XSD and looks like this
    <Trajecten>
            <Traject xsi:type="SpecialTraject">
                     [implementation of the elements]
             </Traject>
    </Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object.
    In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject').
    When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says :
    [TOPLINK-44] missing class indicator field
    Descriptor: XMLDescriptor(Traject --> [])What am I doing wrong? Does anybody know a sollution?
    Best regards,
    Jouke Stoel
    Developer

    This is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
    <toplink:class-indicator-mappings>
        <toplink:class-indicator-mapping>
            <toplink:class>Traject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">Traject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
        <toplink:class-indicator-mapping>
            <toplink:class>SpecialTraject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">SpecialTraject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
    </toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
    Locale is a great invention
    Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
    Exception description: Missing class indicator field of database row [UnmarshalRecord()].
    Descriptor: XMLDescriptor(Traject --> [])
         at oracle.toplink.exceptions.DescriptorException.missingClassIndicatorField(DescriptorException.java:887)
         at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:84)
         at oracle.toplink.internal.ox.XMLRelationshipMappingNodeValue.processChild(XMLRelationshipMappingNodeValue.java:13)
         at oracle.toplink.internal.ox.XMLCompositeCollectionMappingNodeValue.startElement(XMLCompositeCollectionMappingNodeValue.java:62)
         at oracle.toplink.ox.record.UnmarshalRecord.startElement(UnmarshalRecord.java:352)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:189)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:147)
         at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:228)
    .

  • TopLink to EclipseLink migration - Missing class for indicator field value

    I am migrating Toplink 11g to EclipseLink 12.1.3.  I have EclipseLink.jar to the classpath. I have few mapping xml files. When executing the application, i am getting following error.
    Exception [EclipseLink-9005] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the project-xml file [META-INF/Business.xml].
    Internal Exception: Exception [EclipseLink-43] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: Missing class for indicator field value [toplink:object-type-mapping] of type [class java.lang.String].
    Descriptor: XMLDescriptor(org.eclipse.persistence.mappings.DatabaseMapping --> [DatabaseTable(attribute-mapping)]).
    How to resolve this.

    Ooooops, sorry, guys!
    I was using TopLink 10.1.3.0 JARs to run a project created via TopLink 10.1.3.1 Workbench. That was the reason for the exception.
    I ran across the REAL problem, however. The one that was occurring when I created the TopLink project via JDeveloper 10.1.3.1 and ran it via JDeveloper 10.1.3.1. That's why I decided to try with TopLink 10.1.3.1 Workbench instead of JDeveloper 10.1.3.1.
    I will report the problem in a clean separate post.

  • Error  Enter a value for field BP_GUID

    I am using MDG  7.0
    When I create a  Request for "Create ERP Customer",
    I then enter data including the sales Area Data and Company Code data
    Then Submit
    at the following approval step , Sales Area data and CC data is missing.
    I get ERROR message  "Enter a value for Field BP_GUID"
    Please advise what Table or T-code am I missing values for .
    Thanks for your assistance,

    hi,
    See the attached screen shot.
    Regards,
    Tushar

  • Error in Operation Mapping for Idoc to File Scenario

    Hi Experts,
    I am doing Idoc to File Scenario for Timesheet IDoc "HRSM_C" and following step are through,
    Sender agreement --> Receiver Determination --> Interface Determination
    got stuck in Operation mapping, it sahows error
    "Unable to find resource 193c0e01-bd37-11dd-850c-d879ac131b1f in the following software component versions: http://clarityPOCcom/sap/xi/tf/_MM_Timesheets_iDocToFile_.class-1"
    Also not all the fields of IDoc HRSM_C are transferred to the XI server as I am unable to see all the fields in xml file using transaction idx5, as I suppose the reason behind may be there are no values in those fields.
    Please suggest how to resove the issue and transfer all the fields from R3 to XI in Idoc eventhough it doesn't contain any value.

    Hi
    Refresh CPA cache using user PIDIRUSER.
    Look Note 951318 for Mapping Cache Refresh.

  • Error in codepage mapping for source system. Error

    Hi BW Experts,
    I am facing following error:
    Error message: Error in codepage mapping for source system. Error text:
    Details: Inbound Processing ( 1000  Records ) : Errors occurred
                Error in codepage mapping for source system. Error text:
                Update PSA ( 0 Records posted ) : Missing messages
    I repeated the delta working and everything fine.
    Does anybody know why this error occurs?

    Run rsa13 (for bi 7.0) find your source system which one you are using for data transfer and double  click on it and find special options there select  the optioned i mentioned already.
    Please search SDN you can fin threads related to this thread
    if not let me know.
    Regards.

  • Mapping for a particular field

    HI Friends,
    In my source structure i have  field called "Purchase ID". I need to map this field to target based on one criteria as follows :
    Only the following Purchase ID's should be considered  from source xml.
    Purchase ID
    100
    101
    102
    103
    104
    I should not pick any other values. If i get any other values. we should throw expection.
    Kindly guide me friends.
    Renu

    Hi ,
    I used Fixed Values. I added all the values  under 'value  column'  and chose 'throw expection' option
    What i have to use under Key column ?
    When i places some dummy texts under key column and tried to test in Test tab. I got the following error
    Exception:[java.lang.IllegalArgumentException: No value found for '101'] in class com.sap.aii.mappingtool.flib7.TextFunctions method fixed_values[101, FixedValues{ purchase1=101}, com.sap.aii.ib.bom.flib.types.ValueMappingStrategy@1f5c37b, , com.sap.aii.mappingtool.tf7.rt.Context@6a12bdc] com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.IllegalArgumentException: No value found for '101'] in class com.sap.aii.mappingtool.flib7.TextFunctions method fixed_values[101, FixedValues{purchase1=101}, com.sap.aii.ib.bom.flib.types.ValueMappingStrategy@1f5c37b, , com.sap.aii.mappingtool.tf7.rt.Context@6a12bdc]
    kindly guide me

  • Missing Field error when modifying user Master Record

    We are using our corporate LDAP to authenticate our portal users and do not have (nor do we want) write permission to the LDAP. We are using additional attributes (ume.admin.addattrs) to hold information pertinent to the portal. We are running into a problem though when required information is missing from the LDAP user master record. For example, if the users email address is missing, when we attempt to save a user's record with the additional attributes we need, the system responds with a "Missing Field" error message and will not save the additional attribute until the LDAP record is complete. Currently the only work around to this problem is to notify the LDAP administrators and have them update the record (not a high priority for them).
    Is there a way to have the portal ignore incomplete records and just save what it has?
    Thanks
    Ken Burd

    We are using our corporate LDAP to authenticate our portal users and do not have (nor do we want) write permission to the LDAP. We are using additional attributes (ume.admin.addattrs) to hold information pertinent to the portal. We are running into a problem though when required information is missing from the LDAP user master record. For example, if the users email address is missing, when we attempt to save a user's record with the additional attributes we need, the system responds with a "Missing Field" error message and will not save the additional attribute until the LDAP record is complete. Currently the only work around to this problem is to notify the LDAP administrators and have them update the record (not a high priority for them).
    Is there a way to have the portal ignore incomplete records and just save what it has?
    Thanks
    Ken Burd

Maybe you are looking for