Text for block and select option on the selection screen of Logical Databas

Hi,
I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
Also i need to provide a frame and title to it. but its not displayed.
i have written the following code for that:
SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
SELECTION-SCREEN: END OF BLOCK seg.
Could you please help me in getting the texts displayed for fram and the select option?
Thanks,
Phani

Solved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.

Similar Messages

  • I am trying to download FireFox for Vista and it gets to the RUN screen, I click on it and it seems to download but never actually gets loaded????

    I tried to download Firefox for Vista. It gets to the run screen, I hit run, it seems to download but then the window dissappears and I still don't have Firefox installed. I have tried this several times.

    Don't use '''Run''', save the Firefox setup file and do the installation separately from the download.

  • Value help for select options  (pass the selected values to the select opt)

    Hi everyone,
    I created a custom value help for my select options.
    It works fine, when the user clicks on the value help, my own view is displayed, and the user can select the required values:
    lt_range_table =
      wd_this->m_handler->create_range_table(
      i_typename = 'ORGEH' ).
    * add a new field to the selection
      wd_this->m_handler->add_selection_field(
      i_id = 'ORGEH'
      i_value_help_id = 'MYSO'
      i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_APPLDEV
      it_result = lt_range_table
      i_read_only = read_only ).
    The problem is, how can I pass the values to the select option? When the user selects the values in my view, I have them in an internal table. But how can i pass these values to the select option?  I suppose there is declared method for this... but which one?
    Thanks
    N.

    Sorry for the stupid question, but it seems I can't acces my attribute:
    I create it in the component controller
    NODE: 'APP_DATA'
    Attribute: M_HANDLER TYPE IF_WD_SELECT_OPTIONS
    Cardinality 1..1
    Selection 1..1
    Singleton = 'X'
    I pass the values int he EDOINIT method of MAIN view:
    * Get compnent controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    * Get the controler context node
      CALL METHOD LO_CONTROLLER->GET_CONTEXT
        RECEIVING
          CONTEXT = lo_context.
    *Get the root node
      lo_node = lo_context->root_node.
    *Get the child node
      lo_child = lo_node->get_child_node( 'APP_DATA' ).
    ls_app_data-m_handler = wd_this->m_handler.
    lo_child->bind_structure( ls_app_data  ).
    After this code I test it if the binding is correct:
    DATA: ls_test TYPE wd_comp_controller->element_app_data.
    CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
      IMPORTING
        STATIC_ATTRIBUTES = ls_test.
    The lstest is correct_. It has the reference for the SelectOption
    Now, in the SEL_TREE View:
    * Get compnent controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    * Get the controler context node
      CALL METHOD LO_CONTROLLER->GET_CONTEXT
        RECEIVING
          CONTEXT = lo_context.
    *Get the root node
      lo_node = lo_context->root_node.
    *Get the child node
      lo_child = lo_node->get_child_node( 'APP_DATA' ).
    *Get the data from the node
      CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
        IMPORTING
          STATIC_ATTRIBUTES = ls_app_data.
      wd_this->m_handler = ls_app_data-m_handler.
    The ls_app_data-m_handler is INITIAL. There is no value in it.
    What did I do wrongly? 
    Please help
    Thanks
    N.

  • Dynamic Selection option in the selection screen

    Hi ,
    I have a requirement like this ....
    The user wants some fields to be default available in the selection screen. But they also want to be able to select the data based on additional fields (all the remaining fields ) which they want to see in the dynamic selection .
    The basic list for selections should be limited to the fields listed in the specifications provided to me and the remaining fields should be made available through the dynamic selection option.
    In the transaction FBL3N , this facility is provided.
    Kindly help me with this..
    thanks,
    Sumit .

    Hi Sumit,
    To include dynamic selection check this sample code.
    TYPE POOLS DECLARATIONS FOR VALUE REQUEST MANAGER AND ICONS
    TYPE-POOLS : vrm,
                 icon.
    *SELECTION SCREEN FIELDS
    TABLES : sscrfields.*GLOBAL DECLARATIONS
    DATA : flag TYPE c,
          tablename(10),
          mmtable LIKE dd02l-tabname,
          sdtable LIKE dd02l-tabname,
          hrtable LIKE dd02l-tabname.*DECLARATIONS FOR SELECTION SCREEN STATUS
    DATA it_ucomm TYPE TABLE OF sy-ucomm.***********SELECTION-SCREENS**********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.*FOR DYNAMIC DISPLAY OF MODULES
    PARAMETERS :  pa RADIOBUTTON GROUP rad USER-COMMAND com MODIF ID mod,
                  pb RADIOBUTTON GROUP rad MODIF ID rad,
                  pc RADIOBUTTON GROUP rad MODIF ID cad.SELECTION-SCREEN SKIP.**TO INCLUDE DYNAMIC ICONS
    SELECTION-SCREEN COMMENT 2(6) text_001.*DYNAMIC LIST BOX BASED ON USER SELECTIONS
    PARAMETERS one AS LISTBOX VISIBLE LENGTH 20  MODIF ID mod.
    PARAMETERS two AS LISTBOX VISIBLE LENGTH 20   MODIF ID rad.
    PARAMETERS three AS LISTBOX VISIBLE LENGTH 20 MODIF ID cad.SELECTION-SCREEN END OF BLOCK blk1.*DISPLAY DYNAMIC PUSHBUTTON ON APP TOOLBAR ON USER CLICKS
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2,
                      FUNCTION KEY 3.**EVENT ON SELECTION SCREEN FOR OUTPUT DISPLAY
    AT SELECTION-SCREEN OUTPUT.*CLICK OF FIRST RADIO BUTTON
      IF pa = 'X'.
        sscrfields-functxt_01 = 'Materials Management'.
        WRITE icon_plant AS ICON TO text_001.
    *CODE TO GET DYNAMICS BASED ON THE SELECTED RADIO
        LOOP AT SCREEN.
          IF screen-group1 = 'MOD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.*CLICK OF SECOND RADIO
      IF pb = 'X'.
        sscrfields-functxt_02 = 'Sales And Distribution'.
        WRITE icon_ws_ship AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.*CLICK OF THIRD RADIO
      IF pc = 'X'.
        sscrfields-functxt_03 = 'Human Resources'.
        WRITE icon_new_employee AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.*CUSTOMISING THE TOOLBARS OF THE SELECTION SCREEN
    *WITH F8 BUTTON DISABLED  APPEND :  'PRIN' TO it_ucomm,
                'SPOS' TO it_ucomm,
                'ONLI' TO it_ucomm.  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = sy-pfkey
        TABLES
          p_exclude = it_ucomm.
    **EVENT ON THE SELECTION
    AT SELECTION-SCREEN.* LIST BOX ONE VALUES
      CASE one.
        WHEN '1'.
          mmtable = 'MARC'.
        WHEN '2'.
          mmtable = 'MARA'.
        WHEN '3'.
          mmtable = 'MARD'.
        WHEN '4'.
          mmtable = 'MARM'.
      ENDCASE.* LIST BOX TWO VALUES
      CASE two.
        WHEN '1'.
          sdtable = 'VBAK'.
        WHEN '2'.
          sdtable = 'VBAP'.
        WHEN '3'.
          sdtable = 'VBUK'.
        WHEN '4'.
          sdtable = 'VBUP'.
      ENDCASE.* LIST BOX THREE VALUES
      CASE three.
        WHEN '1'.
          hrtable = 'PA0001'.
        WHEN '2'.
          hrtable = 'PA0006'.
        WHEN '3'.
          hrtable = 'PA0022'.
        WHEN '4'.
          hrtable = 'PA0008'.
      ENDCASE.*VALUES FOR CLICK OF THE PUSHBUTTON ON APP TOOLBAR
    *AND ENABLING THE BUTTONS TO PERFORM F8
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
          tablename = mmtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC02'.
          tablename = sdtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC03'.
          tablename = hrtable.
          sscrfields-ucomm = 'ONLI'.
      ENDCASE.*INITIALIZATION EVENT
    INITIALIZATION.*VALUES ASSIGNED TO DROPDOWNLISTS IN THE SUBROUTINES
      PERFORM f4_value_request_pa.
      PERFORM f4_value_request_pb.
      PERFORM f4_value_request_pc.*START OF SELECTION EVENT
    START-OF-SELECTION.*SUBROUTINE FOR OUTPUT
      PERFORM output.*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PA
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST1
    FORM f4_value_request_pa.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'Plant Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'General Material Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Storage Location Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Units of Measure for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'ONE'.  CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.ENDFORM. " f4_value_request_tabname*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PB
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST2FORM f4_value_request_pb.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'Sales Document: Header Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'Sales Document: Item Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Sales Document:Header Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Sales Document: Item Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'TWO'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PB*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PC
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST3FORM f4_value_request_pc.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'HR Master :Infotype 0001 (Org. Assignment)'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'Address Infotype 0006'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Education Infotype 0022'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Basic Pay Infotype 0008'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'THREE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PC
    *&      Form  OUTPUT
    *       text
    *      -->P_TABLENAME  text
    *fINAL OUTPUT
    FORM output.  DATA p_table(10).  p_table = tablename.*popup to display teh selected table and
    *Continue button is clicked
      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          titel        = 'User Selections '
          textline1    = p_table
          textline2    = 'is the Selected table'
          start_column = 25
          start_row    = 6.*assigning the table value in p_table to the
    * Table in SE16 transaction by explicitly calling
      SET PARAMETER ID 'DTB' FIELD p_table.
      CALL TRANSACTION 'SE16'.
    ENDFORM.                    "OUTPUT
    Regards,
    Manoj Kumar P

  • Regarding the select-options on the selection screen

    In select-options the low and high fileds must be displayed in the following explained manner...
    How to get the low field value as 1000 (default) and it must be in display mode (not possible to change the value) and high field must be empty and it has to allow us to enter the value.
    How to get this....?
    Please help me in this regard...
    Thank u very much
    Regards..
    Nagarjuna

    TABLES : mara.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    INITIALIZATION.
      S_MATNR-SIGN  = 'I'.  "inclusion
      S_MATNR-OPTION = 'BT'    "between
      S_MATNR-LOW = '1000'.
      APPEND s_matnr.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name EQ 'S_MATNR-LOW'.
          screen-input = 0.
          MODIFY screen.
          EXIT.
        ENDIF.
      ENDLOOP.
    Reward if Helpful.

  • What is meant by single entry-multiple options in the selection screen

    hi,
      please let me know what is the meant by 'single entry-multiple options' in a selection screen.
    thanks in advance

    Hi Surya,
    Nomally we use to declare Selct options like
    <b>select-options : s_var for mara-matnr.</b>
    here you can enter range of values for material number like 000 to 9999999999.
    but if you want single entry multiple option you need to give no-intervals options when the select option will behave like parameter .. when you cannot give range of values but you can give multiple values for a single field.
    for single entry-multiple options  write the select option like this
    and see the diffrence.
    <b>select-options : s_var for mara-matnr NO INTERVALS.</b>
    here cannot enter low and high range for matnr but you can enter mulitple values for select option..you can enter only low range values..
    Please reward if usefull..
    Thanks,
    Gokul

  • How to create select-options on module pool screen

    Hi all
    I want get a range of values from the user from the module pool screen.
    Is there any element available on module pool screen like select options on the selection screen of reports.
    reply me ASAS.
    Thanks.

    hi krishna
    actually I want to display the details of PO numbers from 45000100 to 45000150. user will enter this range on the module pool screen just as we enter on the selection screen of report. My question is do we have a button like select-option on the module pool screen.
    Plz . reply me ASAP.
    Thanks.

  • In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    In logic X I am trying to normalize but the track and file option in the edit window is not there at all just the drop down for pointer eraser etc. Any ideas? Thanks!..

    Total life saver. Thank you

  • Selected Value for CFSelect and other options too

    I have an update form with an "Office" field. For a record, I
    query the db and get all the data for the record including the
    current office. However, since this is an update/edit form, I want
    the current office to display as selected, but want to also include
    all the other offices. How Do I do this in a cfselect? I can figure
    out how to either display the current office, and no other offices,
    or I can display all the offices, but not have the current office
    selected. Argh.

    you have a query that pulls data for current record - let's
    call it
    REC_QUERY, and let's say the field with the office data is
    called... OFFICE
    have another query that pulls all offices - let's call it
    OFFICE_QUERY
    set the QUERY attrib of your cfselect to OFFICE_QUERY
    set appropriate DISPLAY and VALUE attributes
    set the SELECTED attribute of your cfselect to
    #REC_QUERY.OFFICE#
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Where do I find the long text for Damage and Cause in Notifications (IW21)

    Hi ppl,
    Can anyone let me know where the long text for Damage and Cause is stored (can be seen in IW21)?
    Can I retrieve it through FM READ_TEXT? If yes, what are the values of the parameters to be passed?
    Thanks,
    David.

    Hi!
    It is easy to check whether some text is read by "READ_TEXT" or not.
    1) Create text in dialogue mode and save it.
    2) Place brake-point in READ_TEXT FM
    3) go to view this text in transaction again
    If the program is switched to debug mode, it means u can use this FM. Have u tried do this stuff?

  • How to mention the occurences for repeated and/or optional segments in cc?

    Hi,
    How to mention the Record Structure occurences for repeated and/or optional segments in communication channel?
    Sample Structure of the Input Message Type:
    Invoic01 (Message Type)
    IDoc
      -E1EDK01 (1 occurence) (sub segment of IDoc)
      -E1EDP01 (0..unbounded occurences) (sub segment of IDoc)
         -E1EDP02 (0..1 occurence) (sub segment of E1EDP01)
         -E1EDP26 (0..2 occurence) (sub segment of E1EDP01)
         -E1EDPT1 (0..1 occurence) (sub segment of E1EDP01)
            -E1EDPT2 (0..1 occurence) (sub segment of E1EDPT1)
      -E1EDS01 (0..3 occurence) (sub segment of IDoc)
    Can anybody please give any idea?
    Yogi.

    Hi Yogi,
    Why you need adapter module?
    Actually this is called as module processor program which will be used to enhance the adapter functionality.
    Please see the following PDF documents to develop the Module processor programs.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e21106cc-0c01-0010-db95-dbfc0ffd83b3
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9913a954-0d01-0010-8391-8a3076440b6e
    help : http://ifr.sap.com
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6f83d790-0201-0010-629d-ab5bf10c94e4
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
    Some weblogs for JAVA mapping for IDoc mapping
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    Difference in using java,xslt,message mapping
    Please clearly ask your question.
    What is your input file, and file structure you are receiving, and what is your scenario.
    Then only you will get correct solution.
    Regards
    Chilla..

  • HT2292 when i press the download iTunes option, besides downloading the iTunes, it directs to another page saying thank you for installing and it dosent download the itunes...what should i do

    when i press the download iTunes option, besides downloading the iTunes, it directs to another page saying thank you for installing and it dosent download the itunes...what should i do

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • How to find the size and resolution option in the aspect ratio drop down menu for the crop tool

    while looking through certain tutorials on the new crop system i came across many that referenced the above mentioned size and resolution option in the  access ratio drop down menu.  They all mention a dialog box which then appears which looks really useful, however my version doesnt have this option. any help would be appreciated.

    Trevor.Dennis wrote:
    John, are there already differences?  I thought 13.1 was mainly about retina display support, but I guess there would also be other fixes released while they were at it.
    Yes, definitely already differences. I sympathize with Photoshop instructors (online and offline).
    The headline change was Retina support but that was also made available to non-Cloud versions.
    Other Cloud-only changes in 13.1 are listed here
    http://helpx.adobe.com/photoshop/using/whats-new.html
    http://psd.tutsplus.com/articles/news/cs6_1/
    Non-Cloud CS6 users have been very vocal and disgruntled about some of these changes.

  • Failure Text for Darg and Drop

    I have programmed a drag and drop option in the Captivate 6.1 version. It works perfectly. But now, I want to have a failure text display for the wrong attempts. I have selected the 'Failure Caption' under the ACTION properties. But still the failure caption is not displayed for wrong clicks.
    Is there a way or other settings to make this display?
    Thanks,
    Soumya

    Here's the scenario: The user is trying to complete a software simulation. In the simulation, the user needs to drag and drop an object to a particular place. When the user correctly drags and drops the object, the simulation will progress to the next slide.
    In order to create this functionality, would I have to create an "incorrect" drop zone for all the areas of the screen outside the "correct" place?
    To further clarify,
    Here's what we've done to simulate this...
    Create an image of the component and set it to be the drag source.
    Create a four highlight boxes, set to be drop targets.
    One highlight box is set to accept the drag source and to take no action when the drag source reaches the drop target.
    The other three highlight boxes are set to not accept any objects and to show a "failure caption box" when an object is dropped there.
    The Correct Answer is set for the drag source to reach the correct drop target.
    The Action for this drag and drop interaction is
    On Success: Go to the next slide.
    On Failure: Continue (have also tried go to previous slide)
    Attempts are set to 3.
    Auto Submit Correct Answers has been tested both selected and deselected.
    These are the issues we are seeing...
    The user cannot fail the interaction. If the user places the drop source in an incorrect drop target, the user receives a failure notice. If the user does this three times, the simulation should progress through the rest of the screen (or to the previous slide, depending on the failure programming). It does not. The user can "fail" the drag and drop interaction as many times as they want and nothing will happen.
    The three "extra" highlight boxes are a workaround we are trying to get the failure message to appear when the user drops the drag source in a space not the desired drop target. Ideally one could set the "Action" to...
    On Success: Go to the next slide.
    On Failure: Continue
    Attempts: 3
    Select the Failure Caption box
         ...and the user would see the failure caption when they place the drag source in the wrong spot>after three incorrect attempts the "On Failure" action would take effect. (at least this is what happens with click boxes...)
    Message was edited by: laymonk

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

Maybe you are looking for