Official documentation from SAP about field exits as obsolete

Hi all,
I want to know if there is any official SAP documentation about the support of field exits. Because, I herad some time ago that they are obsolete and its use is not recomended from 4.6C onwards.
Regards,
Eric

Check OSS note 29377.

Similar Messages

  • JCo getting truncated value from SAP when field data type is RAW

    We are trying to fetch data from a SAP-AII table by using JCo using the RFC RFC_READ_TABLE.
    We are getting incomplete data when the data type of the column is RAW in a particular table.A typical case is:
    Table Name: /AIN/DM_DEVCTR
    Field : CLIENT                Type: CLNT    Length:3      Value: 100                                                            (SAP Generated)
    Field:  DEVCTR_GUID    Type:RAW      Length:16    Value: 306F50F53805ED488DE9797AC86B5728     (SAP Generated)
    Filed:  DEVCTR_ID         Type:CHAR    Length:128   Value: KDEVICECONTROLLER                             (User input)
    For the fields CLIENT and DEVCTR_ID we get the entire value (including blank spaces) but for DEVCTR_GUID we get only 16 characters whereas SAP-AII stores a value that is 32 characters in length. How do we fetch the actual value instead of the truncated value?
    Sample code is attached.
              try {
                   mConnection = JCO.createClient("100", // SAP client
                             "User", // userid
                             "Password", // password
                             "EN", // language
                             "SAP", // host name
                             "00"); // system number
                   mConnection.connect();
                   if (mConnection == null) {
                        System.out.println("Connection to SAP Server failed.");
                   mRepository = new JCO.Repository("User", mConnection);
                   ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
              JCO.Function function = ftemplate.getFunction();
              JCO.ParameterList importParamList = function.getImportParameterList();
              importParamList.setValue("/AIN/DM_DEVCTR", "QUERY_TABLE");
              importParamList.setValue(";", "DELIMITER");
              JCO.Table tableData = function.getTableParameterList().getTable("DATA");
              JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
              mConnection.execute(function);
              if (tableData.getNumRows() > 0) {
                   do {
                        for (JCO.FieldIterator e = tableData.fields(); e
                                  .hasMoreElements();) {
                             JCO.Field field = e.nextField();
                             String str = field.getString();
                             String[] values = str.split(";");
                             for(int i = 0; i < values.length; i++){
                                  System.out.println(values<i>);
                   } while (tableData.nextRow());
              } else {
                   System.out.println("No results found");
              mConnection.disconnect();

    Hi Kaanu,
       You have to modify your java code.
    String val = new String( field.getByteArray());
    PS: Please reward points for helpful answer or problem resolved.

  • Official Support from SAP on Support package levels

    I have NW7 Dual stack system. Currently at SP10
    Looking for an "official Policy" on supported SP levels from SAP, if it exists already. Please help me by providing a link that information or a document if it exists.
    We are working on an ongoing infrastructure support policy for this installation.
    Thanks in advance.
    Vasu

    You can run a certain level of support packages as long as you can live with the "deficiencies" resulting out of that. You can run on the initial installed level if you can deal with the fact, that you will need to apply a LOT of notes in case you run into an error (because of dependent notes because of the low support package level).
    There may also be cases where it´s impossible to provide a correction by note (e. g. table changes) and where corrections can only be delivered by support packages.
    Last but not least the law may force you to install a certain level (e. g. fiscal year change) to get the newest (and correct) data out of the system for all kinds of changes that may be necessary to comply the law.
    Basically you can leave your system on a certain support package as long as you wish but it may become difficult or even impossible to give you a solution if more than an ABAP code correction is necessary.
    This is especially true on dual stack systems where a change in the portal may force you to upgrade your complete backend to a certain level because there the ABAP + Java stack must be in sync --> one of the reasons why we totally avoid dual stack installations.
    Markus

  • A question about field exit

    I have created a function module 'FIELD_EXIT_ABREX'.Can I use other field value  in this Function Module?How to implement it?

    Hi,
    Firstly decide the scope : Global or Local to screen.
    Global Field Exits are trigerred from all Screens whereas for Screen specific needs the screen to be specified when we go for activating it....
    Run program RSMODPRF and specify the field ...
    Note : Screen name & data element may be different...so u have to specify Data Element & not Screen field name. Just to remind as this is common pitfall.
    Now as u said 'FIELD_EXIT_ABREX' as the Func module created. This gets the screen value of field ABREX in variable INPUT of the Func Mod 'FIELD_EXIT_ABREX' and after processing u can return value throu variable OUTPUT.
    You can write u r validations in the FM and do whatever. Just remember the value are lost as soon as this Field Exit is triggerred Again
    I hope this should help you for further wwork and any other specific issue do post back ... we'll see dude.
    <b>Do reward if this was useful and adds to u r knowledge / solves issue</b>
    Regards,

  • About field exits

    Hi Gurus,
    i have a problem, in MM01(Basic data1) there is field called Prod.hierarchy(dataelement is prodh_d), for this data element how to create Field Exits and how to assign to MM01 Tcode.
    the code part i have to write is
    1. To validate MARA-PRDHA field length (field exit can handle this). the field length should be 18 char.
    2.Copy the value of MARA-PRDHA to MVKE-PRODH (the code of the field exit above, you can do field-symbol technique to transfer value from mara-prhda to mvke-prodh).
    plz. do the needfull information with all the steps ASAP.
    Thanks & Regards,
    Sudheer.

    You can create a field exit to the data element by running the report RSMODPRF.
    You will then have to assign the the program name & screen No. (In this case the program name & screen No. in MM01 transaction.)
    You will have to write a field exit for MARA-PRDHA and within that ensure that the field length is 18char.( The input value you read should be of 18 char).
    You can read the screen field value by using the fn. module to read the screen values & put that value inside MVKE-PRODH. This can be written in another exit.
    Important Things to Note.
    1.You cannot debug a field exit.
    2. Assign the correct program name & screen no. to activate the field exit.
    3. This is written at data element level.
    Hope this helps...
    Let me know if you need any further details.
    Regards
    Deepu.
    Reward Points if it helps.

  • Speedy info about field-exit

    Hi all.
    With a Field-exit we can only check a field, or also modify the field?
    Thanks

    Hi,
    you can check and modify also.
    Field and screen exit..
    regards
    vijay

  • Extraction from SAP, hidden fields problem

    Hi Expeerts,
    I have the following problem / question:
    From an SAP Datasource (2lis_11_vaitm) we have some fileds, those are HIDED, and we need them. This is a central SAP, and a lot of BW systems connect to this SAP.
    The problem is, that we need a field from that datasource (and other BWs do not need), that has 'HIDDEN' option. The SAP side is afraid of having problem, when they just uncheck that option. (TELF1; KONDA fields we need).
    Does anyone know, what is the affects on other BW systems, when we unhide this fields? Of course we load with delta from this source.
    If a field is hidden in SBIW-Maintain Datasources, am I right, that the delta does not collect those fields, or it is collected, just not sent to BW systems?
    Any good idea, how can we get that fields in other way, because it seems, that the datasource cannot be modifyed, because of the other countries' BWs, connected to teh centra SAP.
    I hope i were clear, but if not, please ask me.
    Thanks for Your help.
    Laszlo
    Edited by: László Györkös on Jan 30, 2009 11:07 AM

    Hi,
    If a field is hidden in SBIW-Maintain Datasources, am I right, that the delta does not collect those fields, or it is collected, just not sent to BW systems?
    --> As hidden fields are already available in extract strucute, unhiding will not create any problem. As far as i know hidden means it will transfer data from extract structure to further.
    --> You can try pulling this particular data using generic datasource. OR
    --> Enhance datasource by adding required fields and use. OR
    --> Unhide files and use.
    Note: Bit careful while transpporting datasource to production as time stamp changes.
    Srini

  • My iPhone4 got replaced as iPhone4s, two years back, i now realised i didnt get any official documentation from apple, its just handwritten unofficial paper i received from local distributor. how can i get official letter ?

    as of now i wanna resale my iphone 4s, but due to lack of proper bill of replaced phone, theres been a problem, please help!
    IMEI of old iphone4 - *****
    IMEI of replaced iPhone4s - *****
    <Edited By Host>

    You shouldn't be posting personal information. I've requested the Hosts edit it.
    As for the documentation you should contact the 'local distributor' whoever that maybe.

  • Official comment from Apple about the drop frame issue?

    Is Apple going to firmware fix the skipping drop frame issue on the Apple tv?
    Or is it hardware related?
    Too many of us seem to have experienced this issue for it not to be addressed.
    It shouldn't be difficult to fix.
    My 1st gen atv was fine.
    I should have kept it.

    Hopefully it can be fixed. Seeing as Apple has not even acknowledged it I returned mine yesterday since I was coming up on my 30 day return deadline. At least this way I'm not stuck with a device that has a hardware issue.
    As of yesterday I have seen this issue on 10 different New Apple TV units, all on different HD sets, different network setups etc. Half of the owners had never noticed it. Two of those were adamant they did not have the problem and one of those still insisted they didn't after I spotted it multiple times. So while the issue has been present on 100% of the units I have seen, its not necessarily noticeable to everyone. I have noticed its much easier to spot on larger displays and when the display quality itself is higher, for example easier to spot on a higher quality 61" 1080p set than a lower quality 720p 26".
    If you have the option I would return the unit. Worse case is your don't have the unit, which is not functioning 1005 anyway, for a short period and then grab it again if the issues get addressed.

  • Submit functions - I would like an official answer from Adobe...

    Hi,
    I would like to get an official answer from adobe about this subject:
    Until acrobat reader 7.05, any use of "get()" and "post()" FormCalc methods in any livecycle form, would not be allowed.
    With acrobat 7.0.5, those functions already work in any form created with livecycle.
    Is this a new functionality? Or someone has forgotten this methods...
    Thank you.

    The ESPN player uses Flash, the BT Sports player uses Silverlight.
    If you found this post helpful, please click on the star on the left
    If not, I'll try again

  • Documentation about Screen, Menu and Field Exits

    Hi all!!
    I need some documentation about Screen, Menu and Field Exits.
    I´m very interested specially on steps by steps.
    My mail is [email protected]
    Helpful posts will be rewarded.
    Thanks in advance and regards,
    Manuel.

    <b>Types of Exits </b>
    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    <b>Menu Exits</b>
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    <b>Screen Exits</b>
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    <b>Function Module Exits </b>
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. 
    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated. 
    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. 
    These calls have the following syntax: 
    CALL CUSTOMER-FUNCTION ‘001’.
    Field Exits
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.  Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100. 
    The field exit concept lets you create a special function module that contains this logic. 
    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number. 
    In 4.6c, you can use "RSMODPRF" program to create field exits.
    An example of a user exits :-
    MODULE user_exit_0001 INPUT 
        CASE okcode.
            WHEN 'BACK OR EXIT'.
                CASE sy-dynnr.
                        WHEN '100'.
                             SET SCREEN 0.
                             LEAVE SCREEN.
                        WHEN '200'.
    **** Note that you can write any code that satisfy your needs.                                                     ****
    **** But in this case, this was wrote as a sample code for reference sake.                                    ****
    **** And you can test it.                                                                                ****
                             SET SCREEN 100.
                             LEAVE SCREEN.
                 ENDCASE.
          ENDCASE.
    reward  points if it is usefull..
    Girish

  • Not transfer field KNA1-STCD2 from SAP R/3 4.70 to CRM 3.0

    Hello to all.
    We decided no to use the field KNA1-STCD2 in all the customers created in SAP R3 4.70 and we want not to transfer this field from SAP R/3 4.70 to CRM 3.0. There are several customers with value in this field  in R3 but they never were transferred to CRM.
    Is there any way to get this? We are looking for any exit where we can delete this field in R3 but we hace not found anything yet.
    Thanks in advance.

    Try XD99 Customer Master Mass Maintenance. It will permit you to perform mass maintenance to one or multiple fields. Leave the field blank in the "NEW" value to update with blank.
    Try with 1 - 10 customers to see that test is working. Then execute for all customers (or as per requirements).

  • Upload fields from SAP R/3 to BW

    Dear All,
    I'm looking for a method to upload fields from SAP R/3 to BI 7.0.
    My testing case as following:
    - Upload table DFKKKO \ field OBEL from R/3 to BW
    - I created a Generic Datasource and select this field.
    - When coming back to BI, I replicate the metadata from SAP source system and can display my Generic Datasource.
    - I create the Info Package for this Generic Datasource but when I run the scheduling, I didn't find any data in PSA table.
    So this is my questions:
    -   Is this method (generic datasource) suitable for uploading from SAP R/3 to BI or there is anything else better?
    - Why the data cannot uploaded to PSA table? (I got this error message from Monitor "EDI: Partner profile inbound not available" and "Some IDocs have error status" but don't know how to correct)
    If there is any possible response, I shall give reward point.
    Many thanks,

    Hi
    I think you have missed the mapping part in BW....did you create the transformation in BW side before loading the date?You have to map the R/3 field to BW infoobject.

  • Qty field  value diff from SAP R/3

    hi friends,
        i have replicate one table datasource  from  SAP to BW.................
    in datasouce i m using RFMNG quantity field and in BW mapping it to 0DEL_QTY.......
    both having datatype lenth 17 and decimal 3.................
    data loading is done succesfully..................
    all fields is coming right in BW accepting Quantity field.........like
    R/3.........................B/W
    Qty                         Qty
    1                             5.517,000
    140                         772.380,00
    pls give me some solution.......................

    just chk in the extractor in rsa3. what data you are getting. if you are not getting exact data at rsa3 then its extractor problem
    Ramesh

  • Active Directory cn field not updated from sap HR using ldap.

    Hi,
    Apologies if this is in the wrong forum area.
    I am using the LDAP facility to create and modify Active Directory records from sap HR. Initially, the name field cn that was coming across into AD was in the format of the logical system and employee number, eg, RD4CLNT22000000711.
    I then implemented the BADI HRLDAP_ATTRIBUTES which then changed this name field cn in the active directory listing to the format; surname, forename.
    It works fine when I create a new user, however the problem comes when I update the persons name in the sap hr module. The data that comes across into Active Directory shows the change to the persons surname sn, forename and displayname fields is there but the cn field is still showing as the previous name.
    In short, when a new user is created, the cn field in active directory is correct
    (surname, forename) but when the employee’s name is modified, that change is not brought across to the cn field even though the surname, forename and displayname fields are updated correctlyon AD.
    We are on release 4.70.
    Anyway, if anyone could help I would be very grateful.
    Thanks
    David

    Hi
    The problem it is causing us is that the cn field is incorrect and does not mirror the change in sap HR, therefore the Active Directory entry for the employee is not totally accurate.
    When an employee changes their name in SAP HR - usually their surname, we would then want to update the employee’s active directory account to show this change and this includes the cn field also. At the moment the firstname, lastname fields do get updated with the change so we would want the cn field to show this as well otherwise the cn field would be incorrect and not match up with the employee's AD firstname & lastname fields.
    Dave

Maybe you are looking for