‎2009 Oct 28 1:13 PM
Hello ABAP Gurus,
I am very much new to ABAP Programming.
Can anybody help me to write a simple Dialog Program ??
I have a database table.
I have created a screen with screen painter, and kept some input fields & a push button in it.
I want to fill the database table with the data entered into the fields on the screen.
When the user enters the data and presses the PUSH BUTTON then that data record should be stored into the Database table.
So what kinda code I have to write in PAI (Process After Input), to achieve this functionality ??
The help will be greatly appreciated.
Thanks in advance
Best regards
Ravi
Edited by: Ravi Kiran on Oct 28, 2009 2:17 PM
‎2009 Oct 28 1:20 PM
Please SEARCH in SCN before posting. You will find lots of threads with examples and explanations for the same basic requirement
‎2009 Oct 28 1:20 PM
Please SEARCH in SCN before posting. You will find lots of threads with examples and explanations for the same basic requirement
‎2009 Oct 28 1:20 PM
It's easy:
In PAI you have do an insert into a database table, following the steps:
1.on PAI create a module: for exemple Zwrite_table.
2. inside Zwrite_table code as follow:
move var1 to wa_table-var1.
move var2 to wa_table-var2.
move var3 to wa_table-var3. etc etc
insert table ztable from wa_table.
P.s. ztable is a database table.
wa_table is a structure that have the same structure of ztable.
var1 var2 var3 etc is a variable inside your dynpro.
regards,
Roberto.