What is field catlog...

Hi all,
   anybody explain field catelog.
    how to use in reports,what is the use of field catlog.
regards.
krish

Maintaining the Field Catalog
Storing aspect fields in the field catalog
The characteristics and basic key figures are stored in a field catalog when they are saved. This catalog can be seen as a EC-EIS/EC-BP-specific supplement to the ABAP Dictionary. Report-relevant attributes for the fields are also stored in the field catalog. The field catalog is aspect-independent. Once a field is contained in the field catalog, it may be copied to other aspects but may no longer be changed. This guarantees a uniform, cross-area use of evaluation groups and key figures.
You can create field groups to structure the fields in the field catalog. A Field Group is a user-defined grouping of characteristics and basic key figures.
Reorganization of the field catalog
The field catalog and ABAP Dictionary information on the aspect data structures must be consistent with one another - each data structure field must also exist in the field catalog. If this is no longer the case, you should reorganize the field catalog in order to restore the consistency. When you do this, the system reads the aspect structure from the ABAP Dictionary and reconciles it with the field catalog.
Deleting fields from the field catalog
Characteristics and basic key figures, that are no longer used in any aspect, can be deleted from the field catalog. Any relevant master data, comments, generated ABAP Dictionary objects will be deleted at the same time.
You can find more information on the field catalog in Customizing.
We can implement Field catalog  by calling Function modules or classes..
See the sample code
REPORT  ALV_FM.
TYPE-POOLS: SLIS.
DATA:
  BEGIN OF FS_SPFLI,
    CARRID    TYPE SPFLI-CARRID,
    CONNID    TYPE SPFLI-CONNID,
    COUNTRYFR TYPE SPFLI-COUNTRYFR,
    CITYFROM  TYPE SPFLI-CITYFROM,
    AIRPFROM  TYPE SPFLI-AIRPFROM,
    COUNTRYTO TYPE SPFLI-COUNTRYTO,
    CITYTO    TYPE SPFLI-CITYTO,
    AIRPTO    TYPE SPFLI-AIRPTO,
    FLTIME    TYPE SPFLI-FLTIME,
    DEPTIME   TYPE SPFLI-DEPTIME,
    ARRTIME   TYPE SPFLI-ARRTIME,
    DISTANCE  TYPE SPFLI-DISTANCE,
    DISTID    TYPE SPFLI-DISTID,
    FLTYPE    TYPE SPFLI-FLTYPE,
    PERIOD    TYPE SPFLI-PERIOD,
  END OF FS_SPFLI.
DATA:
  T_SPFLI LIKE STANDARD TABLE OF FS_SPFLI.
SELECT * FROM SPFLI
  INTO CORRESPONDING FIELDS OF TABLE T_SPFLI.
DATA: T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
      FS_FIELDCAT LIKE LINE OF T_FIELDCAT.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
  I_INTERFACE_CHECK                 = ' '
  I_BYPASSING_BUFFER                = ' '
  I_BUFFER_ACTIVE                   = ' '
  I_CALLBACK_PROGRAM                = ' '
  I_CALLBACK_PF_STATUS_SET          = ' '
  I_CALLBACK_USER_COMMAND           = ' '
  I_CALLBACK_TOP_OF_PAGE            = ' '
  I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
  I_CALLBACK_HTML_END_OF_LIST       = ' '
   I_STRUCTURE_NAME                  = 'SPFLI'
  I_BACKGROUND_ID                   = ' '
  I_GRID_TITLE                      =
  I_GRID_SETTINGS                   =
  IS_LAYOUT                         =
  IT_FIELDCAT                       = T_FIELDCAT
  IT_EXCLUDING                      =
  IT_SPECIAL_GROUPS                 =
  IT_SORT                           =
  IT_FILTER                         =
  IS_SEL_HIDE                       =
  I_DEFAULT                         = 'X'
  I_SAVE                            = ' '
  IS_VARIANT                        =
  IT_EVENTS                         =
  IT_EVENT_EXIT                     =
  IS_PRINT                          =
  IS_REPREP_ID                      =
  I_SCREEN_START_COLUMN             = 0
  I_SCREEN_START_LINE               = 0
  I_SCREEN_END_COLUMN               = 0
  I_SCREEN_END_LINE                 = 0
  I_HTML_HEIGHT_TOP                 = 0
  I_HTML_HEIGHT_END                 = 0
  IT_ALV_GRAPHICS                   =
  IT_HYPERLINK                      =
  IT_ADD_FIELDCAT                   =
  IT_EXCEPT_QINFO                   =
  IR_SALV_FULLSCREEN_ADAPTER        =
