2013 Mar 11 6:12 AM
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
2013 Mar 11 3:24 PM
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.