Field only known in Customer Exit

Hi all,
I know this topic has been discussed quite number of times before on SDN, but still i am confused with this field indicator.
Based on previous posts in SDN, what i understand is that if we enhance a datasource by appending a field to
extract structure we check this field.
If i am not wrong we write the code to populate this field in CMOD.
I have a bunch of fields appended to extract structure and i see that
not all fields are checked for"filed only known in CustExit". But still i get data for these fields
when i do extraction. All these fields are populated in UserExit.
when data can be extracted even if "field know in custexit" is not checked. what is the significance of this indicator.
Thanks
Silpa

*If fields are part of a standard extractor i can understand them not being checked. But in my case i have Z custom fields some of which are checked others are not.
Eg: ZZ1, ZZ2, ZZ3, ZZ4. I have ZZ1, ZZ2 checked and ZZ3, ZZ4 not checked for "field known in customer exit" indicator.
So you mean to say ZZ3 and ZZ4 will not get any values even though there is code for these two fields in customer exit.*
What I meant was that irrespective of whether or not "field known in customer exit" is set, if in your customer exit you have coded for populating data to particular fields, those fields will get the data from customer exit.
eg.
zz1 and zz2 are set with this indicator
zz3 and zz4 are not set
If you code for zz1, zz2, zz3 and zz4, you can populate these values in exit
If not, these fields will not be automatically populated in standard extractors as it can do so only for the fields which are part of standard extractors.
Your main question was 'what is the significane of "field know in custexit" indicator'
Its main significance as I have mentioned is that if a field is set with this indicator and the coding is not done in customer exit, that particular field will not get populated
Edited by: Rahul K Rai on Jul 13, 2010 7:31 PM

