Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Move data from internal table to standard sap table

Former Member
0 Kudos

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

6 REPLIES 6

former_member226203
Active Contributor
0 Kudos

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.

SuhaSaha
Advisor
Advisor
0 Kudos

>

> 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

Former Member
0 Kudos

Hi maja,

It's not at all a good practice updating standard SAP tables. Try someother way for your requirement.

Regards,

Pavan.

0 Kudos

>

> 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

0 Kudos

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?

0 Kudos

if needed, convert internal table to another internal table of the type of your database table.

Then use abap statement INSERT ... FROM TABLE ...