Add fields to field catalogue

Hi all,
first of all : I'm just starting with floorplan manager, please forgive me if I ask dumb questions
I'm trying to add some extra fields to the field catalogue. To do this, we added an include to structure TDS_ITEM_COMV, but it doesn 't show in the field catalogue.
We debugged the method get_definition and it seems that the method get_components from class cl_abap_structdescr dioes not include these fields.
What am I doing wrong ?
thanks for the help !

Hi,
have you tried GET_INCLUDED_VIEW method. Which returns the components in the include.

Similar Messages

  • How to add fields in z of standard program me5j

    Hi Experts,
    i have to add new field in zprogram of standard alv in ME5J.
    its out put structure is MEREP_OUTTAB_EBANACC
    but not getting the method that how to add new feild in that structure, as my values are comming in stab_aban internal table.
    please help me to get out of this as soon as possible.
    waiting for the reply
    Thanks and Regards
    Neha
    Edited by: neha1.gpta on Jun 8, 2010 1:14 PM

    Hi
    Use the function module REUSE_ALV_FIELDCATALOG_MERGE
    Then use the structure MEREP_OUTTAB_EBANACC to create the field catalogue
    Now call the REUSE_ALV_GRID_DISPLAY with your internal table it would work.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         i_program_name               = sy-repid
         I_INTERNAL_TABNAME           =
         i_structure_name             = 'MEREP_OUTTAB_EBANACC '
         I_CLIENT_NEVER_DISPLAY       = 'X'
         I_INCLNAME                   =
         I_BYPASSING_BUFFER           =
         I_BUFFER_ACTIVE              =
       CHANGING
         ct_fieldcat                  = it_fieldcat
       EXCEPTIONS
         inconsistent_interface       = 1
         program_error                = 2
         OTHERS                       = 3
    LOOP AT it_fieldcat INTO wa_fieldcat
        WHERE fieldname = 'CONTRACT' OR
              fieldname = 'ZUPDCIND' .
        IF wa_fieldcat-fieldname = 'CONTRACT'.
          wa_fieldcat-hotspot = c_x.
          MODIFY it_fieldcat FROM wa_fieldcat.
        ELSEIF wa_fieldcat-fieldname = 'ZUPDCIND'.
          DELETE it_fieldcat INDEX sy-tabix.
          MODIFY it_fieldcat FROM wa_fieldcat.
        ENDIF.
      ENDLOOP.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
          is_layout                         = gs_layout
          it_fieldcat                       = it_fieldcat
    TABLES
          t_outtab                          = it_output1
    Edited by: mukesh mahajan on Jun 8, 2010 1:38 PM

  • Add fields LGORT and WERKS to structure KOMBE1

    In case of inbound deliveries, I want to add fields LGORT and WERKS to structure KOMBE1.I want to create an (Header)access sequence that checks on this 2 fields in order to generate the output type.
    So I will add this two fields in structure KOMBE1. Do you know if there is another structure In which I have to add this to fields and what is the user exit to use in order to populate this 2 fields.
    PS: In case of outbound deliveries, in order to add fields in catalogue (Catalogue of fields to access conditions of output), we have to add the fields to structure KOMKBV2 and to structure KOMB.

    The user exit to fill the structure is VCOM0002. Its an SMOD user-exit. Hope you know how to use SMOD user-exits. If not, let me know.
    I think its enough if you add the field to KOMBE1 structure.
    Hope this helps (and solves your problem).
    Anand
    Award if it does.

  • Add fields LGORT and WERKS in table KOMBE1

    In case of inbound deliveries, I want to add fields LGORT and WERKS to structure KOMBE1.I want to create an (Header)access sequence that checks on this 2 fields in order to generate an output type.
    So I will add this two fields in structure KOMBE1. Do you know if there is another structure In which I have to add this two fields and what is the user exit to use in order to populate this 2 fields.
    PS: In case of outbound deliveries, in order to add fields in catalogue (Catalogue of fields to access conditions of output), we have to add the fields to structure KOMKBV2 and to structure KOMB.

    Dear Omar
      This is what the documentation says:
    New Fields For Output Control
    Basics of modification in output control
    The following communication structures are relevant for output control:
    KOMKBK1  (Output Determination Communication Area CAS Appl. K1)
    KOMKBV1  (Output Determination Communication Area Header Appl. V1)
    KOMKBV2  (Output Determination Communication Area Header Appl. V2)
    KOMKBV3  (Output Determination Communication Area Header Appl. V3)
    KOMKBV5  (Communication Structure for Output Control Groups Appl. V5)
    KOMKBV7  (Output Determination Communication Area Shipment Appl. V7)
    KOMPBV1  (Output Determination Communication Area Item Appl. V1)
    KOMPBV2  (Output Determination Communication Area Item Appl. V2)
    KOMPBV3  (Output Determination Communication Area Item Appl. V3)
    KOMB     (Field Catalog for Condition Keys: Output Control)
    New fields for output control are entered in the following INCLUDEs:
    Sales activities: KOMKBZ1 (in KOMKBK1)
    Sales document header: KOMKBZ3 (in KOMKBV1)
    Delivery header: KOMKBZ4 (in KOMKBV2)
    Groups header: KOMKBZF (in KOMKBV5)
    Billing document header: KOMKBZ5 (in KOMKBV3)
    Sales document item: KOMPBZ1 (in KOMPBV1)
    Delivery item: KOMPBZ3 (in KOMPBV2)
    Billing document item: KOMKBZ5 (in KOMPBV3)
    Shipment: KOMKBZH (in KOMKBV7)
    If you also want to use a new field for the setup of condition tables (key field) it must also be included in the structure KOMBZ (contained in KOMB).
    The routines and user exits for assigning values to the new fields are found in the programs RVCOMFZZ, RVCOMFZ1, RVCOMFZ4, and LVCOMFZ1. It is also possible to copy partners here.
    The following user exits exist in member RVCOMFZ1:
    USEREXIT_KOMPBV2_FILL (item fields in delivery)
    USEREXIT_KOMPBV2_PARTNER (item fields for partners in delivery)
    USEREXIT_KOMPBV3_FILL (item fields in billing document)
    USEREXIT_KOMPBV3_PARTNER (item fields for partners in billing document)
    The following user exits exist in member RVCOMFZZ:
    USEREXIT_KOMKBK1_FILL (header fields in sales activities)
    USEREXIT_KOMKBK1_PARTNER (header fields for partners in sales activ.)
    USEREXIT_KOMKBV1_FILL (header fields for sales documents)
    USEREXIT_KOMKBV1_PARTNER (header fields for partners in sales documents)
    USEREXIT_KOMKBV2_FILL (header fields in delivery)
    USEREXIT_KOMKBV2_PARTNER (header fields for partners in delivery)
    USEREXIT_KOMKBV3_FILL (header fields in billing document)
    USEREXIT_KOMKBV3_PARTNER (header fields for partners in billing doc.)
    The following user exit exists in member RVCOMFZ4:
    USEREXIT_KOMKBV5_FILL (header field for groups)
    The following user exits exist in member LVCOMFZ1:
    USEREXIT_KOMPBV7_FILL (Shipment fields for header and stage)
    USEREXIT_KOMPBV7_PARTNER (Shipment fields for partners)
    In output determination, communication table KOMB contains all key fields that can be used for conditions for output determination.
    When you create new fields for output determination, you can distinguish between two types of fields:
    Fields that are used in condition tables
    Fields that are only used to query conditions.
    Both types of field have to be included in KOMKBV1. Fields which are only used to query conditions do not have to be included in KOMB and T681F or in the field catalog.
    Note concerning name assignment
    There are two possibilities for naming the field:
    If the field is identical to the field in the communication table (e.g. VBAK), a value is assigned to it automatically by MOVE-CORRESPONDING. If SAP delivers the field in a subsequent system version, no generation errors will be caused.
    If the field is not identical with the field in the communication table,you have to assign a value to it using the MOVE command. Begin the field name with the letters ZZ. This will avoid generation errors if the field is later delivered by SAP in a subsequent system version.
    Example 1: Creating a new key field in output control
    If, for example, you want to use the field ERNAM (name of sales employee) from the sales order (table VBAK) for output determination, proceed as follows:
    1. Enter the field ZZERNAM in communication structure KOMKBV1 in INCLUDE KOMKBZ3 in the Data Dictionary.
    By entering the field in KOMKBZ3, you automatically include it in communication table KOMKBV1.
    2. Enter ZZERNAM in the communication table KOMB (in KOMBZ).
    3. Assign values to the fields
    Values are  assigned to the fields in function module KOMKBV1_FILL. You have to enter the field and assign value to it manually in user exit USEREXIT_KOMKBV1_FILL. You will find the statements that you can use as a reference in the user exits.
    Copying partner numbers is a special case and will be explained in Example 3.
    4. Include ZZERNAM in the field catalog for the condition table for sales documents. The field catalogs must contain all the fields which you want to use to structure condition tables.
    Example 2: Entering a condition field in the communication block
    If you want to use condition field VBAK-AUDAT for output determination, proceed as described in Example 1. Remember that it is not necessary to include the new field in KOMBZ (KOMB) or to maintain table T681F or the field catalog.
    Example 3: Entering a partner number in the communication block
    Example 3 presupposes that there is a new partner function for buyer ZY in the sales document and that the number of this partner is to be copied.
    When entering partner numbers in the communication block, proceed as described in the examples above. Partner function ZY is assigned to partner type AP in this example.
    Remember to use a different routine to assign values to the new fields. If, for example, you want to copy the partner function ZY into the new field ZZEINKA, for example, the statement is:
    USEREXIT_KOMKBV1_PARTNER
    WHEN 'ZY'.COM_KBV1-ZZEINKA = COM_VBPA-PARNR.
    The VBPA field used to assign a value to the new field depends on the partner function determined in the sales order. Each partner function is assigned to a partner type (e.g. partner function LF - partner type LI), which controls the assignment. Other source fields should be used for other partner types: COM_VBPA-KUNNR, COM_VBPA-LIFNR, COM_VBPA-PERNR and COM_VBPA-PARNR.
    The following assignments exist:
    KU => COM_VBPA-KUNNR
    LI => COM_VBPA-LIFNR
    PE => COM_VBPA-PERNR
    AG => COM_VBPA-PARNR
    <b>   Although i couldnt find any info related to Inbound deliveries.
       Am not really sure, but maybe you can give a try doing the following:
       1. Add fields to KOMKBE1.
       2. Add fields to KOMKBME.
       3. Try populating through user-exit:
    USEREXIT_KOMKBME_FILL of include RVCOMFZZ.</b>
    Kind Regards
    Eswar

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • How to ADD field in iview ?

    hi,
    in portal-iview i want to add a field.
    when i go to 'portal-content -> open the iview with right click -> preview' and then
    do ctrl-alt-right-mouse click i got to the customizing of the fields.
    i know how to HIDE fields there, but i don't know how to add fields ? in the list
    of the fields the necessary fields are available, BUT i only have to options:
    hide -> YES or NOT PERSONALIZED
    any ideas ?
    reg, Martin

    Gopal,
    the root element of this fields does NOT have the option 'decorate'.
    it is the quoata overview of ESS : sap.com/ess~quotas
    the top of the tree has option 'decorate', but this is above the necessary table where
    i select the data.
    my adrl is 
    martin.svik(at)denzel.at
    maybe we can 'change' some screenshots where you can send me yours and i can
    send you mine to explain it in a better way
    reg, Martin

  • How to add fields to Structure in Report Painter

    Hi All,
    We have a requiremnt where we need to add 2 fields ( profit center-PRCTR & description-CEPCT-LTEXT ) to structure CCSS. This structure is attached to library 1VK.
    Is it possible to add fields directly to a structure or do I need to create a new structure and attach it to a new library.
    If any one of this is possible, how can I do this ?

    Hi ,
    u can do it in both the ways , but i am not much sure abt second option.
    Useful Tcodes are GR21.
    Regards
    Prabhu

  • How to add fields in a z table

    hi experts !
    i have to add a new fields to an already existing Z table. how can i add field? do i have to delete all other entries and create new ones so that the entry in the new field also gets created.?
    akanksha

    Hi,
    You have two options to enter data type while creating new field in table.
    1. User standard data types i.e. mandt, kunnr etc..to use it u need to press  "Predefined type" button present on top of table fields.
    2. User custom data elements...this data elements you creates when you want to have data field specified to your required length.
    Hope this will help.
    Sumit

  • Add fields to Existing DSO and DS in R/3

    Hi Friends,
    I have got to change my LO datasource which is running on production, 2lis_va_vatim, i need to add 2 fields to the exisitng DS from Comm Stru, so could anyone point me inthe right direction, Hoow to Add the fields with out disturbing the production,
    and the same way i need to cgane my DSO aswell for new fields, please tell me how to meet this.
    Thanks,
    Kiran.

    Hi Kiran,
    Before applying your changes in Production do the below steps:
    1)run V3 job as immediate, which picks data to delta queue and delete the acive V3 job.
    2)run the IP which loads data to BW(Delta IP).
    3)Apply your changes to the 2lis_va_vatim and DSO.
      i)Do the changes(adding your fields to 2lis_va_vatim and DSO)in DEV and active the 2lis_va_vatim and DSO.(insert this in transports).
    ii)first apply the R3 transport and then BW side.
    4)from now on wards your 2 fileds will get populated in BW side.
    5)Maintain the V3 job for 2lis_va_vatim in R3.
    If you need any clarification how to add fields to 2lis_va_vatim and create transport req pelase check the below article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2050db8b-9d90-2c10-2980-b13a4b0938f6
    Hope this helps.
    Regards,
    Venkatesh.

  • IPC:bute in the field catalogue while processing configuration or pricing i

    Hi,
    I get this error (Message Class: PRC_MESSAGES_EXT (Messages for Calling Public Pricing Modules), Message Type: E, Message Number 099, Message variables: Message variables 1-4: IPC:bute in the field catalogue while processing configuration or pricing in context spe.condmgnt.customizing.dba.imp.AttributeClassObjectManager.createAttributeClassAttributeClassObjectManager.java)
    when we ran IPC userexits. 
    We've added a field ZZPSTYV in the communication structure and modified the method to define this field like follows:
         public String[] determineRelevantAttributesForRequirement(
              boolean headerAttributes,
              int reqNo) {                         String[] relevantAttributes = new String[0];
         //Header?
         if (headerAttributes) {          }
         //Item
         else {
         //KOMP fields
         switch (reqNo){
              case 900:                              relevantAttributes = new String[] {"ZZPSTYV" };                                   break;
        return relevantAttributes;
    Running this code we get the above listed error.  Same error if we define unnecessarily a standard field, such as SOLD_TO_PARTY in place of ZZPSTYV.  
    Can anyone give us some advise as what we did wrong?  Appreciate it very much,
    Yanhui

    Hi Yanhui,
    Is it a item field?  Remember that mixed fields should be declared at the header in the IPC.
    Missing any other requirements?
    Cheers
    Andrew

  • Add fields in KOB2 & KSB2 report in selection screen as well as output

    Dear All,
    I have an issue in which i have to add fields in KOB2 & KSB2 report.
    i need to add below fields to KSB2 report.
    1) Internal order
    2) Vendor
    3) Purchasing group
    I also need to add profit centre in selection screen for KSB2
    Similarly for KOB2 i need to add below fields
    1) Cost centre
    2) Vendor
    3) Purchasing group
    I also need to add cost centre as input for KOB2 report.
    I have gone through note 325546 "CO line item reports: Creating a user-defined field" which can be helpful.
    However i am not sure as to how do i add fields in input screen as required.
    Other alternative is to create a Z report however when i try and copy the report both KOB2 & KSB2 call same report "RKAEP000".
    I am not able to get as to how do i differentiate the call of different screens when ZKOB2 is called or when ZKSB2 is called.
    I could identify " c_item_group" field having different values however i couldnot get a proper logic as to how correct screen can be called based on input
    Please suggest .
    Thanks,
    Ronak

    Hi Raymond,
    The note 747588 is good as soon as you are adding fields from the same table only.
    When I have added additional table into KAEP_SCOVP selection view below COVP (just because the extra fields I need are not in COVP) they will show up in KOB1 as selection criteria, but not getting saved.
    Any idea if any ABAP should be regenerated or what extra steps are required when adding more tables into Selection View?
    Thank you!

  • How to add field to the header for FBL5N ALV report

    Hi,
       I need to add fields to the customer line item display ALV report(FBL5N) header part.Right now there are four fields in the header like customer, company code, name and city, after that I need to add first name last name and phone no. Can any one tell me where exactly I need to add and populate there fields to be appear in ALV output list.
    Thanks in Advance
    Swapna

    Yes I have tried, I have place a break point in that perform but it does not stop. I think that is not the correct place to added and populate fields. That routine is for populate selection screen ranges single and multiple values and parameters only.
    Thanks
    Swapna

  • Field catalogue for ALV Grid when program is run in the background

    Hi All,
    I have an ALV report that contains approx 27 fields.  Not all of these fields will be relevant for different Users, and many will want to change the order the fields appear in.
    When running on line the User can set a variant to present the data as they wish.  However, I need to email this report to the SAP Inbox with the fields displayed in the same Order with uncessary fields hidden as stated in the Field Catalogue.
    On-line none of this is an issue, however GET_FRONTEND_FIELDCATALOG cannot be used in Background, and attribute MT_FIELDCAT_LOCAL is Private and cannot be accessed.
    I have looked at using Class CL_ ALV_VARIANT to try to read the Variant being used, but couldn't get the information about the Variant coming back, instead I get an error in CL_ALV_VARIANT->LOAD_VARIANT.
    Can anybody recommend how to the Field Cat for a Variant for background processing?
    Thanks,
    Tony.

    Hi.
    You can not use an ALV report in Background or write to spool because it is a kind of dialog program.
    You can write only  a List report to spool so please find others sulotions.
    Hope it helps.
    Sayan.

  • Can you add fields that are manually maintained.

    I'd like to be able to add fields to my MAP Toolkit's inventory. For example, adding Asset and Warranty fields, to keep track of this information. I'd be maintaining the data manually, which is fine since it doesn't change very often. Is there a way to extend
    the toolkit to include these types of fields?
    So far the only solution I've been able to think of is to generate reports, convert the .XLS to .CSV, and then use PowerShell to merge the .CSV with a file containing the static information. This would be quite an undertaking as I'd need either different
    scripts, of different logic paths, to deal with the multiple reports available from the toolkit.
    Thanks
    Jim Winner

    The reports are generated using queries that are in stored procedures. I suppose it would be possible to modify the query so that extra columns would be created, but I don't know how you would get the data into MAP.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • How to populate field catalogue fields in ALV using  dynamic internal table

    Hi All,
    Please let me know how to populate field catalogue fields in ALV using  dynamic internal table.
    I have created <dyn_table> using code below.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
                     EXPORTING
                       it_fieldcatalog = g_t_ifc
                        it_fieldcatalog = g_t_fieldcat
                     IMPORTING
                        ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    Now this  <dyn_table>  has fields like idoc no.,creation date ,
    segment field 1, segment field 2 etc..Now idoc no.,creation date  are static fields from table EDIDC. And segment field 1, segment field 2 etc are dynamic fields from table EDSAPPL.
    In my  ALV report I am getting the final layout properly but I am unable to move values to corresponding fields in the final layout shown.Please let me know how to populate these fields from different tables.
    I tried this way but its not working.
    SORT g_t_edid4 BY docnum.
      LOOP AT g_t_edidc INTO g_r_edidc.
        READ TABLE g_t_edid4 into g_r_edid4
                         WITH KEY docnum = g_r_edidc-docnum
                                        BINARY SEARCH.
        IF sy-subrc = 0.
          <dyn_wa> =  g_r_edid4-sdata.
         MOVE-CORRESPONDING g_r_edid4 to <dyn_wa>.
       CLEAR g_r_edid4.
        ENDIF.
    MOVE-CORRESPONDING g_r_edidc to <dyn_wa>.
    APPEND <dyn_wa> TO <dyn_table>.

    You have to assign each field to field symbol and then assign the value to that field symbol and asssign that field symbol to workarea field symbol.
    LOOP AT g_t_edidc INTO g_r_edidc.
    READ TABLE g_t_edid4 into g_r_edid4
    WITH KEY docnum = g_r_edidc-docnum
    BINARY SEARCH.
    IF sy-subrc = 0.
    ASSIGN COMPONENT 'SDATA' OF STRUCTURE <DYN_WA> TO <DYN_FLD>.
    <DYN_FLD> = g_r_edid4-sdata.
    " <dyn_wa> = g_r_edid4-sdata.
    " Assign each fields like this.
    " MOVE-CORRESPONDING g_r_edid4 to <dyn_wa>.
    CLEAR g_r_edid4.
    ENDIF.
    " MOVE-CORRESPONDING g_r_edidc to <dyn_wa>.
    APPEND <dyn_wa> TO <dyn_table>.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Problem gui_download  -Data looks messy without proper column header

    Dear SDNers, Scenario: Using FM GUI_download to download excel file to Presentation server. Excel file downloads perfecly fine on presentation server with proper column headers when the OS is not XP/Vista. Issue: when i run this program on my system

  • Re: (forte-users) No response from Router partition

    Sounds like what we have been experiencing here, on Unix. According to Forté, upgrading to 3M should resolve it. Unfortunately, we can't confirm it yet, as we are in the process of upgrading and testing. I believe this is documented as an "internal"

  • Messages showing up as phone numbers not as names

    just updates to the latest Mountain Lion today.  In Messages, my list of chats that are sent via iMessage are now showing up listed with their iPhone number or their apple id email, not with their names.  In the past, Messages would match these up wi

  • Want to manipulate the ref cursor

    Hi, iam having a procedure whiuch returns a ref cursor as a output parameter having 20 columns. i had to manipulate only 2 columns in that ref cursor output in another calling procedure. iam getting an error when iam fetching the ref cursor result in

  • SourceFire - Adding a License to the Defense Center

    To add a license:  1. Using Defense center Web portal login with Admin access 2. Select System > Licenses, Click Add New License. The Add License page appears. 3. Copy the license from the email, paste it into the License field, and click Submit Lice