ABAP Dynamic

HI,
I am new to ABAP objects..
can anyone explain me what is ABAP Dynamic?
any study material for ABAP objects also
Regards
Giri

Hi,
Refer these basics
OO ABAP
http://www.sapgenie.com/abap/OO/eg.htm
http://www.sapgenie.com/abap/OO/syntax.htm
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/OO/defn.htm
Detailed
OOPS – OO ABAP
http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
these links
http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
For funtion module to class
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
for classes
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
for methods
http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
for inheritance
http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
for interfaces
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
1) http://www.erpgenie.com/sap/abap/OO/index.htm
2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
Thank you,
Gopi.S

Similar Messages

  • Adding rows in web dynpro ABAP Dynamic Interactive form.

    Hi Experts,
              I am having problem in web dynpro ABAP Dynamic Interactive form.
    This is my scenario....
    I have a dynamic interactive form that has buttons to add and remove rows in a table. It works fine when I preview it , but when I render, view or save it using ADS, it no longer works. The "add" button actually does instantiate more repeating rows, because I put some trace messages in to count them, but the added rows are not displayed. How do I make them visible?
    In web dynpro java we write some coding in modify view to set the pdf form as dynamic
    IWDInteractiveForm iForm =
    (IWDInteractiveForm)view.getElement("<ID>");
    iForm.setDynamicPDF(true);
    simillarly what we need to write in web dynpro ABAP.
    Please give me solution for the same.
    Thanks,
    Sathish

    hi all,
             expecting reply from u all. pls help me and give some sugesstion.
    regards,
    vinoth.

  • Doubt about abap dynamic with performs.

    Good Morning Gurus.
    1-I have the tables of price in internal table ( t_a530 , T_a951 ... etc ).
    2- I need filter data by field datbi and datab.
    3-Can I create a perform to pass  a table and after pass other table with other format to taht same perform ?
    4-It abap dynamic.
    5-II do not want to create several performs because I can make only one (with my logic to all tables)
    Can you help me?
    Thanks.

    The program is already doing this except:
        where DATBI => sy-datum
             and DATAB <= sy-datum.
    in my program is:
        where DATBI => sy-datum
    if I change it then dont select duplicate matnrs?
    because today my problem is it:
    He slects all before sy-datum then if the material has 3 entries he show all.
    And I need the most current only.

  • ABAP: dynamic context node + attribute for DROP_DOWN_BY_KEY

    Hello,
    I need to create a Node with attributes dynamically and than assign it to a DROP_DOW_BY_KEY element in ABAP.
    I create drop down this way:
    drop_down_figure = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.FIGURES' on_select = 'GET_OPERATOR' ).
      cl_wd_grid_data=>new_grid_data( element = drop_down_figure ).
      ui_container->add_child( drop_down_figure ).
    However, here I bind to REPOSITORY.FIGURES. Instead of doing this I need to bind it to an attribute that I create.
    I can access wd_context but I am not sure how to create a node in wd_context, then attribute for that node that will contain items for drop down.
    bind_selected_key is type of String. If I create a node with attribute how do I cast it to a String so I can pass it to a constructor of a drop down?
    Thank you.

    Hi Georgy,
    There is a 3 - series weblog for this.
    The first one is:
    /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    The following are the the general steps for creating a node and table where table name is input by the user:
    DATA:
      UI Elements
        group_1       TYPE REF TO cl_wd_uielement_container,
        new_tab       TYPE REF TO cl_wd_table,
      Context Nodes
        dyn_node      TYPE REF TO if_wd_context_node,
        tabname_node  TYPE REF TO if_wd_context_node,
      Node Info
        rootnode_info TYPE REF TO if_wd_context_node_info,
      Data Reference (for internal table)
        stru_tab      TYPE REF TO data,
      String (for table name)
        tablename     TYPE string.
      FIELD-SYMBOLS:
        <tab> TYPE table.
    1) * get node info of context root node
      rootnode_info = wd_context->get_node_info( ).
    2) * create sub node named TEST1 of structure (tablename)
      cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
        parent_info = rootnode_info
        node_name = tablename
        structure_name = tablename
        is_multiple = abap_true ).
    3) * get instance of new node
      dyn_node = wd_context->get_child_node( name = tablename ).
    4) ***** create new UI element table *******************************************************
      new_tab = cl_wd_dynamic_tool=>create_table_from_node(
    ui_parent = group_1
    table_id  = 'TESTTAB'
    node      = dyn_node ).
    5) ***** fill context node with data *******************************************************
    create internal table of (tabletype)
      CREATE DATA stru_tab TYPE TABLE OF (tablename).
      ASSIGN stru_tab->* TO <tab>.
    Get table content
      SELECT * FROM (tablename) INTO CORRESPONDING FIELDS OF TABLE <tab>.
    Bind internal table to context node.
      dyn_node->bind_table( <tab> ).
    Regards,
    Srini.

  • Web Dynpro Abap - Dynamic Component Usage - parameters

    Hi,
    I have a this scenario:
    by a main WD component (COMP_MAIN) I have to call others WD components (COMP_1, COMP_2, COMP_3,...)
    I use Dynamic Component Usage
    l_view_controller_api->prepare_dynamic_navigation(
                        source_window_name          = 'W_SC'
                        source_vusage_name          = 'V_SC_USAGE_1'
                        source_plug_name            = 'TO_USAGE'
                        target_component_name       = l_wa_cmp_usages-used_component
                        target_component_usage      = l_wa_cmp_usages-component_usage_name
                        target_view_name            = ls_cmp_usage_group-interface_view
                        target_plug_name            = ls_cmp_usage_group-inbound_plug
                        target_embedding_position   = l_wa_cmp_usages-embedding_position ).
    l_wa_cmp_usages-component_usage->create_component( l_wa_cmp_usages-used_component ).
    I ask :
    is possible to write context nodes of COMP_MAIN into COMP_x?
    If yes, how can I do that?
    Thank you
    Al

    Hi,
    Please go through below pdf document which will help in understanding the componenet usage in webdynpro ABAP.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f
    Hope it will help you.
    Raghu

  • ABAP dynamic tables add fields

    Hi, i have to extend a dynamic table like this:
    FIELD-SYMBOLS: <g_data> TYPE table.
    I have to build a custom structure with all the fields
    of g_data plus some other fixed fields.
    In other words if g_data looks like this
    AUFNR POSNR
    100   10
    200   20
    My structure must be:
    AUFNR POSNR F1  F2
    100   10    23  21
    200   20    234 32
    Thanks in advance.
    Is anybody here who haves some ideas

    Here is a sample program of how to build a dynamic internal table.
    report zrich_0003
           no standard page heading.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_check type c.
    selection-screen end of block b1.
    start-of-selection.
      perform build_dyn_itab.
      perform build_report.
      loop at <dyn_table> into <dyn_wa>.
        write:/ <dyn_wa>.
      endloop.
    *  Build_dyn_itab
    form build_dyn_itab.
      data: index(3) type c.
      data: new_table type ref to data,
            new_line  type ref to data,
            wa_it_fldcat type lvc_s_fcat.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname  = 'AUFNR'.
      wa_it_fldcat-datatype = 'CHAR'.
      wa_it_fldcat-intlen = 12.
      append wa_it_fldcat to it_fldcat .
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname  = 'POSNR'.
      wa_it_fldcat-datatype = 'CHAR'.
      wa_it_fldcat-intlen = 6.
      append wa_it_fldcat to it_fldcat .
    * Create fields
      clear index.
      do 2 times.
        index = sy-index.
        clear wa_it_fldcat.
        concatenate 'Field' index into
                 wa_it_fldcat-fieldname .
        condense  wa_it_fldcat-fieldname no-gaps.
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 5.
        append wa_it_fldcat to it_fldcat .
      enddo.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
    endform.
    *      Form  build_report
    form build_report.
      data: fieldname(20) type c.
      data: fieldvalue(5) type c.
      data: index(3) type c.
      field-symbols: <fs1>.
      assign component  'AUFNR'  of structure <dyn_wa> to <fs1>.
      <fs1> =  '123456789'.
      assign component  'POSNR'  of structure <dyn_wa> to <fs1>.
      <fs1> =  '000001'.
      do 2 times.
        index = sy-index.
    * Set up fieldname
        concatenate 'FIELD' index into
                 fieldname .
        condense   fieldname  no-gaps.
    * Set up fieldvalue
        concatenate 'FLD' index into
                 fieldvalue.
        condense   fieldvalue no-gaps.
        assign component  fieldname  of structure <dyn_wa> to <fs1>.
        <fs1> =  fieldvalue.
      enddo.
    * Append to the dynamic internal table
      append <dyn_wa> to <dyn_table>.
    endform.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman
    I have modified the sample to include your requirement

  • ABAP: dynamic creation of nested elements

    Hello,
    I need to create a dropDown and put it into transparent container dynamically. Here is some things that I have:
    Trasparent container:
      transparent_container = cl_wd_transparent_container=>new_transparent_container( ).
      cl_wd_grid_layout=>new_grid_layout( container = transparent_container ).
      cl_wd_grid_data=>new_grid_data( element = transparent_container ).
      ui_container->add_child( transparent_container ).
    and a dropDown:
    drop_down_figure = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.FIGURES' on_select = 'GET_OPERATOR' ).
      cl_wd_grid_data=>new_grid_data( element = drop_down_figure ).
      ui_container->add_child( drop_down_figure ).
    I need to put this dropDown inside trasparent container that was just created.
    I can get reference to the container this way:
    tr_cont = ui_container->get_child( index = 1 ).
    return type of the above code is cl_wd_uielement.
    I do not see any methods of this type that allow me to put dropDown inside this element.
    Do I need to cast it to cl_wd_uielement_container type first? If so how is casting done?
    Thank you.

    Hi Georrgy,
    Casting is done using "?=".
    For ex:
    DATA: THE_TABLE_CELL_EDITOR type ref to CL_WD_DROPDOWN_BY_KEY,
    THE_TABLE_CELL_EDITOR ?= wd_table_column->GET_TABLE_CELL_EDITOR( ).
    Here I am getting a table cell editor which can be of any type say dropdown, Link to Action etc and since I need dropdown I am casting it using "?=".
    Regards,
    Srini.

  • ABAP - Dynamic Table in Smart Form

    Dear All,
                 Can i assign a table at run time mens table rows and column will depend on user selection and no. of records fetched by query.  Is there any utility.
    Plz let me know ASAP if there is any. Looking forward to your co-operation.
    Thanks & Regards,
    Gulrez Alam

    Dear All,
                 At the time of table creation in Smart Form, we had to assign no. of columns and its width.
    In the case when no. of coulumns will be decided by the no of records return from the query. how can i link smart form with that records.
    No. of coulms in the smart form will be decided on the i/p no. given by the user. it can be any no.
    Plz suggest me the appropriate things.
    Is it possible or not in the smart forms.
    Thanks in Advance
    Gulrez Alam

  • ABAP: Dynamic creation of transparent container

    Hello,
    I have this code and it fails (null pointer exception):
    transparent_container = cl_wd_transparent_container=>new_transparent_container( ).
      cl_wd_grid_data=>new_grid_data( element = transparent_container ).
      ui_container->add_child( transparent_container ).
    What is the problem? Do I need to create transparent container and pass some parameters?
    Thank you.

    Hello Armin,
    yes it is.
    I have some code like this:
      "create a transparent container
      transparent_container = cl_wd_transparent_container=>new_transparent_container( ).
      cl_wd_grid_data=>new_grid_data( element = transparent_container ).
      ui_container->add_child( transparent_container ).
      "create a dropDown with figures
      drop_down_figure = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.FIGURES' on_select = 'GET_OPERATOR' ).
      cl_wd_grid_data=>new_grid_data( element = drop_down_figure ).
      ui_container->add_child( drop_down_figure ).
    If I comment out code where I create transparent container it works fine and creates dropDown.
    However, as soon as I add transparent container I get NullPointer exception.
    Thank you.

  • Call a HTML page from ABAP dynamically

    Hi,
    My requirement : I need send information to a specific URL in a HTML format and get a response ( just the status)
    We are using an implicit enhancement to gather the details for this. Once the values are populated into form we need to send this form to a specific URL when the customer is getting saved on XD01/ XD02.
    The HTML will not be shown to the user hence I cannot download and then use the execute option using CL_GUI_FRONTEND_SERVICES. ( I have already tried this option and it working perfectly fine )
    Any suggestions of the best way of achieving this ?
    Thank you.
    Regards,
    narayani

    Hi,
         to get the data from URL(http) we have so many function modules under function group SFTP ,recently i used HTTP_GET to get the data from url.
    but i don't know how to send the data to url ,but this following link may helps you,
    https://help.sap.com/saphelp_nw04/helpdata/en/2b/d920434b8a11d1894c0000e8323c4f/content.htm

  • New Web Dynpro ABAP Related eLearnings Available

    Although not a question, I thought using a forum thread to let everyone know about some new Web Dynpro ABAP realted eLearning sessions might be useful. These focus on new features in NetWeaver 7.01 and give a little sneak preview to some features coming later this year in NetWeaver 7.02. I try to publish new sessions twice a month.
    Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding (NetWeaver 7.0)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89
    Web Dynpro ABAP: Defaulting Select-Option Values (NetWeaver 7.0)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
    Web Dynpro ABAP: Drag and Drop (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0760510-a2d5-2b10-de9f-d897679696e3
    Web Dynpro ABAP Flash Islands Tutorial: Google Maps (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f16eef-91ef-2b10-4fb5-d709436f3cc3
    Web Dynpro ABAP Flash Islands Tutorial: Multiple File Upload (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
    Tutorial on ABAP HTTP Client REST Service Calls (using Polestar OnDemand)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/608ef65d-1ff9-2b10-b582-d6445b691719
    Web Dynpro ABAP Tutorial: ACFUpDownload and ACFExecute (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    ABAP Language and Tools 7.02 Preview (Also shows new features in WDA - 7.02)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725
    Web Dynpro ABAP - Islands Revisited (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0c91fc0-932d-2c10-4ca7-f5774950c8e3
    NetWeaver Business Client 3.0 Preview (NetWeaver 7.02)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207c3b88-8c2d-2c10-00bc-bf10a7158f2b
    Future topics coming later this month: "How to do Long Polling/Reverse AJAX in Web Dynpro ABAP 7.02" and "Database Locators and Streams for large STRINGs and XSTRINGS in 7.02".
    I'm also always looking for suggestions for future eLearning topics.

    Hello Thomas.
    I got some questions for you.
    I think you are a great expert on SAP Development Subject.
    I saw the webdynpro tutorials that you appended on this board.
    When I saw the tutorial there were some persons work with me.
    And they were suprised with the beautiful graphics. It's M~uch better than the webdynpro Screens( like colours or Designs) that I use until now.
    So. I want to change my webdynpro development enviroment excatly the same thing as the tutorial's one.
    And I found there is URLS. That means Unified Rendering Light Speed.
    It changes Some of webdynpro's development attributes.
    And I also think it can spoils some or all the webdynpro components that existed before I applied URLS.
    I have two questions.
    one of the questions is this. If I apply URLS on my system, whether the system does get any negative effedcts from the applying.
    The other question is this. I have a experience that use NWBC. And the Tutorial's GUI looks similar to NWBC. I want to know the GUI's name and What should I do if I use it on my system.
    Component Version - ECC 6.0
    Enhencement Package Version 3
    Thank you for your concern and reading.
    I deeply Appreciate you,
    Regards,
    Jonghwan

  • Dynamic mapping

    Hi,
    how to make dynamic mapping?
    Is it possible to make mapping at runtime?
    Thanks a lot.
    Regards,
    Jorge Luiz

    Hello,
    Please see these:
    [Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44]
    [Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89]
    Regards

  • ECC 6.0 saving dynamic program variant

    Hi,
    I have a sap std program, on the selection screen i have an account field.
    now when i select a variant for this program i want the variant to pick up the value dynamically from a FM or a table..
    Is this possible.. if yes then how..
    Thanks for the response..
    All responses will be highly appreicaited

    Hi,
    check the online documentation [Defining Selection Varables|http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/c966398ae5c13ae10000000a114084/frameset.htm] and the SCN articles:
    [ABAP: Dynamic Variant Processing with STVARV|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f05b0f0a-db27-2e10-b4a4-a0272a80f833]
    [Automate Period Opening in SAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a006e1f7-1901-2e10-5cb5-822c4fc9450f]
    Regards,
    Andrea

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus,
    My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.
    Can you please provide any Function module or program code to do it?
    Requirement - User can enter a value into TVARV table by executing a function module or program
    Thank you all, will award points,
    Priyansh

    Hi Priyansh,
    Please refer to SAP Help for more information on variant maintenance and more specifically variable values in variants. You can use t/code STVARV for maintaining the variant variables in table TVARVC (Client-Specific Variant Variables).
    Note: I suggest to use the TVARVC table instead of TVARV.
    If you are looking for Function Modules in the area of Variant Maintenance, then please have a look at Function Group SVAR (t/code SE80).
    If you are looking for Function Modules in the area of User Variables in Variants, then please have a look at Function Group SVUV (t/code SE80).
    Furthermore, if you are looking for a program to update table TVARVC, please have a look at ABAP: Dynamic Variant Processing with STVARV.
    Best eregards,
    Sander

  • Runtime fileds in the file generation.

    Hi,
    I am developing a program to generate a file based on the data from MKPF and MSEG.
    There are five checkboxes like MATNR, MBLNR, LGORT, BWART etc. Based on the checkboxes
    selected I need to put these fields in the file.
    Sometime user may select one checkbox or two or may be all five.
    So how to define the internal table for this because there would be multiple internal tables for the all
    possible combinations.
    Please suggest me how to tackle this with the one inernal table or may be two.
    thanks in advance.
    - Chetan.

    Hi
    You can use dynamic select statements for your requirement, based on the checkboxes selected.
    Search forums for dynamic select statements for usage.
    Check this example:
    [http://sample-code-abap.blogspot.com/2008/07/sap-abap-dynamic-internal-table-and.html|http://sample-code-abap.blogspot.com/2008/07/sap-abap-dynamic-internal-table-and.html]
    Regards
    Raj
    Edited by: Rajasekhar Dinavahi on Dec 2, 2008 1:53 AM

Maybe you are looking for

  • How do I get multiple mc to come to the front on focus

    I know it has something to do with swapDepths and/or getNextHighestDepth. I have tried both extensively for almost 2 weeks. No success! I know I'm doing something wrong. I have a base movie clip (a Yahoo map using Flash API) that loads 18 separate cl

  • Using frame as a clipping path for photo - InDesign CS4

    Hi, This sounds very simple but its just not happening. I am trying to crop a jpg image by using the shape I created with the a combination of the rectangle frame tool and the ellipse tool. First I created a rectangle. Then I created a circle. Then I

  • How can i populate records using LOV value in form 6i

    Create a form based on the following output use EMP Table Create a non Database Block i.e Control Block----> Dept No Create a Database Block -EMP Create an LOV for the Dept no from dept table. For the Current Dept No . Populate the Employee Records H

  • HUGE MacBook Pro Running Mountain Lion Sleepwake Issue!!!!

    Hello. There is simply no way that I can describe this issue. So, I have uploaded a video of it on YouTube in the hope that someone may have an idea of what it is and how to fix it. Thanks... http://www.youtube.com/watch?v=hTtlj5l_LNk&feature=youtu.b

  • Programmatically setting UserPrefs for User Messaging Service

    Hi, do anyone knows or have tried to set UserPrefs, for User Messaging Service in SOA Suite, instead of using the web interface? I have tried using the API provided, but with no success. Appreciate any pointers and hints. Thank you yee thian