Reg creation of dynamic popup

Hi Experts,
                 I have a View in which I need to fill data through a Popup on action of a button.
I have a View (Say VIEW1) with a button and some input fields.
on press of the button I need to call a popup (with input field), fill the data in the popup and then press YES button(in popup) which will fill field in VIEW1.
How can I achieve this.
Thanks in advance.

Hi ,
You can follow these steps:
1.Firstly create a separate view  say 'V_POPUP' for your popup window. Place the required uielements.
2. Create a window 'W_POPUP' and embed  the view 'V_POPUP'.
3.Now you can call the popup as follows and subscribe the action for 'OK' button
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component  TYPE REF TO if_wd_component.
DATA lo_popup_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_popup_window = lo_window_manager->create_window(
* your window name
window_name = 'W_POPUP'
title = 'POPWindow'
close_in_any_case = abap_false " cancel action in entertainment_view
close_button = abap_true
default_button = if_wd_window=>co_button_ok " Subscribe OK in entertainment_view
button_kind = if_wd_window=>co_buttons_okcancel
DATA:  l_api TYPE REF TO if_wd_view_controller.
  l_api = wd_this->wd_get_api( ).
  lo_window->subscribe_to_button_event(
               button            = if_wd_window=>co_button_ok
               action_name       = 'OK_POPUP' " create an action with this name in the Actions tab
               action_view       = l_api
               is_default_button = abap_true ).
lo_popup_window->open( ).
Write the required code in the 'OK_POPUP' action.

Similar Messages

  • Reg: Creation of Dynamic Internal table

    Hi All,
    I got a requirement which should be handled by creating dynamic internal table.
    *Scenario: *
    1.First I will fetch data from one table into an internal table.
    Let suppose I am fetching the fieldnames of the table MAKT from DD03l. Then I will having following records in my internal table.
             MANDT
             MATNR
             SPRAS
             MAKTX
             MAKTG
    2.Now I need to download these fields into an excel file with same field names as headings as shown below
         |  MANDT  |  MATNR  |  SPRAS  |  MAKTX  |  MAKTG  |
    3.Later User will enter data for all those fields in the downloaded excel file and again upload the file. Here I need to create dynamic internal table because the table name is dynamic. Based on the table name, field names will be varying..
    Please provide me solution for the above..
    Thanks,
    Ravee

    Hi
    U can try something like this:
    TYPES: TY_LINE TYPE STRING.
    PARAMETERS: P_TABLE TYPE DDOBJNAME.
    DATA: DYN_TAB TYPE REF TO DATA.
    FIELD-SYMBOLS: <FS_TAB>   TYPE TABLE,
                   <FS_WA>    TYPE ANY,
                   <FS_FIELD> TYPE ANY.
    DATA: DFIES_TAB TYPE TABLE OF DFIES WITH HEADER LINE.
    DATA: W_LINE(10000) TYPE C.
    DATA: V_OFFSET TYPE I.
    DATA: LAST_FIELD.
    START-OF-SELECTION.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          TABNAME        = P_TABLE
        TABLES
          DFIES_TAB      = DFIES_TAB
        EXCEPTIONS
          NOT_FOUND      = 1
          INTERNAL_ERROR = 2
          OTHERS         = 3.
      IF SY-SUBRC <> 0.
        MESSAGE I208(00) WITH 'No table'.
        STOP.
      ENDIF.
    * Create internal table
      CREATE DATA DYN_TAB TYPE TABLE OF (P_TABLE).
      ASSIGN DYN_TAB->* TO <FS_TAB>.
    * Create Header
      LOOP AT DFIES_TAB.
    * Insert field name
        MOVE DFIES_TAB-FIELDNAME TO W_LINE+V_OFFSET.
        V_OFFSET = V_OFFSET + 30.
        AT LAST.
          LAST_FIELD = 'X'.
        ENDAT.
        CHECK LAST_FIELD IS INITIAL.
    * Insert separator
        MOVE ';' TO W_LINE+V_OFFSET.
        V_OFFSET = V_OFFSET + 1.
      ENDLOOP.
      CONDENSE W_LINE NO-GAPS.
      WRITE W_LINE.
    * Get DATA
      SELECT * FROM (P_TABLE) INTO TABLE <FS_TAB>.
      LOOP AT <FS_TAB> ASSIGNING <FS_WA>.
        CLEAR LAST_FIELD.
        CLEAR V_OFFSET.
        CLEAR W_LINE.
        LOOP AT DFIES_TAB.
          AT LAST.
            LAST_FIELD = 'X'.
          ENDAT.
          ASSIGN COMPONENT DFIES_TAB-FIELDNAME
            OF STRUCTURE <FS_WA> TO <FS_FIELD>.
    * Insert value
          MOVE <FS_FIELD> TO W_LINE+V_OFFSET(DFIES_TAB-INTLEN).
          V_OFFSET = V_OFFSET + DFIES_TAB-INTLEN.
    * Insert separator
          MOVE ';' TO W_LINE+V_OFFSET.
          V_OFFSET = V_OFFSET + 1.
        ENDLOOP.
        CONDENSE W_LINE NO-GAPS.
        WRITE: / W_LINE.
      ENDLOOP.
    In your case u can append the workarea W_LINE to an internal table and then download it as CSV file.
    Max

  • Reg: Creation of PFILE

    Hi
    I'm a fresh DBA.I'm new to this field and learning Things.Unknowingly i deleted the pfile and made a shutdown to my database..... When i'm trying to start the Database i'm unable to start it. is there any way to create a new pfile..........Please find me the way...
    Advance Thanks
    S.Ram

    Hi,
    What is your Oracle version ? Have you create a spfile before delete pfile ? If the response is no, you need to recreate a pfile manually.
    => It a good way to have a backup of all database files, including pfile (or spfile).
    Nicolas.
    Duplicate case with thread in other forum :
    Re: Reg: Creation of PFILE after DB Shutdown
    Message was edited by:
    N. Gasparotto

  • Reg: Creation of PFILE after DB Shutdown

    Hi
    Actually i deleted the pfile accidentally and shutdown my database..... is there any way to create a new pfile..........Please find me the way...

    Duplicate case with thread in other forum :
    Reg: Creation of PFILE
    Choose a forum and fix it.
    What is your Oracle version ? Have you create a spfile before delete pfile ? If the response is no, you need to recreate a pfile manually.
    => It a good way to have a backup of all database files, including pfile (or spfile).
    Nicolas.

  • Dynamic popup does return value from popup window

    have to create a page , with dynamic Popup using query. I am using APEX_ITEM.POPUP_FROM_QUERY(). Dynamic popup is generated, i can able to open the popup, when i click the link of the generated records. It does not return the value.
    I feel that , it's like your error.
    could you please help me ou.t

    I also have similar kind of problem.
    1. How can I open new window to a particluar URL on a button click event? I know in line, we have target attribute.
    2. How can I pass the child window values to the parent
    3. How can I refresh the parent window or parent page to to show the changed values in the child window and ofcourse close the child.
    Any help on this will be appreciated.
    Thanks
    Rsaj

  • Dynamic Popup iFrame Problem

    Hi,
    I'm adding a dynamically created iFrame tag to my main page using javascript to function as a popup page instead of faces-config navigation rules. It dramatically furthers data/page load rendering performance. However, I've got a problem with values I want to pass to my main page since there's no dialog:popup or ReturnListener facility.
    I'm using Jdev 10g.
    Here is the javascript code to fire the iframe in my page:
    <script language="JavaScript">
    function newwindow(address) {
    var w= screen.width;
    var h = screen.height;
    var load = window.open(address,'','scrollbars=yes,menubar=no,height='+h+',width='+w+',left=0,top=0,screenX=0,screenY=0,resizable=yes,toolbar=no,location=no,status=yes');
    function openPopup (popUpUrl,popUpTitle,popUpWith,popUpHeight){
    document.getElementById("mainModalPopBg").style.display = "block";
    document.getElementById("mainModalPopBox").style.display = "block";
    var neww= screen.width;
    var newh = screen.height;
    var boxw= popUpWith;
    var boxh = popUpHeight;
    var boxleft = (neww-boxw)/2;
    var boxtop = (newh-boxh)/2;
    document.getElementById("mainModalPopBox").style.left = boxleft+"px";
    document.getElementById("mainModalPopBox").style.top = 60+"px";
    document.getElementById("modalPopBoxFrameContainer").innerHTML = "<iframe allowTransparency='true' id='popUpFrame' frameborder='0' src='" + popUpUrl + " '> </iframe>";
    document.getElementById("popupTitle").innerHTML = popUpTitle;
    document.getElementById("popUpFrame").style.width = boxw+"px";
    document.getElementById("popUpFrame").style.width = popUpWith+"px";
    document.getElementById("popUpFrame").style.height = popUpHeight+"px";
    document.body.style.overflow = "hidden";
    function closePopUp (){
    document.getElementById("mainModalPopBg").style.display = "none";
    document.getElementById("mainModalPopBox").style.display = "none";
    document.body.style.overflow = "auto";
    </script>
    Finally, the function openPopup is added to 'Onmousedown' javascript event of a commandlink in my main page.
    I would be thankful if you guys could help me out with some handy solutions in my case.

    Hi,
    Thanks for the reply. I suppose I'll encounter a problem accessing data in the popup page which is a row of a table. Could you clarify how I should reference Attribute Values/SelectedRowsData in the destination page with opener reference?
    I'm embedding a html Iframe tag in the main page when clicking on a commandLink. It adds a <div> tag containing an iFrame which fires a .jspx page that renders a viewObject's data as a readOnly table. I merely need to return some attribute values of the corresponding viewObject or SelectedRows of the table. I cannot use traditional returnListener method of my commandLink since the page is opened with javascript using an iframe tag.
    Great thankfully

  • Dimension Filter - Dynamic popup size?

    Hi,
    I have a small problem.
    One of my dimension filters have a hierarchy dimension assigned. Depending on the expansion of the preferred hierarchy selection, the user cannot see the whole text.
    I know that I can change the size of the Dimension Filter with the settings Popup Width and Popup Height, but is it somehow possible to change the size dynamically depending on the expansion of the hierarchy?
    Br
    Max Rosén

    Hi Max,
    As far as I know there is really no such setting in Design Studio that would enable that.
    There is also no way how to achieve this with the available scripting methods, if there would be something it would be in theory something like this:
    In the OnChange Event of the table cell width where the hierarchy is or based upon the expand level state of the hierarchy in the filterpanel, adjust the width of the filterpanel and the width of the table cell where the hierarchy is.
    There should be a solution to do this via javascript, but for that you would need to use the sdk to include some custom javascript code into your bi app.
    Normally your requirement can be achieved with/through css, there is a method/way that causes the width of the parent container to expand/adjust automatically when the width of the child element changes. But the problem/difficulty here is, that the filterpanel is created with a lot of absolutely positioned divs (containers) here and there and thus several stacking contexts are created and thus a change in one stacking context has no effect on an element which is in a different stacking context - a change in the width of the table cells where the hierarchy is placed has no effect on some other higher/previously positioned parent container elements because they are in different stacking contexts and when a container's width isn't adjusted too, the inner child element has no way to expand and still be/remain visually nice as a whole.
    Anyway, so far I didn't help you much, so here is something you could use to make the text visible/readable without expanding the width:
    /* Make Long Text (in Hierarchy) in Dimension Filter Visible (Break Into a New Line) */
    #sap-ui-static .sapzenfilterpanel-PopupContainerDialog div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableTr > td:nth-child(1),
    #sap-ui-static .sapzenfilterpanel-PopupContainerDialog div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableTr > td:nth-child(1) span.sapzenfilterpanel-SelectionTableText {
      white-space: normal;
      /* Optional setting: break to newline anywhere in a word */
      /*word-wrap: break-word;*/
    (Note: you can simplify/adjust the selectors, this is not the only way how the selectors must look like, it is just an example, but working example...)
    A side note when using the setting: "Member Display: Text and Key"
    The Dimension filter has 3 columns: 1. Text , 2. Key , 3. Check(boxes)
    where the first 2 columns for text and key are the same width. But usually the key is shorter than the text and doesn't need so much space, so you could adjust the width proportions of these first 2 columns so that the text has more width than the column containing the keys:
    /* Make Text Column Wider and Key Column Narrower */
    div.sapUiTableCnt div.sapUiTableColHdrCnt div.sapUiTableColHdr > div:nth-child(1) {width: 207px !important; /* Default Popup width: 350px > 147px , 147+60=207 */}
    div.sapUiTableCnt div.sapUiTableColHdrCnt div.sapUiTableColHdr > div:nth-child(2) {width: 87px !important; /* Default Popup width: 350px > 147px , 147-60=87 */}
    div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableCtrlCol > th:nth-child(1) {width: 207px !important; /* Default Popup width: 350px > 147px , 147+60=207 */}
    div.sapUiTableCnt div.sapUiTableCCnt table.sapUiTableCtrl tr.sapUiTableCtrlCol > th:nth-child(2) {width: 87px !important; /* Default Popup width: 350px > 147px , 147-60=87 */}
    Regards
    David

  • Need to stop creation of second popup until first popup is completed

    Hi All,
    I have a popup window in a WD component that display a PDF report. It works perfectly. However, I just received a new requirement to create another popup window immediately prior to the PDF report popup window which will allow the users to answer a Yes/No question which will change the content of the PDF. I thought that this would be a simple request and created another window for this new popup and preceded the call to create the PDF popup window with a call to create and open the new popup window. The problem now is that when I run the WD Application, both popups are created and opened at the same time with the first popup behind the second popup.  I do not want the second popup to be created and opened until the user selects Yes/No on the first popup window.
    Does anyone have an idea how to accomplish this?
    Thanks,
    Gregg

    Following is the code that I am currently using that is causing the issue:
    *-- Data definition
      DATA: lv_title           TYPE string.
    *-- Window Definition
      DATA:
            lr_window_manager TYPE REF TO if_wd_window_manager,
            lr_api_component  TYPE REF TO if_wd_component,
            lr_popup_window   TYPE REF TO if_wd_window,
            lr_pdf_window     TYPE REF TO if_wd_window.
    *--  Update the context before any action processing
      wd_this->update_context(  ).
      lv_title = wd_assist->if_wd_component_assistance~get_text( 'TPP' ).
      lr_api_component  = wd_this->wd_get_api( ).
      lr_window_manager = lr_api_component->get_window_manager( ).
      lr_popup_window  = lr_window_manager->create_window(
                         window_name            = 'ZZ_W_POPUP'
                         title                  = lv_title
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                         button_kind            = if_wd_window=>co_buttons_yesno
                         message_type           = if_wd_window=>co_msg_type_question
                         default_button         = if_wd_window=>co_button_yes ).
      lr_popup_window->open( ).
      lv_title = wd_assist->if_wd_component_assistance~get_text( 'TPP' ).
      lr_pdf_window    = lr_window_manager->create_window(
                         window_name            = 'ZZ_W_PRINT_PDF'
                         title                  = lv_title
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                         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 ).
      lr_pdf_window->set_window_size( width  = '98%'
                                      height = '100%' ).
      lr_pdf_window->open( ).

  • Strange behavior when searching a phrase using reg exp and dynamic sql

    Hi,
    I have a strange issue while using dynamic sql for an apex page. I have a requirement to search a string in the database column which is entered by user on a page item. The search process should search the whole phrase only.
    I have a query generated dynamically in the back end and use it in a cursor in the stored procedure
      SELECT t.group_cn , t.group_desc, t.group_type, t.partner_organization_id, t.partner_organization
      FROM vr_idm_group t WHERE regexp_like(t.group_desc,'(^|\W)HR Selection & Assignment(\W|$)', 'i')The pl sql code with the dynamic sql statements are below.
       IF p_search_process NOT in ('PARTNER') THEN
          OPEN v_cursor FOR v_sql;
       ELSE
          OPEN v_cursor FOR v_sql USING p_search_id;
       END IF;
       LOOP
          FETCH v_cursor INTo v_obj.group_cn, v_obj.group_desc, v_obj.group_type, v_obj.partner_organization_id,
             v_obj.partner_organization, v_obj.match_count;
          EXIT WHEN v_cursor%NOTFOUND ;
          v_search_array.extend;
          v_search_array(v_search_array.last) := v_obj;
          dbms_output.put_line(v_sql);
       END LOOP;The search works fine if the search string does not contain any special character like &,- etc.
    However, if the search string contains any special character, it does not return any thing. This strange issue happens only if I call the procedure from the apex page and the search string contains a special character. (please note that the procedure works fine even from apex if the string does not have a special character). When I debugged this, found that, the cursor does not fetch any rows (it is supposed to fetch two rows) for unknown reason. When I run the query separately, it returns the two rows (in which the column group_desc contains the search string "HR Selection & Assignment") as desired. Also, when I test the procedure in the back end (PLSQL developer), it works fine.
    Any idea, what is causing this strange behaviour?
    Advance thanks.
    Regards,
    Natarajan

    i don't see anything about a dataProvider.  you're assigning a source for a scrollpane.  scrollpane's don't have a dataProvider property.
    anyway, other than arrayRun always being false when that last if-statement executes, what's the problem?  doesn't that movieclip display when that 2nd branch of the last if-statement executes (assuming instance is defined correctly etc)?

  • Regarding the creation of dynamic view by clicking on a tree.

    Hi all:
          There are two parts on the window. the left part is a tree with three  tree nodes, by clicking on tree nodes, the other is an area to show the business content.
         for example, three tree nodes are respectively "input customer infor", "change customer infor", "view customer infor".
        the initial view is input customer infor, I know how to create the view initially in method init or wddomodifyview, but when I click tree node like "change customer infor", how create the view , or how to refresh the view , that is to say, to delete old elements in the view of " input customer infor".
        can you please give me a hint?
       Thank you very much !

    Hello,
    be wary of always creating the view and then just assigning the visbility of the given view container. Although this is quite simple, it means that the WD events are still called for the view - especially where tree might be built, the associated logic could be quite intensive. It is better to only call this logic when needed.
    Embedding the views in a single view container - and dynamically switching the assignment would ensure only the selected view would be called.
    I would strongly advocate the FPM to do some of this - but unfortunately it doesn't (yet) have a layout that would easily support your two pane view (if you really need this). However it does have a guided activity floorplane (GAF) which is the standard for this sort of select,  edit, save, confirm sort of work - if you want your users to have a similar experience to the rest of SAP's delivered apps, it would certainly be worth considering.
    good luck,
    Chris

  • Reg:Creation of chart during query runtime

    Dear all,
    I want to display a Pie-Chart during my query execution
    dynamically. I am working only in query designer not in WAD.
    For example :  I have created a query in query designer based on Zonewise Sales Value. And i have designed the chart also based on these values. But i am facing the problem when i am executing the query i couldnt able to see the Pie-Chart desinged by me.
    Is it possible to save the Pie-Chart as saved view in my query  designer?
    Kindly do the needful. Helpful answers will be rewarded.
    Thanks,
    Harikrishna N

    hai expert's,
    is there any option to save and execute the chart during  query execution. i am asking in query designer?.....
    please through a ligh on it........
    Regards
    Harikrishna N

  • Creation of dynamic interal table and fieldcatalog for monat field

    Dear Experts,
    I am finding the average days of payments giving to our  vendors. for this i am passing company code, fiscal year , period and vendor in selection screen.
    Based on the period(monat)  i need to display the average days and finally i need to display total of the average days. suppose in selection screen if user enters 3 period then the output is like this.
    OutPut:
    column1    column2         column3                               column4                                  Column5                              column6
    Vendor No Vendor Name Avg days of paymentsPeriod 1  Avg days of paymentsperiod 2  Avg days of paymentsperiod total Averge days
    please advice me to get this output. thanks in advance.

    Hi,
    1.build your fieldcatalog by yourself.
    e.g. 4 columns , you will append 4 records in fieldcatalog internal table.
    2.use this fieldcatalog internal table to create dynamic internal table by method: cl_alv_table_create=>create_dynamic_table.
    3.edit content of  dynamic internal table.
    4.use alv to display it.
    That's all.

  • Problem during creation of dynamic Internal

    Hi All,
    I am trying to create a dynamic internal table.
    I went through many posts, but the problem i am facing is,
    I want an internal table as:
    Empno
    Ename
    Lgart1- Depending on the Wage types user enter on the selection screen.
    Lgart2
    When i tried to create dynamic table by
    cl_abap_typedescr=>describe_by_name(tab_name),
    it asks for the table name as string and tht also standard table.
    I have a type user defined local structure like :
    DATA: BEGIN OF it_struct,
          pernr LIKE pa0001-pernr,  "Employee No.
          ename LIKE pa0001-ename,  "Name of Employee
          BETRG LIKE PC207-BETRG,   "Net Amount
          END OF IT_struct.
    I created this structure, coz these 3 fields are fixed and other fields i need to add dynamically.
    Please suggest.

    Hi,
    Instead of using cl_abap_typedescr class use cl_alv_table_create and method create_dynamic_table.
    For your reference check the program below.
      DATA: dreft TYPE REF TO data,
            drefl TYPE REF TO data.
      DATA: xfc TYPE lvc_s_fcat,
            ifc TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <upload> TYPE STANDARD TABLE,
                     <fs_worka> TYPE ANY.
      xfc-fieldname = 'Record'.
      xfc-datatype = 'CHAR'.
      xfc-intlen = '255'.
      APPEND xfc TO ifc.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
       i_style_table             =
          it_fieldcatalog           = ifc
        IMPORTING
          ep_table                  = dreft.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ASSIGN dreft->* TO <upload>.
      CREATE DATA drefl LIKE LINE OF <upload>.
      ASSIGN drefl->* TO <fs_worka>.
    Hope this might help you.
    Thanks,
    Prashanth

  • Creation of dynamic internal table is not synchronous

    In my code following lines are used to create a dynamic table.
    REFRESH : INCTABL .
      CLEAR INCTABL .
      INCTABL-LINE = 'data: begin of dyntab occurs 10,'. APPEND INCTABL.
      INCTABL-LINE =   'zpltnamec like zvendplt-zpltnamec,'. APPEND INCTABL.
      INCTABL-LINE =   'sourcing like zopsdwbom-sourcing,'. APPEND INCTABL.
    INCTABL-LINE =   'zmatgrp like zrmrpmaterial-zmatgrp,'. APPEND INCTABL.
      INCTABL-LINE =   'zcollection like zrmrpmaterial-zcollection,'.
      APPEND INCTABL.
      INCTABL-LINE =   'fiscintrodt like zrmrpmaterial-zfiscintrodt,'.
      APPEND INCTABL.
      INCTABL-LINE =   'bednr like ekpo-bednr,'. APPEND INCTABL.
      INCTABL-LINE =   'revlv like ekpo-revlv,'. APPEND INCTABL.
      INCTABL-LINE =   'ematn like ekpo-ematn,'. APPEND INCTABL.
      INCTABL-LINE =   'menge like mara-eannr,'. APPEND INCTABL.
      INCTABL-LINE =   'stprs like mara-eannr,'. APPEND INCTABL.
    *inctabl-line =   'kbetr like cdred-f_new,'. append inctabl.
      DATA : T_KBETR(72) .
      DATA :CNT(2).
      DO LIN TIMES .
        CNT = SY-INDEX .
        CONCATENATE 'kbetr' CNT ' like cdred-f_new,' INTO T_KBETR .
        CONDENSE T_KBETR .
        INCTABL-LINE =   T_KBETR . APPEND INCTABL.
      ENDDO .
      INCTABL-LINE = 'end of dyntab. '. APPEND INCTABL.
      INSERT REPORT 'zcrchangereport_3'(001) FROM INCTABL.
    but during run time it is using the previously created dynamic internal table structure and then creating currently required internal table.
    how to overcome this problem/
    Thanks.

    Hello,
    Instead of creating report, create subroutine pool. Like
    INCTABL-LINE = 'report ztest.'. APPEND INCTABL.
    INCTABL-LINE = 'form main'. APPEND INCTABL.
    INCTABL-LINE = 'data: begin of dyntab occurs 10,'. APPEND INCTABL.
    INCTABL-LINE = 'zpltnamec like zvendplt-zpltnamec.'. APPEND INCTABL.
    INCTABL-LINE = 'data: end of dyntab.'. APPEND INCTABL.
      CATCH SYSTEM-EXCEPTIONS GENERATE_SUBPOOL_DIR_FULL = 9.
        GENERATE SUBROUTINE POOL inctabl NAME l_name
                MESSAGE L_MESSAGE LINE L_LINE WORD L_WORD.
      ENDCATCH.
      IF L_MESSAGE IS INITIAL.
        PERFORM (L_FORM) IN PROGRAM (L_NAME).
      ELSE.
        WRITE : L_MESSAGE, L_LINE.
      ENDIF.
    You can get the message in L_message variable, if any error occurs.
    Regards,
    Naimesh

  • Reg: Creation of new Material type

    Hai Guys,
    Jino here,can anyone please tell me the procedure for creating my own "MATERIAL TYPE"
    while creating a new material.
    Regards
    Jino.

    Hi
    decide which material type in the standard availabilty closely resembles you New material Type  you are planning to create, It may be ROH/HALB/FERT/ERSA or any other. Use the TxN OMS2 for this, select the existing Std Material and do a Copy As and name the New material Type starting with Z . for example ZRAW , once saved select the material tyep and go to the details of the new material type , you can remove Certail views if you donot wish to have it during material creation, check out other parameters also lie external proc/internal proc, standard or Moving avg price indicator  and proceed as required for you.
    Regards

Maybe you are looking for

  • How do I delete an event on iPhone calendar with no edit icon

    How do I delete an event on iPhone when no edit icon appears

  • User like SUPERVISOR doesn't connect to repository

    Hello, I have created a new master repository and am trying to connect to it via another user besides the SUPERVISOR one that was default when I installed ODI. I created this MASTER user, selected it as having supervisor priviledges. I also created a

  • White Lines in SWF in firefox only

    *** LINK REMOVED *** It's easier to show than to describe. I've got this SIMPLE flash movie that I'm supposed to put on a site. it looks fine in IE. when I look at it in firefox, I get lines above/below the text...but only, apparently, on some backgr

  • HT201343 Apple TV

    If my MacBook Pro does not support "Mirroring" can I still stream TV shows from my Mac to my HDTV using my AppleTV?

  • Need help with transferring phone files

    So my girlfriend has an audio file on her phone (a Droid RAZR HD) and she needs to upload it to a computer for a class. Her computer is really bad and so she's using mine, a Mac. I downloaded the Backup Assistant program for Mac and when her phone is