IMPORTING
  E_EXIT_CAUSED_BY_CALLER           =
  ES_EXIT_CAUSED_BY_USER            =
  TABLES
    T_OUTTAB                          = T_SPFLI
EXCEPTIONS
  PROGRAM_ERROR                     = 1
  OTHERS                            = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Pavan P.

Similar Messages

  • WHAT IS DATE BANDLING  WHAT IS FIELD CATLOG IN ALV

    WHAT IS DATE BANDLING  WHAT IS FIELD CATLOG IN ALV
    Explain clearly

    i guess u mean date "Handling"
    What abt date handling?

  • FBL3N - ALV Field Catlog

    I have modified the FBL3N standard Zprogram “RFITEMGL” to add some fields for display in the report. I have changed the input parameters for the Function Module ‘FI_ITEMS_DISPLAY’ in RFITEMGL like it_items = ‘My_table_item’ to display modified table values.  But when I try to append the field catlog ‘gt_fieldcat’ using the following code I am not able to see these fields in the report layout but I have it in My_table_item.
    gt_fieldcat-TABNAME = 'IT_POS1'.
    gt_fieldcat-FIELDNAME = 'NAME1'.
    gt_fieldcat-OUTPUTLEN = '20'.
    gt_fieldcat-SELTEXT_L = 'Vendor Name'.
    APPEND GT_FIELDCAT.
    gt_fieldcat-TABNAME = 'IT_POS1'.
    gt_fieldcat-FIELDNAME = 'MAKTX'.
    gt_fieldcat-OUTPUTLEN = '20'.
    gt_fieldcat-SELTEXT_L = 'Material Desc.'.
    APPEND GT_FIELDCAT.
    What Should I do? Kindly help me

    Hi,
    Just check your code in subroutines
    perform make_fieldcatalog
    perform make_fieldcatalog2
    There may be chance that it is getting deleted in another routine. Also this program used REUSE_ALV_FIELDCATLOG_MERGE
    check how it is populating values.
    Regards,
    Atish

  • Pricing field catlog

    hi,
    what ar the steps to be followed to add new field to pricing field catlog
    say KNBW-WITHT
    PL SUGGEST

    As said above, follow the menu path to reach the Field catalog for Condition tables-
    VOk0- from Menu Environment - Condition table- Maintian Field catalog,
    Here place the cursor,on one of the given filed & choose "F4"- you will observe the list of allowed for fields for pricing.
    if you find the ,desired field in this,selection, Now click on "New entries"- & maintain that fields' tech.name.
    or
    if you dont find the field, which means in Std SAP has nto provided , desired field, so you need to create/add this field in field catalog & move to Pricing structures.
    hope it adds info

  • DSO - What key fields and data fields in dso

    Hi experts,
    I need to create a dso in between the cube and 2 data sources(2lis_11_vaitm, 2lis_12_vcscl) to stage the data. My question is: what key fields and data fields to choose for the dso? is there a standard dso to copy? please explain in detail the model to set up, whether to connect both the ds's to dso and then to cube or one ds to dso and the other to the cube. more details will help.

    Check this for standard DSO:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/fcdc387f34384f94c3227baf3837a8/content.htm
    Thanks...
    Shambhu

  • In adobe camera raw, what metadata field needs to be filled in so that if an image is uploaded to facebook by a customer, your copyright/info shows up?

    In adobe camera raw, what metadata field needs to be filled in so that if an image is uploaded to facebook by a customer, your copyright/info shows up?

    Facebook used to but now I believe it includes it. I also read that possible facebook adds metadata to images uploaded to albums but not wall posts. Regardless, what metadata field has to be filled in?

  • What table/fields show if a PO Item has a G/R Expected?

    Hi experts,
    I am coding a program in SRM, but not sure I'll find these answers there, so I'm likely going to do a RFC to ECC and get the values, but need to know how to identify.
    In ECC:
    (1) What table/field shows if a PO item has a G/R expected?
    (2) Where can I find if the PO item has any open receipts?
    (3) Where can I find the amount remaining to be invoiced on a PO item?
    Thank you very much!
    Mark

    Hi,
    I think EKPO-WEPOS = 'X' mentions that it is expecting G/R..Please see the data element WEPOS documentation for details...
    1) The above is the answer
    For 2) and 3) You can check the table EKBE...in that you can use the field VGABE to different between invoice receipt and goods receipt..
    1     Goods Receipt
    2     Invoice Receipt
    Thanks
    Naren

  • What is Field Label ? and  where do we use it .

    What is Field Label ? and  where do we use it .

    Hi,
    You can assign text information to a data element with the field labels.
    The field labels are used to display a screen field. You can copy structure components and table fields from the ABAP Dictionary to the input template when you define a screen in the Screen Painter (Get from Dict. function). You can also assign a field a field label that is derived from the data element of the field.
    The text of the field label can be translated centrally with the translation tools. The text is then displayed in the input template in the user’s logon language.
    Short, Medium and Long Field Labels
    Keywords of different lengths for identifying screen fields. Since the space available for such texts depends on the input template, you can define the text information in three different lengths.
    A maximum length must be assigned for each field label. It is the upper limit for the lengths of all translations of the given text. The maximum length of the field label therefore should be somewhat longer than the given text in the original language.
    Headers
    This text is used as a column header when you output the contents of fields as a list in the Data Browser. It can also be assigned to a field in the Screen Painter.
    A maximum length must also be assigned for the header. It is the upper limit for the lengths of all translations of the header. Choose the maximum length of the header to be somewhat longer than the given text in the original language. Also note that the header is often displayed above the corresponding column when preparing list output. The length of the header therefore should not exceed the length of the data element.
    Short Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Medium Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Long Field Label
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Heading
    Definition
    One of the following:
    - Short field label
    - Medium field label
    - Long field label
    Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
    Thanks,
    Reward If Helpful.

  • What are field symbols and field groups.?

    hi,
    What are field symbols and field groups.? what is the usage of  "component idx of structure" clause with field groups?
    regards

    sorry, question resolved.

  • What are field symbols and field groups.? Have you used "component idx of s

    What are field symbols and field groups.? Have you used "component idx of structure"

    Field Symbols and field groups
    Field Groups / Extracts
    http://help.sap.com/saphelp_46c/helpdata/EN/9f/db9ede35c111d1829f0000e829fbfe/frameset.htm
    Field Symbols
    http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/frameset.htm
    Field symbols: are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field Groups:
    A field group is a user-defined grouping of characteristics and basic key figures from the EC-EIS or EC-BP field catalog.
    Use
    The field catalog contains the fields that are used in the aspects. As the number of fields grows, the field catalog becomes very large and unclear. To simplify maintenance of the aspects, you can group fields in a field group. You can group the fields as you wish, for example, by subject area or responsibility area. A field may be included in several field groups.
    When maintaining the data structure of an aspect, you can select the field group that contains the relevant characteristics and basic key figures. This way you limit the number of fields offered.
    A field group combines several existing fields together under one name
    like
    FIELD-GROUPS: fg.
    then you can use one insert statement to insert values in fields of field-group.
    INSERT f1 f2 ... INTO fg.
    Field symbols
    If u have experience with 'C', then understand this to be similar to a pointer.
    It is used to reference another variable dynamically. So this field symbol will simply point to some other variable. and this pointer can be changed at runtime.
    FIELD-SYMBOLS <FS>.
    DATA FIELD VALUE 'X'.
    ASSIGN FIELD TO <FS>.
    WRITE <FS>.
    Field symbols: are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field Groups:
    A field group is a user-defined grouping of characteristics and basic key figures from the EC-EIS or EC-BP field catalog.
    Use
    The field catalog contains the fields that are used in the aspects. As the number of fields grows, the field catalog becomes very large and unclear. To simplify maintenance of the aspects, you can group fields in a field group. You can group the fields as you wish, for example, by subject area or responsibility area. A field may be included in several field groups.
    When maintaining the data structure of an aspect, you can select the field group that contains the relevant characteristics and basic key figures. This way you limit the number of fields offered.
    Field Groups / Extracts
    http://help.sap.com/saphelp_46c/helpdata/EN/9f/db9ede35c111d1829f0000e829fbfe/frameset.htm
    Field Symbols
    http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/frameset.htm

  • Problem in ALV Field catlog

    Hi Experts,
    I have an internal table with 20 fields, i used that internal table in REUSE_ALV_FIELDCATALOG_MERGE.
    It's diplayed the output properly. But now i added a new field in the internal table, but its not displaying inthe output even its not comming in the field catlog itself. How to add this one field inthat field catlog list?
    FORM build_field_catalog TABLES   r_field_cat LIKE g_field_cat[].
      CLEAR r_field_cat[].
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = g_repid
          i_internal_tabname     = 'IT_DATA'
          i_client_never_display = 'X'
          i_bypassing_buffer     = 'X'
          i_inclname             = g_include
        CHANGING
          ct_fieldcat            = r_field_cat[].
    I used the above code..
    Can any one help this issue?
    Mohana.

    Can u pl tell me how u have declared this new field? If possible pl. paste ur code.
    If it is declared with TYPE statement then may be the REUSE_ALV_FIELDCATALOG_MERGE cannot process it. It should be declared with LIKE statement.
    Pl. check.
    Regards,
    Joy.

  • What is field symbols in abap

    hi
    what is field symbols in abap in which scenario we can use filed symbols?
    Moderator message : Search for available information, thread locked.
    Edited by: Vinod Kumar on Dec 16, 2011 5:11 PM

    Hai,
    Generally, we use the explicit work area to process the internal table like appending & modifying records. We can reduce the time and improve the performance of the program by using the field-symbols. When we use the LOOP construct with the explicit work area, system need to engage the resources to put the required record in the work area, process it and move it back to the table if the needed. This additional processing time could be saved by using the field-symbol. By using the field-symbols we can save this additional time and improve the performance. Field-symbols are similar to dereferenced pointers in C. While using the field-symbol, system uses the same memory allocated to that particular field in the record instead of moving it to work area and processing
    field symbols
    Edited by: Ravi.Seela on Dec 16, 2011 7:53 AM

  • Query regarding in Field catlog of my oops report

    Hi Experts,
    i developed a program to maintain ZTABLE. When we excute the report i need all fields of table should be non-editable.I done this. but when choose CREATE NEW ENTRY icon all fields should be editable.
    How can i done this dynamical field catlog setting..
    Thanks in Advance...
    Siva.

    hi
    go through this code this is for editable alv
    *& Report  ZDEMO_ALVGRID_EDIT                                          *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display specific fields as          *
    *& editable depending on field value                                   *
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    regards
    anil chaudhary

  • Field catlog in V/03

    Hi,
    Can we add new field catlog in the list (V/03 - create table)?
    if yes how can we add?
    regards,
    Akshay

    Hi,
    For adding field into Field catalogue:
    For example if you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.
    When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.
    Prerequisites:
    For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
    To solve the problem, proceed as follows:
    1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
    2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
    Component   Component type
    ZZPSTYV     ZZPSTYV
    Save, check and activate the change you made.
    3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.
    4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'. Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.
    5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.
    6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:
                  MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
    In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
    Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.For header fields, use structure
    KOMKAZ instead of structure KOMPAZ and USEREXIT_PRICING_PREPARE_TKOMK instead of USEREXIT_PRICING_PREPARE_TKOMP.
    For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition
    Technique) -> New Fields for Pricing' and Note 21040.
    Regards

  • What datatype field do I have to define for a 2^400 number??????

    I need to store a number in a table field. The maximum number is: 2^400.
    I would want to put in the field a Number datatype but the max. is NUMBER(38)
    What datatype field do I have to define for a 2^400 number??????
    Thanks in advance!!!

    Will a float work for you, or do you need every digit?
    SQL> create table t (n number);
    Table created.
    SQL>
    SQL> insert into t(n)
      2  select power(2,400)
      3  from dual;
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from t;
             N
    2.582E+120

Maybe you are looking for

  • JMenuItem justification

    how can I change JMenuItem justification from right to left, because if I create JMenu with glue then JMenuItem sticking out of the JFrame import javax.swing.Box; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; publi

  • Computer to LCD TV

    Hi, Is it possible to connect my G4 to my LCD TV, so I am able to use the tv as a monitor, how would I do that? Thanks

  • Configure SAPGUI in Mac

    I need to configure the sapgui in my mac laptop. Please describe the steps or any good document for the configuration. Thanks

  • Change sysdate and keep the clock ticking

    Hi All We wanted to test some reports which gets processed (there are other date based calculations while processing) monthly, quarterly etc and for that we wanted the sysdate to get changed to a particular date and then the clock should go ticking.

  • Trouble reinstalling XP on T400

    I just got a T400 with XP Pro installed on it. But my friend (whom this laptop is for) needs the Chinese XP, so i try reinstalling windows from scratch, but everytime after the initial driver loading process with the blue background the computer goes