Application Development and Automation 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: 
Read only

new entry in dialog programming

Former Member
0 Likes
344

hi all

In a dialog program on a click of push button I want to enter new fields in Input fields without moving to new screen and that entry to be stored in a table.

Guys I am new to the dialog programming. Kindly help me out!

2 REPLIES 2
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
326

HI,

You need at the fields on the screeen and by default you need to disable them in PBO module and then when you push the button in the PAI module set a flag then in the PBO module based on the flag ENABLE the fields.

As follows.

In the PBO module enter this code

LOOP AT SCREEN.

IF SCREEN-NAME = 'YOUR FIELD NAME' and FLAG IS INITIAL.

SCREEN-ACTIVE = 0.

ELSEIF FLAG = 'X'.

SCREEN-ACTIVE = 1.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

In the PAI add module

IF OK_CODE = 'PUSH_BUTTON_FCODE'.

FLAG = 'X'.

ENDIF.

Regards,

Sesh

.

Read only

Former Member
0 Likes
326

HI,

in pbo event, use the SCREEN table attributes, ,,,,,ie, for PBO event, u have to use that,

on pbo

loop at screen.

screen-input = 1.

-


endloop.