Skip to Content
0
Former Member
May 09, 2008 at 08:17 PM

insert Statement in ABAP

678 Views

Hi,

I am new to ABAP Programming., i had created a function module with 5 import parameters enableing

optional and pass value options. I need to insert values to database. But function module contains only

the following statemet.

FUNCTION ZEMP_CREATE_NAME.

*"----


""Local Interface:

*" IMPORTING

*" VALUE(EMPID) TYPE ZEMPID OPTIONAL

*" VALUE(NAME1) TYPE ZNAME1 OPTIONAL

*" VALUE(ORT01) TYPE ORT01_GP OPTIONAL

*" VALUE(REGIO) TYPE REGIO OPTIONAL

*" VALUE(TELF1) TYPE TELF1 OPTIONAL

*" VALUE(STATUS) TYPE ZSTATUS OPTIONAL

*" VALUE(EPOSITION) TYPE ZPOSI OPTIONAL

*"----


insert into zemptable values('EMPID','NAME1','ORT01','REGIO','TELF1','ZSTATUS','ZPOSI')).

ENDFUNCTION.

Is this statement correct? Could someone guide me how to resolve this?

Thanks & Regards

Vijay