2007 Aug 06 8:24 AM
Hi,
I am working with enhancement where i need to check the percentage total for the billing plan if it exceeding 100 then i need to give an error message . Now i am able to code for this requirement .But in the following scenario
for a billing plan there is percentage divided is 50:40:10. if i change the billing percentage of 50 to 90. then system will display an error message and system is allowing the user to change the that percentage value alone( in this case cursor will be placed at percentage 90 first row all other fields will be in display mode) .But if i change the percentage of second row say from 40 to 60. The system is throwing an error message but the cursor is placed at the first row only.
Please can any one help me in setting the cursor to the field where the billing percentage has been changed . Or give me some suggestion where i can display the all the fields in changed mode .
Advance thanks
Pavee.
Hi,
I am working with enhancement where i need to check the percentage total for the billing plan if it exceeding 100 then i need to give an error message . Now i am able to code for this requirement .But in the following scenario
for a billing plan there is percentage divided is 50:40:10. if i change the billing percentage of 50 to 90. then system will display an error message and system is allowing the user to change the that percentage value alone( in this case cursor will be placed at percentage 90 first row all other fields will be in display mode) .But if i change the percentage of second row say from 40 to 60. The system is throwing an error message but the cursor is placed at the first row only.
Please can any one help me in setting the cursor to the field where the billing percentage has been changed . Or give me some suggestion where i can display the all the fields in changed mode .
Advance thanks
Pavee.
2007 Aug 06 8:31 AM
Hi
See this
syntax:
CONTROLS .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
Go through this urls.
Check the below links.
just refer to the link below
http://www.sapmaterial.com/tablecontrol_sap.html
step by step procedure with screen shots
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
Reward points for useful Answers
Regards
Anji
2007 Aug 06 8:44 AM
Hi Anji Reddy Vangala,
I am using transaction VA01 .which is standard tcode.Now i have written the code in the include and i have created an implicit enhancement in LV60FF0F i have called that include in this implementation.
Do i need to change the standard screen and write the code in the PBO and PAI of that screen.
Please can u help me ...
advance thanks
paveee.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |