cancel
Showing results for 
Search instead for 
Did you mean: 

Determining FU or FO creation in Determination

former_member410157
Discoverer
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Dragoș
Employee
Employee
0 Kudos

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

former_member410157
Discoverer
0 Kudos

Hi Dragos,

Thanks for the reply!

I did the same thing but it seems like a work around.

Thanks & Regards,

Shailesh Tripathi

Answers (0)