on 2025 Mar 15 3:28 AM
Hello Techies,
I have a requirement to update PMR with in EWM programmatically during an external consumption posting processing. I used /SCDL/cl_sp_prd_out class & method update_aspect to update item status value to complete as during this consumption posting only I shall come to know whether the consumption is fulfilled or not. But I couldn’t able to do so as the corresponding aspect in which the item status is available is not called in standard code. I don’t want to go back to s4 to do a Teco on processing order to update PMR. Please help me with any successful comment on this requirement at the earliest.
Thanks,
naresh k
Request clarification before answering.
Hello Naresh,
It is not foreseen to update any status like this when processing warehouse requests (PMR, inbound delivery, outbound delivery order and so on). There are a few dedicated actions to set a status for the inbound delivery or the outbound delivery order, but not for the PMR. So I strongly recommend not to try anything of the kind. Also, calling the function module SCWM/PRODUCTION_WHR_MAINTAIN is reserved for the technical interface between SAP Manufacturing and SAP EWM. This is not an API.
The PMR is designed for industries such as consumer products, where the completion is not exactly 100% of the planned quantity consumed but a control by production to finish an order. So the GI quantities and status are not a precise control.
If you want to control the process or store data in a specific way, we recommend using the extension structures (EEW) for your data. When you use /SCDL/CL_SP to write EEW fields, it is a safe option.
Regards,
Katrin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @naresh_kudipudi13 ,
Please see the check the below FM, fill the data related to Teco (status) and let us know if any questions. This FM is used in interface ERP-EWM.
Function Module- /SCWM/PRODUCTION_WHR_MAINTAIN
Kind Regards,
Ajit
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 | |
2 | |
1 | |
1 | |
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.