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

Insert

Former Member
0 Likes
575

hi all

In the below code i need to put values into the table ZDC1 which is created by me.How to do it.For example if execute the below program and give '1234'.How to put it into table ZDC1.

REPORT ZDC1.

tables:zdc1.

PARAMETERS:p_bukrs type zdc1-bukrs.

With regards

Vijay

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
551

Hello.

Do like this:


DATA: wa TYPE zdc1.
wa-field1 = '1234'.
INSERT zdc1 FROM wa.

Regards.

Valter.

2 REPLIES 2
Read only

Former Member
0 Likes
551

REPORT ZDC1.

tables:zdc1.

PARAMETERS:p_bukrs type zdc1-bukrs.

data : wa_zdc1 type zdc1.

wa_zdc1-bukrs = p_bukrs.

insert zdc1 from wa_zdc1.

Edited by: Shruthi R on Jun 3, 2008 12:26 PM

Read only

valter_oliveira
Active Contributor
0 Likes
552

Hello.

Do like this:


DATA: wa TYPE zdc1.
wa-field1 = '1234'.
INSERT zdc1 FROM wa.

Regards.

Valter.