on 05-16-2015 7:51 AM
Hello All,
Scenario : From the OCI interface catalogue a custom field "Z_MIN_ORDR_QTY" will be passed, which we need to map to "BBP_PDIGP-MIN_ORDER_QUAN".
Can we do this by adding a SC customer field and mapping same to BBP_PDIGP-MIN_ORDER_QUAN in Doc_Change badi?
Kindly provide your inputs.
thanks .
Channa.
Hi Channa ,
Please note yes you can update this but the purpose of making a change in DOC_CHANGE is not very clear .. if you update something in DOC_CHANGE it will be updated every time .. so this value will remain constant always .. You can also use BBP_DOC_SAVE badi here ..
I did something similar so below is the sample code ..
SELECT SINGLe * FROM BBP_PDIGP INTO LS_BBP_PDIGP WHERE GUID = LS_PO_ITEM-SRC_GUID.
IF ( Your condition ).
LS_BBP_PDIGP.-MIN_ORDER_QUAN = NEW VALUE
MODIFY BBP_PDIGP FROM LS_BBP_PDIGP.
ENDIF.
If you only have to do this once during creation update in DOC_CHANGE with the mode as well .. probably EQ C
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
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.