Generic table updation

Hi All,
    I have a requirement as follows.
when a user enters any table on selection screen (standard , custom table etc) the tabel contenets shud be displayed in an ALV grid... it also has to be editable and the changes shud be updated in the table.
I have figured out the dynamic alv concept using field smbols is to be used..
but i need detailed steps.. can anybody help me?
Points will definitely be rewarded.

Hello,
I hope you are asking in ABAP, if so then why you want to post in Webdynpro java forum.
Please change.
REgards
Nizamudeen SM

Similar Messages

  • Auto update of Ztable when ever BSID or BSAD tables updated

    Auto update of Ztable when ever DB table updated     
    Hi experts
    I want my Ztable get updated automatically when ever a record is created or updated in BSID or BSAD tables.
    Here clear requirement
    Generally using Company code & Allocation number  ( 18 char ) my programs access BSID & BSAD tables it is taking very long time for execution almost more than 30 minutes ( data in millions ).
    Step 1.
    I created a new Ztable with limited fields Company Code, Customer, Document, Allocation Number and Posting date.
    Step 2.
    Before look into BSID or BSAD my program searches Ztable for Customer number & Document number using Allocation field and Company code.
    Step 3.
    Once get the Customer & Document numbers accessing BSID & BSAD table is very easy (now just taking less than 1 minute).
    Created a new program to update Ztable every day but BSID and BSAD are live table so I want my Ztable get updated immediately when any entry posted in BSID or BSAD
    Please help me
    Satya
    Singapore

    You need to check what is the procedure (T-Code) from which the data gets updated into these tables.
    For example
    when we craete a material from MM01 the data gets updated in the corresponding table i.e. EKPO.
    In same way you need to find the process and then you can use BTE (Busineess transaction events) for that process. BTE are only for FI module and these tables are also related to FI .

  • Problem in MSEG Table updation

    Hello All,
    The problem is related to MSEG table updation after Stock Transport Order  (STO) is done between Manufacturing plant & Depot. The problem is described below with an example.
    In case of STO the Supplying Plant or vendor is SP02 and the Receiving Plant or the customer is RP15.in the STO under the shipping tab for Customer the system is showing RP15 and under the Delivery address tab for Vendor the system is showing SP02.
    While during PGI when the material document is generated when we check the MSEG table two line items have been generated where  we found that the field WERKS contained SP02 & RP15 against which the feld XAUTO is showing blank space & X symbol respectively.But in case of both LIFNR & KUNNR fields it is showing blank space, which indicates that both the vendor & customer  fields are not getting updated in the MSEG table.
    Now I want the system to pick up the data for KUNNR field (in case of XAUTO is X) also in the MSEG table i.e. RP15 should also be displayed in the MSEG table.
    Is there any configuration to attain my requirement?
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    the ADRx tables are central tables that are used from various transactions in SAP.
    e.g. from customizing, master data maintenance, transactional data, such as purchase orders and sales orders.
    use the ADRNR from ADR6 table and then lookup an entry in table ADRC to find and hint to its origin  field ADDR_GROUP

  • Generic Table Control in ABUMN for multiple transfer of assets

    Hi Experts,
    Problem Description
    We are trying to use transaction ABUMN for multiple asset transfer.
    We need to transfer more than one assets to multiple assets by quantity
    and value.
    Our Efforts/Observation
    Instead of going ahead with BDC/LSMW, we tried using table control to utilize standard SAP functionality.
    For making this happen, we are trying to use the Generic Table control which is available in ABUMN once you click on "Multiple assets" button.
    However, even though we are making fields like
    EL7, EL8 etc available in the screen (by removing check from the "Invisible" check box), they are in display mode and are not giving me any option to select quantity and value that needs to be transferred from each asset.
    We need to assign these fields to some field like quantity/percentage so that they can be used.
    If you see, the column header is also blank.
    We need to transfer hundreds of assets, hence requesting you to please
    fix this urgently so that we can transfer assets and close the quarter.
    Thanks in advance for your help and support,
    Nitish Gupta
    +919867458892

    Hi Nitish,
    I'm sorry, transaction ABUMN will never get this functionality you requested.       
    For mass transfer, customers have the possibilities to use batch input on  transaction ABUM or BAPI.                                                                               
    Please refer customer to the following note :   216806  New posting transactions and batch input                                                                               
    regards Bernhard

  • How to get the name of a Data Element of a generic Table!

    Hi guys!
    In my function i have the following import paramenter
    i_outtab type standard table
    now i import a table and i want to get the dataelement of the fields.
    is there a way to do this??

    Hello Thomas
    Perhaps the following sample report may be useful for you.
    *& Report  ZUS_SDN_RTTI_STRUCT_COMPONENTS
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
    *& Thread: How to get the name of a Data Element of a generic Table!
    REPORT  zus_sdn_rtti_struct_components.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: bukrs    TYPE bukrs.
    TYPES: kunnr    TYPE kunnr.
    TYPES: END OF ty_s_outtab.
    DATA: gdo_data    TYPE REF TO data.
    DATA: gs_outtab   TYPE ty_s_outtab.
    DATA: go_typedescr  TYPE REF TO cl_abap_typedescr,
          go_structdescr  TYPE REF TO cl_abap_structdescr,
          go_datadescr    type ref to cl_abap_datadescr.
    DATA: gs_comp        TYPE abap_compdescr,
          gd_dtel        type string,
          gt_dfies        type ddfields.
    FIELD-SYMBOLS:
      <gs_struct> TYPE ANY.
    START-OF-SELECTION.
      BREAK-POINT.
      GET REFERENCE OF gs_outtab INTO gdo_data.
      ASSIGN gdo_data->* TO <gs_struct>.
      go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
      go_structdescr ?= go_typedescr.
      BREAK-POINT.
      LOOP AT go_structdescr->components INTO gs_comp.
        go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
        gd_dtel = go_datadescr->get_relative_name( ).
        write: / syst-tabix, 'Data element =', gd_dtel.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Method GET_STATIC_ATTRIBUTES with generic table-structure

    Hi ,
    I am trying to select some rows of a web dynpro alv .
      LS_ALL-TABNAME = VAR_NAME_OF_TABLE.
      CREATE DATA LS_ALL-OBJECT TYPE TABLE OF (VAR_NAME_OF_TABLE).      "<<<<<
      INSERT LS_ALL INTO TABLE LT_ALL.
      LOOP AT LT_ALL INTO LS_ALL.
        ASSIGN LS_ALL-OBJECT->* TO <FS_TABLE>.                 "<<<<<
      ENDLOOP.
      LT_ELEMENTS = WD_THIS->DYN_NODE->GET_SELECTED_ELEMENTS( INCLUDING_LEAD_SELECTION = ABAP_TRUE ).
      LOOP AT LT_ELEMENTS INTO LR_ELEMENT.
        LR_ELEMENT->GET_STATIC_ATTRIBUTES( IMPORTING STATIC_ATTRIBUTES = <FS_TABLE> ).
      "coding...
      ENDLOOP.
    My problem: It's a generic web dynpro alv (with a dynamic context node) and i only have the tablename (and so it's structure) of the alv at runtime in a variable.
    I want to select some rows of this alv and get the data of the selected rows, so I try to work with field-symbols, but because of the move-corresponding in the coding of the method IF_WD_CONTEXT_ELEMENT~GET_STATIC_ATTRIBUTES...:
    method IF_WD_CONTEXT_ELEMENT~GET_STATIC_ATTRIBUTES .
      field-symbols:
        <values> type data.
      assign me->static_attributes->* to <values>.
      move-corresponding <values> to static_attributes.
    endmethod.
    ...i get the short-dump:
    German:
    Falscher Typ eines Operanden bei der Anweisung MOVE-CORRESPONDING.
    English:
    Wrong type of operands during the assignment MOVE-CORRESPONDING.
    So how can i get the structure of my generic table and do a move-corresponding with the method above?
    Many thanks in advance!
    Regards,
    Ludwig
    Edited by: Ludwig Heinz on Mar 13, 2008 9:45 AM

    Ok - but how can i make a declaration of dref_tab?
    my coding:
    TYPES: BEGIN OF TS_ALL,
      TABNAME TYPE DD02L-TABNAME,
      OBJECT  TYPE REF TO DATA,
    END OF TS_ALL.
    "dref_tab TYPE HASHED TABLE OF TS_ALL
    "     WITH UNIQUE KEY TABNAME,
      FIELD-SYMBOLS:
      <FS_LINE>  TYPE ANY,
      <FS_STRUCT> TYPE ANY,
    "<FS_TABLE> TYPE ANY TABLE.
      CREATE DATA LS_ALL-OBJECT TYPE (LF_TABLENAME).    
      INSERT LS_ALL INTO TABLE LT_ALL.
    "CREATE DATA dref_tab TYPE TABLE OF (LF_TABLENAME).
    "ASSIGN dref_tab->* TO <FS_TABLE>.
    LOOP AT LT_ALL INTO LS_ALL.
        ASSIGN LS_ALL-OBJECT->* TO <FS_STRUCT>.             
      ENDLOOP.
      LT_ELEMENTS = WD_THIS->DYN_NODE->GET_SELECTED_ELEMENTS( INCLUDING_LEAD_SELECTION = ABAP_TRUE ).
      LOOP AT LT_ELEMENTS INTO LR_ELEMENT.
        LR_ELEMENT->GET_STATIC_ATTRIBUTES( IMPORTING STATIC_ATTRIBUTES = <FS_STRUCT> ).
    "        append <FS_STRUCT> to <FS_TABLE>.
      ENDLOOP.
    syntax-error:
    "dref_tab" is not a datareference-variable.
    So how is the right declarion of "dref_tab" ?
    Many thanks - i've you can solve this - i think i can finish it
    Regards,
    Ludwig

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • How to capture the table update

    How to capture the table update.Suppose I delete a enrtry from the table or mofying any entry in a table is there way to capture that update in SAP?

    hi ,
    follow these steps:
    1. After you selecte the search help for New Responislbe person, domodify gets triggered.
    2. In the wddomodify, get the value of New Responsible person by reading the attribute binded to it.
    3. Now if Value entered is not initial, write a selecte query to fetch the name based on pernr no.
    4. Finally bind the name fetched with the attribute binded to New Responsible person name.
    Wdomodify :
    ************* *Read the New REsponsible person Pernr* ***********
      DATA lo_nd_cn_sflight TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_sflight TYPE REF TO if_wd_context_element.
      DATA ls_cn_sflight TYPE wd_this->element_cn_sflight.
      DATA lv_carrid LIKE ls_cn_sflight-carrid.
    * navigate from <CONTEXT> to <CN_SFLIGHT> via lead selection
      lo_nd_cn_sflight = wd_context->get_child_node( name = wd_this->wdctx_cn_sflight ).
    * get element via lead selection
      lo_el_cn_sflight = lo_nd_cn_sflight->get_element(  ).
    * get single attribute
      lo_el_cn_sflight->get_attribute(
        EXPORTING
          name =  `PERNR`
        IMPORTING
          value = lv_carrid ).
    ****** *Check whethre a value has been entered in PERNR* *************
    if lv_carrid is not initial.
    *************Select Name based on pernr entered* ***********
    select ename from pa001 into lv_ename where pernr = lv_carrid.
    *******Set the Name atttribute with the ename value fetched* *****
      lo_el_cn_sflight->set_attribute(
          name =  `NAME`
          value = lv_cename ).
    endif.

  • 2 generic table iviews in 1 page in 7.0

    Im working on a mss-solution in 7.0, where I need to have 2 or more generic table iveiws in one page, working together with the generic employee seach iview. But I cant get it to work. As soon as I put 2 different table iveiws on the same page, the content in the 2 tables is identical, dispite they are reporting 2 different queries.
    If I do the same in 5.0 or 6.0, it works perfectly.
    Has anyone experienced the same and found a solution?

    Hi,
    It is possible to have a page with two generic table iviews displaying different content!. The issue of the two
    generic table iViews showing up with the same content on your installation might be caused by creating the iViews based on the SAME FPM-view assigned to the corresponding FPM-application.               
    Let me give you a brief step-by-step description of how to create a  page containing two generic table iviews displaying different content based on the Generic iView Testpage:                                                                               
    1. Go to Self-Service Administrator and open the FPM-Application belonging to 'Test Generic iView'. Path is 'Portal Content -> Content provided by SAP -> srvconfig -> com.sap.pct.erp.srvconfig.mss -> Generic iView'. Open the corresponding FPM application                
    Select step 'Define Perspectives'                                     
    2. Select the 'Generic iView table' FPM view from 'Generic iView'-> FPM Views and choose 'Add FPM view to perspective'
        via right mouse-click menu.                                      
    3. Enter an ID for the view within the  perspective and maintain the properties accordingly (i.e. enter an appropriate query)          
    4. Save the FPM Application..                                         
    5. Go to Content Administration.                                      
    6. expand 'Portal Content -> Content provided by SAP' -> line_manager -> iViews                                                                  
    Choose 'New iView' from right mouse menu.                                 
    7. Choose 'Web Dynpro Java application' and  press 'Next'                  
    8. Choose 'Create one iView from each application view' and press 'Next'   
    9. Choose your 'Generic iView Table' under msseeprogenericiview -> com.sap.xss.hr.eeprofile.genericiview.TestGenericIview
    -> TestGenericIview and  press 'Next'                                      
    10. Fill in iView Name and ID and press 'Next'                             
    11. Deselect 'Open page wizard to create WebDynpro page' and press 'Next   
    12. Press 'Finish'.                                                        
    13. Choose 'Close wizard' and press 'Ok'.                                  
    14. Open the 'Generic iView Test' page under 'Pages -> HCM'                
    15. Select the new iView create as described above and choose 'Add iView to page' -> 'Delta Link' via right mouse menu              
    16. Adjust Page Layout if necessary.                                       
    17. Save the 'Generic iView Test' page                                     
    Follow the above guide to add a second Generic Table iView to your Test Page. The page should show up then with two list and two table iViews and a TeamViewer. After selecting an employee in the TeamViewer the two generic table iViews should show up with different content.
    I suggest you to go through the link https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=118423928 , where I explained how you can include iview from one page to another.
    Regards
    Pooja

  • Tables updating for atransaction

    Hi All,
       i wnat to know is there any transaction code or program to know the tables updated for a transaction.
    we have a transaction called PPOM and FS00 ,i want to know which tables are updated when i create new records for these transaction codes.
    With regards,
    kiran I

    Hi,
      You can check tables CDHDR and CDPOS tables.
    You can check the modified tables, values, by which transaction does this modification has been done.
    Give current date to check. As these are cluster tables, it may take some time for retrieving data.
    CDHDR - header details
    CDPOS - item details
    Regards,
    Sailaja.
    Dont forget to reward points, if answer helps you.
    Message was edited by: Sailaja N.L.

  • [SQL SERVER 2000] Generic table exporter

    Hello every body.
    First of all sorry for my bad english but I'm french ;-)
    My internship consits into making a generic table exporter (with a table list). Export into csv files.
    I have tried 2 solutions :
    1 - Create a DTS with a Dynamic Properties Task. The problem is I can easily change the destination file but when I change the table source I don't know how to remap the transformations between source and destination (do you see what I mean ?). Any idea ?
    2 - Use the bcp command. Very simple but how to do when tables contains the separator caracter ? for example : If a table line is "toto" | "I am , very happy" --> the csv file will look like this : toto, I am , very happy --> problem to get back the data ( to much comma ).
    Does someone has a solution ?
    Last point is how to export the table structure ? For the moment, using the table structure, I generate an sql query which creates a table (I write this query in a file). Isn't there any "cleaner" solution ?
    Thanks in advance and have a nice day all

    Answers,
    1. Use ActiveX script to transform. Refer
    http://technet.microsoft.com/en-us/library/aa933459(v=sql.80).aspx
    2. Replace the pipe delimiter first with comma if it is a single column and use bcp command. Refer
    http://technet.microsoft.com/en-us/library/aa174646(v=sql.80).aspx
    3. Regarding generating script refer
    http://stackoverflow.com/questions/4058977/exporting-tables-and-indexes-from-one-sql-server-2000-database-to-another
    Regards, RSingh

  • Tables updated while creating order, before saving

    hi friends,
    Please provide list of tables updated while creating the order, before saving it.
    regards,
    vandana arora

    Hi
    The following tables get updated
    VBBE - Sales Requirement
    VBLB - Release Order Data
    VBAK - Sales Document Header
    VBPA - Partner Table
    VEPVG - Delivery Due Index
    VBAP - Sales Document Item Data
    VKDFS - SD Index: Billing initiator
    VAPMA - SD Index: Order Item by Material
    VAKPA - SD Index: Order Item by Partner Function
    VBEP - Schedule Line
    VBKD - Sales Doc: Business Data
    VBEH - Schedule Line History

  • How downtime can be reduced for setup table update.

    Hi;
    Can anyone tell me various ways to reduced system downtime for setup table updates.
    thanks
    Warm Regards
    Sharebw

    Hi,
    You will need to fill the set up tables in 'no postings period'. In other words when no trasnactions are posted for that area in R/3 otherwise those records will not come to BW. Discuss this with end user and decide. Weekends are a general choice for this activity.
    try Early Delta Initialization
    With early delta initialization, you have the option of writing the data into the delta queue or into the delta tables for the application during the initialization request in the source system. This means that you are able to execute the initialization of the delta process (the init request), without having to stop the posting of data in the source system. The option of executing an early delta initialization is only available if the DataSource extractor called in the source system with this data request supports this.
    Extractors that support early delta initialization are delivered with Plug-Ins as of Plug-In (-A) 2002.1.
    You cannot run an initialization simulation together with an early delta initialization.
    hope this link may make you clear about early delta init
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/frameset.htm
    thanks,
    JituK

  • Which are the tables updated in SRM and R/3 System for SC created?

    Hi,
    I want to know which are the tables updated in SRM system and also in R/3 system, when a Shopping Cart is created. Also how do i get the PO number for the Shopping Cart created.
    Thanks.
    Regards.
    Rahul

    Hello Rahul,
    All list of tables for eg. SC You can find in transaction BBP_PD on SRM side.
    These tables are (SRM):
    - CRMD_ORDERADM_H - for Header (Business Transactions Header)
    - BBP_PDHGP - Business Transaction Purchasing Information
    - CRMD_ORDERADM_I - for Item - Business Transaction Item
    - BBP_PDIGP - Business transaction item-Purchasing information
    - BBP_PDBEI - Backend Specific Item Data
    On R/3 side:
    EBAN - purchase requisition
    EBKN - purch. req. account assignment
    Regards,
    Marcin Gajewski
    please reward points for helpful answer

  • RAISING AN EVENT WHEN DATABASE TABLE UPDATES

    hi all,
             i want to raise an event when database table updates.For eg : if a price of a material has been changed then i have to raise an event and run the abap program in back ground.i know transaction SM62 to create event, i dont know about transaction SM64. please give me the procedure how to solve this problem. i dont know work flow. please give me a sample code how to raise event.
    thanka and regards
    suresh

    Hi Suresh
    It is important to understand that the SAP architecture abstracts the database from the application.
    I think that you should look for ways that the application triggers an event when an update has taken place, rather than the DB.
    Two ways of doing this that spring to mind are change pointers (for the ALE interface, see menu SALE) and Business Transaction Events (various things including CRM integration, see menu FIBF).
    The latter works very well for sending prices to CRM when they change. I am more familiar with this than ALE so I will discuss it.
    If you go to menu FIBF and then follow menu path Environment -> Info System (P/S), and then run the report for event 00503301, you can find documentation and a sample function module that you can copy.
    Once you register your new function module in the event tables then it will be called when prices are changed.
    Cheers
    Dom

