cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set Freight Order Status to Executed

0 Likes
3,934

I need to know the entire solution by each step in detail since I am not able to understand the solution approach:

Once PGI is done at outbound delivery, the Freight unit status for the Component “DLV_GOODS_MVMNT” will be set to “C” via BADi /SCMTMS/BADI_LOGINT_CHG_TTRQ. Once the DLV_GOODS_MVMNT is set to “C”, this will trigger a custom Change control strategy and it will trigger action for set the status to the Executed.

In order to influence the change control strategy, the following determination must made to the /SCMTMS/TOR-àROOT node

T-code – BOBF

Business Object - /SCMTMS/TOR àNode Elements à ROOT à DETERMINATIONS à DET_CALL_CHACO

From the above determination the field /SCMTMS/TORàROOT—DLV_GOODS_MVMNT field is taken into consideration. If the status ‘C’ then then CHACO will trigger. The chaco logic will be as below:

If TOR_TYPE: YR06

/SCMTMS/TORàROOTàASSIGNED_FUSàSORT if FU which are having “C” then Select the FU TOR_ID and trigger the action: SET_EXM_STATUS_EXECUTED

T-code – BOBF

Business Object - /SCMTMS/TOR àNode Elements à ROOT à ACTIONS à SET_EXM_STATUS_EXECUTED

When the action triggered from FU change control strategy it will try to update the FO execution status. while the Action is triggered post which Validation is performed before it is executing the action.

Business Object - /SCMTMS/TOR àNode Elements à ROOT à VALIDATIONS à VAL_ROOT_ACTION

Whenever the Execution status is being changed then the BO determination will trigger and check the Delivery GI status and proceed else send an error.

If all Deliveries field WBSTK = “C” set the then the action should be trigged, and freight order status is set to executed by standard SAP.

Note: if there are multiple FU are associated with the FO in this case each time the FU update will try to execute the Action and check the validation. If all the FU’s associated in the FO are having Goods movement status as “C” then only it will try to execute the action.

Accepted Solutions (0)

Answers (0)