Skip to Content
avatar image
Former Member

Doubt in File to R/3 data update

Hi,

My scenario is i will have flat file in one system let's assume it as 'A' and i want to update this data in my R/3 system let's assume it as 'B'. the flat file consists of employee data i need to update it in R/3.First i need to check whether that employee exists or not in R/3 if it is not there then i have to create otherwise i have to change the data. i have bapi's for creation and change mode. is it possible by using XI if yes can u suggest me how to achieve this. Can we update /Change the data in R/3 by using these bapi's

Regards,

Prem.S

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 14, 2007 at 07:13 AM

    Prem,

    Yah its possible.

    Using Sender File Adapter(Content conversion) get data into XI.

    Do RFC lookup in mapping and check if the employee already existing, set the flag y or n based on the result.

    Then if y choose Mapping File to BAPI Change , if n choose Mapping File to BAPI Create.

    Best regards,

    raj.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Raj,

      Do RFC lookup in mapping and check if the employee already existing, set the flag y or n based on the result

      How to Do RFC lookup in mapping, can i have any document on this or else is there any scenario like this with screen shots . kindly help me.

      Regards,

      Prem.S

  • Jun 14, 2007 at 07:20 AM

    Hi Prem,

    you can do that like described by Raj with a mapping lookup or alternativly, with BPM using a condition. You need

    a Receive step

    a Transformation step to fill RFC for checking

    a Send step to check employees existence

    a Condition branch yes or no

    for each a Transformation to fill RFCs

    for each Send steps

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Prateek Raj Srivastava

      Prateek,

      I have gone through the document but i didn't understand it properly, in my scenario how can i check whether an employee exists or not. kindly suggest. Kindly give me details of lookup in mapping for my scenario.

      Regards,

      Prem.S