Skip to Content
avatar image
Former Member

File - XI - Idoc Scenario

Hi Master,

my requirement blow like this.

Scenario: File u2013 XI u2013 Idoc.

Logic is :

From Flat file I am getting the Material number, and division, I need to look into MARA table, if the material number and division is availableu2026.

If available I need to generate the idoc[MATMAS], other wise I need to drop the record.

Please guide meu2026



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2009 at 07:28 PM


    Here is you go...

    You have to use RFC Lookup from Mapping to ECC tables.

    The logic inside the UDF for RFC Lokkup will be...... If MARA Table--MATNR = incoming material No then return MARA-MATNR else return space.

    Now in mapping, use

    UDF -

    EqualsSNot-- CreateIf---Target Item Level Segment




    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      >>Is there any other way do this???

      Are you worrying on the RFC Lookups how to perform or client and system Host name how to change??

      For RFC Lookups refer the sample code which i provided and the Blogs for examples

      For Client and Host name changes, you have to do it before transporting or after transport, there is no way for this.