How to run a SAP r3 program with out regenerating it in DS

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Suparv
Participant
Posts: 17
Joined: Wed Aug 25, 2004 9:33 am
Location: Pennsylvania

How to run a SAP r3 program with out regenerating it in DS

Post by Suparv »

Hi Everyone

Could someone please help me with SAP?

I need to run a SAP r3 program which is already coded and validated in SAP. I just need to run it in SAP through datastage, with out regenerating/re-building/coding it in Datastage SAP plugin.

Thank you
ShaneMuir
Premium Member
Premium Member
Posts: 508
Joined: Tue Jun 15, 2004 5:00 am
Location: London

Post by ShaneMuir »

Not sure of the full details but in SAP you would create a function module and in the "attributes" section you choose "Remote-enabled module". In that function you'd do whatever logic you wanted (eg. in your case you could call whatever transaction/program it is that you need).

Then from somewhere external, you can call the function module, and this is where my knoweldge ends as I don't know exactly how this bit is done, but i know that it *can* be done!

If all else fails you could create the simple function module in the DataStage plugin and execute it, which will in turn execute the program

Hope this helps
Shane
Post Reply