Skip to Content
avatar image
Former Member

Copy of Message Mapping between SW-Components: Function Module undefined

Hi Gurus,

we want to copy a Message Mapping from one Software Component to an other. We right click on it and say "copy to" and choose the Target Softwarecomponent and Namespace. When we say ok.. we got an error "Function Module Undefined (FUNCMODL_UNDEF)"

Has anybody an idea what can be wrong?

Big Thanks in Advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Aug 03, 2009 at 11:12 AM

    Are you getting same error when copying it to some other SWCV also? Make sure that the destination SWC is not the standard one.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2009 at 11:40 AM

    Have never come across an error like this !

    Suggest you to just check 2 things if it helps at all

    1.If the source mapping you want to copy is active

    2.When you copy , tick the With all dependent objects box.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2009 at 01:38 PM

    Hi Everybody. Thanks for your fast replies.

    I have played a bit with the PI System and ihave the following Situation

    SW-T (Target SWC)

    SW-A (Source A)

    SW-B (Source B)

    SW-A Copy to SW-T without Dependencies --> Error Function Model Undefined

    SW-A Copy to SW-T with Dependecies --> It works correct

    SW-B Copy to SW-T without Dependencies --> It works correct.

    The Strange Thing is, if i Copy SW-A to SW-T without Dependencies i get the Error but a Message Mapping with the Correct Name is created, but it is empty. IT has no content. For me this looks like an Program Error?!??!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Udo,

      That is a valid error because you have a mapping which uses rfc and other message type. While copying you are not checking for dependcies. So if you copy the mapping, the mapping will be created but the underlying rfc and message types are not there. So it will give you this error. If you want to over come this error, either you need to check copy with dependencies or first copy the rfcs and message types and data types. Then you will not have the error.

      Regards,

      ---Satish

  • avatar image
    Former Member
    Aug 03, 2009 at 11:38 AM

    Hi!

    First import the missing RFC Function Module in the target SWCV version and then copy the mapping.

    This should resolve your issue.

    Regards,

    Volker

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2009 at 11:41 AM

    Hi,

    If your map is using RFC/FM then you should import them first in target SWC. You can also chose option "with all dependent object" while copying MAP, this way all necessary objects will copy along with map.

    Regards,

    Gourav

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2009 at 06:03 AM

    Thanks at all. Points were given 😊

    Add comment
    10|10000 characters needed characters exceeded