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: 

Obligatory fields in table maintainence

Former Member
0 Kudos

Hi,

I have a table with a maintainence, when i fill with data the line i fill one of the key fields,but there are 5 key fields, when i fill one and give enter he blocks the other key fields, there is anyway to not block any field until all key fields are filled with data?

7 REPLIES 7

Former Member
0 Kudos

chk ou if u can write any source code here

In table maintainance screen

Environment menu>modification>source code

0 Kudos

Yes i can, in fact i have some code in one of those events

Former Member
0 Kudos

Hi,

GOTO SE51 and enter the program and screen number that is created for the table maintenance..

For the key fields in the attributes make it as mandatory..

That way it will make sure the user will enter values in all the key fields..

THanks,

Naren

Former Member
0 Kudos

Hi,

u need to write a valid code in module pool.

In table maintainance screen

Environment menu>modification>source code

even you can write from SE51 also by using the Program name and the screen No

Regards

Sudheer

Former Member
0 Kudos

Ricardo,

Once the maintanece generator is created, it should have created a Function group with the screen number which u have specified during the creation of table maintanence. Goto the PAI of that screen say 0001, write your own code in the loop. endloop. of that table control.

Regards,

Prakash.

Former Member
0 Kudos

Hi,

write code in PAI event using

chain .

field f1

field f2

validate data

endchain.

Regards

amole

uwe_schieferstein
Active Contributor
0 Kudos

Hello Ricardo

If you are using the tabulator (Tab-key on your keyboard) the remaining key fields keep editable. However, if you press ENTER the view runs through PAI/PBO and thus "closes" all key fields.

If you cannot see all your key fields on the displayed table control you could modify the screen to enlarge it.

Regards

Uwe