on ‎2020 Dec 23 4:22 PM
Hello,
When Outbound Delivery is created in ECC, its gets distributed to EWM(decentral). First ODR is created and then automatically ODO is created. I got the Class which creates ODR but does not know how ODO is created. I checked PPF's action but did not found anything in tcode SPPFP for ODO but did not found any. And does not know which class/FM is used to created ODO. Please help.
Purpose:- Need to write a enhancement on ODO creation.
Regards,
Mihir
Request clarification before answering.
Hi Mihir,
The Transition Service should call the Data transfer class. Check Class /SCDL/CL_TS_DT_ODR2PRD (main method is the DATA_COPY).
For BAdI's check enhancement sport /SCDL/TS_EXT.
BR,
Tamas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tamas,
Thanks for your reply.
Your enhancement was on ODO. but did not got what I wanted :). In Data_COPy method there is one more method "block_for_exec" but it does not allow to modify the status. Tried to change in debug mode but no effect.
Need to add/modify the status of ODO (DWN).
I also tried /SCWM/ES_DLV_DET but did not triggered. 😞
Could you help on this?
Regards,
Mihir
Your question was, what creates the ODO form the ODR. The mentioned class does perform this action. Without the business requirement it's hard to tell what you need... The mentioned Enhancement Spot can modify a lot of stuff, but havent seen any method to influence the statuses, so might not be good for you. Despite this the mentioned data_copy method is the answer to your question, you can test at the end where the determinations are excuted, you could change the DWN in debugger (LO_PRD-MO_DO-MO_HEADER-MT_STATUS) and you will see that the ODO will get the new value... I would not do an implicit enhancement but up to you... Probably the delivery save BAdI's (/SCWM/EX_DLV_DET_AT_SAVE) could also be of use, but that's a different topic...
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 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.