Read incoming EDI File content and FTP file on R/3 server based on value
We have the below scenario:
The incoming file is received in XI in the below directory:
The file name is- TCDE.BLQSAM.OCAA2682.C0084031
The file contains some data like below:
Based on this incoming file reference number in line 3 as given (1000284217) for example, a lookup needs to be made in R/3 in a table to determine if the file should be placed in directory A or Directory B in R/3 without any XML conversion.
I have made the scenario and the details are as below:
Created the new Mapping Archive in the IR and import this .jar
Created an Interface mapping for the Control File processing and select the mapping program from the archive
Created a Business Service called "BSY_ECC6_FI_CENTRAL" and a communication channel called "CCIA_01_RFC_RECEIVER", for the connection to the R/3 system of type RFC and will have to have the connection settings for the R/3 backend with the client which has the data in it for the FM call.
I have the java code that I can forward you for reference.
I am not able to run the scenario successfully.
Plaese advise as to how I can develop this scenario.