Appending a field

With Append command how to append a new field in the present database table and for that field i have to create the data element also.
i already append the field but not able to create the data element . i create predefined dataelement but that i have to convert into data element. how can i dow please send fast

Hi Sonu,
First you know the concepts of Internal tables and Data dictionary. You are confused with the concepts. APPEND statement comes while appending a record to your internal table. And data element comes in Dictionary level. You are merging both of them.
Regards,
Swapna.

Similar Messages

  • Update VBRK append structure field

    Hi,
    I have added append structure field in VBRK.
    While doing billing cancellation, i have to update a value in this field for the billing number.
    I have coded this in a user exit.
    I ve called another program and written coding for updation. DB_UPDATE_TABLE FM  used for updation.
    The value is getting updated in the table. But once it came to the user exit, the value of the field is gone from the table.
    What could cause this issue?
    Thanks in advance.
    Ezhil

    Hi,
    1. Please check in the program that are you clearing the internal table any where ?
    2. If you are using the submit statement you can use with return statement .
    3. Other Export that internal table to memory inside the program and import that same internal table in the  user exit.
    Hope this might helps you to solve your problem.
    With Regards,
    Sumodh.P

  • How can  i append a field directly to xtract structure.

    (with out going to communication structure) while doing xtraction, if i hv a requirement to append a field directly to xtract structure. how can i append that field.

    hai satish,
    Follow these steps:
    go to rsa6 --> select your data source --> double click on the it --> double click on extract structure  --> Click on append structure.
    enter ur Enhancing Field names,
    go back to rsa6 in change mode---> remove hide check for newly added field..
    now go to se37 ---> EXIT_SAPLRSAP_001(for transaction data )
    Ur having some Include program Modify according to Ur fields.
    Thanks,
    kiran.

  • Appending customer field for BAPI_CONTRACT_CREATE

    Hello. 
    I'm trying to append customer field to the table EKPO using BAPI called "BAPI_CONTRACT_CREATE ". 
    I have created a structure and included it into append structure of EKPO. 
    Can anyone tell me what I should do next?
    Regards,
    Tomoko Sakamoto

    Hello Tomoko
    The BAPI has a TABLES parameter EXTENSIONIN having the following documentation:
    FU BAPI_CONTRACT_CREATE          EXTENSIONIN
    Short Text
         ExtensionIn
    Description
         With the parameters ExtensionIn and ExtensionOut, it is possible to
         enhance the interface of a BAPI without modification to achieve the
         automatic processing of customer-specific data.
         The data is passed on in a table. The format of the individual data
         records of this table is determined via the structure BAPIPAREX. This
         structure contains several data record fields (VALUEPART1, VALUEPART2
         etc.) and a field for the name of an auxiliary structure (STRUCTURE).
         Because per data record the data is written piecewise consecutively to
         the data record fields available for the purpose, an auxiliary structure
         is needed for the interpretation of the data.
         In the event that an SAP database table is to be enhanced by additional
         fields, BAPI table extensions are especially suitable as auxiliary
         structures. A BAPI table extension can either be already predefined by
         SAP or created by the customer. Examples of auxiliary structures and
         BAPI table extensions can be found at the following points:
         o   Description of the various customer enhancement options
         o   Enhancement of BAPI based on existing SAP database tables
         o   Enhancement of BAPI through incorporation of additional customers'
             own database tables
         o   Enhancement of BAPI by import data that does not show up the
             database level
         Note that only fields of the data type CHAR and similar data types may
         be used in the BAPI parameter ExtensionIn/ExtensionOut.
         If the customer Include contains deviating parameters, the configurable
         message ME 887 is invoked. However, the data is not adopted in the
         target structure from the container.
    Default
         The auxiliary structures have been defined as follows:
         o   Header data:
             -   BAPI_TE_MEOUTHEADER
             -   BAPI_TE_MEOUTHEADERX
         o   Item data:
             -   BAPI_TE_MEOUTITEM
             -   BAPI_TE_MEOUTITEMX
         o   Account assignment data:
             -   BAPI_TE_MEOUTACCOUNT
             -   BAPI_TE_MEOUTACCOUNTX
    Function Module
         BAPI_CONTRACT_CREATE
    You need to define and structure the values passed by this EXTENSIONIN parameter in a specific way in order to achieve your goal. For more details please refer to:
    [Customer Enhancement and Modification of BAPIs (CA-BFA)|http://help.sap.com/saphelp_nw70/helpdata/EN/6b/3f6d016d0711d396a50004ac96334b/content.htm]
    Regards
      Uwe

  • VA02 user exit - cannot update append structure field in XVBAP/VBAP

    Hi Guys,
    I am currently using one of the many user exits in updating XVBAP to update the VBAP sap table in VA02.
    However I am encountering a problem when updating a customized append structure field. When I change the value of the append structure field only it doesnt update in VBAP upon save event. Only when I also change a sap standard field (ARKTX) the append structure gets updated.
    Is there a way to resolve this wherein even if I just XVBAP-<append structure field> only ... the corresponding field in VBAP gets updated?
    THanks guys and hope to hear from you soon.

    Hi,
    Which userexit subroutine are you using to move the append structure field values to the XVBAP table?  Are you having the user enter values on a screen during VA02 for the append structure fields, or are you setting those values within the code when the user saves?  For the purposes of this response, I will assume you are not having the user enter the values, and that (from what you have described) you are using subroutine userexit_move_field_to_vbap. 
    While userexit_move_field_to_vbap sounds logical at first, you should be aware that this subroutine (which is called at the end of module vbap_fuellen) may only be called when one of the chain fields (in the flow logic of the VA02 screen) is changed.  If you search for all the calls of module vbap_fuellen in screens of SAPMV45A, you will see that most of them have a list of chain fields with "on chain-request" logic.  Since your append structure fields will not be listed in the flow logic of the standard VA02 screen, changing one of the append structure fields alone would not trigger the PAI module vbap_fuellen.  Of course, changing a standard VBAP field (ARKTX was your example) could trigger the vbap_fuellen module (as long as it was one of the chain fields) which would consequently trigger the userexit_move_field_to_vbap subroutine.
    You may want to consider trying USEREXIT_SAVE_DOCUMENT_PREPARE.  Please explain further if I have misunderstood your question. 
    Anyone else out there have any ideas?  Does my analysis make any sense?
    Best Regards,
    Jamie

  • How to append new field in select clause of dynamic VO through CO

    I have dynamic VO "FaoWorkPerObjPerfRatingsVO" in controlloer below:
    public class FaoWorkApprObjectivesCO extends ApprObjectivesCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oam = oapagecontext.getApplicationModule(oawebbean);
    oracle.apps.fnd.framework.server.OADBTransaction oadbtransaction = oam.getOADBTransaction();
    OAViewObject oav = (OAViewObject)oam.findViewObject("FaoWorkPerObjPerfRatingsVO");
    if(oav != null)
    System.out.println("FAO Found VO PerObjPerfRatingsVO for ObjectivesAM. This means we have re-entered the page");
    } else
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    How can I append 2 new fields are MULTIRATERS_AVERAGE and COUNT_MULTIRATERS as statement below in select clause of dynamic VO above (FaoWorkPerObjPerfRatingsVO)
    fao_pems_utility.AVG_STEP_VALUE(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'MULTIRATER',
    Null,
    PCE.COMPETENCE_ID) MULTIRATERS_AVERAGE,
    fao_pems_utility.COUNT_RATINGS(Null,
    Null,
    fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    PCE.COMPETENCE_ID,
    Null,
    'MULTIRATER',
    Null) || ' out of ' ||
    (fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'GROUPAPPRAISER') +
    fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'REVIEWER')) COUNT_MULTIRATERS
    Thank you very much.

    Hi
    My VO is VO Extension below. In the seeded VO (oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO) doesn't include 2 fields that I want to add in VO.
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    Could you please provide me the coding to append 2 new fields in VO Extension approach. I would like to append them in select clause.
    Thank you.

  • Setting Appender's fields in Apache's Log4J

    Hi,
    In the following code snippet (which is written to create a FileAppender & make log4J log to that file):
    import org.apache.log4j.*;
    class sample
    HTMLLayout layout = new HTMLLayout();
    layout.TITLE_OPTION = "DataSE Log";
    String logFileName = "Log.txt";
    Appender appender = new FileAppender(layout, logFileName, true);
    appender.immediateFlush = false;
    appender.bufferedIO = true;
    appender.bufferSize = 64;
    Logger logger = Logger.getLogger();
    logger.addAppender(appender);
    the above snippet is not inside any method. Its directly within the class. In the above snippet, I am encountering 2 types of errors:
    1. Am using the fields of the classes FileAppender & layout. The usage seems to be wrong, because am getting the error "'synatx error on token(s); misplaced construct(s)" & similar errors.
    2. how to specify the bufferSize? Just as '64' or '64K'?
    Thanks.

    1. Am using the fields of the classes FileAppender &
    layout. The usage seems to be wrong, because am
    getting the error "'synatx error on token(s);
    misplaced construct(s)" & similar errors. logger.addAppender(appender);
    You can't have statements like those there. At least use a static initializer (static { ... } ) to do all the stuff you're doing.
    2. how to specify the bufferSize? Just as '64' or
    '64K'?Wouldn't that depend on the type of the field and its usage? RTFAPI.

  • VBAP append structure field on Overview screen 4900

    Hi,
    I have created an append structure on VBAP with a ZZ field and have included this field on the table control in the overview (sub)screen 4900 in SAPMV45A. 
    I have put the field in a number of the PAI CHAIN statements, but whenever I enter a value in the field and hit Enter, the value disappears.
    Does anyone have a definitive list of places that I need to change code to stop the field contents dissappearing?
    Many thanks,
    Andrew

    Hi - I have the issue of presenting ZZ fields from VBAP in the Item overview screen 4900. From your conversation I cannot see any solution to your similar issue. Did you do modifcations or is there a SAP way to include ZZ fileds in the 4900 screen?
    Please respond.
    Best regards Steen Pedersen

  • Appended Comments Fields Not displaying in Open with Access SharePoint 2013

    i have a Issues List which is actively been used as a helpdesk ticketing system amongst one of the groups within my organization. Within that list we have Comments Field( Multiple Line Of text) and its set to Append changes to existing text.
    One of the Office Admins uses the "Open with Access" Feature of that list to open the list in the access view and do some reporting. We are able to open the list in the Access, but Comments Field is not displaying the appended comments in that
    Comments field we talked about above.
    Is there something, i need to tunr on to activate that or is it not supported?
    Your insights would be helpful

    Hi Octopus,
    I understand that you want to display the Appended changes to the multiple line of text field when using "Open with Access".
    Per my knowledge, the “Append change to existing text” feature is the feature of the item view.
    It calls the “Comments” data from the versions and display them on the item view. It is just a “view".
    The original data of the versions does not locate in the list items but in the version files.
    The contents of the “Comments” column are the latest update contents of this column exist in this list.
    So, the contents in the versions will not be displayed in Access when using Open with Access, even if using Export to Excel.
    It is by design.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Append new field after call cl_abap_typedescr= describe_by_name( tabname )

    Dears :
      i use cl_abap_typedescr=>describe_by_name( tabname ) to create a new structure type. The parameter tabname could be 'MARA' .
      and now i want to append a new field such as 'ZTEST' to this structure, is this possible ?
      ths in advance!

    Hi,
      This is possible, Use get_components method to get the list of components
    Then once yout get this list add one more component to this list.
    Then use this list to create your strucutre using the method create.
    See the below code.
    DATA: lr_rtti_struc TYPE REF TO cl_abap_structdescr.
    DATA: lt_comp       TYPE cl_abap_structdescr=>component_table.
    DATA: ls_comp       LIKE LINE OF lt_comp.
        lr_rtti_struc ?= cl_abap_structdescr=>describe_by_data( wa_data ).
        lt_comp = lr_rtti_struc->get_components( ).
        LOOP AT it_elements INTO wa_element.
          ls_comp-name = wa_element.
          ls_comp-type = cl_abap_elemdescr=>get_string( ).
          APPEND ls_comp TO lt_comp.
        ENDLOOP.
        CALL METHOD cl_abap_structdescr=>create
          EXPORTING
            p_components = lt_comp
            p_strict     = abap_false
          RECEIVING
            p_result     = lr_rtti_struc.
    Regards,
    Sesh
    Message was edited by:
            Seshatalpasai Madala

  • Append new fields to table

    Hello,
    If add a new field to a table (append structure) and I switch Off what happens to the information if the table fields was already used?
    Above all, what happpens when you switch off the fields in the table or structure are still available? I made a test and even if it´s switch off I can go to SE16 and made changes....
    Kind Regards.

    hi sagarika ,
      Here you go with the steps ,
    1) Modifing the  structure already appended to a DB table .
        Open the DB  table in change mode, double click on the structure name and bring it to the change mode for modification , and here add the needed fields in the structure , save and activate it . The new structure will then be reflected in your table .
    2) creating a structure and appending it to the DB table !
       go to Txn SE11 -> select the radio button data type -> give a name to it and select the create tab -> choose structure ->give the component name and component type save and activate  !
       again go to SE11 -> give the table name -> choose the change button -> u'll reach the table fields screen -> here you have option for APPEND Structure -> append the structure to your main table .. thats it ...
    Regards,
    Ranjita

  • Appended field is not available in BI

    Hi Gurus,
    I have appended a field in the datasource, removed a hidden tick so that it will be available in BI system but after replication of datasource I still could  not get this field in transfer structure. When I was checking I found that in display datasource window under "Fields" tab for that particular field "Transfer" column is uncheck, due to which the field is not available.
    Now my concern is that how should I make this available in BI.
    any Help will be heavily appreciated.
    Thanks,
    Saurabh.

    Hi,
    I am on BI 3.5 system.
    and I didn't mean that my datasource is not in ROOSFIELD table, it is there but what you are saying is not applicable in my case. in ROOSFIELD, for the appended field  the OLPTSrc version is "A" and Field Attribute is "P" which is what the ABAP program stated above will do and I was very well aware of the program.
    My, ROOSFIELD output is,
    2LIS_XX_XXX                      A               ZZXXXX                      P
    This field was not hidden earlier as well, i could get this field for selection in RSA3 and even in infopackage also.
    But, the only concern is what I posted in my 1st question.
    How will I get that checkbox ticked?
    Thanks,
    Saurabh

  • How to find where the data is coming from in appended field for BW extract

    I am not an ABAP'er ... And this problem is about a BW Extractor
    I am extracting data for my (Utility Industry) Sales Statistics Cube using 0UC_SALES_STATS_01 data source. The Extract structure is BIW_ISU_ESTA and we are appending the structure with a few fields:
    I_ZAHL1
    I_ZAHL2
    I_ZAHL3
    I see some similar fields in DBERCHZ1 which are not the same. The data gets filled in the above fields somehow. I need to find out how and where. We have now diffrent variation of the same data and I'd like to extract that transactional data as well using the same fields rather than appending more fields to an already huge extract structure. When I click on the fields in BIW_ISU_ESTA, it takes me no where. I also tried out the extractor program (RSA3) in debug mode but somehow the fields are already populated. I tried using the ABAP dictinary but can't find a way to find these fields there.
    Any help would be appreciated.
    Thanks a lot.
    Bilal

    Thanks Renata,
    This is a standard business content extractor with the fields enhanced. Usually we have some user exits to populate the fields but in this case we only append the extract table. I couldn't see these fields being part of any existing includes in the extract struct but some how they get populated. I guess system knows from where to copy the data.
    Thanks for your reply though. I am closing this thread as it seems not a very popular cube.
    Bilal

  • Field in Append Structure for Generic Datasource

    Hi:
    I created a Generic Datasource based on a view. After that, I created an Append to the Extraction Structure to include a field not originally on the view (and not related to any table in the view) to be calculated using customer exit in CMOD.
    At the moment of activating the Datasource, this new field doesn't appear in the selection window but in RSA6 it shows there with options "Hide Field" and "Field only Known in Customer Exit" checked.
    Again, I try to edit the Datasource but this field is not in the list to change those two checks.
    Any idea?
    Thanks.
    Luis Sales

    Dear Luis Sales,
    I was having the same requirement. I tried it hard for removing the tick mark on the HIDE option. But it was not working at all.
    I tried these steps.
    1. From RSO2 went to Extract structure. Edit Mode-> append structure.
    2. Appended required fields and activated both append structure and extract structure.
    3. Back to datasource and Save it.
    4. Came out of transaction RSO2. ( latter Logged of system )
    5. after re login - RSA6 selected given Datasource and change. there I could change the selection of HIDE field. ( Even earlier I was not able to do that)
    May be these steps help you out.

  • Appended field in the datasource as selection in infopackage

    Hi,
    I have appended a field in my datasource, say for example, country (ZZCOUNTRY). I set ZZCOUNTRY as selection in the datasource so i can filter by country in my infopackage.  When i check my datasource, ZZCOUNTRY is there. But when i use it in filter, the system is ignoring it.
    Example, if i load all data, i get 5 records. 1 is US, and 4 for CA. when i filter by country US and load my infopackage, i am expecting to get only 1 record, but i still get 5 records.
    do you know if it's possible to use appended field as infopackage filter?
    Thanks
    jti

    Hi
    if u want to enchance your datasouce u are suppose to  maintain the DS in RSA6,and then enable the fields for selections.
    i suppose if the fields are appended fields you can't enable those for selection.
    please check if these fields are enables before u proceed.
    hope this helps
    --- Rashmi

