Skip to Content
avatar image
Former Member

Error file creation

Hi All,

I am using a simple file to file transfer scenario 'file->XI->file'

wherein I want to create a new file(third file) called as 'Error Log' or something which will contain the error report(which may contain the field in the datatype which has errors) if my transfer is not successful.

Thanks & Regards

Ranjit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 16, 2006 at 02:50 AM

    Hi,

    There are different ways/places you can handle the errors-

    Case 1 )If your transfer is not success then you need to get the Transport Acknowledgement and you can notify thru Alert, Error/Audit file . For this BPM is required.As File adapter does not support Application Acknowledgment. Refer

    This doc may help you on this..

    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments

    Case 2) if you want to valdate the data, then either you can use Adapter Modules or you can use Mapping to find out the errors.

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

    Hope these helps

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 15, 2006 at 12:29 PM

    Please clarify better the scenario: do you want to manage XML file or flatfile ?

    Do you have mapping or not ?

    Do you use FTP or not

    Sandro

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the reply

      I use XML file and use mapping also

      I use a simple file adapter to accomplish the task

      please let me know if any more info you want

      Thanks & Regards

      Ranjit

  • avatar image
    Former Member
    Dec 15, 2006 at 12:54 PM

    Hi Ranjit,

    I can't see an easy way to implement this (although I can't guarantee there really is none...).

    Unfortunately, the file adapter only acknowledges the arrival of a message, but not the successful write process. Thus, even a BPM can't say for sure whether the file has been created. The only possibility I can think of is another sender file adapter that tries to read the just written file and correlates it with the first, but that is quite cumbersome.

    I'd rather try to solve it on the monitoring/alerting side...

    Kind regards,

    Dennis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 16, 2006 at 04:17 AM

    Hi Ranjit,

    U can create error file at OS level.

    Fisrt define error condition , whenver ur message reaches that condition just right to a file thats it.

    venu.

    Add comment
    10|10000 characters needed characters exceeded