Skip to Content

File adapter (sender) module throws exception, but adapter proceeds again

Hello dear reader,

I wrote a module that converts a flat file into XI-XML and tested it within the file adapter. It works fine so far. But if I force the module to throw an exception to handle an erroneous flat file, the file adapter tries to proceed the erroneous file again and again. Not very nice, isn´t it?

Has anybody an idea, how to configure the file adapter to stop the processing of an erroneous file?

Thank you in advance

Yours

Frank Waskow

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 25, 2007 at 03:06 PM

    Frank,

    In your sender file adapter what is the mode you have set?

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Frank Waskow

      Hi Frank,

      in your adapter module code, see from dynamic configuration, you can get the filename of your source file...

      after doing your procesing, if you find any error in conversion from Flat file to XML, then move the file by using its name, its source directory and its target directory.

      Thanks,

      Rajeev Gupta

      Message was edited by:

      RAJEEV GUPTA

  • Feb 15, 2007 at 01:36 PM

    In SP10/19 there will be a new parameter in the sender adapter.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm

    Hope that helps

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Stefan,

      I thank you for your answer. Unfortunately I couldn´t test your tip, we´re still on support package 9. So I´ve to be patient for the next weeks. But I´ll keep you informed.

      Bye

      Frank Waskow