Similar Messages

  • Use of selection, inversion & field only tabs in datasource

    Hi,
    What is the use of the tab
       selection, inversion & field only know in customer exit 
    in datasource.
    Also is there any other use of hide tab except unhiding it to reflect in BI system.
    Thanks,
    Shamkant.

    Got on own

  • Field Only and Inversion

    Hello SDNers,
    I would like to ask you in the datasource there are 2 option si would liek to know when are they used.
    1) Inversion
    2) Field Only
    And Field only does this need to be checked when its custom enhancement t structure or can be checked for other reasons aswell.Please explain.
    Thanks.
    Krrish.

    Hi,
    usually inversion feature is useful for DS carrying customized Keyfigures which has -ve sign
    before loading to BW ,the value will be mulitplied by -1 and goes to BW
    check this SAP note:
    Inversion
    Reverse postings are possible for customer-defined key figures. For this reason, inversion is only possible for certain transaction data DataSources. These include DataSources that have a field that is indicated as an inversion field, for example, the field update mode in the DataSource 0FI_AP_3. If this field has a value, then the data records are interpreted as reverse records in BW.
    Set the Inversion indicator if you want to carry out a reverse posting for a customer-defined field (key figure). The value of the key figure is then transferred in inverted form (multiplied by –1) into BW.
    filed only..
    it is useful when you are enhancing the DS with the userdefined fields and has wriiten the code in CMOD
    Sap note:
    Field only known in exit
    You can enhance data by extending the extract structure for a DataSource using fields in append structures.
    The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
    Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
    Cheers,
    Swapna.G

  • BW Customer Exit EXIT_SAPLRRS0_001

    I am trying to limit the values in the selection screen for a BW report using the BW customer exit EXIT_SAPLRRS0_001.  I have created a custom table to store values to limit the selection.  Unfortunately when coding for i_step = 2 I can only populate the field in the selection screen but the user is still able to click the multiple values button and see all values and not just the ones the limited to their user ID.  How can I limit this selection so the user cannot select any value but only the ones corresponding to their ID in the custom table ?  Also how can I de-activate the second text box in the selection so no range can be input ?  This is for setting up security for reporting.  Any help would be very much appreciated.

    to control the kind of input selection options displayed in the selection screen you have to configure and choose between different variables you create in the Bex.
    look for options in the Bex variable creation for single value selection only.
    in the customer exit.. stop at I_STEP = 3 and check if user input is correct .. else error out.
    If you can predict the correct user entries the user should make.. then you rather make this variable "not available for selection" and fill it in user exit yourself so the security is not breached. This way user cannot tamper with the values you fill in background. But he can filter further later in the query navigation.
    Thanks
    Sharan

  • Extractor: hide Vs field only selection

    Hello BW experts,
    in datasource properties field in the R/3; what is the difference between the fields 'hide' vs 'field only'.
    suggestions appreciated.
    Thanks,
    BWer

    Hi,
    Hide field
    You should set this indicator to exclude an extract structure field from the data transfer. As a result of your action, the field is no longer made available in BW when setting the transfer rules and generating the transfer structure.
    if u dont want to see this this ..u set this field u cant see in the BW which is available in extrac structure
    Field only known in exit
    You can enhance data by extending the extract structure for a DataSource using fields in append structures.
    The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
    Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
    and also see this thread...
    https://www.sdn.sap.com/irj/sdn/profile?userid=2515725
    Assign Points if useful
    -Shreya

  • Customer Exit in variables

    plz suggest  what can be done which can fullfill our requirement in variable---
    if user gives iput in variable period -jan08  to oct 08,& Material-XXXXXX
    user should get the output of this in the next variable(inspection Lot) as input values (i.e F4 Help)
    inspection lot (lots to be considered only in that period range and for that particular material for selection)
    Thanks
    Rave
    Edited by: rave king on Oct 14, 2008 11:09 AM
    Edited by: rave king on Oct 15, 2008 6:25 AM

    Hi
    The green square at the corner with = symbol represents the particular variable is selected or restricted with that characteristics info object.
    Also you can double click on ZXRSRU01 include program to view the customer exit codes.
    Or you can go to SE38 and enter the program name ZXRSRU01 and Display the program to see the customer exit codes.
    to control the kind of input selection options displayed in the selection screen you have to configure and choose between different variables you create in the Bex.
    look for options in the Bex variable creation for single value selection only.
    in the customer exit.. stop at I_STEP = 3 and check if user input is correct .. else error out.
    If you can predict the correct user entries the user should make.. then you rather make this variable "not available for selection" and fill it in user exit yourself so the security is not breached. This way user cannot tamper with the values you fill in background. But he can filter further later in the query navigation.
    Regards
    Lakshmi

  • No user input for the field on which i need to write customer exit code.

    Hello everyone,
    Scenario:
    There are differrent lease type and there Start date and expiry date.
    each lease has to return somoe returns on some basis.
    selection screen has four options but none of them is date.
    My understanding:
    I need to get only those leases in my report whose expiry date is greater than system date/current calendar day.
    I am not selecting any date field in selection screen, so i need to get value of expiry date from cube, and than compare it to current date.
    So i need to write a customer exit in which i need to read date and restrict data on this expiry date.
    Requirment:
    Need a code for SAP exit variable which will meet the following requirment
    There are the following 4 variables in the query.
    1) material
    2) product hierarchy
    3) City
    4) lease type
    I need a customer Exit variable (CMOD) that will
    filter the records on the basis of condition-"lease expiry date is greater than current system" and display all the records whose expiry date is greate than Sy Date (Current Date) and also if expiry date is blank.
    kindly give me information on how i can write this code asap; and let me know if need more information.
    Thanks

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • Customer exit for validation of PO fields in ME21N / ME22N - After pressing enter & save button

    Hi,
    I am looking to validate the standard fields(EKKO-IHREZ, Your reference under communication) of Purchase order . So for this I used the customer exit EXIT_SAPMM06E_012 under the enhancement MM06E005 . I am able to validate but it is triggering only when SAVE selected.
    1. Can we implement the same when we press enter button ?
    2. How to log error message using macro for the field EKKO-IHREZ with error message ? As of now I am using message 'asdfasdfasdf' type 'E' which is appearing now in the log messages.
    Regards,
    Praveen CHITTURI .

    Better use methods like PROCESS_HEADER or PROCESS_ITEM of BAdI ME_PROCESS_PO_CUST.
    There are many threads and documents on this BAdI at scn.
    In the chosen methods use Macros mmpur_metafield to attach error to a field (defined in type-pool MMMFD, mmmfd_ref_1 ?) and mmpur_message_forced to raise error message and add it to log.
    include mm_messages_mac.
    im_item->invalidate( ).
    mmpur_metafield mmmfd_matnr.
    mmpur_message_forced 'E' 'ZFSM' '613' ls_item-matnr ls_item-werks ls_header-bsart ls_material_plant-mmsta.
    Regards,
    Raymond

  • Code to 2 DSO fields in 'Customer Exit'

    Hello,
    For my Customer Exit code, I want to read 2 fields (BEG_FORPER & END_INPER) from DSO 'ZHRPY_O50' & append them to 'Customer Exit' variable 'ZACTDATE'.
    Could someone help me with this code?
    Thanks!

    TABLES: /BIC/AZHRPY_O5000.
    DATA: BEGIN OF INTERNAL_TABLE OCCURS 0,
            BEG_FORPER TYPE /BIC/AZHRPY_O500-BEG_FORPER,
            END_INPER TYPE /BIC/AZHRPY_O500-END_INPER,
          END OF CRM_SALO00.
    SELECT /BIC/ZBEG_FORPER /BIC/ZEND_INPER
        INTO INTERNAL_TABLE
        FROM /BIC/AZHRPY_O0500
    ENDSELECT.
    Make minor syntax check to the above code and that will read the data from the activate table and put it into internal table. Now you need the code to read from internal table and place it in customer exit variable.
    DATA: L_S_RANGE LIKE RRRANGESID OCCURS 0 WITH HEADER LINE.
    CLEAR l_s_range.
    Look at INTERNAL_TABLE.
    l_s_range-low = INTERNAL-TABLE-BEG_FORPER .
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    l_s_range-HIGH = INTERNAL-TABLE-BEG_END_INPER .
    APPEND l_s_range TO e_t_range.
    ENDLOOP.
    Check the syntax and make the necessary changes.
    thanks.
    Wond

  • "The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

    I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:
        <Field Name="ReadOnly">FALSE</Field>
    No luck.Victor Palma

    Unfortunately it did not work. I also developed the code and access the field and checked its property called "ReadOnlyField"  which is already set to false.
    Below is the xml that i am using. Can you please share the xml that you had used?
    <?xml version="1.0" encoding="utf-8"?>
    <FieldTypes>
      <FieldType>
        <Field Name="TypeName">MyCustomField</Field>
        <Field Name="ParentType">Text</Field>
        <Field Name="TypeDisplayName"> My Custom Field</Field>
        <Field Name="TypeShortDescription"> My Custom Field</Field>
        <Field Name="AllowBaseTypeRendering">True</Field>
        <Field Name="ReadOnlyField">False</Field>
        <Field Name="UserCreatable">TRUE</Field>
        <Field Name="ShowInListCreate">TRUE</Field>
        <Field Name="ShowInSurveyCreate">TRUE</Field>
        <Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
        <Field Name="ShowInColumnTemplateCreate">TRUE</Field>
        <Field Name="FieldTypeClass">My Assembly Information goes here</Field>
      </FieldType>
    </FieldTypes>

  • Customer exits for currency field in generic extractor

    Hi,
    I had a requirement to create a generic extractor. I've created a generic extractor by name 'ZXXZ_XXX_TAX_ATTR'. This extractor was created based on a table T007V in turn view. It has a currency and a quantity type field. Those two fields were not refering to a table fields but were refering a structure. So as per the note 335342, if we have fields of curr/quan type and are having reference fields as a structure field, we need to populate those fields throught a customer exit.
    As I have read that the same problem has been solved by you with customer exit. So can you mail me the exit code as I am not a good in  ABAP.
    Regards,
    Amol Gaurkar

    Hi Amol,
    Here is the code below,
    TYPES: BEGIN OF TY_T007V,
                     TRKORR TYPE TRKORR,
                     ALAND  TYPE ALAND,
                     MWSKZ TYPE MWSKZ,
                     TXJCD  TYPE TXJCD,
                     DATAM  TYPE DATAM,
                     KSCHL  TYPE KSCHL,
                     KBETR  TYPE KBETR,
                  END OF TY_T007V.
    DATA:  T_T007V TYPE STANDARD TABLE OF TY_T007V,
                T_EXTRSTRU TYPE STANDARD TABLE OF <b><Extract Structure></b>,
    **--    Work Area
               W_T007V TYPE TY_T007V,
               L_TABIX   TYPE SY-TABIX.
    CASE I_DATASOURCE.
       WHEN 'ZXXZ_XXX_TAX_ATTR'.
         REFRESH: T_T007V.
         CLEAR:     W_T007V,
                          L_TABIX.
         T_EXTRSTRU[] = C_T_DATA[].
         IF NOT T_EXTRSTRU IS INITIAL.
    Fetching all the records into internal table T_T007V from the transparent table T007V
           SELECT TRKORR
                         ALAND
                         MWSKZ
                         TXJCD
                         DATAM
                         KSCHL
                         KBETR
               INTO TABLE T_T007V
               FROM T007V
                FOR ALL ENTRIES IN T_EXTRSTRU
              WHERE TRKORR = T_EXTRSTRU-KOKRS
                AND ALAND = T_EXTRSTRU-ALAND
                AND MWSKZ = T_EXTRSTRU-MWSKZ
                AND TXJCD  = T_EXTRSTRU-TXJCD
                AND DATAM = T_EXTRSTRU-DATAM
                AND KSCHL = T_EXTRSTRU-KSCHL.
           IF NOT T_T007V IS INITIAL.
             SORT T_T007V BY TRKORR ALAND MWSKZ TXJCD DATAM KSCHL.
             LOOP AT T_EXTRSTRU INTO W_EXTRSTRU.
               L_TABIX = SY-TABIX.
               READ TABLE T_T007V INTO W_T007V
                                 WITH KEY TRKORR = T_EXTRSTRU-KOKRS
                                                  ALAND   = T_EXTRSTRU-ALAND
                                                  MWSKZ  = T_EXTRSTRU-MWSKZ
                                                  TXJCD    = T_EXTRSTRU-TXJCD
                                                  DATAM   = T_EXTRSTRU-DATAM
                                                  KSCHL   = T_EXTRSTRU-KSCHL
                                 BINARY SEARCH.
               IF SY-SUBRC = 0.
                 W_EXTRSTRU-KBETR = W_T007V-KBETR.
                 MODIFY T_EXTRSTRU FROM W_EXTRSTRU INDEX L_TABIX.
                 CLEAR W_EXTRSTRU.
               ENDIF.
               CLEAR: W_T007V,
                      L_TABIX,
                      W_EXTRSTRU.
             ENDLOOP.
           ENDIF.
           REFRESH C_T_DATA.
           C_T_DATA[] = T_EXTRSTRU[].
           REFRESH: T_T007V,
                    T_EXTRSTRU.
         ENDIF.
    ENDCASE.                           "ENDCASE FOR RETREVING THE EXTRACTOR
    <b>Reward points if this helps,</b>
    Kiran

  • In custom report, is it possible to get value of field only? No style info?

    I need to build the following string in the results of a custom report:
    http://my.domain.org/myapp?A1=<#ORACLE.FIELD#>
    but when I run my report as a portlet, I get this instead, which leads to a "Page not Found" -
    http://my.domain.org/myapp?A1=<FONT CLASS=PortletText1><STYLEINFO PortletText1>ORACLE FIELD VALUE</STYLEINFO>
    When running my custom report as a portlet, is there a way to get the value of the field only, without the style info?
    Thanks for an help offered....
    Message was edited by:
    I_LOVE_PORTAL
    Message was edited by:
    I_LOVE_PORTAL

    Hi
    Feild status at entry time looks for the following combination
    S- Supressed
    D- Display
    R- Required
    O- Optional
    System looks for this above combination at first in Posting Key and then in FSV of account which we enter. For this partical purpose the the feilds in posting key are kept optional.
    Check the feild status of posting key & account T-code FBKP.
    thanks
    Colin Thomas

  • Doubt on Field only exit in RSA6 ?

    Hi,
    I have added few fields from the comm structure to the extract structure for 2lis_02_scl datasource (from right to left). So those fields should be checked or unchecked in field only exit in RSA6. Can you please suggest. Currently those are checked, should I uncheck those.
    Thanks

    Hi Arminder Singh,
    Thanks for the reply. I have 2 doubts on the same, can you please provide your thoughts.
    1) How to determine to add any compatible field to the extract structure ( that is moving from comms truc from right to left) whether its delta capable or not and if its working or not. Becasue even after adding the fields to extract struc and activating the ds and then remove unhide etc., the values are not populated in that field when i check in rsa3, where as the values are existing in the standard table,
    for ex, it says mcremng and i have moved from left to rite...remove hide and remove field avlble in exit and still the values are not coming in the newly moved field. the ds is active and everything is fine.
    Am i doing something wrong ? Can anyone tell me if there is anyway to check if any field moved from comm to extrac struc may not work even after doing the maintain options, activate ds ,generate, unhide etc. How to check if a particlue standard field which was delivered by sap may not work even after adding it to the extract struc and how to analyze that ?
    Hope I am clear what I am saying here.
    Thanks for your time,

  • SoCo : new customer field only in SRM

    Hi All,
    I would like to have some information concerning the possibility to add customer field in SoCo.
    My customer want to see some customer field only in SoCo, but he don't want to send this info to the backend.
    I try to explain better ....
    i receive the RdA from ECC and every time i receive the same one, i need to verify if the quantity are the same. if the quantity are different I need to show this different in the SoCo. To do the calculate I use the BADI BBP_DOC_CHANGE_BADI, but where I must define the new field in ddic and how show it in SoCo ?
    can you help me giving some documentation or something else ?
    thanks
    barbara

    Hi Barbara,
    To add customer fields to the SOCO screen you need to add these fields to the shopping cart first.
    You need to add these custom fields to custom structure and append those structure to the following structures:
    INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF.
    See OSS Note: Note 672960 - User-defined fields 2
    After adding these fields to the above given structure you need to activate them and then you need to regenerate the sourcing cockpit screens.
    For regenerating SOCO screens follow the step in below given OSS Note:
    Note 632982 - Generation of the screens for the sourcing
    Hope this Helps.
    Thanks,
    Pradeep

  • Customer Exit in TX CAPP

    Hello CATS Experts,
    we are using TX CAPP to approve our timesheets based on WBS elements. Problem: Every user who has access to CAPP is able to approve all timesheets.
    We like to activate a customer exit, which should check before approval if the user is allowed to approve the particular timesheet.
    I have activated the BADI "BADI_CATS_APPROVAL" but it seems the badi is not triggered in TX CAPPS.
    So can anybody help me to identifiy the correct BADI?
    Thank you very much in advance.
    Kind regards
    Axel

    Hi,<br>
    CATS user exits are an important tool to customize the functionality of the cross application time sheet. There are 13 of them (release 46B). You can access them via IMG - Cross application components - Time sheet - Customer specific modifications - Create SAP enhancements for the time sheet. Here is a short overview on what they are called and what they do.
    CATS0001 (Set up worklist): This one defines a worklist in the upper part of the CATS screen
    CATS0002 (Supplement recorded data): Here you can add values to customer defined additional fields or even modify the data entered by the user
    CATS0003 (Validate recorded data): This one is to check entries for whatsoever
    CATS0004 (Deactivate functions on the interface): CATS got a lot of buttons. Here you can get rid of the ones you don't need.
    CATS0005 (Customer field enhancements): You can add fields to CI_CATSDB here to later on use to display or enter additional data
    CATS0006 (Validate entire time sheet): Mainly serves to validate the hours entered if you don't use HR
    CATS0007 (Subscreen on Initial screen): Customer popup, defines data valid for the entire time sheet(row) 
    CATS0008 (Determine recipients for the approval workflow): You can connect CATS to a standard workflow so that superiors can approve times entered before they are transferred (HR, CO, PS...)
    CATS0009 (User-Defined Text Fields in the Data Entry Section): You got two 40 character text fields in the data entry part you can fill with this exit - display only
    CATS0010 (Display User-Defined Fields in the Worklist): Same as above for the worklist
    CATS0011 (Customer-Defined Functions): Add your own functions to the menu
    CATS0012 (Customer Subscreen): Define CATS header
    CATP0001 (Determine Target Hours): Define your own target hours 
    [Check this blog|http://it.toolbox.com/wiki/index.php/Setup_the_CATS_-_Cross_Application_Time_Sheet]
    [Other useful link|http://www.integratedcg.com/pdfs/FI2004_1.pdf]
    Good luck<br><br>
    Thanks,
    Amosha
    <br><br>"Known is a drop & unknown is an OCEAN!"

Maybe you are looking for