Skip to Content

User Java-Mapping Call SAP-Mapping

Hello to all,

I've created a userdefined JAVA-Mapping (Everything works fine).

Is it possible to execute a SAP-default JAVA-Mapping in the userdefined JAVA-Mapping.

Are there any blogs about that? I haven't found any yet.

Thanks for your help.

Regards

Christian

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 14, 2007 at 04:54 PM

    Hi to all,

    has nobody made this yet?

    Thanks for all suggestions

    Add comment
    10|10000 characters needed characters exceeded

    • Joseph,

      the question here was to access a standard Java Mapping, not a graphical Mapping.

      I have no clue on how to access graphical mappings from a Java mapping.

      You could alternatively put them in sequence in the mapping chain, in the interface mapping. This way, the output of the graphical mapping would be the input of the Java mapping, and you could perform your transformations.

      Regards,

      Henrique.

  • Posted on Sep 14, 2007 at 07:38 AM

    Hi,

    If i understand your question you want Abap-Mapping from java user-defined mapping. If you want use ABAP-Mapping you only must do the map from ABAP enviroment.

    If you want call from java to abap you can use an RFC and the JCO connector.

    Regards.

    Message was edited by:

    Iñaki Vila

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2007 at 07:48 AM

    Hi,

    we use the SAP-XI IDEX-GE Content provided from SAP. I've written a Java-Mapping and I would like to know, if it is possible to call a SAP java mapping (from which i don't have the source) in my user defined java mapping.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2007 at 08:01 AM

    Hi,

    I never worked with IDEX-GE (Intercompany Data Exchange Extended – German Electricity) but i think that you can do a webservice with the java-mapping and you can use an abap proxy or a xi sender rfc to call it.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2007 at 11:36 AM

    Hello,

    IDEX-GE isn't the problem. In my Szenario I have several "imported Archives".

    Each archiv contains 1 mapping at least.

    Is it possible to execute a Java mapping from another Archiv in my Java mapping?

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      I know this. My problem is the SAP-default Java mapping does not return the input structure needed for the next Java - Mapping. So I thought I could encapsulate the SAP Java mapping in a user defined Java mapping in order to keep the input structure und return the result of SAP Java mapping and the input structure. So my need is to execute the SAP mapping in my user defined mapping

      Regards,

      Christian