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

Obligatory fields in table maintainence

Former Member
0 Likes
911

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?

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
Read only

Former Member
0 Likes
870

chk ou if u can write any source code here

In table maintainance screen

Environment menu>modification>source code

Read only

0 Likes
870

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

Read only

Former Member
0 Likes
870

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

Read only

Former Member
0 Likes
870

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

Read only

Former Member
0 Likes
870

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.

Read only

Former Member
0 Likes
870

Hi,

write code in PAI event using

chain .

field f1

field f2

validate data

endchain.

Regards

amole

Read only

uwe_schieferstein
Active Contributor
0 Likes
870

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