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
530

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

Former Member
0 Likes
470

REPORT ZDC1.

tables:zdc1.

PARAMETERS:p_bukrs type zdc1-bukrs.

zdc1-bukrs = p_bukrs.

Insert zdc1.

3 REPLIES 3
Read only

Former Member
0 Likes
470

Why don't you try to read teh on line help for the INSERT command and see what it says, then come back if you get stuck.

Read only

Former Member
0 Likes
471

REPORT ZDC1.

tables:zdc1.

PARAMETERS:p_bukrs type zdc1-bukrs.

zdc1-bukrs = p_bukrs.

Insert zdc1.

Read only

Former Member
0 Likes
470

Try this:

data: i_zdc1 LIKE zdc1.

i_zdc1-field1 = '1234'.

insert zdc1 from i_zdc1.