Skip to Content
avatar image
Former Member

file to RFC Scenario

Hi Experts,

               I have a Scenario of file to Rfc .Here my intension is to pick the file which is text file with pipeline delimiter which contains the business data .here i am posting the data to ECC via PI and i am using the pi7.4 version. Here my Scenario contains two requirements

1. if the data is posted to ECC no need to create the file at sender side.

2. if the data is not posted to ECC i want to catch the error and i want to send it to the sender.

How can i acheive this .Please help me!

Thanks in Advance. Solution provider will be appriciated

Regards

Giridhar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 23, 2014 at 12:58 PM

    Hi,

    For this requirement you can create a Asynch-Synch Bridge using RequestResponse Bean and Response One wayBean in the sender File communication channel.

    >> if the data is posted to ECC no need to create the file at sender side.

    In this case a successful response message will be triggered from the RFC. You can stop the message in PI. One way to stop is using the received determination. (so that there is no error message in your PI system)

    >> if the data is not posted to ECC i want to catch the error and i want to send it to the sender.

    The fault message in RFC should provide you the error output. Map it accordilgly to a target structure.

    I hope you are trying to write the response file into the sender system.

    Thanks,

    Sudhansu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi sreenivas ,

                          Could  you please tell me the Prerequisites in this scenario . my query is does need to create the Rfc destination pointing to the pi system

      Thanks

      Giridhar

  • Dec 23, 2014 at 01:31 PM

    HGiri,

    Please check  below links

    File-RFC-File(Without BPM) - Process Integration - SCN Wiki

    Thanks,

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded

    • ok for this you have to do one thing...

      In RFC you have to mention the fault messages and you need to create fault data type for source...

      here check below..

      3 Source Data types

      1 for Request i.e. Data from file to rfc

      2 for Response i.e. rfc response to file

      3 for fault message i.e. rfc fault to file

      and 3 Message types   and in service interface if you create as Synchronous there you will get fault option also... provide these 3 meesage types in service interface.

      Create 3 message mappings like

      1. file request to ---> RFC request

      2. RFC Response ---> File Response

      3. RFC Fault ----> File fault.

      In operation maping proivde all these 3 mappings.

      Reamining all are same as the link provided above.

      Thanks,

      Sreenivas

  • avatar image
    Former Member
    Dec 24, 2014 at 02:30 PM

    This should be part of the interface monitoring strategy. You can add the email address of the person responsible of the source system to the Alert config.

    Cheers,

    Fouad

    Add comment
    10|10000 characters needed characters exceeded