What is field group?

hello all,
what is field group?

Hi,
A field group combines several fields under one name. For clarity, you should declare your field groups at the end of the declaration part of your program.
A field group does not reserve storage space for the fields, but contains pointers to existing fields. When filling the extract dataset with records, these pointers determine the contents of the stored records.
Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT . When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.
give the logical database name as F1S in the attributes of the program
NODES: spfli, sflight.
FIELD-GROUPS: header, flight_info, flight_date.
INSERT: spfli-carrid spfli-connid sflight-fldate
INTO header,
spfli-cityfrom spfli-cityto
INTO flight_info.
START-OF-SELECTION.
GET spfli.
EXTRACT flight_info.
GET sflight.
EXTRACT flight_date.
end-of-selection.
loop.
write:/ spfli-carrid,spfli-connid,sflight-fldate.
endloop.
Regards,
Priyanka.

Similar Messages

  • What is Field Grouping and how we do this in SAP CRM SYSTEM?

    Hi Champs,
    I shall be greatful if you guys can provide me the solution as I am a begineer in this stream.
    Regards,
    Conte

    Hi Conte,
    If you are talking about field groupings for a business partner in CRM then it is used
    to define which fields based on your requirement can be made as an
    1)Require an entry (required entry)
    2) Are ready for input (optional entry)
    3) Are displayed (display)
    4)Are hidden (hide),
    For example: when you are creating a customer you want the conatact number of the Customer and you want to make it mandatory, this can be done using field groupings.
    you can follow this path to customize-
    spro>img>cross application components>SAP Business Partner>Business Partner>Basic settings>Field groupings.
    It gives 4 options to configure the fields-
    1)configure field attributes as per client
    2)configure field attributes as per BP role
    3)configure field attributes as per Activity
    4)configure field attributes as per BP type.
    Hope this helps.
    Regards,
    Prathiba

  • Fields symbols and field groups

    what are field symbols and field groups?
    Regards,
    sravanthi

    Difference between Field symbols and Field groups
    what are field groups and field symbols ...

  • 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

  • What's def of field group and intermediate data set

    what's def of field group and intermediate data set

    The drawing panel cannot draw the figures, what's
    wrong?You can't have written this much code and then suddenly detected it doesn't work at all. You must now restart from the point where you had a working program. Then you add code is small increments and see to it that it works in each step and you understand why it works. This method is called stepwise refinement and it does wonders.

  • Z Role not visible in the Field Grouping

    Hi all
       I have created(copied an Existing to a new) a Z Role in the System ! 
       And Saved it ! I could see it as an element in the BP View !
       Now I went to do the Field Grouping !  Under Basic Settings of BP, I selected the Filed Groupings --> Configure Field Attributes per BP Role !
       When I tried  adding my Z Role as a New Entry, I get the error : "Entry does not exist in TB003" !
        What I am missing out ?
        Any Help !
    Thanks
    FYI : CRM 5.0
    Thank

    Hi Jack,
    Please look in to SAP Note : 726197
    Reward if it helps
    Best Regards,
    Johnny.

  • In Material Master Screen,functionally what is Requirement Group in the MRP

    In Material Master Screen,functionally what is Requirement Group in the MRP Screen.Pls explain its functionality

    Hi,
    The safety time / actual range of coverage ensures that the planned warehouse stock covers the requirements of a defined number of days. It therefore serves as a time float and thus works alongside the safety stock, which acts as quantity float.
    The system simulates bringing the requirements forward by the specified number of days and the planning for the receipts, created for these requirements in the planning run, is also brought forward by this number of days.
    Prerequisites
    ·   You have set the Safety Time indicator in the material master record (MRP 2 View) to define whether the safety time is only to apply to independent requirements or to all requirements.
    ·    In the material master record (MRP 2 View), in the Safety Time/Actual Range of Coverage field, you have entered the number of workdays by which the requirements are to be brought forward.
    ·    If, in addition to this actual range of coverage, you also want to define a different number of workdays in certain periods or a safety time less than one day then, in Customizing for MRP in the activity Define Period Profile for Safety Time/Actual Range of Coverage you can define a period profile and assign it to the material in the material master record.
    Regards,
    Vijay

  • Different field groups in the different account groups

    Dear IT Experts,
    I´m working on restructuring authorization in roles concerning the IC and TP customers.
    The goal of this changes is be able to have different field groups in the different account groups (TP and IC), for give you some more detail a good example can be, the same AMS user should be able to change general data and sales views for TP customers  but for IC he should only be allowed to change the sales views, however when the changes are made in the roles they are being ignored because as far as I could check the system does not have as a rule that the field groups are or can be dependent from the account group...
    I can give you a clear example:
    Role A
    F_KNA1_AEN -> VGRUP = 10-16
    F_KNA1_GRP -> ACTVT = 01, 02, 03
    F_KNA1_GRP -> KTOKD = INTR
    Role B
    F_KNA1_AEN -> VGRUP = 16
    F_KNA1_GRP -> ACTVT = 01, 02, 03
    F_KNA1_GRP -> KTOKD = THIR
    Despite it looks fine, the system is not validating the account group with the correspondent field group in each role, so the field groups that the system use is unique, it means it the content of the object F_KNA1_AEN in total independently of used account group!
    So my question is, can we apply any other object that makes the field group being directly depending of the account group, as we can see for example activities for each account group having something similar for field group and account group?
    Can someone please explain me step-by-step how I can do this work even if by another method?
    I´m quite new on this issues and I really need your wisdom to find a solution for this.
    Many thanks
    Katjia

    Hi Manoj
    The debate is each inidividual business unit has defined different account groups for the same vendor in their respective systems.
    The question is : What is the best practice-- Should we keep Vendor account group as main table field and define Vendors with one unique account groups OR we maintain the account group in qualified table each pointing to different business unit.
    In my opinion this is going to be very complex solution. Ideally we need to define all the Harmonization rules before syndicating data to different target systems.
    Is this possibel that the same vendor record which is existing as vendor of different account groups in different systems have same set of attributes. If yes then enabling the remote key for Account group Lookup field is one option and defining a unique Account group 'AG" (which is mapped to say AG1 from remote system1, AG2 from remote system2 and so on..)..
    Managing this via Qualified table will be very complex and not advisabel. As Rajesh also mentioned Account Group in MDM should be considered as Global attribute and all such harmonization rules should be defined in your project. AG1=AG2=AG in above exmaple.
    Hope this clarifies.
    Thanks-Ravi

  • Field symbols and field groups

    Hi friends plz send me the answer for this query:
    What are field symbols and field groups.? what is the"component idx of structure" clause with field groups?

    Hi,
    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
    Regards,
    Priyanka.

  • Field Symbols /Field Groups

    Hi,
    What is the use of Field Symbols and Field Groups?
    pls explain me.
    My email addr [email protected]

    Hi Siva,
    Check the below links
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
    FIELD-SYMBOLS
    Basic form
    FIELD-SYMBOLS <fs>.
    Additions
    1. ... STRUCTURE s DEFAULT wa
    2. ... TYPE t
    3. ... TYPE LINE OF t
    4. ... LIKE s
    5. ... LIKE LINE OF s
    Effect
    This statement declares a symbolic field called <fs>. At runtime, you can assign a concrete field to the field symbol using ASSIGN . All operations performed with the field symbol then directly affect the field assigned to it.
    You can only use one of the additions.
    Example
    Output aircraft type from the table SFLIGHT using a field symbol:
    FIELD-SYMBOLS <PT>.
    TABLES SFLIGHT.
    ASSIGN SFLIGHT-PLANETYPE TO <PT>.
    WRITE <PT>.
    Addition 1
    ... STRUCTURE s DEFAULT wa
    Effect
    Assigns any (internal) field string or structure to the field symbol from the ABAP/4 Dictionary ( s ). All fields of the structure can be addressed by name: <fs>-fieldname . The structured field symbol points initially to the work area wa specified after DEFAULT .
    The work area wa must be at least as long as the structure s . If s contains fields of the type I or F, wa should have the structure s or at least begin in that way, since otherwise alignment problems may occur.
    Example
    Address components of the flight bookings table SBOOK using a field symbol:
    DATA SBOOK_WA LIKE SBOOK.
    FIELD-SYMBOLS <SB> STRUCTURE SBOOK
                       DEFAULT   SBOOK_WA.
    WRITE: <SB>-BOOKID, <SB>-FLDATE.
    Addition 2
    ... TYPE t
    Addition 3
    ... TYPE LINE OF t
    Addition 4
    ... LIKE s
    Addition 5
    ... LIKE LINE OF s
    Effect
    You can use additions 2 to 5 to type field symbols in the same way as FORM parameters (see also Type assignment of subroutine parameters). ASSIGN performs the same type checks as with USING parameters of FORM s.
    <b>Field Groups</b>
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb43e6455611d189710000e8322d00/content.htm

  • Difference between Field symbols and field group

    Hi experts,
    Can you please advice me what is the difference between field symbols and field groups.
    Thanks in advance,
    Logu.

    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.
    example :
    DATA: BEGIN OF SPTAB OCCURS 0,
    line(1000), " or type string
    END OF SPTAB.
    DATA: IDX LIKE SY-INDEX.
    field-symbols <FS1>.
    split tb_sip AT ';' INTO table sptab.
    LOOP AT SPTAB.
    IDX = IDX + 1.
    ASSIGN COMPONENT IDX OF STRUCTURE tb_detsip TO <FS1>.
    If sy-subrc = 0.
    <FS1> = SPTAB-line.
    Endif.
    Endloop.
    append tb_detsip.
    clear idx.
    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
    Reward points if useful.

  • Problem with Field group and layout generation

    Hi,
      Previously we customized the field group OPP_DISPLAY_SEARCH_RESULT_50 using transaction CRMC_BLUEPRINT_C ( for accplication CRMD_BUS2000111)   for our own custom view and the whole thing worked smoothly. However while changing the layout (adding and taking out some field) I came across issues. I am pretty familiar with PCUI and have done some work on this previously. However this time generating and regenerating this field group ( AFTER some changes) has no effect when the PCUI gets executed with that particular view...
    I have used crmc_pcuitools to confirm that the field group in question is the one mentioned aboveand since its not contained in any reference grp, generating the layout for only this field group should be sufficient. However this generation doesn't take effect at all when the PCUI IS EXECUTED. After the generation I made sure that the table CRMC_LAYOUTC does contain generated layout entries for the respective views etc..
    I have also created a test view and completed the similar customization and it didn't work as well. We are at CRM version 5 with SP6. Previously ( around 7,8 month back) the whole procedure worked fine..
    Am I missing anything..
    Thanks

    Hello,
    What are you trying to modify?
    If it is the search result list, it should be OPP_DISPLAY_SEARCH_RESULT_50  that you have to regenerate with the correct view and field group variant.
    If it is the information tab, it s OPP_OVERVIEW_50 that needs to be regenerate.
    Regards,
    Frederic

  • Pharma specific fields (group and subgroup)

    Hallo,
    I have problems with specific Pharma fields (group and subgroup) in CRM Mobile 2007 SP02.
    Some business partners have group and subgroup in pharmaceuticals bookmark in transaction BP.  But in mobile solution I have these business partners without group and subgroup. The combobox for group and subgroup is empty too.
    In table SMOKNA1 (in CRM server and in CRM mobile are columns KVCGROUP and KVCSGROUP empty). I tried make initial load for object CRM_DNL_BPGROUP, but all is the same.
    Have anyone suggestion what I made wrong? Which subscription I need for these attributes.
    Thank you for your help.
    With regards,
    Jiri Halmich

    Hi,
    the issue with the customizing data is solved as Jiri already mentioned above.
    Btw: After synchronizing an adapter object you don't need to run an extract as this is done automatically by the system - and only for the changes (delta sync), not for the complete subscription...
    Concerning the missing data in smokna1: For my understanding this is a standard error. You should create an OSS message for that.
    If you prefer to solve it at your own you would have to do some coding in the Mobile bridge. Using the EEWB dosn't help as the fields are already there in the tables and BDocs.
    Of course you also can chose a "quick & dirty" solution: Create a new CDB table, containing only the sfakna1 and the both BP group fields, define an adapter object which synchronizes the both fields from BUT000 to this table and calculates the sfakna1 field by keygen. Run this adapter object by using a batch job at least once a day. Create a new sBDoc and qBDoc based on this table. Do some small coding in BOL to retrieve the both properties from the new CDB table into the both BOCAPGEN properties.
    Regards,
    Wolfhard

  • Field Notice of assessment in Asset Master (Logical Field group 7)

    Dear Team,
    This is with regard to Field for Screen Layout in Asset Master. Under
    Logical Field group 7 (Real estate and similar rights), there is a
    field group with name 'Notice of assessment'. I would like to
    understand exactly what this field is meant for in standard R/3?
    Thanks and Regards,
    Vish.

    Hi,
    this field has information purposes. In some countries real estate is evaluated by the government for taxation purposes. Here you can specify value, date and tax number of the last tax assessment notification.
    Regards,
    Markus

Maybe you are looking for