Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fixed width file...FCC

Hi

I am using fixed width file,(FCC with file adapter) for my rek. But I want to validate the input file like........ whenever mandatory field value (data) comes to be zero, mapping should fail or warning should come. How can we do this through FCC (File Content Conversion ) ?? Is there any otherway to handle this ??

Regards

Kumar

Former Member
Former Member replied

Kumar,

You make the target field for which it is mapped as the occurrence 1..1 Then you map as:

Source>condition (check the value not equals to zero)>createif-->target.

So when ever the value is not equal to zero it returns true to createif and the target field will be there. If the value is equal to zero then the condition gives false. Then the createif will be failed to map and your target is 1..1 so the mapping will be failed.

You configure alerts for all the mapping errors.

Regards,

---Satish

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question