Skip to Content

TM Freight Order Type: Possible to have more than 1 AOT?

Hello Gurus.

In TM config there is a 1 to 1 relationship between Freight Order Type and AOT.

Is it possible to associate 2 (or more) AOT with 1 FO Type?

Looks like the only way to do this is to create a new FO Type.

I have 2 consignees in TM using FO Type ZZZZ.   Consignee1 wants Expected Events A and B.

Consignee2 wants Expected Events B and C.

I could also do this in the EE extractor but want to avoid too much abap logic if possible.

Cheers.

Zenon.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 11, 2015 at 09:54 AM

    Hi Zenon,

    the check for AO Type and assigned AO Type in FO Type is done in the standard Relevance Function:

    IF <fs_act_tor_root>-aotype = i_app_object-appobjtype.

           e_result = 'T'.

         ENDIF.


    I think you could do your own checks here. There is no real 1:1 relationship.


    Another possible way would be to have on EM side 2 EH Types with different EE profiles and a condition function checking e.g. for consignee. Then you only need one EE Extractor.


    Best regards,

    Steffen

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Zenon Kowalewski

      Hi Zenon,

      You can use Two AOT Types for one event handler type.

      Go to EH Type Conditions and use Logical operator OR and specify both AOT types separately or use EH Type Condition Functions.

      Check and let me know.

      Regards


      GGOPII

  • Aug 12, 2015 at 06:58 AM

    I've changed the AOT Relavance function so that it does not check the AOT  (as Steffen suggested).

    I now have 2 AOTs and 2 EH Types linked to 1 FO type.

    My main concern is that TM config for FO Type only allows 1 entry for the AOT,  but it appears to work OK.   TM Execution tab is updated correctly.

    Add comment
    10|10000 characters needed characters exceeded