Skip to Content

Determining FU or FO creation in Determination

Hi All,

I am using a determination at the /SCMTMS/TOR ROOT level. I want this determination to be called only at the time of FU creation. But as the same BO is being used for Freight Order creation, this determination is getting called at both the places. I want to restrict the determination only in case of FU creation and should not be triggered while FO creation.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 30, 2015 at 05:55 PM

    Hi Shailesh,


    This is unfortunately one drawback of the "one order concept" of SAP TM (=where more documents are modelled using the same BO, since they are very similar), which otherwise brings many benefits at other places.

    Probably by now you figured it out how to separate the FU from the rest -- io_read->retrieve() using the given IT_KEY, and then removing all instances where TOR_CAT is not 'FU'. If there is nothing left, then RETURN.

    The determination will still be called for all TOR-based documents, having a small runtime footprint...

    Regards,

    Dragos

    Add comment
    10|10000 characters needed characters exceeded