F4 Help on depending input in other fields

hi folks,
how can we use f4 help like dynpro when the result of the search help depends on input fields on the screen.
how to do thtat with web dynpro?
kind regards
oliver

Hi Thomas,
yes i did it like that but my problem is, given 2 Files CustomerNumber and CompanyCode.
When entering 0010 into Field CompanyCode and pressing search Help on CustomerNumber i want only to see customers who are in CompanyCode 0010 -> technicalle companycode is a input for the search help.
In normal dynpro this works without doing much but how to do with webDynpro or where do i make the "fault".
kind regards,
oliver

Similar Messages

  • On f4 help , want to update some other fields in same column in table

    Hi All,
    I am using table for displaying multiple line-items, but my requirements is that on F4 help in  the first field of the table, i need to fill the other two fields in the same column based on the selection made.
    Please help me out and reply me if you need any further specification.
    Thanks in Advance
    Regards,
    Gopal

    Hi Gopal,
    Create elementary search help in SE11 with your search help parameter as the table fields. select the same data type for this fields as you took  while creating your context node/attributes for table.
    I guess by using IMP/EXP parameter, if you select F4 on particular field then you will get automatically other fields value in your table row.
    Assing the new search help to your main field.
    Please try with this approach. It worked for me on my WD screen with 4-5 input fields. I am not sure 100% if this will work for table but give the try.
    Thanks,
    Chandra

  • Need to hide the field based on input to other field on screen

    Hi All,
    I enhanced the std. infotype 1029.Now I need to display one custom field only if another custom field (check box) is enabled, otherwise no.
    I tried writtinf code in PBO of ZP102900 in subscreen 0200.
      loop at screen.
      if screen-name = 'fld1'.
        if 'fld1' = 'X'.                      -
    >if chk box is selected then it shud display the fld2 on the screen along with fld1
          screen-name = 'fld2'.
        endif.
      endif.
      endloop.
    But no results:-(
    Can you please help me out in this ASAP.
    Thanks in advance.
    Regards,
    Ashwini

    Hi All,
    Finally I got the results:-)
    Solution:
    in PBO module:
      LOOP AT SCREEN.
        if SCREEN-NAME = 'P1029-<FLD2>'.
          IF P1029-FLD1 = 'X'.
            SCREEN-ACTIVE = 1.
            MODIFY SCREEN.
          ELSE.
            SCREEN-ACTIVE = 0.
            MODIFY SCREEN.
          ENDIF.
        endif.
      ENDLOOP.
    in PAI module:
    LOOP AT SCREEN.
      if SCREEN-NAME = 'P1029-<FLD2>'.
          IF P1029-<FLD1> = 'X'.
            SCREEN-ACTIVE = 1.
             MODIFY SCREEN.
          ELSE.
            SCREEN-ACTIVE = 0.
          ENDIF.
      endif.
    ENDLOOP.
    Thanks for your valuable time.
    Regards,
    Ashwini

  • Search help for a Input Field........

    Hi,
      I'm fairly new to BSP and I would like to know how to attach Search Help to the Input Field in BSP application.
    Thanks
    NP.

    Hi nagendra
                        Search Help for input field Provide using attribute of input field is showHelp and onvaluehelp
                      This is providing the search help .

  • Dynamic Search Helps In An Input Field

    Hi Experts,
              I need to populate an input field with different search helps based on the user action i.e when user selects "Audit"  i hav to show the audit search help for my input field, when he selects  "Audit Plan" i would hav to show audit plan search help.
    My Questions >
    1> i intend to use the method set_attribute_value_help of the interface if_wd_context_info and do the coding as :-
    data lo_nd_info  type if_wd_context_node_info.
      lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
            EXPORTING
              name            = 'identification' (attribute Name)
              value_help_mode = '121'
              value_help      = 'plm_auditplan'.(Help Name)
    Is this the correct way to go if not plz suggest a more appropriate method.
    2> in the context for that attribute ,what should i specify for the property input field
        Input Help Mode
        i.e should it be deactivated , automatic or should i give the dictionary serach help and specify  one of the search helps by giving its name.
    Your responses will be greatly appreciated,
    Chaitanya.

    Hi Ebru,
    Yes, it is possible using OVS, freely programmed and dictionary help.
    For OVS, refer this blog: /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    For Dictionary Search Help, refer http://help.sap.com/saphelp_nw70/helpdata/EN/47/9f724642314aabe10000000a42189b/frameset.htm
    For freely programmed, refer:
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/9ef8cc9b5e3c5ce10000000a421937/content.htm
    I hope it helps.
    Regards
    Arjun

  • F4 help for a Input Field

    Hi Experts,
    I am New to web Dyn Pro Java.
    I have a requirement in which  I need to impplement F4 help for a input Field. For this I should not use the Back end. I am suppose to hard code the values that will appear in the F4 help. Can I implement it and how?
    Please respond. Thanks in Advance.
    Regards,
    Rohan

    Sure,
    Go by this-->
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51]
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564]
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8]
    kunal

  • F4 / Help Functionality for input field in custom java iView

    Hi,
    As we see many F4 help on each input field in a transaction, how can we mimic the same functionality in a Custom Java iView. For example, ME23N, you can search a PO based on some criteria, when i create a new custom java iview using BAPI_PO_DISPLAY, how can provide that F4 or help functionality to the Purchase Order field.
    Your help is really appreciated.
    Thanks,
    Vijay

    Hi Vijay,
    the F4 Help functionality is always of big concern when you're switching from a R/3 or ABAP-SAP GUI environment to a webfront end. First of all: the convinience you're used to of creating a seach help and adding it to your data fields is gone, i.e. the current development status in the portal/java/webdynpro implies that you have to do most of the work on your own. Simple value helps might not be a problem, but complex ones are (as the one you've described). Here is a link to a tutorial in Java-webdynpro, maybe it gives you an idea:
    https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD9_OVS.htm
    Regards,
    Ulli

  • SEARCH HELP TO AN INPUT FIELD

    HOW TO APPLY SEARCH HELP TO AN INPUT FIELD FOR FOLLOWING EXAMPLE:
    FOR THE FIELDS LOCATIONS, AND CONFERENCE ROOM NO.
    LOCATIONS ARE A, B, C, D, G AND CONFERENCE ROOMS OF THESE LOCATIONS ARE,
    A1, A2 ,A3,, LIKE WISE FOR REST OF THEM.
    HERE IS THE PROBLEM,
    hi,
    this is a realtime implementation scenario pls provide full coding and answers with screen programming of it.
    it is as follows:
    Business Scenario u2013 conference room booking for the company
    Business Scenario
    You will build a computerized system to automate the process of Conference room booking for a company .
    Xi Infotech, a software company, is having 5 locations at Bangalore. Each location has 3 conference rooms available
    Masters
    Maintain Employee Details
    Maintaining Conference room Details.
    Maintaining booking details
    Transactions
    Maintaining Date and timing of Meeting
    The conference room in any of these locations have to be Pre-booked for the meeting indicating the purpose of meeting & no. Of attendees, date and time for which required.
    Booking Confirmation has to be sent to the employee who blocks the room. If any other person tries to book the same room, he should be able to see that this room is blocked and the details regarding the employee who has blocked and the purpose & time for which the room is blocked
    Reports
    Datewise report on the conference rooms of all locations.
    Month wise reports of conference room booked.

    Hi,
    For a given field if you have more number of possible values then go for the Value table or check table.
    If you have a few values for a given field, then go for Value ranges. These can be maintained at Domain level for a field.
    For each field create a correspondign data element(DE)
    In this DE, we can have the FURTHER CHARACTERISTICS tab we can create a search help Or directly from SE11 we can create a SH then attach this to the DE Or we can directly maintian Or At the DOMAIN level we can  .
    Ex:
    LOCATIONS ARE A, B, C, D, G AND CONFERENCE ROOMS OF THESE LOCATIONS ARE,
    A1, A2 ,A3,, LIKE WISE FOR REST OF THEM.
    Ex:
    SE11->
    DE and Domain names is LOC.
    In SE11->DOMAIN->LOC->
    Here as you have a few values we can maintain it in VALUE RANGES tab->
    like
    A (Description to be given) ie Loc A for Hyderabad
    B Bangalore
    C
    D
    G
    Room Numbers-> here can createa value table with serial numbers at the Domain level.
    Attach the same to the  respective DE in the SE11.
    Similary we can maitain for Conference room numbers or
    We can create a Search help using the two field LOC and RoomNos and create a Elementary search help.
    Like this we can do.
    Get back if you still have queries on this.
    Please refer to this link  for more info-
    SEARCH help
    Regards,
    Chandralekha

  • Three ComboBoxes Dependent on Each Other - Please Help

    I am trying to figure out how to make the data displayed in three ComboBoxes dependent on each other while not hard-coding business rules in "if" constructs, but instead use an ArrayCollection of invalid combinations.
    After compiling the following code and launching, the "$100.00" item in the Tariff ComboBox will be grayed out and inactive
    because its "valid" field is "false".
    QUESTION: what should be added to this application to support the following use cases of the ComboBoxes:
    1) If the user selects clothes and China in the Product and Source ComboBoxes, the "valid" field for the "$100.00" item in the "tariff" ArrayCollection changes to "true", so the "$100.00" item is black and active. Also, the "valid" field for the "none" item in the "tariff" ArrayCollection changes to "false", so the "none" item is gray and inactive.
    2) If after performing 1) above, the user selects Mexico Source ComboBox, the "valid" field for the "$100.00" item in the "tariff" ArrayCollection changes to "false", so the "$100.00" item is gray and inactive. Also, the "valid" field for the "none" item in the "tariff" ArrayCollection changes to "true", so the "none" item is black and active
    I do not want to hard-code these business rules using if() constructs in ComboBox change handlers. Instead, I want to use the "invalid" ArrayCollection below to enforce whatever invalid combinations are in that AC. This will enable a flexible system.
    I've been wracking my brain on this one so please help.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      <mx:Script>
        <![CDATA[
          import mx.collections.ArrayCollection;
          import mx.events.FlexEvent;
          /* The items in these ComboBoxes will be grayed out and inactive
             if their "valid" field is "false".
             After launching the application, open the "Tariff" ComboBox
             and notice the $100.00 item is grayed out and cannot be selected.
             QUESTION: what should be added to this application to support
                       the following use cases of the ComboBoxes:
             1) If the user selects clothes and China in the Product and
                 Source ComboBoxes, the "valid" field for the "$100.00" item
                 in the "tariff" ArrayCollection changes to "true", so the
                 "$100.00" item is black and active. Also, the "valid" field
                 for the "none" item in the "tariff" ArrayCollection changes
                 to "false", so the "none" item is gray and inactive
             2) If after performing 1) above, the user selects Mexico Source
                 ComboBox, the "valid" field for the "$100.00" item in the
                 "tariff" ArrayCollection changes to "false", so the "$100.00"
                 item is gray and inactive. Also, the "valid" field for the
                 "none" item in the "tariff" ArrayCollection changes to "true",
                 so the "none" item is black and active
             I do not want to hard-code these business rules using if() constructs
             in ComboBox change handlers. Instead, I want to use the "invalid"
             ArrayCollection below to enforce whatever invalid combinations
             are in that AC. This will enable a flexible system.
          [Bindable] private var product:ArrayCollection = new ArrayCollection([
            {label: "cars", valid: true},
            {label: "clothes", valid: true}
          [Bindable] private var source:ArrayCollection = new ArrayCollection([
            {label: "China", valid: true},
            {label: "Mexico", valid: true}
          [Bindable] private var tariff:ArrayCollection = new ArrayCollection([
            {label: "none", valid: true},
            {label: "$100.00", valid: false}
          [Bindable] private var invalid:ArrayCollection = new ArrayCollection([
            ["cars"],["China"],["$100.00"],
            ["clothes"],["China"],["none"],
            ["clothes"],["Mexico"],["$100.00"]
          [Bindable] private var currProduct:Object = new Object();
          [Bindable] private var currSource:Object = new Object();
          [Bindable] private var currTariff:Object = new Object();
          private function init():void{
            systemManager.addEventListener(FlexEvent.VALUE_COMMIT, sysMgrHandler, true);
          private function sysMgrHandler(evt:FlexEvent):void{
            if(evt.target is ComboBox){
              var tgt:ComboBox = evt.target as ComboBox;
              switch(tgt){
                case cbxOne:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currProduct;
                  break;
                case cbxTwo:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currSource;
                  break;
                case cbxThree:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currTariff;
                  break;
        ]]>
      </mx:Script>
      <mx:Label text="Tariff Calculator"/>
      <mx:Canvas width="{hb.width}">
        <mx:Label text="Product:" x="{cbxOne.x}"/>
        <mx:Label text="Source:" x="{cbxTwo.x}"/>
        <mx:Label text="Tariff:" x="{cbxThree.x}"/>
      </mx:Canvas>
      <mx:HBox id="hb">
        <mx:ComboBox id="cbxOne" dataProvider="{product}" open="currProduct=cbxOne.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
        <mx:ComboBox id="cbxTwo" dataProvider="{source}" open="currSource=cbxTwo.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
        <mx:ComboBox id="cbxThree" dataProvider="{tariff}" open="currTariff=cbxThree.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
      </mx:HBox>
    </mx:Application>

    It seems like you may want another layer of indirection here. Not necessarily another class (that's probably needed, but orthogonal), but it seems awkward that your "valid/invalid" flags are sitting there directly in the combobox data provider ACs.The items themselves aren't really valid or invalid: it's whether they are selectable in the comboboxes based on the state of the entire application. Instead of storing plain Objects in those ACs, I'd suggest something like
    class Validator {
      public var selectedSource:String;
      public var selectedProduct:String;
      public var selectedTarriff:String;
      public var invalid:ArrayList
      public function isValid(type:String,item:String):Boolean {
        // loop over invalid to determine whether this particular item is valid, given the
        // currernt combination of selected items
    class ValidatedItem {
      public var name:String;
      public var type:String;
      public var validator:Validator;
      public function get valid():Boolean {
        return validator.isValid(type, name);
    Then fill your combobox dataproviders with ValidatedItems instead of Objects. You'll need to instantiate the Validator once for the app and inject it into each item (a Dependency Injection infrastructure like Mate or SmartyPants can make this easier). You can use a Singleton instead if that's more your thing (I'm trying to de-Singleton my life).
    I think that you'll need to wire some extra binding to Validator since otherwise ValidatedItem won't update the valid property when the selected items on Validator change, but that's straigthforward.
    Is this the sort of approach you were thinking of?
    Maciek Sakrejda
    Truviso, Inc.
    www.truviso.com
    Truviso is hiring: http://www.truviso.com/company-careers.php?i=87

  • Activate input for a field depending on the input in another field

    Hy gurus,
    A have a report with select option.
    In the select option I'd like to have the following:
    I have a checkbox ,if it is flagged the input for another field should be made possible.
    The problem is,to activate it right after I flag the checkbox (without having to press ENTER)
    Do you have suggestions?
    Thanks,Christian

    Hi Christian
    It's the same, check my sample in the last my answer.
    If you want to protect a SELECT-OPTION or more than one parameter it should use the group.
    SELECT-OPTIONS: S1 FOR SY-DATUM MODIF ID AAA,
                    S2 FOR SY-UNAME MODIF ID BBB
    PARAMETERS: p1  MODIF ID AAA,
                p2  MODIF ID BBB.
    PARAMETERS: p_ck AS CHECKBOX USER-COMMAND aaa.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_ck = 'X'.
          IF screen-group1 = 'AAA'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ELSE.
          IF screen-group1 = 'BBB'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Max

  • How to copy the corresponding values other fields in  Search help

    Hi All,
    My selection screen contains 5 fields. three are obligatory parameters, one date field and one select option.
    All are from the same table . I had created search help for one field .
    when I'll click the hit list of the search help I want the corresponding values to get copied to other fields in the selection screen, as my hit list contain values for all those fields.
    How Can I copy those values.
    Please help me on this.

    Hi,
    Please try this.
    In the search help set the export parameter for the other fields also.
    Thanks
    Naren

  • Auto-fill calender date and validate other fields depending upon selected date for infopath forms

    I have a calender box in infopath form which i want to autoselect when user opens the form..Ex..i am opening form on 14th march the calender should show as 19th march and also i have to perform few validation and action such as if i am selecting date with
    more than 5 days gap should open other field which is a dropdown..How can i perform this..

    Do you have Excel Services? if so, this article may be of use to you:
    http://sergioblogs.blog.co.uk/2013/01/08/infopath-2010-and-excel-services-in-sharepoint-15407321/
    You can configure an excel workbook to validate if a date is a working day and then use formulas to workout the working date for 5 days after the date you enter, then link your InfoPath form to connect to the excel workbook and return the result of your
    calculation.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • BDC steps differ when inputing same record with different other field value

    CODEDATE--
    ETC...(there is of course other field)
    11----01.10.2007   (do process A C D)
    12----01.10.2007   (do process A C D)
    12----01.11.2007   (Having same code field so do process A B C D)
    13----01.11.2007   (do process A C D)
    14----01.10.2007   (do process A C D)
    15----01.11.2007   (do process A C D)
    15----01.12.2007   (Having same code field so do process A B C D)
    16----01.10.2007   (do process A C D)
    hi i am doing a BDC batch my input table a bit like above.
    first record will do process A C D
    second record will do process A C D
    thirt record will do process A B C D
    second record will do process A C D
    Any hint of how i can do that plzzzz .  Urgent helppp needed

    as per understanding,
    if code = 11 and date = 01.10.2007 then u need process A C and D  right.
    define 4 subrountine with A B C D logics.
    define one more subroutine with SR1 and SR2.
    inside SR1 call 3 subroutines A C D
    and SR2 call A B C D.
    if code = 11 and date = 01.10.2007 then
    call subroutine SR1,
    if if code = 12 and date = 01.11.2007 then call Subroutine SR2.
    if u have any issue, let me know the detailed requirement.

  • Help with F4 search on additional field in Infotype 0045

    Hi guys,
    I have created an additional field in Infotype called 'Payee_Key' of type P0057-EMFSL. I have to create F4 help for that field. However when creating F4 help through foreign key it is showing all tha values for EMFSL in the table.
    I want the F4 help to be like Payee Key field of Infotype 0057 , where only specific country values of EMFSL , depending on the employee number are shown. not all values.
    Please help me out. Thanks.
    Edited by: soumyajit DM on Dec 15, 2010 10:42 AM

    Hi Zafar,
    Here is the answer to your question:
    1) Create a class say ZABC_F4 that implements the IF_BSP_WD_CUSTOM_F4_CALLBACK interface.
    2) Create method RETRIEVE_CUSTOM_VALUES with below parameters in that class:
    CT_RESULTS_TAB Changing Type SHSVALTAB
    IR_CUSTOM_REF Importing Type Ref To OBJECT
    IS_SEARCH_HELP Importing Type SHLP_DESCR
    3) Write logic for DB select here and put it in below code:
    select * from abc into LT.
    data:   ls_result LIKE LINE OF ct_results_tab.
       LOOP AT lt ASSIGNING <fs>.
        CLEAR ls_result.
        ls_result-key = <fs_>-field.
        ls_result-value = <fs_>-fieldtext.
        APPEND ls_result TO ct_results_tab.
      ENDLOOP.
    4) Redefine the V-method for that attribute and put below code there:
    DATA:
            ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
            lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
            lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
        ls_map-context_attr = 'STRUCT.attribute1'.
      ls_map-f4_attr = 'aaa'.
      APPEND ls_map TO lt_intmap.
      ls_map-context_attr = 'STRUCT.attribute2'.
      ls_map-f4_attr = 'bbb'.
      APPEND ls_map TO lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE
        cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '(ZABC_F4)'
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = lt_inmap
          iv_output_mapping = lt_outmap.
    5) Implement get P for value input, as you know.
    Thats it.
    Regards,
    Bhushan

  • Need help to disable input selection-screen - very urgent

    Hi SAP experts,
    I have a requirement where in I need to disable ( Grey out ) the input fileds on the selection screen .
    My problem is as I am using ABAP query I am not able to use any events ( AT SELECTION-SCREEN OUTPUT ).
    My selection screen looks like this
    MATERIAL NUMBER ( SELECT-OPTIONS)
    MATERIAL TYPE ( PARAMETERS )
    Now I want to add one more check box below the above fields on the selection-screen.When I click on the check-box,the MATERIAL NUMBER  must be greyed out and MATERIAL TYPE should remain the same.
    Please let me know the coding for the same. All answers would be rewarded.
    Thanks in Advance,
    Suresh.

    Hi,
    Check out these codes.
    1.
    TABLES : mara, makt.
    parameter: p_matnr type mara-matnr,
               p_maktx type makt-maktx.
    at selection-screen output.
    select single maktx
    from makt
    into p_maktx
    where matnr = p_matnr
    and spras = 'EN'.
    loop at screen.
      if screen-name = 'P_MAKTX'.
        screen-input = 0.
        modify screen.
      endif.
    endloop.
    2.
    TABLES : mara, makt.
    TYPES:BEGIN OF tp_maktx,
          maktx TYPE makt-maktx,
          END OF tp_maktx.
    DATA:t_maktx TYPE STANDARD TABLE OF tp_maktx,
         wa_maktx TYPE tp_maktx.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    SELECT-OPTIONS: s_maktx FOR makt-maktx.
    INITIALIZATION.
      REFRESH s_maktx[].
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'S_MAKTX-LOW' or screen-name = 'S_MAKTX-HIGH'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      REFRESH s_maktx[].
      if s_matnr[] is not initial.
      SELECT maktx FROM makt
      INTO TABLE t_maktx
      WHERE matnr IN s_matnr
      AND spras = 'EN'.
      endif.
      LOOP AT t_maktx INTO wa_maktx.
        s_maktx-low = wa_maktx-maktx.
        APPEND s_maktx.
        CLEAR:wa_maktx.
      ENDLOOP.
    3.
    TABLES : mara, makt.
    parameter p_cb1 type c as checkbox.
    parameter p_cb2 type c as checkbox.
    parameter p_cb3 type c as checkbox.
    initialization.
    loop at screen.
    if screen-name = 'P_CB3'.
    screen-invisible = 1.
    modify screen.
    endif.
    endloop.
    at selection-screen output.
    *loop at screen.
    *if screen-name = 'P_CB3'.
    *screen-invisible = 1.
    *modify screen.
    *endif.
    *endloop.
    loop at screen.
    if p_cb1 = 'X'.
      if screen-name = 'P_CB2'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB3'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb2 = 'X'.
      if screen-name = 'P_CB3'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB1'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    if p_cb3 = 'X'.
      if screen-name = 'P_CB1'.
      screen-invisible = 1.
      modify screen.
      endif.
      if screen-name = 'P_CB2'.
      screen-invisible = 0.
      modify screen.
      endif.
    endif.
    endloop.
    Reward if helpful..
    Regards.

Maybe you are looking for

  • Changing quiz button text

    I am working on a series of tutorials and quizzes for our client, I want to change the text on the "Next" button on the quizzes. It appears easy enough, in the options, Next button text field, I have entered what I want, but it still appears as "Next

  • Using SO_OBJECT_SEND with Transaction code and IDOC number

    Hi All - from within the inbound_idoc_orders FM - when an idoc errors I want to generate a sap office document (with more verbage than workflow, so that is why a sap office doc) and with SO_OBJECT_SEND - but I want to be able to pass the idoc number

  • Sending to local user gives too many hops

    I have set up Mavericks server for mail. Works perfectly for incoming and outgoing mail to other domains but fails when trying to send mail to a local user. Here are my settings: example.com is my primary domain, it provides DNS and Mail service ther

  • Unable to see repository objects in directory

    hi, i am unable to see repository objects in directory(like message interface, interface mapping). i have tried cache refresh but the issue still persists.

  • How to update PSe 10 to camera raw 7.3

    How does one update pse 10 to use camera raw 7.3?