Using Text Symbols In Webdynpro

Hi Experts,
   When i created a text symbol in my assistance class and provided it to my attribute via the set attribute method it is not working. Is there a different way  of  using Text Symbols or Text Elements
compared to normal ABAP Programming.
Thanks In Advance,
Chaitanya.

Thanks For Your Reply,
  CALL METHOD l_if_el_node_header->set_attribute
    EXPORTING
     value  =   TEXT-001
     name   = 'INPUT_STATE'.
where 001 is the text symbol 'Sym' which has been assigned to the text " DISPLAY MODE " in my
assistance class.
i am guessing we need not preceed 001 with TEXT in the above code , please reply with your inputs.
With Regards,
Chaitanya.

Similar Messages

  • How to use text symbols in webdynpro

    Hello
    I want to assign some text to a variable in webdynpro, that is not a screen field(just a normal variable).
    Instead of hardcoding the text I just want to use a text symbol. Should I go for assistance class or OTR?
    I tried using OTR.but it is not taking the value what I have stored.
    check the below..
    append 'Hello' to  v_text.
    instead of the above i wrote it like,
    append text-001 to v_text, where text-001 is stored in OTR.
    but after executing, v_text contains no value, instead it should take 'hello'.

    Hi,
    make a node and procced as shown below....................
    This is with OTR text
    constants :   lc_directory type string value 'ZHRWEBDEV/IDS',
    data: otr_text  type string,
             otr_text1 type string.
    READ THE NODE CN_IDS TO SET THE ATTRIBUTE VALUES
       data lo_nd_cn_ids type ref to if_wd_context_node.
       data lo_el_cn_ids type ref to if_wd_context_element.
       data ls_cn_ids type wd_this->element_cn_ids.
       data lv_ca_ids like ls_cn_ids-ca_ids.
    READ THE NODE CN_EXAMPLE TO SET THE ATTRIBUTE VALUES
       data lo_nd_cn_example type ref to if_wd_context_node.
       data lo_el_cn_example type ref to if_wd_context_element.
       data ls_cn_example type wd_this->element_cn_example.
       data lv_ca_example like ls_cn_example-ca_example.
    NAVIGATE FROM <CONTEXT> TO <CN_IDS> VIA LEAD SELECTION
       lo_nd_cn_ids = wd_context->get_child_node( name = wd_this->wdctx_cn_ids ).
    GET ELEMENT VIA LEAD SELECTION
       lo_el_cn_ids = lo_nd_cn_ids->get_element(  ).
    NAVIGATE FROM <CONTEXT> TO <CN_EXAMPLE> VIA LEAD SELECTION
       lo_nd_cn_example = wd_context->get_child_node( name = wd_this->wdctx_cn_example ).
    GET ELEMENT VIA LEAD SELECTION
       lo_el_cn_example = lo_nd_cn_example->get_element(  ).
    SET THE CONTEXT CA_IDS
       lo_el_cn_ids->set_attribute(
         exporting
           name =  `CA_IDS`
           value = otr_text ).
    SET THE CONTEXT CA_EXAMPLE
       lo_el_cn_example->set_attribute(
         exporting
           name =  `CA_EXAMPLE`
           value = otr_text1 ).
    Edited by: Neha Thukral on Dec 10, 2008 11:48 AM

  • Use of text symbol in webdynpro

    Hello
    I want to assign some text to a variable in webdynpro, that is not a screen field(just a normal variable).
    Instead of hardcoding the text I just want to use a text symbol. Should I go for assistance class or OTR?
    I tried using OTR.but it is not taking the value what I have stored.
    check the below..
    append 'Hello' to v_text.
    instead of the above i wrote it like,
    append text-001 to v_text, where text-001 is stored in OTR.
    but after executing, v_text contains no value, instead it should take 'hello'.
    Please help me out.

    Hi,
    Plz follow following threads.
    [Assign Text Symbols in assistance class directly to UI element properies]
    [https://forums.sdn.sap.com/click.jspa?searchID=19744239&messageID=6555655]
    I hope it hepls.
    Regards.
    rohit
    Edited by: Rohit Makkar on Dec 10, 2008 9:59 AM

  • How to use long text editor in Webdynpro

    hi ,
    I want to use text editor in webdynpro.  I want to save the data in  long text.
    My requirement is the format of data should remain same(It should not get changed).
    Thanks
    SK

    Hi,
    use text editor uielement and bind it with a attribute of type string.  convert this string into a table using function module
    fill another internal table which is type compatible with table of SAVE_TEXT function module.
    CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text. 
    you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".
    similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.
    Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.
    Thanks
    Vishal Kapoor
    Edited by: vishal kapoor on Oct 19, 2010 3:51 PM

  • ABAP Text Symbol Problem

    Hi experts,
    I'm using function module 'FI_TEXT_ZTERM' to retrieve description texts of terms of payment. However, this function module is using text symbols to generate these texts. So if I log on in English, I could not get Chinese texts if I want.
    Does anybody know some good solutions? Thanks.

    Try the "FI_PRINT_ZTERM" and pass it the language - you'll see at the top of that function that it does a "set language i_langu" and that seems to allow it to return the correct element from the textpool.  Example code below also includes a "how to" on getting the textpool values (should you want them).
    Jonathan
    report zsdn_jc_zterm_text.
    parameters:
      p_repid               type syrepid default 'SAPLFHL2',
      p_langu               type sylangu default sy-langu.
    start-of-selection.
      perform read_textpool.
      perform get_terms_of_payment.
    *&      Form  read_textpool
    form read_textpool.
      data:
        ls_textpool        type textpool,
        lt_textpool        type table of textpool.
      clear: lt_textpool, lt_textpool[].
      read textpool p_repid
        into lt_textpool language p_langu.
      loop at lt_textpool into ls_textpool.
        write: /
           ls_textpool-id,
           ls_textpool-key,
           ls_textpool-entry(70),
           ls_textpool-length.
      endloop.
    endform.                    "read_textpool
    *&      Form  get_terms_of_payment
    form get_terms_of_payment.
      data:
        ls_t052            type t052,
        lt_t052            type table of t052,
        ls_ttext           type ttext,
        lt_ttext           type table of ttext.
      select * into table lt_t052
        from t052.
      loop at lt_t052 into ls_t052.
        call function 'FI_PRINT_ZTERM'
          exporting
            i_langu = p_langu
            i_t052  = ls_t052
          tables
            t_ztext = lt_ttext
          exceptions
            others  = 0.
        loop at lt_ttext into ls_ttext.
          write: / ls_ttext-text1.
        endloop.
      endloop.
    endform.                    "get_terms_of_payment

  • Text symbols

    Hi,
    Does someone know if it's possible in a function module to use text symbols declared in another program (report) ?
    Are Text symbols a part of a report / MF or different objects that can be used outside ?
    Thanks

    If you really need to access a text symbol of a different program or class, you can use the ABAP statement [READ TEXTPOOL|http://help.sap.com/abapdocu_70/en/ABAPREAD_TEXTPOOL.htm].
    To access the text symbols associated to a class, you need to use its include name, e.g.
    READ TEXTPOOL 'CL_OSME_GENERATOR=============CP' ...
    to access the text symbols of the class CL_OSME_GENERATOR. You can use the class CL_OO_INCLUDE_NAMING to determine the include name of a class.
    Of course, the online text repository is the better way to provide a central storage point for texts you want to use in many different programs.

  • How can I use Greek symbols in a text in Pages? Greek symbols are not in the special character list.

    How can I use Greek symbols in a Pages text? Greek symbols are not included in the special character collection.
    I need to import for example a sigma from Word or Adobe illustrator and then Pages can recognise it. I can not find it from within Pages.

    Special character palette from the edit menu does have sigmas under European ... > Greek ...
    You can do a search at the bottom of the Special Character palette. Double click on the greek capital letter sigma. You will get a lot of sigmas.

  • Text Symbols in ABAP WebDynpro

    Hi All.
           I am completely new to this ABAP WebDynpro Coding, i have a requirement, when i am cliking on field i need to display pop up window with some text, it's working fine, the below one is the code for displaying Pop Up:
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = 'W_TEXT_POPUP_SPEDIS'
                      title                  = 'ABAP WebDynpro'
                     close_in_any_case      = abap_true
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                     close_button           = abap_true
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    in the above code, there is one line called title = 'ABAP WebDynpro' that is Pop Up window name, actually i hard coded that one, but my client wants that title name through Text Symbols, i found some thing but it is not working, i really don't know how to do this one, if any one know with step by step solution please help me.
    Really i appreciate.
    Thanks in Advance.
    Thanks and Regards,
    Abhiram.

    hi Abhiram ,
    go to this help ful SAP online content :
    http://help.sap.com/saphelp_NW70EHP1/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    & check for Working with Text Symbols in Web Dynpro ABAP
    with the instance attribute WD_ASSIST, you can access text symbols of the assistance class from within each controller of your component. When the method is called, the three-digit ID of the text symbol is passed to the KEY parameter.
    data: data: my_text type string.
      my_text = WD_ASSIST->IF_WD_COMPONENT_ASSISTANCE~GET_TEXT( KEY = '001' ).
    Text symbols in the assistance class can be maintained from any controller. To do this, choose Goto ->Text Symbols.
    rgds,
    amit

  • Assigning a Value to a Text Symbol: DEFINE

    Hi all,
    I am printing some text in the form. The text is in the database table and is retrieved. say the field name is fld06 in the table ztfin. Previously it is code as &zfin-fld06& in the form edotir. Now my requiremnet is to dispay some other text where ever I have to print ztfin-fld06. I have used the define statement in this way :
    /: DEFINE &ztfin-fld06& = 'Data Fattura'
    But when I look at the output the text is not replaced nor it is realised while I am debugging. Can anyone tellme where I am going wrong ?
    Regards,
    Varun.
    Message was edited by: varun sonu

    hi
    chk this out
    <b>DEFINE: Value assignment to text symbols
    Text symbols receive their value through an explicit assignment. This assignment can be made interactively in the editor via the menu options Include &#61614;&#61472;&#61614;&#61472;Symbols &#61614;&#61472;&#61614;&#61472;Text. This lists all the text symbols of a text module, as well as those of the allocated layout set.
    The contents defined in this way are lost if the transaction is exited. To continue printing the text module, you would have to enter the symbol values again.The DEFINE command allows you to anchor this value assignment firmly in the text, to also have it available when you next call up the text. Furthermore, you can allocate another value to a text symbol in
    the course of the text.
    Syntax:
    /: DEFINE &symbolname& = ‘value’
    Example:
    /: DEFINE &re& = ‘Your correspondence of 3/17/94’
    Example:
    /: DEFINE &symbol1& = ‘xxxxxxx’
    /: DEFINE &symbol2& = ‘yyy&symbol1&’
    /: DEFINE &symbol1& = ‘zzzzzzz’
    Result: &symbol2& &#61614;&#61472;yyyzzzzzzz
    The assigned value may have a maximum of 60 characters. It can also contain further symbols. When a symbol is defined using the control command DEFINE, symbols which occur in the value are not immediately replaced by their value. They are only replaced when the target symbol is output. If the operator := is used in the DEFINE statement, all symbols which occur in the value which is to be assigned are immediately replaced by their current values. The resulting character string is only then assigned to the target symbol when all occurring symbols have been replaced. The length of the value is limited to 80 characters. The target symbol must be a text symbol, as at present.
    Syntax:
    /: DEFINE &symbolname& := ‘value’</b>
    <i>u can also write a perform...endperform to change the value of a field to ur required text.</i>

  • Text symbol for automatic insertion of file and page data

    In Visio I have a footer on my wireframe pages that includes text symbols referencing data about the file (document name, last edited) and also the number of the page. These symbols automatically update as the data changes. I can do something similar in InDesign and Word.
    I cannot seem to find a way to do this in Fireworks. Perhaps I just don't know what the feature is called?
    --Jim

    Apologies, but you weren't particularly clear on the problems you were having in your prior post, so I was just making sure you actually found the shapes.
    You didn't ask about customizing the shapes either. If you had, we might have been able to save you the time. Auto shapes have very specific editable on-canvas features. The rest is controlled under the hood by JavaScript. It's quite likely that - had you opened the JS file - you could have made some of those edits. That's the cool thing about these shapes. You CAN change things.
    I don't pretend to be a JS guru, but when I opened the JSF file, I was able to find the variables for changing font color, size, fill color and whether the text automatically expands to fill the box, in few minutes.
    On the canvas, I can use the Subselection tool to change the width of the box and its fill, as well as the size of the text block.  I can use the customize command for the shape itself to place each piece of information on a separate line.Will you get a warning message when you resize the rectangle? Yes, because you are altering the base parameters of an object controlled by JS. Does it have a negative impact on  the shape? No.
    As for autonumbering of Pages, I isaid that this is an automatic feature in FW. You have no control over it in the current version and as I said, I do not beleive the numbering is carried over to a PDF. Beside each page name you will see a 2 digit number - that is what I was referring to.
    If you do not manually name your pages, FW will also name them onthe sequence in which they were created, Page 1, Page 2 etc. FW will NOT change that name if you change the order of the pages; it sill only update the sequence number.
    As you said yourself, you are new to Fireworks. Don't throw in the towel because of one negative experience, which could have been resolved with more knowledge of the software, or additional questions in the forum. And remember that Fireworks is not just a wireframing tool; it is also a design tool.
    Message was edited by: Jim_Babbage

  • What is a text symbol, what does it do (other than mess with my doc)?

    I am working with FM8 in Tech Comm Suite 1 on Windows XP.
    Some of my docs have text symbols sprinkled liberally throughout the text.  I know you can select the option not to view the text symbols, but they still show up in FM and PDFs and RoboHelp and play havoc with the spacing.
    What are text symbols?
    What purpose do they serve?
    How can you make sure they aren't inserted when creating a doc?
    Is there any way to get rid of them easily?
    Thanks for the help that I know will soon be coming.
    M

    To clarify, text symbols are one of FrameMaker's visual guides that can be optionally displayed in a FrameMaker document window to indicate the location of something else. A text symbol appears as a special character, but never prints or appears in PDF. However, the represented object may indeed affect the way the published document appears. As explained in the FM 9 User Guide, there are text symbols for an end of paragraph, end of flow, tab, anchored frame, table anchor, marker, forced return, equation alignment point, nonbreaking space, discretionary hyphen, and suppress hyphenation. You turn text symbols on and off with the View > Text Symbols command. Doing so does not affect the content of your document; it just helps you locate where the represented objects occur.
    Thus, the problem you are having is not text symbols per se, but the object represented by a text symbol. As others have commented, the tab character can produce the observed results. Viewing text symbols can help you locate the tab characters. While tab characters can be inserted automatically in an autonumber or, in a structured document, in a prefix or suffix, they can also be entered from the keyboard, by pasting, or by converting a document that contains them from another format. You can find tabs that are not automatic using Edit > Find/Change. Type \t as the text you want to find. If you wish you can do a global change to remove all the tabs in the document or change them all to spaces.
              --Lynne

  • Issue passing values to text symbols in Dynamic text PDF forms

    Hello Everyone,
    I am facing a problem related to Dynamic texts in Adobe PDF forms (Text node of type include text). I am able to pass the dynamic values to the Text node properties but i am not able to pass the values to Text symbols inside the Text node. When tested it says the field not found. I have the same structure and field in the CONTEXT as that of the text symbol. The problem i see is because in PDF the field names have $record.(fieldname) ?
    Please share your thoughts if anyone has faced similar problem or know how to handle it.
    Thanks a million in advance,
    Chandu

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

  • Using  texting on-line via a pc

    I personally don't have text messaging.  Is it FREE to use texting via my pc to other customers of Verizon?

     It does not cost anything to send a text from your computer.
    . How do I join Vtext.com?vtext.com. Passwords are case sensitive.  
    To join vtext.com, do the following: Enter your 10-digit mobile phone number
    in Box #1 using ONLY numbers. Do not enter dashes, symbols or spaces.
    Click Send to receive your temporary password as a text message on your
    mobile phone. After you have received your temporary password, enter it in
    Box #2. Enter your desired new password in Box #3. You will need this
    password each time you log back into
    This means that each time you enter your password throughout the site, you
    must type it exactly as you just entered it above. Re-enter your new password
    in Box #4 to confirm spelling. Click Save.
    This site expands your Text Messaging service by offering a spectrum of cool
    messaging features. Register your mobile phone number at
    additional information, click on the How do I Sign In?To sign in, enter your mobile number (using ONLY numbers and NO
    dashes or spaces) and enter your password.  Your mobile number and password can be
     remembered on your computer by choosing the Remember My, Mobile Number and
    Mobile Number & Password checkboxes.  Click the Go button on the side navigation or the Login button onthe Sign In page. You are now signed in. Take a look around. Click the Sign Out link to sign out of  vtext.com 
    What is Vtext.com?Vtext.com is a companion web site for use by subscribers of Text Messaging. www.vtext.com to personalize your messaging experience. Registering is as easy as 1-2-3. Forvtext.com Help tab

  • Translating text symbols and selection texts in abap report

    Hi All,
    I have devolped a report and in that translation of selction texts and text symbols is required.
    Problem: In abap text elements  in the report i have gone for goto->translation->and then i have tried to translate by giving the target language as DE and changed all the texts but when i am tring to save it is showing a message that 'STILL 54 OF 54 TEXTS TO BE PROCESSED'.
    Alternative solution :I have tried even using se63 and selected <rept> selection texts.
    but still its showing the same error  ('STILL 54 OF 54 TEXTS TO BE PROCESSED'.)
    from se63.
    kindly give me solution for this issue.
    Thank you,
    bhavani.

    Hi Bhavani.
    Check the [SAP Document for translation|http://help.sap.com/saphelp_sm32/helpdata/EN/41/71601b3ab0f34a8e00aa01338c68f3/content.htm]

  • Perform setting OOP ALV for multiple reports using Field Symbols

    Hi, Abapers ... i try to write a programme which using ONE oop ALV but 2 different structure internal table. the last result should be 2 radio button. first button is r_wbs and 2ns r_kpi. r_wbs will display 4 column answer and r_kpi will display 10 columns answer with different column name. i successfully implemented using FIELDS SYMBOLS but the problems i failed to perform customized setting forALV (report's tittle, column name, different layout etc)  for 2 different reports.  this is the programme. Please Give Opinion, simple example will be more helpful. Thanks You Very Much
    *&this report experimental how to print into ONE alv
    *&with 2 diffrent structure internal table
    REPORT  zfiroopalv.
    SELECTION-SCREEN BEGIN OF BLOCK mode WITH FRAME TITLE text-002.
    PARAMETERS r_wbs RADIOBUTTON GROUP mode DEFAULT 'X'.
    PARAMETERS r_kpi RADIOBUTTON GROUP mode.
    SELECTION-SCREEN END OF BLOCK mode.
    CLASS lcl_main DEFINITION.
    PUBLIC SECTION.
    CLASS-DATA: md_wbs TYPE c LENGTH 1.
    METHODS: process,
             write.
    DATA: mdo_data TYPE REF TO data.
    TYPES: BEGIN OF st_wbs,
    rsnum TYPE zmeime002a-rsnum,
    rspos TYPE zmeime002a-rspos,
    a TYPE zmmgitab01-menge,
    b TYPE zmeime002a-bdmng,
    c TYPE zmeime002a-bdmng,
    d TYPE zmeime002a-bdmng,
    e TYPE zmeime002a-bdmng,
    f TYPE zmmgitab01-menge,
    g TYPE zmmgitab01-menge,
    END OF st_wbs.
    TYPES: BEGIN OF st_kpi,
    regio TYPE zmeime002a-regio,
    gsber TYPE zmeime002a-gsber,
    gtext TYPE zmeime002a-gtext,
    x TYPE zmmgitab01-menge,
    y TYPE zmmgitab01-menge,
    z TYPE zmmgitab01-menge,
    END OF st_kpi.
    CLASS-DATA: it_wbs TYPE TABLE OF st_wbs,
                wa_wbs LIKE LINE OF it_wbs.
    CLASS-DATA: it_kpi TYPE TABLE OF st_kpi,
                wa_kpi LIKE LINE OF it_kpi.
    PRIVATE SECTION.
    DATA: set_display_setting TYPE REF TO cl_salv_table.
    DATA: display_settings TYPE REF TO cl_salv_display_settings.
    DATA: salv_table TYPE REF TO cl_salv_table.
    DATA: error TYPE REF TO cx_root.
    DATA: errtext TYPE string.
    ENDCLASS.
    CLASS lcl_kpi DEFINITION INHERITING FROM lcl_main.
    PUBLIC SECTION.
    METHODS: process_kpi.
    PRIVATE SECTION.
    ENDCLASS.
    * C.L.A.S.S lcl_main D.E.F.I.N.I.T.I.O.N
    CLASS lcl_wbs DEFINITION INHERITING FROM lcl_main.
    PUBLIC SECTION.
    METHODS: process_wbs.
    PRIVATE SECTION.
    ENDCLASS.
    * m.a.i.n. .p.r.o.g.r.a.m.
    START-OF-SELECTION.
      DATA: o_main TYPE REF TO lcl_main.
    DATA: p_wbs TYPE c.
    CREATE OBJECT o_main.
      CASE 'X'.
      WHEN r_wbs.
          o_main->md_wbs = 'X'.
      WHEN r_kpi.
          o_main->md_wbs = ' '.
      ENDCASE.
      o_main->process( ).
      o_main->write( ).
    CLASS lcl_main IMPLEMENTATION.
    *ENDMETHOD.
    METHOD process.  " NOTE: public method
    DATA: o_main TYPE REF TO lcl_main,
          o_wbs TYPE REF TO lcl_wbs,
          o_kpi TYPE REF TO lcl_kpi.
    CREATE OBJECT: o_wbs,o_kpi.
      IF ( me->md_wbs = 'X' ).
          CALL METHOD o_wbs->process_wbs( ).  " NOTE: private method
          GET REFERENCE OF me->it_wbs INTO me->mdo_data.
      ELSE.
          CALL METHOD o_kpi->process_kpi( ).  " NOTE: private method
          GET REFERENCE OF me->it_kpi INTO me->mdo_data.
      ENDIF.
    ENDMETHOD.
    METHOD write.
    FIELD-SYMBOLS:
      <lt_outtab>    TYPE table.
      ASSIGN me->mdo_data->* TO <lt_outtab>.
    cl_salv_table=>factory(
    EXPORTING
    list_display = if_salv_c_bool_sap=>false
    IMPORTING
    r_salv_table = salv_table
    CHANGING
    t_table = <lt_outtab>
    salv_table->display( ).
    ENDMETHOD.
    ENDCLASS.
    CLASS lcl_kpi IMPLEMENTATION.
    METHOD process_kpi.
    *********** run some select statement into it_kpi*******
    ENDMETHOD.
    ENDCLASS.
    CLASS lcl_wbs IMPLEMENTATION.
    METHOD process_wbs.
    *********** run some select statement into it_wbs*******
    ENDMETHOD.
    ENDCLASS.

    Hi,
    I had similar requirement wherein I was supposed to display different data using 2 different internal tables on a subscreen area.
    The screen consists of two parts: 1) selection-screen with few input fields and two buttons 2) Subscreen area where the report need to be displayed. This report is displayed based on the button that the user is selecting. For this I have done the following things:
    1. Capture the sy-ucomm when user is clicking on any of the two buttons in PAI. Then perform data fetch operation.
             MODULE USER_COMMAND_9003 INPUT.
                 CASE OK_CODE.
                     WHEN 'DETAIL'.
                       GV_RPT = OK_CODE.
                       PERFORM F_GET_DETAIL_DATA.
                     WHEN 'REPORT'.
                       GV_RPT = OK_CODE.
                       PERFORM F_GET_REPT_DATA.
                   ENDCASE.
             ENDMODULE.                 " USER_COMMAND_9003  INPUT
    2.  Declare two different ALV's with the fieldcat similar to 2 internal tables respectively. Use the above sy-ucomm PBO to call appropriate ALV.
             MODULE DISPLAY_ALV OUTPUT.
               IF GV_RPT EQ 'DETAIL'.
                 PERFORM F_FIELDCAT_DETAIL.
                 PERFORM F_LAYOUT_DETAIL.
                 PERFORM F_EXCLUDE_TOOLBAR_DETAIL.
                 PERFORM F_DISPLAY_ALV_DETAIL.
               ELSEIF GV_RPT EQ 'REPORT'.
                 PERFORM F_FIELDCAT_REPT.
                 PERFORM F_LAYOUT_REPT.
                 PERFORM F_EXCLUDE_TOOLBAR_REPT.
                 PERFORM F_DISPLAY_ALV_REPT.
               ENDIF.
             ENDMODULE.                 " DISPLAY_ALV  OUTPUT
    3. Before displaying ALV you need to free the container and ALV.
    FORM F_DISPLAY_ALV_DETAIL .
    IF GC_CONTAINER_ES IS NOT INITIAL.
        CALL METHOD GC_CONTAINER_ES->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_ERROR = 2
            OTHERS            = 3.
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      IF GC_ALV_GRID_ES IS NOT INITIAL.
        CALL METHOD GC_ALV_GRID_ES->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_ERROR = 2
            OTHERS            = 3.
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      IF GC_CONTAINER_TB IS NOT INITIAL.
        CALL METHOD GC_CONTAINER_TB->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_ERROR = 2
            OTHERS            = 3.
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      IF GC_ALV_GRID_TB IS NOT INITIAL.
        CALL METHOD GC_ALV_GRID_TB->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_ERROR = 2
            OTHERS            = 3.
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      CREATE OBJECT GC_CONTAINER_ES
        EXPORTING
          CONTAINER_NAME              = 'CC_9003'
        EXCEPTIONS
          CNTL_ERROR                  = 1
          CNTL_SYSTEM_ERROR           = 2
          CREATE_ERROR                = 3
          LIFETIME_ERROR              = 4
          LIFETIME_DYNPRO_DYNPRO_LINK = 5
          OTHERS                      = 6.
      CREATE OBJECT GC_ALV_GRID_ES
        EXPORTING
          I_PARENT          = GC_CONTAINER_ES
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CALL METHOD GC_ALV_GRID_ES->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT                     = GS_LAYOUT_ES
          IT_TOOLBAR_EXCLUDING          = GT_TOOLBAR_ES
        CHANGING
          IT_OUTTAB                     = GT_ES_REPT
          IT_FIELDCATALOG               = GT_FIELDCAT_ES
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          OTHERS                        = 4.
    ENDFORM.                    " F_DISPLAY_ALV_DETAIL
    Similarly define the FORM F_DISPLAY_ALV_REPT.     
    Hope this will be useful for you. If you have any more queries let me know.

Maybe you are looking for

  • Problem to create a link with parameters using a PL/SQL function body

    Hi everybody, I need some help to create a link on a SELECT statement. I have a region report with type "PL/SQL function body return SQL query". I would like to use a link using HTML tag <a href>. I know how to do the link, but I don't know to pass a

  • K7T266 Pro2 & new hard disk

    Hi I have just upgraded my K7T266 Pro2 with a 2400+ chip (with modification & bios) and upgraded RAM to 1 GB. All works OK. Now I am trying to put in a new 250 GB Western Digital hard disk and installing Windows XP Pro from scratch and I am running i

  • Cover flow only to preview my current playlist?

    My music on my iPhone 4 previews as lists on portrait mode based on a playlist fine. It shows all my albums perfectly within that specific playlist folder. However when I switch over to landscape cover flow mode to view the album covers, it lists out

  • Filter option in MD03 screen as in MD04

    Dear all, I have a requirement wherein the filter option which is present in the MD04 screen is found to be useful whereas the same option is not available in MD03 screen. Can anyone tell the way of enabling the filter option either through Customisi

  • Over 10mb issue

    Hello, trying to download a app but its says i have to connect to a wifi because its over 10mb? whys that? i have internet on my iphone why wont it download it using that connection?