on 10-20-2015 5:44 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.