on 04-19-2017 9:34 AM
Hi Experts,
I've asked this question here already without reply which might be the wrong place. Posting the question again and I would be grateful for any help.
S4HANA Release: 1610 SP Stack: 01 ( 02/2017) FP
I'm trying to implement the AMDP BADI : PPH_MRP_RUN_BADI. I've created an implementing class and I am trying to implement method IF_PPH_MRP_RUN_BADI~MDPS_ADJUST for the BADI.
I am implementing the method logic in Eclipse. The requirement is to change values in CT_MDPS; specifically for Material XXXX change DELZ to YY. I cannot update CT_MDPS. The below does not work.
update ct_mdps set delkz ='YY'where matnr ='XXXX';
I know we can update normal tables in this way but not method parameters. I am new to this type of development in S4HANA and I would appreciate any guidance you can give to help me realise my requirement.
Thanks in advance
Gary
ct_mdps = select 。。。。,case when matnr ='XXXX' then 'YY' else delkz end as delkz,
from :ct_mdps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Gary,
I'm facing the exact same requirement. Were you able to solve this? Can you please share how?
KR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
Thanks for taking the time to reply. You are correct. Update will not work. The problem I have is how to change the values in ct_mdps using this BADI.
Thanks
Gary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
update is for db tables. this is an internal table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.