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

Data Modify through module pool programming

Former Member
0 Likes
337

hi

I want to Modify the data  into the Z  data base through module pool programming. I am taking the fields  Primary  key   from Z table , of behalf of primary . I want to modify data  , I need sample code ,please help me

Thanx

PT

1 REPLY 1
Read only

Former Member
0 Likes
297

I'm not sure I have understood the request properly but if all you want to do is modify the data in an internal table use the UPDATE process.

Call the procedure from your screen PAI:

CHAIN.

  FIELD: var1,

              var2.

  MODULE update_ztable.

ENDCHAIN.

This will call module update ztable whenever the values in car1 or var2 are changed.

Update the table in your screen module:

UPDATE ztable SET fieldname1 = var1 fieldname2 = var2 WHERE keyfield = keyvalue.