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

sample mpp program which updates 2 tcodes which has table controls & ztable

Former Member
0 Likes
397

Hai Experts ,

I want sample MPP program.My requirement is to have a table control and 6 input fields in one tcode-1 and same fields and table control in another tcode-2.In tcode-1 he enters 4 out of 6 input fields and table control values,than these values must sit in Ztable.Later in tcode-2 he enters remaining 2 out of 6 input fields.After Completion process this must be updated to tcode1 also.

EX: IP1 no__ IP2________IP3 ________ IP4_______IP5_____

In ip1 is generated thru number range SNUM and NUM_GET_NEXT (FM)

In table control 1 field will be disabled always out of some fields in 1st tcode and enabled always in 2nd tcode.

_______________________________________________________________

Field1

Field2

Field3

Field4

Field5

Field 6

disable Fld 7 in Tcode 2

________________________________________________________________

later entry

________________________________________________________________

IP6______

Thanks in advance.

Vikram.Reddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

Hi

see the sample programs and the links 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

1 REPLY 1
Read only

Former Member
0 Likes
346

Hi

see the sample programs and the links 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