Hide & Display Selection Screen Parameters | At Selection-Screen Output Event to hide fields in ABAP

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Hello Friends,
    In this session we are going to hide and display selection screen fields base on selected radio button in sap abap.
    We are going to create one selection screen and we are going to create three different radio button on selection screen in sap abap and we are going to add some fields/parameters relevant to each radio button on selection screen, then we are going to hide and display fields base on the radio button selected in sap abap using selection screen events AT SELECTION-SCREEN OUTPUT event in sap abap.
    ======== Events in ABAP Programming ==========
    There are Different Selection screen events in sap abap like :
    Top-of-page
    end-of-page
    start-of-selection
    end-of-selection
    At selection-screen
    At selection-screen output
    At selection-screen on value request for
    At selection-screen on fields
    So in this video we are working on functionality of AT Selection-screen output event.
    Please watch video for more details on Radio button action .
    Please visit my website to learn more about ABAP.
    www.learnsapab...
    #At_selection_Screen_output
    #Hide_and_display_fields_abap
    Thanks,
    #LearnSapAbap
    Instagram : @swap_neeeel

ความคิดเห็น • 46

  • @LearnSapAbap
    @LearnSapAbap  3 ปีที่แล้ว

    Please watch hide and display mandatory obligatory parameters on selection screen.
    th-cam.com/video/nSAbwo545fQ/w-d-xo.html

  • @jayrajpatankar1446
    @jayrajpatankar1446 ปีที่แล้ว +2

    You explain very well..😊
    I completely understand
    Keep it up🎉🎉🎉❤

  • @spoorthiachar4536
    @spoorthiachar4536 3 ปีที่แล้ว +2

    Clearly explained. Thank you 👍

  • @ignite7150
    @ignite7150 7 หลายเดือนก่อน +1

    Thank you bro

  • @sanjaxaa
    @sanjaxaa 2 ปีที่แล้ว +1

    thankyou so much.

  • @tanishkaprajapati7468
    @tanishkaprajapati7468 3 ปีที่แล้ว +1

    Thank you so much

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      Welcome Tanishka. Please subscribe and show your support. ☺️

  • @dfg0072
    @dfg0072 ปีที่แล้ว

    Will this hide and unhide option of clicking the radio button is applicable for checkbox..... Plz reply 🙏

  • @kundanpatil9190
    @kundanpatil9190 ปีที่แล้ว

    I have a requirement where I have 3 radio buttons and within them I have mix of listbox and radio buttons to hide, I am able to hide the radio buttons and listbox, but there is a blank space created between the main 3 radio buttons. I guess it is because of the hidden radio buttons, is there any way where I can remove the blank space too?

  • @darksentinel5387
    @darksentinel5387 5 หลายเดือนก่อน

    Where did the "SCREEN-group1" came from ?, where does it connects ?

  • @venkeyvenkateshamaraneni7800
    @venkeyvenkateshamaraneni7800 3 ปีที่แล้ว +2

    is this work for select options with radio button? i tried but it doesn't

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      Yes.. it will work for select options as well.. you need to provide modif I'd for select options..
      Example
      Select-option : s_bukrs for ty_bukrs MODIF ID xyz

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      th-cam.com/video/nSAbwo545fQ/w-d-xo.html it will solve your doubt

  • @Snuixdehgdedd
    @Snuixdehgdedd 2 ปีที่แล้ว +1

    What's use of user command?

  • @shubhamuppal-1599
    @shubhamuppal-1599 2 ปีที่แล้ว

    For me it is working by double clicking the radio button, is it like this?

  • @rimabanerjee1137
    @rimabanerjee1137 ปีที่แล้ว

    In SAP abap which is known as USER EXPERIENCE? A. SAP FLORI B. SAPUI5. please reply

  • @sivasankardeva550
    @sivasankardeva550 ปีที่แล้ว

    Create a demo on check box hide and display like as radiobuttons

  • @nareshnani4444
    @nareshnani4444 4 ปีที่แล้ว +1

    Please do idoc and bapi videos sir...

    • @LearnSapAbap
      @LearnSapAbap  4 ปีที่แล้ว

      Sure.. Wait for some day..

    • @va-runvlogs2233
      @va-runvlogs2233 3 ปีที่แล้ว +1

      Is it possible to grey out bex query selection screen for few Seconds through ABAP??like It should prompt as " Wait for 5 minutes" then after 5 Mins,query should execute..

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      Please send your requirement with screenshots to learnsapabap17@gmail.com. I will look into it and let you know. thanks.😊

    • @va-runvlogs2233
      @va-runvlogs2233 3 ปีที่แล้ว +1

      @@LearnSapAbap thanks..Sure

  • @tisoncsunnychiriyankandath9383
    @tisoncsunnychiriyankandath9383 3 ปีที่แล้ว

    if i want to make a selection operation based on my radio button selection, where should i write the logic?

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      Can you please elaborate your scenario in detail?

  • @reema6306
    @reema6306 3 ปีที่แล้ว +1

    thank you so much ! the video was very explanatory and clear.
    I tried the following solution but I still have a problem :(
    I have a dialog screen ( a small pop-up screen ) that is about Covid-19 vaccination that has 2 inputs that is defined using screen painter.
    - Vaccination status ( not immune , immune , immune by 1 dose )
    - Vaccine Name ( Oxford, Pfizer, etc...)
    * Note that these fields have drop-down menu values to avoid human error.
    The problem : When a user chooses "Not Immune" , I want to hide the vaccine name as it is no longer needed.
    and when he chooses either "immune" or "immune_1st dose" , the field vaccine name shows up.
    I have already achieved it but it is not happening during run-time and it is not dynamic ... please help

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      @reema you can also watch this video in which I have shown you how to hide and display parameters in module pool screen. Please check this once this will solve your 50% problem th-cam.com/video/mTKbt0kauXk/w-d-xo.html
      As per your requirement you have drop down list, so you can do one thing.
      1) first in layout screen double click on drop down list field and define function code for drop down list field. Example: function code = VS (it will trigger PAI module whenever you will choose any values from drop down list)
      2) go to PAI module and write logic for example
      case sy-ucom
      When 'VS'.
      < Your logic here to hide field, you can take help of video link which I have shared above. >
      Endcase.
      3) excute your program and you will definitely achieve it..
      Thanks,😊

  • @venkadeshb7973
    @venkadeshb7973 2 ปีที่แล้ว

    I tried it but it was not working. While debugging the value of the screen group is not getting populated in the screen-group1

    • @LearnSapAbap
      @LearnSapAbap  2 ปีที่แล้ว +1

      Hello Venkadesh,
      If you copy the same code, it will work.. screen-group value will contain in multiple iteration.. please check in debug when it's trigger

    • @venkadeshb7973
      @venkadeshb7973 2 ปีที่แล้ว

      I tried using two parameters which is linked to a table field. I assigned modif id for both the parameters as mentioned in include scr. Then created a at selection screen output event and under that i wrote a perform subroutine which has the condition for dynamic change of radio button.
      I had 4 conditions for 2 paramaters
      Because the screen-group is empty throughout the condition it is not satisfying any condition and displaying both the parameters. If you share your mail id I can send my code.

  • @perception5019
    @perception5019 2 ปีที่แล้ว

    Yours is working but I am not able to come out of the loop. I mean even if I enter the input ,the selection screen is not changing to the output screen. Please resolve this and waiting for your reply

    • @LearnSapAbap
      @LearnSapAbap  2 ปีที่แล้ว

      Is it possible to paste your code here?

    • @perception5019
      @perception5019 2 ปีที่แล้ว

      @@LearnSapAbap I wrote the same code you wrote. The input is table field value. I want to display the table for that field value.but even after entering the value,i cant able to move out of the selection screen. So how to come out of that loop .I even tried to use exit statement.

    • @LearnSapAbap
      @LearnSapAbap  2 ปีที่แล้ว

      Please mail your code with screenshot of output on learnsapabap17@gmail.com.

    • @perception5019
      @perception5019 2 ปีที่แล้ว

      @@LearnSapAbap i cant do that.but you have read name and phone number in your code right ,then try to display those.you will understand the problem then?

    • @LearnSapAbap
      @LearnSapAbap  2 ปีที่แล้ว

      I know it's confidential things but without checking piece of code. I can't suggest you whatever mistake is there in your code.. if possible then you can paste Loop and end loop code here . So that I will give you some suggestions.. thanks 🙏

  • @karankurhade2992
    @karankurhade2992 2 ปีที่แล้ว

    can you please provide ur code also....
    maybe a github repository link?

    • @LearnSapAbap
      @LearnSapAbap  2 ปีที่แล้ว

      Code is already available in video you can pause video and take screenshot of it.. 😊

  • @dickiandrea894
    @dickiandrea894 3 ปีที่แล้ว

    This is not working if there is any obligatory field

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      If you want to hide obligatory field, then first you should create field as obligatory through program level ( writing logic in AT SELECTION SCREEN OUTPUT event with help of screen-required = 2) and then check it will work

    • @dickiandrea894
      @dickiandrea894 3 ปีที่แล้ว

      @@LearnSapAbap event AT SELECTION SCREEN is not working before all obligatory field are filled.

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      I will create separate video and I will show you.. how to do that .

    • @dickiandrea894
      @dickiandrea894 3 ปีที่แล้ว

      @@LearnSapAbap Okay.. Thank you

    • @LearnSapAbap
      @LearnSapAbap  3 ปีที่แล้ว

      Please refer this video in order to hide mandatory parameters.
      th-cam.com/video/nSAbwo545fQ/w-d-xo.html
      Thanks