09-14-2009 3:14 PM
Hi all,
Can anyone give me some code example how to populate standard SAP table with data that I have in internal table?
Kind regards,
Maja Novak
09-14-2009 3:20 PM
try finding a BAPI through which u can update the standard table.
its not advisable to use the upadate or modify statements to update a standard table.
09-14-2009 3:21 PM
>
> Hi all,
>
> Can anyone give me some code example how to populate standard SAP table with data that I have in internal table?
>
> Kind regards,
>
>
> Maja Novak
Now dont tell me you want to change BKPF with the data from your internal table
Are you aware of BDCs, BAPI etc ?
Suhas
09-14-2009 3:23 PM
Hi maja,
It's not at all a good practice updating standard SAP tables. Try someother way for your requirement.
Regards,
Pavan.
09-14-2009 3:31 PM
>
> It's not at all a good practice updating standard SAP tables.
Infact it is a strict NO-NO to do so as it may lead to database inconsistency .
Suhas
09-14-2009 3:43 PM
Hi all,
I have to populate table S485 with records from excel table. As there is thousands of records I need a way to insert them from uploadet table that I have first uploaded into internal table with usage of 'ALSM_EXCEL_TO_INTERNAL_TABLE' function.
What to do now? Is there no way to insert that data to S485 table?
09-14-2009 4:39 PM
if needed, convert internal table to another internal table of the type of your database table.
Then use abap statement INSERT ... FROM TABLE ...