on 11-10-2009 5:01 AM
Hi Experts,
we have a scenario where we have to make costcenter as mandatory before we save a SC
as of now system is allowing us to save even with out costcenter
i found the BADI BBP_DOC_CHECK_BADI to implement the above scenario but i want this to be completed by setting any message class
Kindly suggest is there any message class which can fit this requirement or else BADI will be preferable
regards
subbu
Final solution is you have to go with BADI itself
Muthu,alam thanks for your cooperation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subhu
If you dont order material as direct, i.e account assignment any one (Cost center is mandatory)
go to Accoutn assignment folder of your sc
cost center
right hand side Delete thrash will be there , press Thrash
immediately system will throw an error message
no accounting assignment exists.enter accounting assignment
error in accounting assignment
SAP SRM validates accounting assignment data in SC.
do you want validate account assignment data validates ? or cost center validateds?
br
muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi muthu,
i agree to your point when we clicl on delete icon under cost Assignment system shows the message "No account assignment exists. Enter an account assignment" but this is a warning message which we are getting here ,system is allowing me to save the SC.
can you tell me how to make the same message as Error and so that system will not allow to save the SC
regards
subbu
Hi Subbhu,
i have gone through the path spro-> srm> srm server> cross apps--> message control.
i did not find any entry here too.Do you have any entry in your system?
{ please make ur entry there and chnage the default from warning to Error.}
also have a look at table T77OMATTUS making an attribute mandatory.
i still belivve you r requirement would be simple to do it through BADI . Craete you own message class and populate the message.
hi muthu,
please find the comments given by SAP
1. Yes, BBP_PD 047 and BBP_PD 822 are displayed as warning message in
SRM per standard system design.
2. Yes, since these messages can represent different kind of errors in
SRM, coming from R/3 backend, the customizing "Influence Message
Control" doesn't have effect in this case. A BADI would be a good
solution.
3. With the BBP_DOC_CHECK_BADI, you can check the accounting information
and perform a strict accounting verification, performing an
exception when necessary.
regrads
subbu
Hi Subbu,
I am not clear what you want. but if it is that you want to make cost center as mandatory without implementing the BBP_DOC_CHECK_BADI , then please check table T77MOATTR or something like that as i do not have system right noww, there you can make attributes for a scenario as mandatory.
Once that attribute is mandatory it has to be maintained for the shopping cart before to be saved.
cheers
Iftekhar Alam
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.