‎2006 Jun 13 4:45 PM
Hi ,
I have requirement to collect the data(Production Schedule) in SAP and should send this data out of SAP(Outbound).
In this case I am using BAPI to collect the data and this data should be send to middle layer in a file format.
How can we do this.Please help me.
Thanks
KCR
‎2006 Jun 13 4:50 PM
KCR,
If you have a BAPI which will list out the data in internal table format, you can directly download the same into application server, where middleware will be polling for this file.
then middleware will pickup and send across to the target system.
We should have common understandable conventions for your file between SAP and middleware.
Regds
Manohar
Message was edited by: Manohar Reddy
Message was edited by: Manohar Reddy
‎2006 Jun 13 4:51 PM
Normally for any outbound files(files has to go from SAP) we place the file in the application server. then thru some shell programs/manually the file will be sent to that legacy system.
so use OPEN DATASET & TRANSFER & CLOSE DATASET commands to transfer your internal table contents to application server.
& inform your onsite people about this & get it confirmed from them.
regards
srikanth
‎2006 Jun 13 4:53 PM
hi
once you have the internal table returned from the BAPI, you can post the file with internal table contents in the application server.
use OPEN_DATASET open a file
loop at the internal table
use TRANSFER to transfer the contents to the file
endloop.
CLOSE DATASET to close the file.
This is post a file in your application server.
Regards,
Richa