‎2007 Aug 05 3:30 AM
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
‎2007 Aug 05 7:56 AM
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
‎2007 Aug 05 7:56 AM
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
‎2007 Aug 05 10:50 AM
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
‎2007 Aug 05 12:09 PM
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.
‎2007 Aug 09 9:19 AM
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.