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 class program code neede

Former Member
0 Likes
407

Hi friends,

i want to insert data in a database table (Ztable) by using class..

after create the class what i have to write.. in the source code... plz give me the exact syntax or code.. because i'm not an abaper so, plz help me regarding this..

in my Ztable contain 4 fields.. ( Vendor no, name , address, city ) these fields i want to insert the data ..

where i have to define a object.. and how can i use that..

regards

Babu

1 ACCEPTED SOLUTION
Read only

MarkusRest
Participant
0 Likes
389

what do you mean: 'by using class' ?

noramally to insert or update a code in a DB-Tabe would be:



[copy all 4 fields into WA]
Modify ztable from wa.

BUT:

If you do not know, what you're doing there you should refrain from something like that....

2 REPLIES 2
Read only

MarkusRest
Participant
0 Likes
390

what do you mean: 'by using class' ?

noramally to insert or update a code in a DB-Tabe would be:



[copy all 4 fields into WA]
Modify ztable from wa.

BUT:

If you do not know, what you're doing there you should refrain from something like that....

Read only

Former Member
0 Likes
389

Thanks,

but my requirement is i need to arite a program using class(SE24)

thanks

Babu