OXM mapping final fields

Hi,
I have a question on mapping a final object field in an object-xml mapping project (Toplink 10.1.3). The field is final because the field is supposed to be immutable.
  public final class A {
    private final String code;
    private Integer score;
  }In the Toplink Workbench, when i try to map class A, only the score field can be mapped (the score field does not show up in the editor). When i remove the final keyword from the code field, i can map this field.
In an object-relational project i can map a final field with no problems, why can't i map it in an object-xml mapping project?
Greetings,
Jerry
Message was edited by:
meursj

Marking an attribute as final seems like a very odd thing to be doing. Doesn't that mean that you cannot assign a value to the variable, not sure it would be possible to map it then? Does the O-R project just let you map it, or does it work?
<p>
-- James : EclipseLink

Similar Messages

  • Performance impact of final fields?

    Nowadays with functional programming styles becoming more and more popular, we are encouraged to use immutable objects wherever possible, unless there is good reason to make them mutable. This avoids unnecessary state, simplifies reasoning about the code and is considered good style (e.g. see J.Bloch's "Effective Java"). Immutable objects should of course only have final fields.
    Now, because the Java Memory Model gives special guarantees for final fields ("final really is final"), i wonder wether this style may lead to performance degradations on some architectures. Even though the JMM is seriously flawed and most VMs violate it in and out, one can expect that VMs try hard to at least ensure its basic ideas: "SC for DRF" and "final is final".
    The guarantee for final fields is: A final field shoud not change its observed value even if a reference to its containg object is obtained in a data race. But this guarantee is only needed as a safety net if untrusted code (that may not be correctly synchronized) is involved. Other than that, in a correctly synchronized program the "final guarantee" of the JMM does not buy you anything.
    But what about the performance costs? Consider an immutable class Point, with two final int fields x and y. Now, if my program creates millions of Point objects and puts them in a globally visible container, i clearly do not want the VM to execute millions of (potentially very expensive) membar instructions without reason. In the FAQs for the JMM (http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html), there's a warning that accessing volatile fields might be very expensive. This warning has been reducted since "volatiles are cheap on most platforms". But i expect them to not being cheap on some platforms with a weak underlying hardware memory model, and i see no reason why the situation for final fields should be much different.
    I always get an uneasy feeling when using final fields and thinking about their visibility guaranteed by the JMM. Has anyone observed measurable performance degradations after making fields final on some platform (IA-64?) or can point me to a discussion about this topic?
    Thank you for sharing your experience!

    JoachimSauer wrote:
    Can you provide sources for those claims? I've seen many such complains about the old JMM, but never seen any major complains about the current (JSR-133) memory model.There are many papers about this issue. For example: "On Validity of Program Transformations in the Java Memory Model" by Jaroslav Sevcík and David Aspinall (available online). (This paper also contains a presentation of the JMM, that is rigorous enough that one can actually understand it - in stark contrast to the one in the language specification) Also look at: http://www.cl.cam.ac.uk/~pes20/weakmemory/ec2.pdf
    The current JMM forbids most optimizations that VMs routinely perform, like redundant read elimination. So the VMs more or less must violate it. Since the original JSR-133 is rather vague and informal, people (including the original authors) did not understand it and have been deluded into giving wrong proofs. Unfortunately the problems with JSR-133 are not minor glitches but seem to be very fundamental. It looks like the JMM in its current form cannot be easily corrected. The whole approach of commiting actions does not seem to work.
    Pugh and Manson wrote about the old pre 1.5 JMM about 10 years ago:
    - Very, very hard to understand
    - not even the authors understood it
    - has sublte implications - that forbid standard compiler optimizations
    - all existing VMs violate it - some parts should be violated
    Unfortunately all of this is also true for the current JMM. And noone seems to know how to fix it. It seems to be a very hard task to state a working MM that actually does what JSR-133 was supposed to do. The MM of the upcoming C++ standard that originally had JSR-133 as a role model will only give SC for DRF and say that the behaviour of incorrectly synchronized programs is undefined (meaning anything can happen). I doubt that we will see a working MM for Java anytime soon. But that's not the topic here...
    From my (admittedly limited) understanding the most important thing about final fields is that they are truly final if the reference to the instance does not escape during construction of the instance. Once you write your class to not allow "this" to escape, no other code can ever see the un-initialized final fields, no matter how badly it is written.This is true. Normally you don't let "this" escape from the ctor.
    How exactly do problems with volatile fields directly map to problems with final fields?In both cases the VM does have to be very careful about inter-thread memory reordering issues.
    final or not is very unlikely to have major performance differences. What is much more likely to have an influence on the performance is the change in design that usually comes with such a change. Immutable classes are generally instantiate much more often than mutable ones. That alone is very likely to have a much bigger influence than the final change itself.Suppose we have a nonfinal nonvolatile field x:
    Integer x; // initially null
    Thread 1: x = new Integer(42);
    Thread 2: if (x != null) System.out.println(x.intValue());
    There is a data race on x. But the JMM guarantees that thread 2 will never print 0 (it must see the value 42), since the int value boxed inside a java.lang.Integer is stored in a final field.
    For Thread 1 the VM must do 3 things:
    a. Allocate memory for the Integer object.
    b. Write the value 42 into the memory location of the final field inside Integer.
    c. Write the reference to the Integer object into the memory location of x.
    Steps b and c must not be reordered, otherwise thread 2 could see a non null reference but an uninitialized field! So on a mutlicore machine with a weak memory model (a cache hierarchy that may reorder the writes b und c above), the VM must execute some memory fence or barrier instruction between b and c to prevent this reordering. There's no way around this. Such instructions are potentially very expensive (dozens of cycles), so i really wonder how this performs on those machines. I would measure it myself, but i only have access to x86(-64) machines that have a strong MM.
    From my (admittedly limited) understanding the most important thing about final fields is that they are truly final if the reference to the instance does not >>escape during construction of the instance. Once you write your class to not allow "this" to escape, no other code can ever see the un-initialized final >>fields, no matter how badly it is written.jverd wrote:
    And that correctness is far more valuable than the few cycles it costs, IMHO.The original motivation for the final field guarantee was security: Malicious code should not be able to use race conditions to see data it is not allowed to see. In a correctly synchronized program you have sequential consistency, so you will never see a final field changing its value anyway. But if you have races inside your code, you likely have much more serious problems than the possibility of a final field changing its observed value...

  • How to map new field in DSO

    I have added a new field to the dso and i have replicated the datasource as well which is showing the new field newly added in ecc. how can i map the new keyfigure in the transformation between the datasource and ods. its showin in the ds, can u pls tell me how to map now.

    Ya but the problem is I have an infosource in between and its not showing in the transformation between the dso and infosource.....nor the infosource and the datasource. But its there in the first transformation on the dso side, not on the inforsource side..... but how to get that field in the infosource side...so that i can map the field between both the transformations....between infosoucre and dso and infosouce and ds.....You know what I mean. the zfield is showin in the dso field structure in the first level mapping between dso and infosouce....but where do i map it.
    Edited by: Daniel on Nov 28, 2011 9:59 AM

  • How do i map one field to another in control file via SQL Loader

    Can someone please reply back to this question
    Hi,
    I have a flat file (student.dat delimiter %~| ) using control file (student.ctl) through sql loader. Here are the details.
    student.dat
    student_id, student_firstname, gender, student_lastName, student_newId
    101%~|abc%~|F %~|xyz%~|110%~|
    Corresponding table
    Student (
    Student_ID,
    Student_FN,
    Gender,
    Student_LN
    Question:
    How do i map student_newId field to student_id field in STUDENT DB table so that new id should be inserted in student_id column. How do i specify the mapping in control file. I dont want to create a new column in student table. Please let me know the best way to do this.
    Can someone please reply back to this question.
    My approach:
    In control file i will sepecify the below, Is this a best approach?. Do we have any othe way?
    STUDENT_ID *(:STUDENT_NEWID)*,
    STUDENT_FN,
    GENDER,
    STUDENT_LNAME,
    STUDENT_NEWID BOUNDFILLER
    Thanks
    Sunil
    Edited by: 993112 on Mar 13, 2013 12:28 AM
    Edited by: 993112 on Mar 13, 2013 12:30 AM
    Edited by: 993112 on Mar 13, 2013 12:31 AM
    Edited by: 993112 on Mar 18, 2013 2:52 AM

    OK, ok...
    Here is the sample data:
    101%~|abc%~|F %~|xyz%~|110%~|
    102%~|def%~|M %~|pqr%~|120%~|
    103%~|ghi%~|M %~|stu%~|130%~|
    104%~|jkl%~|F %~|vwx%~|140%~|
    105%~|mno%~|F %~|yza%~|150%~|Here is the control file:
    LOAD DATA
    INFILE student.dat
    TRUNCATE INTO TABLE STUDENT
    FIELDS TERMINATED BY '%~|' TRAILING NULLCOLS
      student_old  FILLER
    , student_fn
    , gender
    , student_ln
    , student_id
    )And here is the execution:
    SQL> CREATE TABLE student
      2  (
      3    student_id   NUMBER
      4  , student_fn   VARCHAR2 (10)
      5  , gender       VARCHAR2 (2)
      6  , student_ln   VARCHAR2 (10)
      7  );
    Table created.
    SQL>
    SQL> !sqlldr / control=student.ctl
    SQL*Loader: Release 11.2.0.3.0 - Production on Tue Mar 19 14:37:31 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Commit point reached - logical record count 5
    SQL> select * from student;
    STUDENT_ID STUDENT_FN                     GENDER STUDENT_LN
           110 abc                            F      xyz
           120 def                            M      pqr
           130 ghi                            M      stu
           140 jkl                            F      vwx
           150 mno                            F      yza
    SQL>:p

  • In XI Mapping multiple fields mapping to single target field.

    Hi Friends,
    In XI Mapping multiple fields mapping to single target field.
    For example my requirement is :
    Source Fields:(This RFC BAPI Structure)
    Empno                0-1
    EmpName           0-1
    Address             0-1
    Taget Field is:
    Details               0-1
    The above three fields passed to the Details Field. Here i am using Concat function
    But i have one query on that on,Every field having "line Break" required.
    Can you please help me out above this requirement.
    Thanks in Advance,
    Sateesh N.

    If you want a line break between the three fields, then try
    passing a,b,c to the udf and in the udf you would have
    return a+"\n"+b+"\n"+c;

  • Mapping of field with MinOccurs 0 in SAP XI 2.0 SP5

    Hi,
    Our Scenario is
    File -> Adapter -> XI -> Idoc Adapter -> SAP
    We are trying to push IDoc and the mapping tool is giving an error. I am providing the error that I am getting.
    The snippet of the XSD for the IDoc is given below:
       <xsd:element name="E1FIKPF" minOccurs="1" maxOccurs="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                            <xsd:annotation>
                               <xsd:documentation>FI Document Header (BKPF)</xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                               <xsd:sequence>
                                  <xsd:element name="BUKRS" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Name of global company code</xsd:documentation>
                                     </xsd:annotation>
                                     <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                           <xsd:maxLength value="6" />
                                        </xsd:restriction>
                                     </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="BELNR" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Accounting Document Number</xsd:documentation>
                                     </xsd:annotation>
                                     <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                           <xsd:maxLength value="10" />
                                        </xsd:restriction>
                                     </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="GJAHR" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Fiscal Year</xsd:documentation>
                                     </xsd:annotation>
                                     <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                           <xsd:pattern value="\d+" />
                                           <xsd:maxLength value="4" />
                                        </xsd:restriction>
                                     </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="BLART" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Document type</xsd:documentation>
                                     </xsd:annotation>
                                     <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                           <xsd:maxLength value="2" />
                                        </xsd:restriction>
                                     </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="BLDAT" minOccurs="0" type="date" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Document Date in Document</xsd:documentation>
                                     </xsd:annotation>
                                  </xsd:element>
                                  <xsd:element name="BUDAT" minOccurs="0" type="date" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Posting Date in the Document</xsd:documentation>
                                     </xsd:annotation>
                                  </xsd:element>
                                  <xsd:element name="MONAT" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                                     <xsd:annotation>
                                        <xsd:documentation>Fiscal Period</xsd:documentation>
                                     </xsd:annotation>
                                     <xsd:simpleType>
                                        <xsd:restriction base="xsd:string">
                                           <xsd:pattern value="\d+" />
                                           <xsd:maxLength value="2" />
                                        </xsd:restriction>
                                     </xsd:simpleType>
                                  </xsd:element>
    In this snippet as can be seen the minOccurs for the BUKRS field is 0. But if I do not map the field its giving me following error.
    /usr/java131/bin/javac -encoding UTF8   -classpath .:./system-lib/boot.jar:./system-lib/jaas.jar -extdirs ./additional-lib:./services/deploy/work/applications/ExchangeRepository -d /tmp/9_53_35_27_7_2004 /tmp/9_53_35_27_7_2004/com/sap/xi/tf/_MsgMapGcentre2Fidcc2_.java
    /tmp/9_53_35_27_7_2004/com/sap/xi/tf/_MsgMapGcentre2Fidcc2_.java:303: ';' expected
    a117.gotoNextContext();tmpValAtr = a117.getValue();if (!tmpValAtr.equals(SUPPRESS)) handler.addAttribute("SEGMENT", tmpValAtr);a117.gotoNextValue();if (!__deflt)a115.gotoNextValue();No mapping for value/FIDCCP02/IDOC/E1FIKPF/BUKRS
                     ^
    /tmp/9_53_35_27_7_2004/com/sap/xi/tf/_MsgMapGcentre2Fidcc2_.java:303: cannot resolve symbol
    symbol  : class No 
    location: class com.sap.xi.tf._MsgMapGcentre2Fidcc2_
    a117.gotoNextContext();tmpValAtr = a117.getValue();if (!tmpValAtr.equals(SUPPRESS)) handler.addAttribute("SEGMENT", tmpValAtr);a117.gotoNextValue();if (!__deflt)a115.gotoNextValue();No mapping for value/FIDCCP02/IDOC/E1FIKPF/BUKRS
    ^
    2 errors
    Compilation error
    Any one having any guesses on why this error is coming. I know this error would vanish if we map the field by an Empty Constant. But then it would start giving error for the next field until all the non mandatory fields are mapped.
    If however I go ahead and map all the fields then the output structure generates all the segments the maxOccurs times. i.e. if a segment is occuring 999 times then that segment is repeated that many time in the output whereas I never needed that segment in the output.
    Can any one suggest as to why this is happening. Am I doing some thing wrong or this is a problem with Mapping Editor in XI 2.0 SP5.
    Ashish

    Hello Ashish,
    this is a bug in the mapping tool. You have to apply the note  730081. It says:
    Symptom                                                                           
    After you import XI20 Support Package 04 or Support Package 05, you can           
    no longer change and regenerate the message mapping (graphic mapping              
    tools).                                                                           
    The following error is displayed during activation or generation: No              
    Mapping for value.......                                                          
    Other terms                                                                       
    Graphic mapping tools, SAPINTSER05, no mapping vor value                          
    Reason and Prerequisites                                                          
    This problem is caused by a translation error.                                    
    Solution                                                                          
    The translation error has been corrected.                                                                               
    As of patch level 1, the correction is provided in the SAPINTSER05_1.sca          
    archive of the INTEGRATION Services 2.0 software component and, as of             
    patch level 2 for Support Package 5, it is provided in the                        
    SAPINTBUI05_2.sca archive of the INTEGRATION BUILDER 2.0 software                 
    component. The archives are available on the SAP Service Marketplace at:                                                                               
    http://service.sap.com/patches                                                                               
    SAP EXCHANGEINFRASTRUCTURE/SAP EXCHANGEINFRASTRUCTURE 2.0                         
    Binary Patches/INTEGRATION SERVICES 2.0/OSINDEP and                               
    ..... /INTEGRATION BUILDER 2.0/OSINDEP                                            
    Import the archives using SDM.                                                                               
    The mapping must be recompiled after deployment.                                                                               
    Regards Franz

  • I am trying to map the fields in R3 system  with the infoobjects in BW.

    I am mapping the fields with in R3 with the infoobjects in BW.
    Can any please let me know the relavent mapping infoobjects and the procedure to find for the following fields.
    Description                          Type          Length
    Purchase Order     VARCHAR2     10
    PO Line Number     NUMBER     10
    Line Item Description     VARCHAR2     60
    Order Quantity          
    Unit of Measure     VARCHAR2     3
    Performance Start Date     DATE     7
    Performance End Date     DATE     7
    Order Date                           DATE      7
    PO Line Extended Amount     NUMBER     14
    PO Line Total Amount     NUMBER     14
    Project                         VARCHAR2     30
    Account ID                         VARCHAR2     15
    Cost Amount                             NUMBER      14
    Prime Contract ID     VARCHAR2     20
    Requisition ID     VARCHAR2     10
    Vendor ID                            VARCHAR2     12
    Vendor Name     VARCHAR2     25
    Entry Date/Time      DATE     7
    Address Descriptive Code     VARCHAR2     10
    Address Line 1     VARCHAR2     40
    City Name                         VARCHAR2     25
    Mail State                          VARCHAR2     15
    Postal Code                         VARCHAR2     10
    Country Code     VARCHAR2     8
    Phone Number     VARCHAR2     25
    Fax Number ID     VARCHAR2     25
    Other Phone Number ID     VARCHAR2     25

    Hi,
    You can find the fields and related infoobject for the datasource as follows
    Step1
    log on to the BW system
    Step2
    Go to SE11 ---> give the table name as RSOSFIELDMAP and execute
    Step3
    give the data source name for OLTPSOURCE field and execute
    Step4
    you will find the mapping between fields and relevent infoobjects
    Hope this helps
    Santosh

  • XI Message Monitoring - Mapping custom fields for search in monitor?

    Is it possible to map a reference field so that searching for a specific message is more user friendly?
    For example, we produce hundreds of outbound SHPMNT04 messages each day.  Would it be possible to map a field such as E1EDT20.TKNUM (Shipment Number) to a field in the monitor (SXMB_MONI) such as "Outbound Reference" so we can easily search on this field?
    Currently we use a combination of WE09 and IDX5 to find a specific message.  Obviously, this is cumbersome and time-consuming.
    Thanks in advance.

    Hi,
    of course it is possible in many ways
    there are at least two ways
    the first one is to use Trex search for xi + standard
    the second one is described in this weblog + but remember that
    without indexing this will take long to search like this
    /people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
    Regards,
    michal

  • ABAP Mapping Black Field Missing

    Hi,
       I did an ABAP Mapping, one field of a sender message could be full of spaces or with some data. When a message with data for that field is sent, the mapped field in the receiver message had the data, but when I send a full spaces data field the receiver message have no data, it's empty. Somebody could help me?
    Regards,
    Luis Diego

    Hi,
    Btw, where are you looking about this field ? In the sxmb_moni ? If so are u able to see the XML tags generated for that field ? If not
    Check the existsence of the field in the mapping. If there is no field i.e empty, then pass the spaces explicitly..
    It is like , Built-in function in the message mapping i.e "EXISTS" with If-Else logic.
    If you are able to see the xml tags generated for that field, view the SXMB_MONI message in the notepad, so that you can view the space.
    Hope this helps,
    Regards,
    Moorthy

  • Problem in mapping the fields for 0FI_GL_4

    Hi,
      can I get any document regarding the mapping the fields at BW side. I need to give Profit and loss Account report.
    Regards
    kamineni

    Hi,
    Better go through the Business COntent in help.sap.com.
    It will give you the complete details.
    try this link
    http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    hope this helps.
    Assign points if useful.
    Venkat

  • How to map journal fields and whats is the better  process type

    /Journal/JournalSuspenseCostCentre     NULL
    /Journal/JournalBalancingCentre     Lookup from Organisation ID
    /Journal/JournalMultiCompany     u2018Nu2019
    /Journal/JournalBatchNumber     NULL
    /Journal/JournalNumTransactions     Total number of /Journal/JournalLine transactions
    /Journal/JournalBaseDRTotal     Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Debit Values only
    /Journal/JournalBaseCRTotal     Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Credit Values only
    How to map journal fields and whats is the better  process type idoc/proxies?please let me know
    Journal Line
    Multiple journal lines per header:
    Schema Element     Data
    /Journal/JournalLine/JournalLineCostCentre     Bank account control Cost Centre
    /Journal/JournalLine/JournalLineAccount     Bank account control Account Code
    /Journal/JournalLine/JournalLineMoneyTotal     Transaction Line Amount
    /Journal/JournalLine/JournalLineVolume     NULL
    /Journal/JournalLine/JournalLineDescription     Payee Name
    /Journal/JournalLine/JournalLineChequeBookReference     NULL
    /Journal/JournalLine/JournalLineMatchField     Cheque Number
    NB Contra accounting entries should be posted to:
    Schema Element     Data
    /Journal/JournalLine/JournalLineCostCentre     Bank account control Cost Centre
    /Journal/JournalLine/JournalLineAccount     Bank account control Account Code
    /Journal/JournalLine/JournalLineMoneyTotal     Transaction Line Amount * -1
    /Journal/JournalLine/JournalLineDescription     Payee Name
    /Journal/JournalLine/JournalLineMatchField     Cheque Number
    /Journal/JournalPeriod     Current General Ledger Period
    /Journal/JournalYear     Current General Ledger Year

    It looks you are new to PI,
    you have to develop scenario end to end, by creating source data type and target data type(if you have XSD's not required),then use Graphical mapping (message mapping) to map source and target structures.
    Search in sdn for one end to end scenario you will understand easily
    Regards,
    Raj

  • I'm trying to import contacts to outlook 2011 from a cvs file.  I've followed all the steps, mapped the fields, clicked import -- it shows that it imported my 900 contacts --- but the contact field remains blank and I can't see any information.  Help?

    I'm trying to import contacts to outlook 2011 from a cvs file.  I've followed all the steps, mapped the fields, etc.  It appears to import all 900 contacts, but after finishing nothing appears in my contact list.  Any ideas on why this is not working?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

  • I have mapped the fields on the selection-screen  to the BDC on transaction

    I have mapped the fields on the selection-screen  to the BDC on transaction F110.
    When I am selecting a particular any value in select-option on the selection screen, it is giving some default value and the value given by me,for example:
    Payment methods:C
    but in BDC recording for F110 Payment methods:IEQC when the programs is running in foreground mode.
    how can I rectify it?

    This is because payment methods may be a table and what you see IEQC is actually, I for include, EQ for equal and C as your payment method. This is standard structure for ranges or select-options. You can use variable-low which will give you only C.

  • Final field in abstract class

    Hi ... consider the code:abstract class It {
         protected final boolean
              USE;
    public class Test extends It {
         public Test(){
              USE = true;
    } upon compiling there is an error (infact, two errors).
    final may not be assigned, can't assign to final.
    of course, if "It" was not abstract, the first error might be true ... but it is abstract, so
    shouldn't this checking of assignment to final be delayed until the class is inheritied
    as concrete ? it would seem to make sense ... i can't see a reason for this not being
    the case.
    if it was the case, we could delay assignment until our constructor of "Test" where it
    would assign to the final variable of "It".
    it shouldn't be an error, should it ?
    java version:java version "1.4.2_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
    Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

    is it because references to the final fields are resolved at compile-time ?
    such that the compiler must know the value of USE in:if(USE){
      // a
    // b at compile time so it can remove either "b" or "a". I think so. hmm.

Maybe you are looking for