Loading data to SAP

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Loading data to SAP

Post by dganeshm »

Hi

Is it possible to load data directly into SAP tables using Idocs ?

-Ganesh
Regards,
Ganesh
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I'm not really sure what you're asking here. Yes it's possible to load data into SAP using IDOCs, but there's not really any such thing as "SAP tables" - SAP sits atop a database. Your SAP licence explicitly prohibits your accessing these tables directly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Post by dganeshm »

We are trying to move from Legacy systems to SAP , what I am trying to understand is , can we load the data from Legacy system to SAP using IDocs via DataStage. For eg can I load materials into MARA table.
Regards,
Ganesh
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

The DataStage Pack for SAP-R3 boasts an IDoc-Load Stage.

Here is the link to the documentation:

http://publibfp.boulder.ibm.com/epubs/pdf/c1899541.pdf

Guess what the Stage mentioned is supposed to do:

"Use this stage to generate IDocs from source stages to load data into R/3 Enterprise."
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

I forgot: The DataStage Pack for SAP R/3 is an add-on feature that has to be licensed separately from IBM Infosphere Information Server.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Post by dganeshm »

Correct, we have the license of the SAP Adaptor.

As I mentioned earlier we have an Integration partner who is trying to load to SAP using LSMW , which I feel is very inefficient, takes days to load 1 million rows , hence the approch of using DataStage to load SAP.

So if we use Idocs, the integrator has to design an IDoc format for us to use it in DataStage ?
Regards,
Ganesh
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Post by dganeshm »

Correct, we have the license of the SAP Adaptor.

As I mentioned earlier we have an Integration partner who is trying to load to SAP using LSMW , which I feel is very inefficient, takes days to load 1 million rows , hence the approch of using DataStage to load SAP.

So if we use Idocs, the integrator has to design an IDoc format for us to use it in DataStage ?
Regards,
Ganesh
BI-RMA
Premium Member
Premium Member
Posts: 463
Joined: Sun Nov 01, 2009 3:55 pm
Location: Hamburg

Post by BI-RMA »

I have to admit I never implemented a load to SAP with DataStage using the Pack for SAP R/3. We were concerned with getting data out of SAP in the project where I used it.

But basically I would think so, yes. Be prepared that loading SAP via DataStage may not be overly quick as well. SAP checks constraints while loading and that kills speed.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
singhald
Participant
Posts: 180
Joined: Tue Aug 23, 2005 2:50 am
Location: Bangalore
Contact:

Post by singhald »

dganeshm wrote:We are trying to move from Legacy systems to SAP , what I am trying to understand is , can we load the data from Legacy system to SAP using IDocs via DataStage. For eg can I load materials into MARA table.
Yes you can Load data to sap table using IDoc Stage, but you need to choose right Message Type and segments which you need to map from legacy to SAP, you definitely need a SAP Functional perosn to help you with the mapping.

we have done it for HR master tables.
Last edited by singhald on Wed Mar 06, 2013 5:46 am, edited 1 time in total.
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
ShaneMuir
Premium Member
Premium Member
Posts: 508
Joined: Tue Jun 15, 2004 5:00 am
Location: London

Post by ShaneMuir »

Short answer: Yes - that is exactly what the Idoc Load stage is for.


Long Answer: IDocs do not directly load SAP tables - direct loading of SAP tables is a big no-no.
Also, I would be doubtful that the Idoc would be any quicker than the LSMW. They both are probably doing very similar processes to load the data (ie calling the screens in the background, or a function module). You could do speed tests to ascertain. From previous experience, the SAP system we loaded to struggled to process more than 3-5 idocs / second, which would still take you 2 days to load 1 million records. (really 1 million materials?)
Post Reply