Question 2
2. Question: Why doesn't a condition deliver the desired result if it is using order or delivery related data ?
Answer: Internally a data container is present containing the data of the order / delivery used by the TM specific logic. In order to make use of the data of this container you have to use the determination class /SCMTMS/CL_COND_TRQ_CT_EXTR in the respective data access definition of the condition. In addition to this class you have to use /SCMTMS/TRQ as business object, the respective node - ROOT and ITEM are supported - and the respective field you would like to use.
Remark: The data crawler cannot be used in this context because there is no instance of the BO /SCMTMS/TRQ. This means if the requirements cannot be fulfilled with the class mentioned above a customer specific determination class has to be introduced retrieving the desired data respectively.