Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

writing files in application server

Former Member
0 Likes
410

Hi,

I have a req to process data and pass it to cji5 transaction. I'm passing it through BDC call transaction. I need to capture that report(cji5 o/p) and process and then give another report. Everything happens in background.

I had recorded cji5 like pass data, o/p, save file to local pc(recording till here). Then read tht file back to internal table to go for further processing.

Now my problem is how do I write tht cji5 o/p to application server(bcoz its background) as I dont have control over cji5 o/p. Can we write/transfer o/p directly to application server thru BDC(I'm yet to get the permission to application server to try and need to tell them the feasibility) ? If not How else can I do it????????

Thanx

2 REPLIES 2
Read only

Former Member
0 Likes
378

Hi,

I am unable ot give total program, but i can how to process.

1. using 'SUBMIT' keyword, get the ouput of report in spool

2. Read the spool data and put it into internal table.

3. Save the internal table data to application server using OPEN DATASET, READ DATASET, TRANSFER, CLOSE DATASET.

If it helps plz reward points.

Regards

Bhupal Reddy

Read only

0 Likes
378

Hi,

Thanx, I have tried this option. It doesn't work for me as there's a hidden field in the first screen for which even if I pass data it's not accepting. Everytime it gives me an error.So I came back to bdc option but again stuck at this point...........