Skip to Content
author's profile photo Former Member
Former Member

File u0096 RFC u0096 file

Hi,

In File – RFC – file scenario say the file sender is sending company id and the company details need to be fetched from the SAP system (RFC) and send the response to the target file system.

1.In one situation for example the company id from the sender file has no corresponding company details from SAP system, in this case I want to handle the exception ie., no records exist for the sender file –company id.

2.And also say in total 4 records that need to be sent from sender file, there are 3 valid company id’s and the 4 the record contains invalid company id , how to handle this invalid record I want to handle the exception and plz let me know how to handle these exceptions.

thanks in advance,

meghna.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 08:47 AM

    Hi Meghna,

    Just go through this.

    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]

    Regards,

    Sarvesh

    Message was edited by:

    Sarvesh Singh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 08:50 AM

    Hi,

    Make use of RFC Look up. For record validation check the blog validations in XI by Aniket Tare

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

    -Kavita

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:05 AM

    Hi Meghna,

    u can implement Fault message.

    Fault message implementation.

    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

    regards

    biplab

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:14 AM

    Hi Meghna,

    In RFC response there is a node RETURN.This contains the error records details if you want to write these error records separately , take an other message type and map this from Return Node and use a File communication channle Receiver to write the error records file. Then it would turn into multimapping RFC Response to Message1( Company Details) and Message2 (Error records)

    Cheers

    Veera

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.