2015 Dec 03 11:00 AM
HI Gurus ,
I have a request about change all PR item's custom fields before PR save ,
so I tried enhancement MEREQ001 and BADI ME_PROCESS_REQ_CUST,
but in those spot , it only provide 1 line item can change (current screen),
some spot , like ZXM02U12, I can find eban temp table ,
but when i update the value , it will show error with message "field XXXX can be changed"
is there any way to change PR all item's custom field value after click save buttom before data save ?
2015 Dec 04 10:17 AM
Did you try method ME_PROCESS_REQ_CUST -> CHECK (*) from IM_HEADER you can get list of items with GET_ITEMS and then for each item use the GET or SET_DATA[X] methods.
In the customer exit (ZXM02U12 is EXIT_SAPLMEREQ_010, did you notice the parameters were imported, only error messages can be exported.
Regards,
Raymond
(*) SAVE is executed too late and as stated in documentation doesn't allow change of fields
HI Gurus ,
I have a request about change all PR item's custom fields before PR save ,
so I tried enhancement MEREQ001 and BADI ME_PROCESS_REQ_CUST,
but in those spot , it only provide 1 line item can change (current screen),
some spot , like ZXM02U12, I can find eban temp table ,
but when i update the value , it will show error with message "field XXXX can be changed"
is there any way to change PR all item's custom field value after click save buttom before data save ?
2015 Dec 04 10:17 AM
Did you try method ME_PROCESS_REQ_CUST -> CHECK (*) from IM_HEADER you can get list of items with GET_ITEMS and then for each item use the GET or SET_DATA[X] methods.
In the customer exit (ZXM02U12 is EXIT_SAPLMEREQ_010, did you notice the parameters were imported, only error messages can be exported.
Regards,
Raymond
(*) SAVE is executed too late and as stated in documentation doesn't allow change of fields
2021 Dec 29 1:26 AM
Hello,
I am also unable to update custom fields added in EBAN. Both ME_PROCESS_REQ_CUST -> CHECK and POST methods did not work for me. Please share the details how you have resolved the issue.
Thanks,
Chandra
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |