cancel
Showing results for 
Search instead for 
Did you mean: 

sender adapter processing based on done file content

Former Member
0 Kudos

hi

sender system creates a done file, after the creating of actual file. SAP PO 7.4 first need to read the done file for the list of files to be processed from the same folder.

for eg:

source folder files:

xxx11092014.xml

yyy11092014.xml

zzz10092014.xml

done11092014.xml

content of done file:

<files>

xxx11092014.xml

zzz10092014.xml

<files>

In SAP PO 7,4 first need to read the done file, based on the content of the file xxx11092014.xml & zzz10092014.xml need to be processed in sap po and

all the three file xxx11092014.xml, zzz10092014.xml & done11092014.xml need to be deleted. leaving behind the yyy11092014.xml for which new done file will be created..

Could anyone please throw some light on this scenario to implement???

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check below steps helpful for your requirement by creating two flows and additional files.

Interface1: This interface to read the filenames from done*.xml and generate the additional files with same name with different extension like xxx11092014.txt and zzz10092014.txt for interface2 to pick.

1. Configure your sender CC to pick file done*.xml

2. Use multimapping to create multiple messages based on how many files under <files>

3. Create additional files in receiver file adapter with same name with different extension by using variable substitution.

One IDOC to Multiple Files sending to Multiple folders of the FTP using single Communication Channel...

Interface2: This interface to pick files having only additional files with same namepart

1. Configure your sender CC to pick files having additional files by enabling Additional Files

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5...

Regards,

Praveen