Maybe you are looking for

  • Open and close a PO in web dynpro in SRM 7.0 screen .

    Hi All , I am creating a PO in SRM 7.0 by using excel upload via web dynpro screen . After the upload , I see that there are some problems with the PO in web dynpro . For example , when i click on the line item it dumps and there are some other simil

  • How to change money market maturity date in TR modul

    Dear Friends, I want to change the maturity date for money market transaction. Currently the due date is 29.09.2008 but I want to change it to 15.04.2008. When I change it using tcode TS02, an error massage "End of term is before end of calculation p

  • Error message when trying to add transitions

    can't add transitions in imovie 6, but I could 2 days ago. It was also failing to render titles.I tried these suggestions from this great forum: trashed iMovie prefs,repaired permissions, checked for 3rd party plug-ins, ran repair hard disk,ran MacJa

  • What are the best design requisites for a Query design?

    Hi Guru's Could you please let me know,which item will execute first when you run a query,I mean Calculated keyfigure,restricted keyfigure or formula  e,t,c...How does it effects the Query performance?What are the design requisites to optimise better

  • Data Refresh

    Hello Gurus We have a query reg the data refresh....recently we have made the the Quality CRM and R/3 data refresh, i want to know wht all the things we need to be  consider for post data refresh i mean in terms of middleware........ as per my knowle