Application Development and Automation 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: 
Read only

Read external datbase & update the data in SAP database.

Former Member
0 Likes
1,394

My requirement is the user will be entering HR master data in a new software called PHR.Now my requirement is to read the PHR data base directly & update the same data in SAP database.

How this can be done please guide.

Regards,

9 REPLIES 9
Read only

Former Member
0 Likes
1,341

Hi Abhut,

Directly updating the SAP standard tables is not recommended and it is highly dangerous.

For your requirement, either you can use BDC / LSMW or standard FMs / BAPIs to put the data into HR database. This will ensure checks are carried out and consistent data only gets updated.

regards,

amit m.

Read only

0 Likes
1,341

We'll be using BAPI's to update database in SAP.But how to read the data i.e. in other software via SAP.

Regards,

Read only

0 Likes
1,341

which BAPI are you using ?

Read only

0 Likes
1,341

Hi again,

There are a couple of options, for the approach:

1. DBCON - Secondary database connection

Using this you can setup (with help of basis team) SAP to secondary database connection

and fetch data from those tables.

2. Files :

If the data can be downloaded from the 3rd party software to files, then sap program can read those files (either manually using gui_upload or using ftp concept) and run the bapis.

regards,

amit m.

Read only

0 Likes
1,341

HR_INFOTYPE_OPERATION

Read only

0 Likes
1,341

hi,

HR_INFOTYPE_OPERATION is not an actual BAPI, rather a FM opened to customer use, its not even RFC enabled...

Read only

0 Likes
1,341

I suppose we can create a Z function module RFC enabled to read data & use the same FM to update the data.

Read only

0 Likes
1,341

use t-code BAPI for find bapi

check bapi description which will be suitable for you

Read only

Former Member
0 Likes
1,341

Hi,

For this you need to connect your SAP database with external database. The same can be done by using DBCO transaction.

Thanks

Nitesh