Regarding Pop Up Window

Hi All,
          I want a pop up window for saving the output file at the desired location
          of user. How can I get the pop up window for  "Saving" the file at desired
          location.
          Thanks in Advance. Pts will be rewarede.
Regards
Jitendra.

hi,
go through this code
u can down load to system.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME  = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      FIELD_NAME    = 'P_FILE'
    IMPORTING
      FILE_NAME     = P_FILE.
START-OF-SELECTION.
  FILE = P_FILE.
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      FILENAME                      = FILE
      FILETYPE                      = 'ASC'
  HAS_FIELD_SEPARATOR           = ' '
  HEADER_LENGTH                 = 0
  READ_BY_LINE                  = 'X'
  DAT_MODE                      = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
    TABLES
      DATA_TAB                      = ITAB
EXCEPTIONS
  FILE_OPEN_ERROR               = 1
  FILE_READ_ERROR               = 2
  NO_BATCH                      = 3
  GUI_REFUSE_FILETRANSFER       = 4
  INVALID_TYPE                  = 5
  NO_AUTHORITY                  = 6
  UNKNOWN_ERROR                 = 7
  BAD_DATA_FORMAT               = 8
  HEADER_NOT_ALLOWED            = 9
  SEPARATOR_NOT_ALLOWED         = 10
  HEADER_TOO_LONG               = 11
  UNKNOWN_DP_ERROR              = 12
  ACCESS_DENIED                 = 13
  DP_OUT_OF_MEMORY              = 14
  DISK_FULL                     = 15
  DP_TIMEOUT                    = 16
  OTHERS                        = 17
  IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  LOOP AT ITAB.
    WRITE:/ ITAB.
  ENDLOOP.

