‎2008 Jun 03 11:23 AM
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
‎2008 Jun 03 11:25 AM
REPORT ZDC1.
tables:zdc1.
PARAMETERS:p_bukrs type zdc1-bukrs.
zdc1-bukrs = p_bukrs.
Insert zdc1.
‎2008 Jun 03 11:24 AM
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.
‎2008 Jun 03 11:25 AM
REPORT ZDC1.
tables:zdc1.
PARAMETERS:p_bukrs type zdc1-bukrs.
zdc1-bukrs = p_bukrs.
Insert zdc1.
‎2008 Jun 03 11:27 AM
Try this:
data: i_zdc1 LIKE zdc1.
i_zdc1-field1 = '1234'.
insert zdc1 from i_zdc1.