2007 Jun 11 11:34 AM
Hi all,
How to create function module to insert the records in table.
thanx,
krish
2007 Jun 11 11:49 AM
Dear Krishna,
Goto Se37
create an new function module
Set the importing parameters, all the attributes in a record.
Write the coding for insering to database based on the importing parameters.
test and activate
Regards
Sarath
Hi all,
How to create function module to insert the records in table.
thanx,
krish
2007 Jun 11 11:41 AM
2007 Jun 11 11:43 AM
Hi,
try this
modify dbtable from table itab .
here itab is the table which you have created in the table tab
or u can use insert statement or update statement
depending on you requireremnt
reward points if helpful
regards,
venkatesh
2007 Jun 11 11:45 AM
Hi,
Create a function group and in that create a function module with TABLES parameter of TYPE your table.
Then in the FM write the below code.
IF tab_param is not initial.
MODIFY db_tab from TABLE tab_param.
ENDIF.
null
2007 Jun 11 11:49 AM
Dear Krishna,
Goto Se37
create an new function module
Set the importing parameters, all the attributes in a record.
Write the coding for insering to database based on the importing parameters.
test and activate
Regards
Sarath
2007 Jun 12 4:24 AM
Hi,
Its better u go for Insert Statement as u will create a field string as well as the body to keep the records that u have created.....Insert also acts like append statement .....if u give a condition it checks if the condition is right and then inserts the record where necessary....or else it will act as append statement.
if useful reward with points,
regards,
Madhuri.
2007 Jun 12 10:44 AM
1. Go to se37
2. Create a FM
3. Declare the import and export parameters
4. write the source code.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |