2020 Oct 15 3:08 PM
Is it feasible to display the total gross weight of items involved in po in kgs at po header in a new field.
( suppose PO has 3 items with weight 10kgs,20kgs,30kgs. these arel availble line item wise in po. My business requirement is to display the total weight 60 kgs in new field.
Basically header level field addition is ok. But problem is that how to update line item wise total weight to header level field.How the control should pass ?
Screen shot attatched

2020 Oct 15 3:19 PM
2020 Oct 15 5:29 PM
Hi,
Implement Badi ME_PROCESS_PO_CUST write a custom code in method CHECK or POST - by reading ekpo - weight and sum the same...
2020 Oct 16 8:45 AM
Suggested steps:
2020 Oct 24 11:43 AM
For this requirement , added project in CMOD added foeld in ekko (CI_EKKODB)..
I want calculate total weight for line items in ekpo and put in header field that created in ekko using include.
Now which exit to write .
EXIT_SAPMM06E_006 EXIT_SAPMM06E_007 EXIT_SAPMM06E_008 EXIT_SAPMM06E_009 EXIT_SAPMM06E_012 EXIT_SAPMM06E_013 EXIT_SAPMM06E_014 EXIT_SAPMM06E_016 EXIT_SAPMM06E_017 EXIT_SAPMM06E_018
to get this
2020 Oct 26 11:45 AM
2020 Nov 03 7:23 AM
As you suggested that IMHO would be easier in the BAdI. Can you elaborate about this . I want to do with BADI.
add screen in ME_GUI_PO_CUST
How to get calculate the total weight for all line items and the populate in header ?
2020 Dec 19 9:15 AM
Working the enhancement to get po gross weight and stlll facing the issue to calculate the item level weight data at header level.
2020 Dec 22 8:37 AM
2022 Jan 31 10:29 AM
raymond.giuseppi
I want to implement badi for this, but not confident how to create the screen field using BADI ?
for creating screen field , we need to use the exit. or any other way to create screen.
Thanks
2022 Jan 31 12:56 PM
2022 Feb 21 11:46 AM
Hi ,
I want to populate the po total weight (line item wise sum in the Weight field) . As explained by raymond.giuseppi , 3a9e4ce873a94034b33dc62b0ce600ee,
S Abinath .I followed the said steps.
With the help of the Badi CL_EXM_IM_ME_PROCESS_PO_CUST able to create the po header screen fields .
I implemented the following Badi methods
And able to get the fields. Also implemented the BADI ZZME_PROCESS_PO_CUST.
But the data is not getting populated in the above fields and also in the PO header data base table EKKO

.
Please let me know where I am missing the step.
2022 Feb 21 11:55 AM
2022 Mar 08 11:38 AM
Can any one correct me on this process to achieve my requirement.
is the METHOD IF_EX_ME_GUI_PO_CUST~EXECUTE should also be implemented ?. What will be the parameters for header case in EXECUTE method. And how to pass or align the calculated line item weight from lines to field using function module (or function group ) to update ekko structure.
Thanks
2022 Mar 08 12:16 PM
2021 Apr 14 11:03 AM
The problem with this is that i need to calculate the line item wise grand sum of weights then update the grand total of weights in po header with new field ?