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

Class/FM name for ODO created from ODR through ECC Outbound Delivery?

0 Likes
989

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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

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

0 Likes

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

0 Likes

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...