on 07-11-2017 2:33 PM
We want to change the material group while creating a PO.
This should happen automatically via UserExit while creation of PO. But I don't want to update directly the database. I tried to use method im_item->set_data, but unfortunately in this method there is another method (me->process_input_filter and in this me->get_mapping) which is searching for the field catalogue. The field catalogue says material group couldn't be changed when there is a PO with material number.
Do you know if there is a possibility to Change material Group in such a PO without updating directly table EKPO?
Thank you very much for your support.
Best regards,
Stefanie
Yes, You can do that,however it is very tricky solution,Though,i do not understand why do you need this requirement to fulfill,what is the background of changing material group at runtime?For your assurance,I have tried to emulate the same requirement you have and used my pseudo code above.
It works perfect!!!.
SMOD enhancement : MM06E005
Implement EXIT ->EXIT_SAPMM06E_016
Use call stack method: VALUE '(SAPLMEPO)EKPO'
Please check link ref
Regards,
Avik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for your help. It works perfectly fine!
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.