cancel
Showing results for 
Search instead for 
Did you mean: 

Problem When Pushing Files Into SFTP Target Folder Using UDF BASED ON RFC LOOKUP OUTPUT

lokeshwar
Explorer
0 Kudos

Hi All,

The scenario is SFTP to SFTP Using a RFC lookup

We are writing an UDF to put the files into a folder based on s RFC lookup conditions over SFTP. Based on the RFC lookup output , we'll decide in which folder to put those files into the folder path will be determined inside the Java code. There is no need to change the file name or content of the files. Scenario is a Java program receives the file, checks the RFC lookup output, decides on the folder it needs to place and put it into it.

What is happening is, it is placing the directory dynamically based on RFC lookup output but it is not placing the files in that corresponding path.

NOTE: Here for RFC lookup we are giving inputs are filename (Dynamically with the help of UDF) and Scenario name and we are getting the response 'e' and 's'

e- Error s- sucess for RFC lookup we are not sending any content in the file.

Below are the screen shots of configurations

In mapping level

View Entire Topic
lokeshwar
Explorer
0 Kudos

Hi raghu,

sorry for the late,

Without UDF in mapping level it is throwing no value is assigned for RFC lookup like that

former_member186851
Active Contributor
0 Kudos

Hello,

In the mapping you have assign the value for parameter.

Former Member
0 Kudos

Hi,

In the parameter tab, select RFC receiver channel which you are using for RFC lookup.

Thanks,

Sailaja.

lokeshwar
Explorer
0 Kudos

Hi Raghu,

We have maintained the parametre under SIGNATURE tab. Please find the attached screen for your reference.

Lokesh.

lokeshwar
Explorer
0 Kudos

Hi raghu 

Issue has been resolved.

By getting the filename and flag('e'or 's') in the response and by changing the code in udf.

Regards,

Lokesh.

former_member186851
Active Contributor
0 Kudos

wow..Greate.

Please close the thread.