Maybe you are looking for

  • Disk space being filled rapidly and only cleared upon restart. what's up?

    hey, yesterday my macbook pro gave me a disk space error, which i get occasionally because my hard drive is usually pretty full. I try to keep at least 7gb free though, and yesterday i knew that didn't make sense. turns out my hard drive is being fil

  • When using Typewriter tool, text disappears when I click out of box...

    Hi! I'm sure I've seen this question addressed here before but I cannot make the "Search" work.  Every time I search I get "no results" even when I search for something as obvious as PDF. So please forgive me posting a question that I'm pretty sure h

  • Guest network inside company network

    Hi All, I have AirPort Extreme 4th generation which is configured inside company network to give access to internet and internal network for our emplyees. Right now it is working in Bridge mode and just forwards packages from wi-fi clients to DHCP se

  • IPod Update is it April fools already??

    Sound off, post here if the last update caused you more harm than good! I was having trouble with my audio books, podcasts, and video podcasts showing up where they were suppose to. Now with the update, they're nearly impossible to track down. My las

  • How do I fix lack of audio when transfer to DV tape from DVD through TV?

    I learned that you can convert MPEG2 to .dv format by playing a DVD on your TV with your DV camera hooked up and recording the DVD as it plays on your TV. While I am able to record the video onto my DV casette, I get no audio. Does anyone know how to