Similar Messages

  • How to use one pop up window for multiple buttons and input fields?

    Hi Experts,
    I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window.  How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
    Thank you,
    Don

    Hi,
    Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
    In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
    In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
    Eg:
    On Button 1 click set value "B1", Button 2  value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
    if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
    else...{
    Hope this helps you.
    Regards,
    Poojith MV

  • Creation of a pop-up window

    Dear All,
    We have a issue like this: Say, there is a Customer who has given an order of ABC product 10 packs to the sales employee. And the order is placed on say 15.09.2011 and as we could not produce the product the next two days also, the product is not delivered to the customer. So again on 17.09.2011, when the customer is giving order to the sales employee he gives the same order again. And the same order is posted again. This is causing wrong data in Net Pending Sales orders.
    I have three options now:
    1. Block the order using SP_TransactionNotification, but this way the order gets stalled.
    2. Setting up an alert.
    3. Setting up for an approval procedure.
    Our team does not want any of the above, instead they would like to see a pop up window which gives the info that the same product and quantity there is an open order existing for the same customer. And pop up should have Yes and No button, clicking on Yes the new order gets added and No will return to the order, where the row is deleted and added again.
    Our SAP version is SAP B1 8.81 PL 06 and Microsoft SQL Server 2008 R2. Do we have any way to achieve this.
    Thanks,
    Vineela.

    Hi Vineela.....
    The same thing you can achieve through SDK.
    You need to set a small addon for this in order to get the Pop Up which checks whether the Order for the same combination does exist or not.....
    So I would request you to please post the same query to the SDK Forum where you get Expertise Answer and close this thread here.......
    Regards,
    Rahul

  • Pop-up windows from the portal showing address bar

    Hi,
    I am not sure where to post this thread, but here goes. My client has the CRM web UI which has been integrated into SAP Portal 7.3. I am not aware of how this is done as I am not familiar with CRM.
    The issue being faced is that when a user tries to create a new opportunity etc, the pop-up window opens. But an address bar is seen in the pop-up. This was not appearing when they were on an earlier version of EP.
    I am not sure where I should be looking to remove the address bar. Is this something related to the web UI and not the portal?
    Thanks & Regards,
    Vaishnavi

    Hi,
    Take a look at the following:
    [http://forums.sdn.sap.com/thread.jspa?threadID=1800949]
    [Using iView Parameters to Open Applications in Separate Window|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d2aeb9-5f92-2d10-d38d-ded09c94330d?QuickLink=index&overridelayout=true&48747879654994]
    [http://forums.sdn.sap.com/thread.jspa?threadID=124909]
    Regards,
    Alex

  • Open and Close Pop-up Window??

    Hi,
    I have to components consiider A and B.
    I want to open window B as pop-up window when I click a button on window A.
    After that again I have to close that pop-up window(i.e. B) and return back to window A.
    Thanks and Regards,
    Rahul

    Hi Rahul,
    In the onAction event of the button for component A you could use the following code :
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(wdComponentAPI.getComponentInfo().findInWindows("Window B"));
    window.setWindowPosition(270,120);
    ((Window)window).setTitle("My Window");
    window.open();
    wdContext.currentPopUpElement().setWindowInstance(window);
    In the onAction button event for component B to close the window you could use the following code :
    IWDWindow window = wdContext.currentPopUpElement().getWindowInstance();
    window.destroy();
    You could create a Value Node named Popup which contains a VA WindowInstance of type IWDWindow and define the context mapping.
    Hope this helps.

  • Delete the entry from dropdown list in the pop up window in ALV report

    Hi All,
    I have a requirement in the ALV interactive report ZMM_IMPL .If we enter selection screen parameters its displaying the first screen.If we click on 'Goods Issue' tab ,it display the pop up window for Requirement Pick list with Batch number ,Storage location and Quantity.Here we have F4 option for batch number(MCH1-CHARG) and we could see all batches (with stock and without stock) in the drop down.
    Now my requirement is i would need to delete the non stock batches from drop down values.
    Ex:we clich F4 in batch number field(CHARG) ,could see 4 batches Test1 ,Test2 ,Test3 and Test4 .Here Test1 ,Test2 are Batch stock and other two are Non stock batches. We could see all these batches (with and without stock) in MCHB table.Now i would need to delete non stock batches(Batch with zero qty (MCHB-CLABS = 0) from drop down.
    Any idea on this.
    Regards,
    Rpn

    Hi,
    User wants to appear only batches with stock value in the drop down .Here Batches test1, test2 , test3 have stock but  test4  has no stock value. Now the requirement is  if stock does not exist in any of those batches it should not appear in the drop down and propose batches based on quantity.
    Batch stock value can be seen through transaction MB52  and could see only Test1.Test2 and Test3.
    They have arleady code in the program for F4 help to Batch number as following,
      CLEAR: lips.
      REFRESH: gt_lips.
      lips-vbeln = f_vbeln.
      lips-posnr = f_posnr.
      lips-matnr = f_matnr.
      lips-werks = f_werks.
      lips-lfimg = f_bdmng.  "store the requirement quantity for display
      lips-pstyv = f_res_del.  "use to store RES or DEL      "DV1K919143
      CALL SCREEN '0100' STARTING AT 10 2.
    for the ok code to be BT_SAVE all the validation are complete
      IF g_ok_code NE 'BT_SAVE'.
        f_answer = 'A'.
      ENDIF.
    The logic for screen '0100' as follows
    PROCESS BEFORE OUTPUT.
    *&spwizard: pbo flow logic for tablecontrol 'TC_LIPS'
      module TC_LIPS_change_tc_attr.
    *&spwizard: module TC_LIPS_change_col_attr.
      loop at   GT_LIPS
           into GS_LIPS
           with control TC_LIPS
           cursor TC_LIPS-current_line.
        module TC_LIPS_get_lines.
    *&spwizard:   module TC_LIPS_change_field_attr
      endloop.
      MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&spwizard: pai flow logic for tablecontrol 'TC_LIPS'
      loop at GT_LIPS.
        chain.
          field GS_LIPS-CHARG.
          field GS_LIPS-LGORT.
          field GS_LIPS-LFIMG.
          module TC_LIPS_modify on chain-request.
        endchain.
        field GS_LIPS-SELKZ
          module TC_LIPS_mark on request.
      endloop.
      module TC_LIPS_user_command.
    *&spwizard: module TC_LIPS_change_tc_attr.
    *&spwizard: module TC_LIPS_change_col_attr.
    MODULE USER_COMMAND_0100.
    MODULE USER_COMMAND_EXIT_0100 AT EXIT-COMMAND.
    process on value-request.
      field gs_lips-charg module lips-charg_values.
    Logic for F4 help as following
    DATA: mc_object LIKE dd23l-mconame,
             help_lips LIKE lips.
       DATA: dseltab LIKE dselc OCCURS 10 WITH HEADER LINE.
       DATA: lf_shlpname LIKE dd30v-shlpname,
             lx_shlp TYPE shlp_descr_t,
             ls_interface LIKE ddshiface,
             lf_rc LIKE sy-subrc,
             lt_retvalues LIKE ddshretval OCCURS 0,
             ls_retvalue LIKE ddshretval.
       help_lips = lips.
       IF NOT help_lips-matnr IS INITIAL.
         CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
           EXPORTING
             input        = help_lips-matnr
           IMPORTING
             output       = help_lips-matnr
           EXCEPTIONS
             length_error = 1
             OTHERS       = 2.
         IF sy-subrc <> 0.
        exit.                        "Ignore conversion errors "50A
         ENDIF.
       ELSE.
         EXIT.
       ENDIF.
       SET PARAMETER ID 'MAT' FIELD help_lips-matnr.
       SET PARAMETER ID 'WRK' FIELD help_lips-werks.
      Export parameters to memory to enable search help via classes
       CLEAR dseltab.
       REFRESH dseltab.
       dseltab-fldname = 'MANDT'.
       MOVE sy-mandt TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'MATNR'.
       MOVE help_lips-matnr TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'WERKS'.
       MOVE help_lips-werks TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'CHARG'.
       MOVE help_lips-charg TO dseltab-fldinh.
       APPEND dseltab.
       EXPORT dseltab TO MEMORY ID 'DSELTAB'.
      Get description for search help
       mc_object = 'MCH1'.
       lf_shlpname = mc_object.
       CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
         EXPORTING
           shlpname = lf_shlpname
           shlptype = 'SH'
         IMPORTING
           shlp     = lx_shlp
         EXCEPTIONS
           OTHERS   = 1.
      Enable value copy from search help to dynpro field
       READ TABLE lx_shlp-interface INTO ls_interface
                                    WITH KEY shlpfield = 'CHARG'.
       ls_interface-valfield = 'X'.
       MODIFY lx_shlp-interface FROM ls_interface INDEX sy-tabix.
      Start search help dialog
       CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
         EXPORTING
           shlp          = lx_shlp
         TABLES
           return_values = lt_retvalues
         EXCEPTIONS
           OTHERS        = 1.
       IF sy-subrc EQ 0.
         READ TABLE lt_retvalues INTO ls_retvalue
                                 WITH KEY fieldname = 'CHARG'.
         IF sy-subrc EQ 0.
           lips-charg = ls_retvalue-fieldval.
           gs_lips-charg = ls_retvalue-fieldval.
         ENDIF.
       ENDIF.
    How to delete entry from F4 help.Any idea?
    Regards,
    Reddy

  • Possible to display the POP-UP WINDOW???

    Hi,
    I need to copy or some times need to paste or some task which is very easily displayed in Microsoft products which is called POP-UP WINDOW.
    Can I Use that in my form? I am working in Developer 6i.
    Farhad

    Hi farhad,
    I told u the way u can create the popup for the any item through object navigator. Please refer online help for details. There is clearcut picture in online help about the topic u asked. I think u are a developer, instead of asking sample, please refer Formbuilder reference guide which available in otn.documentation, which help u a lot and u can solve the problem on your own
    regards
    prasanth a.s.

  • I am unable to save plug-in gadgets in Blogger because I get a Javascript:void(0) message on pop-up window. Pop-up blocker is disabled, cache cleared. Help?

    I am trying to add a plug-in gadget to my blogger blog. They use a pop-up window to configure the gadget and then a save button. When I am ready to save the plug-in I see a tiny message in the lower left of the pop-up window which says " Javascript:void(0)". I click "save" but the operation is not fully completed. Here is the strange part. The plug in does appear on my blog but I cannot edit it from the blog. When it was first installed, I could edit the plug-in but the changes would not be saved. Now I cannot edit as no editing buttons appear.
    I have cleared my cache, have exempted the Blogger site from my pop-up blocker. I have rebooted. My Firefox plug-ins are all up to date. I have contacted the support for the company that makes the plug-in, they can't fix it. I tried to contact Google but that help pop-up box also did not work properly as it only allows me to sign in but then nothing more happens.
    I don't want to have to refresh Firefox unless I have to... rebuilding what I have is going to take a lot of time.

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to trigger pop-up window in report and update data base from report

    Hi All,
    I have a requirement, in a report output list to trigger a pop up window with some rejection codes corresponding to each sales order when i select from the output list. Also i need to update data base by selecting one of the rejection code in the pop-up window list for that sales order. Can any one please let me know how to achive this.
    Also, i have check boxes for each record in the output list. Also, i have added one more check box as "Select All'. When select 'Sleect All' check box , all check boxes need to be checked, how to achieve this. PLease let me know.
    Thanks in advance.
    Regards,
    Rajesh

    Hi check this code of editable ALV report... I updated the data base with the changes made..in the editable ALV
    *& Report ZJAY_EDIT_ALV
    REPORT zjay_edit_alv.
    * TYPE-POOLS *
    TYPE-POOLS: slis.
    * INTERNAL TABLES/WORK AREAS/VARIABLES
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
    i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
    w_field TYPE slis_fieldcat_alv,
    p_table LIKE dd02l-tabname,
    dy_table TYPE REF TO data,
    dy_tab TYPE REF TO data,
    dy_line TYPE REF TO data.
    * FIELD-SYMBOLS *
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
    <dyn_wa> TYPE ANY,
    <dyn_field> TYPE ANY,
    <dyn_tab_temp> TYPE STANDARD TABLE.
    * SELECTION SCREEN *
    PARAMETERS: tabname(30) TYPE c DEFAULT 'MARA',
    lines(5) TYPE n DEFAULT 7.
    * START-OF-SELECTION *
    START-OF-SELECTION.
    * Storing table name
    p_table = tabname.
    * Create internal table dynamically with the stucture of table name
    * entered in the selection screen
    CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_table->* TO <dyn_table>.
    IF sy-subrc <> 0.
    MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
    LEAVE TO LIST-PROCESSING.
    ENDIF.
    * Create workarea for the table
    CREATE DATA dy_line LIKE LINE OF <dyn_table>.
    ASSIGN dy_line->* TO <dyn_wa>.
    * Create another temp. table
    CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN dy_tab->* TO <dyn_tab_temp>.
    SORT i_fieldcat BY col_pos.
    * Select data from table
    SELECT * FROM (p_table)
    INTO TABLE <dyn_table>
    UP TO lines ROWS.
    REFRESH <dyn_tab_temp>.
    * Display report
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'SET_PF_STATUS'
    TABLES
    t_outtab = <dyn_table>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *& Form SET_PF_STATUS
    * Setting custom PF-Status
    * -->RT_EXTAB Excluding table
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZSTANDARD'. "copy it from SALV func group standard
    ENDFORM. "SET_PF_STATUS
    *& Form user_command
    * Handling custom function codes
    * -->R_UCOMM Function code value
    * -->RS_SELFIELD Info. of cursor position in ALV
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    * Local data declaration
    DATA: li_tab TYPE REF TO data,
    l_line TYPE REF TO data.
    * Local field-symbols
    FIELD-SYMBOLS:<l_tab> TYPE table,
    <l_wa> TYPE ANY.
    * Create table
    CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
    ASSIGN li_tab->* TO <l_tab>.
    * Create workarea
    CREATE DATA l_line LIKE LINE OF <l_tab>.
    ASSIGN l_line->* TO <l_wa>.
    CASE r_ucomm.
    * When a record is selected
    WHEN '&IC1'.
    * Read the selected record
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
    rs_selfield-tabindex.
    IF sy-subrc = 0.
    * Store the record in an internal table
    APPEND <dyn_wa> TO <l_tab>.
    * Fetch the field catalog info
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = p_table
    CHANGING
    ct_fieldcat = i_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Make all the fields input enabled except key fields
    w_field-input = 'X'.
    MODIFY i_fieldcat FROM w_field TRANSPORTING input
    WHERE key IS INITIAL.
    ENDIF.
    * Display the record for editing purpose
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_structure_name = p_table
    it_fieldcat = i_fieldcat
    i_screen_start_column = 10
    i_screen_start_line = 15
    i_screen_end_column = 200
    i_screen_end_line = 20
    TABLES
    t_outtab = <l_tab>
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    * Read the modified data
    READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
    * If the record is changed then track its index no.
    * and populate it in an internal table for future
    * action
    IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
    <dyn_wa> = <l_wa>.
    i_index = rs_selfield-tabindex.
    APPEND i_index.
    ENDIF.
    ENDIF.
    ENDIF.
    * When save button is pressed
    WHEN 'SAVE'.
    * Sort the index table
    SORT i_index.
    * Delete all duplicate records
    DELETE ADJACENT DUPLICATES FROM i_index.
    LOOP AT i_index.
    * Find out the changes in the internal table
    * and populate these changes in another internal table
    READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
    IF sy-subrc = 0.
    APPEND <dyn_wa> TO <dyn_tab_temp>.
    ENDIF.
    ENDLOOP.
    * Lock the table
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc = 0.
    * Modify the database table with these changes
    MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
    REFRESH <dyn_tab_temp>.
    * Unlock the table
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    mode_rstable = 'E'
    tabname = p_table.
    ENDIF.
    ENDCASE.
    rs_selfield-refresh = 'X'.
    ENDFORM. "user_command

  • Need to have pop up window in selection screen and capture the user action.

    Hello Friends,
                         I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.
    I create a selection screen and a sub screen as window.
    After user execute from the selection screen, I am popping up this window.
    Window contains some input values to be entered and push button to identify the user action.
    I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.
    How to overcome this issue.
    Here is the definition of the window.
    Pop Up Window for getting values
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .
    PARAMETER : p_vdate LIKE t9aa01-validfrom,
                p_dcggt LIKE t9aa01-hkont,
                p_dcgst1 LIKE t9aa01-hkont,
                p_dcgst2 LIKE t9aa01-hkont,
                p_na LIKE t9aa01-hkont.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 20.
    SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    Cheers,
    Senthil
    Edited by: Senthil on Jan 7, 2008 11:03 AM

    Hi,
    Try using the below code.
           data : w_var type string.
           CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
              DEFAULTOPTION        = 'Y'
               textline1            = 'test '
             TEXTLINE2            = ' '
               titel                = 'check'
             START_COLUMN         = 25
             START_ROW            = 6
             CANCEL_DISPLAY       = 'X'
            IMPORTING
              ANSWER               = w_var.
                     if w_var = 'J'.
                     else.
                     endif.
    Comments : J indicates Yes and N indicates No
    Regards,
    Jeswanth

  • How to forbid the use of right click to open a pop up window  from a link ?

    I would like to prevent the user from opening pop up windows using the right button of the mouse on a link.
    Is it possible ?
    Thank you in advance for any help and suggestion.
    Paolo

    Is this regarding OAF ? if this is a requirement in OAF, then its not possible(unless you put in some javascript function in the page).
    If you want to do it in other jsps there are a lot of examples available in google on how to do this.
    Thanks
    Tapash

  • Foreign key not working in a table control set on a pop-up window

    Hi Experts,
    I have created a table control using EEWB on BUPA object. I have moved this table control using BUCO transaction to address view. As the address is displayed in BP transaction as a pop-up window, when the error message from the foreign key verification should raise the pop-up window is closed and nothing happens. What I want is the error doesn,t let the window to be closed and show an error message.  Any suggestion to achieve that?
    Thanks in advance.
    Rosa

    Hi,
    Please check demo program DEMO_DYNPRO_TABLE_CONTROL_2.
    Try to copy to custom program and make the following line changes.
    MODULE CHECK_ALL INPUT.
      CASE OK_SAVE.
        WHEN 'ALLM'.
          LOOP AT ITAB.
    *       IF itab-mark = 'X'.
    *         MESSAGE i888 WITH 'Zeile' sy-tabix 'markiert'.
    *       ENDIF.
            ITAB-MARK = 'X'.
            MODIFY ITAB.
          ENDLOOP.
    Hope this will help ...
    Regards,
    Ferry Lianto

  • Issue error message in a pop-up window

    Hii experts,
    How do I issue a message in a pop-up window in a normal report programming? For eg if i click on particular box in SAP graphic, a message window should come up with some information about that box.
    Thanx in advance

    Hi ,
    First track the event let say at line selection(in case of reports)
      then use 
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
          EXPORTING
            endpos_col         = 80
            endpos_row         = 25
            startpos_col       = 1
            startpos_row       = 1
            titletext          = text-300
      IMPORTING
        CHOISE             =
          TABLES
            valuetab           = l_return
         EXCEPTIONS
           break_off          = 1
           OTHERS             = 2
    Append the errors in l_return.
    l_return is of type below:
    DATA: l_return LIKE bapireturn OCCURS 0 WITH HEADER LINE.
    Thanks & Regards
    Ruchi Tiwari

  • Error while creating Pop-up window in SAP NetWeaver 7.1 CE  SP10 PAT0001

    Hi  All,
       I am trying to create a pop-up in the SAP NetWeaver 7.1 CE  SP10 PAT0001 and jdk1.6.0_21. I am trying to create a pop-up window using the "New Features of Web Dynpro Popup Window - SAP NetWeaver CE 7.11" Link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3&overridelayout=true
    public void wdDoModifyView(com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
       if (firstTime)
            IWDWindowViewElement window = (IWDWindowViewElement) view.getRootElement();
    It shows the collowing error " IWDWindowViewElement cannot be resolved as type". I am using the latest version of NW CE and jdk but still i am unable to find the "IWDWindowViewElement".
    I have gone through a similar thread talking abt the same problem but it did not help. (Web Dynpro Popup Window Error in SAP Netweaver CE 7.11)
    Can anybody help me with this?

    Hi,
    I think the problem is rather the following:
    The guide says:
    "How to create a popup with the new feature mentioned above?
    Before starting you should check the version of your NWDS. This can be done in NWDS: u201CHelpu201D -> u201CAbout SAP NetWeaver Developer Studiou201D. The version information should look similar to the text below:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000"
    I tried the same guide on 720 and there the interface IWDWindowViewElement is available.
    So again, the problem is this:
      have the SAP NetWeaver 7.1 Composition Environment SP10 PAT0001 
    This means you have 710 (SP10 PAT1)
    The guide says you need EHP1 at least
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000
    This means 711 (SP00 PAT0)
    Best Regards,
    Ervin

  • Pop up Window before saving remembering the need (forcing) to fill required fields in a form

    Hi!
    I searched the "old" forum and have very good help from UVSAR but unfortunately I'm not able to access my message sent to that forum anymore.
    [I could never thank all the people who answered because I keep receiving "Your submission has triggered the spam filter and will not be accepted.""]
    I've have never use Java scripts in my life: I started about three days ago.
    1) I'm using Adobe Acrobat Pro X (Windows 7)
    2) I've created a form using Microsoft Word and save it as a pdf file.
    3) After I created a form using Acrobat Pro X;
    3.1.) This form it's not going to be submitted over Internet. It will be send by e-mail to some persons. They will receive it, fill in the form and send it back to me via e-mail. Note: I will save it with extended rights in order to allow to be read with acrobat reader (I'm the only one of the group having Professional edition).
    4) In that form I've created some text fields (for now it's just what I need - no radio buttons, dropdown
    menus, and so...)
    5) Choosed Properties and marked 7 fields as "required";
    6) Used a script I found in here: http://forums.adobe.com/thread/784322 (thank you for the authors of the thread)
    if (!event.target.valueAsString) {
    app.alert("My text My text", 3);
    7) This script allows me to remember people to fill that 7 specific fields (when using mouse or tab).
    8) So... What I really need? Here are the reasons for my request for help:
    8.1.) When people use the Acrobat Reader Save button (not a button I created inside the form) it will pop up an alert message. Users will receive a pop up window telling them they need to fill those fields before saving the form and send it back to me. Can someone share a script, please? Thanks in advance.
    8.2.) Is there a way to colorize the fileds that need to be filled? Again I only learned where to insert a java script yestaerday sou I'm not able to write one. I'm sorry for my newbie questions.
    8.3.) Last question: In one of the fields there will be an e-mail address. On the end of the form I want to create a button like "Send by e-mail" and When someone press that button the e-mail will be sent to the address that was written in the earlier specific field. How can I do this (link a button to an e-mail address in a specific field)? Can someone help me with a script or ideas? Hope I was clear.
    8.1.) UVSAR sent me the following code that works fine untill I save the document for the first time. Affter that he never shows me pop up window again.
    var isFilled = true;
    for (var i=0;i < this.numFields;i++){
    var f = this.getNthFieldName(i);
    if (this.getField(f).required && !this.getField(f).valueAsString) isFilled = false;
    if (!isFilled) app.alert("You must complete all the required fields");
    8.3.) With the help of UVSAR I used:
    var mailto = this.getField('emaddr').valueAsString;
    if (mailto!='') this.mailForm({ bUI:true, cTo:mailto, cSubject:"This is the subject", cMsg: "This is the body of
    the mail." });
    else app.alert("Cannot submit form until the email address field is completed");
    but gives me an error (Note: I named the filed with e-mail "emaddr")
    Once again Thank you so very very much to all the kind people who take their time to share knowledge...
    I'm not a native speaker, sorry for some errors
    Best regards
    AC

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for