Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

user exit

Former Member
0 Kudos

helllo

i have to create a pop-up in iw22 transaction,this pop-up triggers when i click on notification continue or closure button. in that pop-up there r 2 pushbuttons.when i click on one of the pushbuttons a check box(breakdown indicator) has to be checked in the same transaction and it should be displayed in the same screen.

how to handle this.

regards

kiran

1 REPLY 1

Former Member
0 Kudos

Hi,

Here is some sample code to popup a dialog and recieve values.

report zrich_0001 .

data: ivals type table of sval with header line.

data: x_datum type sy-datum,

x_uzeit type sy-uzeit.

start-of-selection.

ivals-tabname = 'SYST'.

ivals-fieldname = 'DATUM'.

append ivals.

ivals-tabname = 'SYST'.

ivals-fieldname = 'UZEIT'.

append ivals.

call function 'POPUP_GET_VALUES'

exporting

  • NO_VALUE_CHECK = ' '

popup_title = 'Enter Date & Time'

  • START_COLUMN = '5'

  • START_ROW = '5'

  • IMPORTING

  • RETURNCODE =

tables

fields = ivals

exceptions

error_in_fields = 1

others = 2

.

read table ivals with key fieldname = 'DATUM'.

if sy-subrc = 0.

x_datum = ivals-value.

endif.

read table ivals with key fieldname = 'UZEIT'.

if sy-subrc = 0.

x_uzeit = ivals-value.

endif.

Write:/ x_datum, x_uzeit.

<b>Reward points</b>

Regards