on 05-20-2009 7:23 AM
Hi Expert,
I wish to change the cost center field in the shopping cart by making the field to empty value to force the user to manually enter the cost center value.
And where can I make the field Internal Order and AOR to mandatory?
Please tell me where can I make the changes?
Thank you.
Regards,
Henry
Hi Henry,
You can use the BBP_DOC_CHANGE_BADI to make the value for the cost center field to be null.
And BBP_DOC_CHECK_BADI to make the fields mandatory. You cans raise an error message using this BAdI if the Internal order and AOR fields are left empty. If the user tries to leave these fields empty and tries to proceed further. He/She will get the error message.
Hope this helps.
Thanks.
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henry,
BAdI: BBP_DOC_CHANGE_BADI
Method: BBP_SC_CHANGE
The field will be in the parameter IT_ACCOUNT
Field name COST_CTR
Exporting parameter ET_ACCOUNT
Field name COST_CTR
Assign blank value to this field so that once this BAdI gets executed the value for cost center will become null.
Thanks,
Pradeep
Hi guys, I know it is an old question, but now I have this problem:
How can you send a blank value through this badi? I am cleaning the value of COST_CTR but It didn't work.
Thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.