Current Position:Home > Pushbutton obligatory

Pushbutton obligatory

Update:11-30Source: network consolidation
Advertisement
HI
We have a pushbutton in selection screen. We need to make that an mandatory field.
Please help.
Thanks in advance.
SS

The Best Answer

Advertisement
Hi,
If that's your requirement, what you could do is, Check if your SY-UCOMM value is the function code of the button that you pressed and not any other event. Also, adding to this functionality, if you want to press only button2 and not any other after an event like clicking button1, then you can store the SY-UCOMM value of the button1 in OK_CODE and then check if the OK_CODE is 'but1' and SY-UCOMM eq 'but2' and proceed accordingly.
Display an information message asking the user to click on the button before proceeding.
if sy-ucomm ne 'but1'
"display error message
else.
"Go ahead with your logic
endif.
  • Pushbutton obligatory Update:11-30

    HI We have a pushbutton in selection screen. We need to make that an mandatory field. Please help. Thanks in advance. SSHi, If that's your requirement, what you could do is, Check if your SY-UCOMM value is the function code of the button that you pre

  • Pushbutton Text does not display in portal but display in development Update:10-11

    Hi Experts, I ceated Pushbutton in  selection screen block . Pushbutton text is does't display in portal view but display in development . i attached my coding , could you suggest anyother coding to diplay the pushbutton text. SELECTION-SCREEN BEGIN

  • Obligatory Paramater Not Always Update:11-30

    Hi, I have a parameter that is obligatory and I have a button that calls another transaction. The problem is that when I want to go to the other transaction by clicking on the button it asked for the obligatory parameter first. But I need that parame

  • Pushbutton Inside ALV Grid Update:11-30

    How can I add a pushbutton inside ALV toolbar?Hi, This can be included into ALV by defining a GUI and setting that GUI using Set PF Status. Check the below code for the same, REPORT  ZSPRENH069 NO STANDARD PAGE HEADING. TYPE-POOLS : SLIS.            

  • Obligatory fields in a Maintenance View Update:10-11

    Hi All, I have a Z table. I have created a Maintenance View for this table. My requirement is to have a few fields as mandatory in this view so that when the user enters data, these fields should appear with the Obligatory symbol in the grid. Regards

  • Md04 - additional columns as pushbutton Update:10-11

    Implementing the badi MD_ADD_COL_EZPS How can I add a column and the content of the column is a pushbutton ???? thanks in advance StephanHi Stephen,                     I just made this particular enhancement. You first have to check if the BADI - MD

  • Leaving dynpro with obligatory fields. Update:10-11

    Hi everyone. What I'm trying to find is some way to leave (using a cancel button) a dynpro that has obligatory fields without having to complete them. What I've done is including the following code in the PBO user-command module:   case sy-ucomm.    

  • Down Payment Clearing pushbutton in MIRO (SAP ECC6 EP4) after F-48 Update:10-11

    Hi, I have tried all sorts of steps, but I am unable to see this Down Payment Clearing pushbutton in MIRO transaction. Required package - LOG_MMFI_P2P is already installed and found OK in SFW5. Down payment maintained in PO, request created in F-48 a

  • Custom pushbutton in ME21N should display a popup window with item details Update:10-11

    Hello,, The requirement is to 1. Add a custom pushbutton in ME21N screen at header level. 2. The user will select some PO line items and will click on this push button.     This inturn should trigger a popup window with item details only for those se

  • Regarding pushbutton operation in alv report Update:10-11

    hi, I have a requiement in which i will get list display which contains certain no of records(let us say 10  records)...now the issue is *if i selet one record and if it is correct record* and if i hit the insert pushbutton it should go and insert in