I am looking for a comparable transaction code (like CG3Z in OLTP) for uploading files directly to application server. I need this for testing the adapter for source type FLATFILE.
Does anyone know that transaction ? In OLTP it works wonderful with CG3Z. But what to do in BW 7.0 when I want the files beeing posted to directory on Application Server ?
thanks for reply. But does this really mean I have to ask my BC-team for each upload file to upload it to a specific folder on server ? Isn´t there really a more comfortable way to do so ?
I hardly can believe this )))
P.S. Why doesn´t someone wrote transaction CG3Z for that in BW ))
Write the following program to upload the file into Application Server
OPEN DATASET l_filename FOR OUTPUT IN TEXT MODE.
IF sy-subrc NE 0.
LOOP AT it_text_data. " into l_text_data.
TRANSFER it_text_data TO l_filename.
CLOSE DATASET l_filename.
You can check if the file has been written to application server in AL11 transaction
You can get an ABAP developer to write a simple ABAP program that would write a file on your frontend to the application server. The selection screen can have one parameter to provide the path of the file on your desktop and another for the application server path. The user executing the program should have authorizations to write to the application server.
There should be links to such programs on the ABAP forum.
The best way waht I suggest is...
1. Use some Windows/UNIX script and transfer the file from desktop to BW application server.
2. Check the files in Application server using some ABAP code.
3. If files are loaded then trigger the Event and then it will trigger Proces Chain.
See the following Articel..