cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to sFTP Multiple files

Former Member
0 Kudos

Hi Folks,

I had arequirement like this  SAP(ABAP proxy) is sending data to PI and the target side need to create two files in Target system.

Tax_<timestamp>.dat

  Tax_<timestamp>.ind   0 byte

As of now 1st i created one file ,what need to done to create 2nd file with 0 bytes..

need to create DT,MT,SI,MM,OP and CC again for this? or directly we can include in mapping itself?

Can anyone help me on this..

Regards

Kalyan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear kalyan,

DT,MT,SI,MM,OP and CC are not required for your requirements .

Only u have to run the OS command .


but why u need the file with 0 bytes.

thanks and regards,

Anup Banerjee


Former Member
0 Kudos

Thanks for the reply,

Any other options also apart from this....?

Former Member
0 Kudos

If u want to use different approach  then u have to create another receiver agreement having different communication channel and split it while configuration .

thanks and regards,

Anup Banerjee

Former Member
0 Kudos

For creating new CC i think need to create DT,mt,mm,si,again rite

Former Member
0 Kudos

I created DT,mt,mm,si,again ,new receiver CC..by taking one only one field...

Now I am able to create 2nd file from Proxy..but by defaults instead of empty file its giving payaload i.e only namespace..filesize is showing as 153 bytes..

<?xml version="1.0" encoding="utf-8" ?> 

<nm:MT_Trialbalanceempty xmlns:nm="urn://sap.com/Taxpro/TrialBalanceUpload" xmlns:prx="urn:sap.com:proxy:DP3:/1SAI/TAS1BCEACA3F87D23A267FA:702" />

But i wnt the file in 0bytes..what need to be done for this?

help need guys as very urgent requirement..

Regards

Kalyan

Former Member
0 Kudos

To make your scenario work, you need to use file content conversion in the receiver channel so that a text file is created instead of XML.

But there is no need to create all the configuration to create an empty file.

Use OS command after creating the data file.

Former Member
0 Kudos

Thanks for the reply..

I tried with FCC also ,1st file is creating successfully,but for 2nd file getting an error in CC..

is it possible without Run OS command?

Our req is not to use Run OS Command

Former Member
0 Kudos

Two questions....

1. whts the use of creating empty file at receiver side .

2. why you are not going with  "Run OS Command" approach.

        As this is very use full tool .

thanks and regards,

Anup Banerjee

Former Member
0 Kudos

Hi, no need to create repository object.

Run an OS command in the receiver channel and create an empty .ind file after having created the .dat file

Regards, Martin