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

Table control problems

Former Member
0 Likes
581

Hi experts,

My problem with table control is tihs: There are several Required fields in the table control, after the user input some of the fields but wants to concel, even the user set all the fields of that column to blank, the system always pops up error message saying that please fill up the required fields after the user pressing Enter. Please suggest a way to solve it.

Thx a lot, points will be rewarded.

Vincent

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
533

Hi

Go to the attributes (by double clicking on the field) of the fields and make the fields as INPUT/OUTPUT fields

and remove the REQUIRED attribue and see

see the links for table control and sample programs and do accordingly

chk the demo prog:

DEMO_DYNPRO_TABCONT_LOOP

Check the below links.

http://www.planetsap.com/howdo_a.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm

http://sap.niraj.tripod.com/id25.html

Also you can see the below examples...

Go to se38 and give demodynpro and press F4.

YOu will get a list of demo module pool programs.

One more T-Code is ABAPDOCU.

YOu can find more examples there.

See the prgrams:

DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement

DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB

http://www.geocities.com/ZSAPcHAT

http://www.allsaplinks.com/files/using_table_in_screen.pdf

<b>Reward points for useful Answers</b>

Regards

Anji

4 REPLIES 4
Read only

Former Member
0 Likes
534

Hi

Go to the attributes (by double clicking on the field) of the fields and make the fields as INPUT/OUTPUT fields

and remove the REQUIRED attribue and see

see the links for table control and sample programs and do accordingly

chk the demo prog:

DEMO_DYNPRO_TABCONT_LOOP

Check the below links.

http://www.planetsap.com/howdo_a.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm

http://sap.niraj.tripod.com/id25.html

Also you can see the below examples...

Go to se38 and give demodynpro and press F4.

YOu will get a list of demo module pool programs.

One more T-Code is ABAPDOCU.

YOu can find more examples there.

See the prgrams:

DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement

DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB

http://www.geocities.com/ZSAPcHAT

http://www.allsaplinks.com/files/using_table_in_screen.pdf

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
533

see this sap demo program

DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement

DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB

Read only

Former Member
0 Likes
533

Hi,

InProperties of Exit button mark Fct Type as "E"

and Use this syntex in PAI and create modue corresponding to leave program.

Module form_exit at Exit-command.

Regards

Rajiv singh.

Read only

Former Member
0 Likes
533

hi,

In PAI Write :

field <field name> modue check_data on request.

it will trigger only when data change in that field.

write for all the fields like this.

Regards

Rajiv singh.