Application Development 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: 

enhancements....1 scenario

Former Member
0 Kudos
67

hey guyz!

i have a requirement.....

in one enhancement i have added some 10 fileds of char1 with check boxes in a screen of which 1 must be checked while creating WBS.

soo...the user checks some of them...

we have to update those checked values into the respevted table..

soo....in the exit .....do we have to write code for updating these values???

or the updation will be done automaticly??

if we have to write the code...jus plz help me with code....provide me code....m a beginner....plz help me...

reg

Zid.

2 REPLIES 2

Former Member
0 Kudos
43

hi,

u have to write update query explicitly.

UPDATE <tablename> SET

<field1> = value1

<field2> = value2

. . .

WHERE <condition>.

in the USER_Command module of PAI.

here values are the name of the checkbox in your case.

thnks

Dharmishta

Former Member
0 Kudos
43

You have to write ABAP code to update the table.

Find the respective tables which are to be updated using F1 help.

Aslo u can find the names of the field using F1 help.

The checkboxes contain values <b>X</b>

Check which are fields are checked using <b>if fieldname = 'X'.</b>

Then use

<b>Update, Insert or Modify</b> commands for updating the respective tables.

Please reward if helpful.