Bapi Stage

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
saini
Participant
Posts: 18
Joined: Sat Jan 13, 2007 12:01 am

Bapi Stage

Post by saini »

Hi,

I am using RFC call inside the BAPI Stage to extract the data.
On the Output BAPI page I activated the parameter which I am passing to the RFC. Provided the Input file name(In this I am passing the parameter which is activated in the Output BAPI Import tab) in the Output Read Logs Page.I activated the table paramter in the Output BAPI tables tab which I want in the output. In the Output Coloumns tab if shows me all the column from that table. when I run my job it just give me 1 row as output that too with empty columns.

Please suggest.

Thanks
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Did you test the BAPI from SAP ? Does that return record(s) for the parameter values ?
saini
Participant
Posts: 18
Joined: Sat Jan 13, 2007 12:01 am

Post by saini »

Yes It returns value. The problem was with the input.txt file format. Since the SAP is unicode on our server so the input file need to be saved in the UNICODE BIG ENDIAN FORMAT, now it works fine.

Now another issue came i.e If I actvate 2 parameters in the Output BAPI tables tab, the job runs for ever :(

Please suggest.
Post Reply