Loading SAP data through DataStage

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

mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Loading SAP data through DataStage

Post by mydsworld »

Please let me know the methods (datastage plug-ins) for loading SAP data keeping in the mind :

1. Huge volume of data
2. Less volume of data.

Please let me know which SAP plug-in is to be used in which case.

Thanks.
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

There is a SAP plugin stage for DataStage parallel jobs that can read from a SAS dataset, write to a SAS dataset and run a SAS program. So you could for example read from an external data source, pass it to some SAS code and write the results to a SAS dataset from a parallel DataStage job.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Umm... SAS and SAP are very different beasts!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Different Loading option of SAP data through DataStage

Post by mydsworld »

I am looking for SAP data loading and not SAS data.

Basically looking for which SAP plugin (in DataStage) to use in which case (less data volume/huge data volume and othere relevant consideration).
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Umm... typo?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Nice try but, if so, what's a SAP dataset?
:?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hell if I know, me no do SAP. A dataset you've created from SAP data?
-craig

"You can never have too many knives" -- Logan Nine Fingers
mansoor_nb
Participant
Posts: 48
Joined: Wed Jun 01, 2005 7:10 am

Post by mansoor_nb »

There are several ways to load the data into the SAP system.
1)If the data which you are trying to load gets loaded into the SAP standard tables then you need to write BDC.
a)First you need to prepare the data and place the file in the SAP system.
b)once the file is created then the BDC(ABAP Code) should be triggered independently.
2) If data is getting loaded into the SAP custom tables then you can write the BAPI. The point a remains the same and once the file is created, BAPI should be called from DataStage. The import parameters of the BAPI should be the file name and file path in the SAP system.
OR
One can write the independent ABAP code which loads the data into the SAP custom table.

The above two approaches are can be followed for any kind of data volume

If the data volume is less say in thousands then you can go for IDOC load stage but IDoc load stage does not give an complete error message when it fails to execute. This becomes very hard to debug or fix the issue.
ShaneMuir
Premium Member
Premium Member
Posts: 508
Joined: Tue Jun 15, 2004 5:00 am
Location: London

Post by ShaneMuir »

You could also create a file with Datastage in a required format and load it using LSMW. This of course means not using the plug-ins.
hondaccord94
Participant
Posts: 46
Joined: Tue Aug 10, 2004 11:07 am
Location: Mclean VA

Post by hondaccord94 »

If you are talking Plug-ins...then DataStage provides you with a SAP IDoc load stage plugin. This is probably the right one for your requirement. We used this in one of our Data migration projects. Worked faily well...quite a few limitations and not enough support.
hondaccord94
Participant
Posts: 46
Joined: Tue Aug 10, 2004 11:07 am
Location: Mclean VA

Post by hondaccord94 »

If you are talking Plug-ins...then DataStage provides you with a SAP IDoc load stage plugin. This is probably the right one for your requirement. We used this in one of our Data migration projects. Worked faily well...quite a few limitations and not enough support.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Let's try to get one thing clear from the outset - by "loading SAP data" do you mean loading data from SAP into DataStage, or loading data from DataStage into SAP?

Should have asked this question earlier.

There are plug-in stages (and other techniques) for each operation.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Loading SAP data

Post by mydsworld »

By 'loading SAP data', I meant loading data from legacy to SAP system using DataStage.
Shadab_Farooque
Participant
Posts: 21
Joined: Tue Apr 24, 2007 12:39 am

Re: Loading SAP data

Post by Shadab_Farooque »

Use SAP Load Pack for loading data into SAP.
Shadab Farooque
seemamone
Participant
Posts: 9
Joined: Thu Dec 20, 2007 9:51 am
Location: India

Post by seemamone »

i will post my query in a spearate post
thx
Last edited by seemamone on Tue Apr 08, 2008 5:25 am, edited 1 time in total.
Seema
Post Reply