‎2008 Jun 02 5:39 AM
Hi all,
I am creating an RFC.which has to fetch the content from Database table.depending upon flag.
lets say If flag is initial.
Fetch the content.
After fetching the content i have to set that flag to "0" r "1".
Any suggetsions.
Thanks,
Kalyan.
‎2008 Jun 02 7:12 AM
Hi all,
I have to update a single column in dBtable after fetching the data.
i have used
the statement as
update <dbtable>set fieldname eq 1 where (condition).
but giving error.
any suggetsons.
thanx.
‎2008 Jun 02 8:06 AM
Update will work only if the fields that you pass in the where condition match with atleast one record in the database table. Check for sy-subrc value after update. It should be 0 meaning the update was successful.
‎2008 Jun 02 8:45 AM
Hi,
I am getting an
error
that instead Flag use itab or filed..
therefore the single record in question maynot be unique.
Thanx,
‎2008 Jun 02 8:59 AM
Hi,
Try to use the below code...
update <dbtable>set <fieldname> eq 1 where (condition).
Field name should be your field which you want to pass 1 to the database table. Use exactly field in the DB table.
Rgds,
Bujji