Return Value from BAPI

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
lkganta
Participant
Posts: 21
Joined: Wed Feb 08, 2006 4:10 pm

Return Value from BAPI

Post by lkganta »

HI,
I am using BAPI stage to write a record(Col1,Col2,Col3,Col4) into a BAPI,But the BAPI also returning a table structure(col_new1,col_new2,col_new13) as a return value after each record insertion.

I have successfully inserted a record into the BAPI table,but how could I get the return value immediately and write it into a file.

Logic will be as follows:

|Sequential stage| ---> |Transformer| ---> |BAPI Stage| ---> |Transformer| ---> |Sequential Stage|

Please correct me , If there are any mismatches.

Thanks
Ganta.
ameyvaidya
Charter Member
Charter Member
Posts: 166
Joined: Wed Mar 16, 2005 6:52 am
Location: Mumbai, India

Post by ameyvaidya »

Hi,
Please refer to this Link:
<a href="http://dsxchange.com/viewtopic.php?t=93 ... 114f39fa6a"> LINK</a>

Basically If the BAPI is being used for Input the return table parameter(which is usually an output parameter) is treated by DataStage as an Input table parameter.

This can be checked out in the table parameters section in the BAPI Stage.

IHTH
Amey Vaidya<i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
Post Reply