cancel
Showing results for 
Search instead for 
Did you mean: 

Designing options for File2Idoc scenario

Former Member
0 Kudos

Hi All,

I’m doing File-to-Idoc scenario.

I have to do the following validation on file then map to target Idoc without using Java Mapping program.

Perform the following validations:

1) Check if the Header record has correct structure and format.

2) Check if the file structure is correct and in the sequence:

3) Check if every record starts with the key value.

4) If the Header record is in error, reject the entire file. The dataflow will be discontinued. Log the error and send an alert to the system administrator. This is treated as a High level error.

5) If one or more detail records are in error, reject the erroneous records and process the remaining records. The erroneous records are logged and an alert is sent to system administrator. This is a Medium level error.

Could any one suggests design options for the above requiremnts.

Thanks and regards,

Venu.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venu,

In this scenario there are different steps where you validation can happen.

1. Module of the Sender file adapter ( Java code)

2. Receiver determination ( for simple checks like if he data is what you expected

3. Validation in mapping.

1.If you want to reject a file based on certain condtion then these validation should happen in the Module as you would not want the target mapping to be created.

2. If you want different structures to be created. For eg you have a different data strucutre for error records and successful records then you can do the check in mapping and then move the records to different structure based on the condtions.

Doc on file validation

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-

I doubt you can avoid Java mapping..atleast for Module?

Regards

Vijaya

Message was edited by: vijaya kumari

Former Member
0 Kudos

Hi Vijaya,

Thank you for giving idea.

Could u pls check the link you provided. Itried it but failed.

Could anyone suggests how the following errors can be desgned in XI .

Unreachable FTP server

File not available

Duplicate file

Thanks ,

venu.

moorthy
Active Contributor
0 Kudos
Former Member
0 Kudos

<i>Could u pls check the link you provided. Itried it but failed.</i>

The link is in complete.

-naveen.