on 07-30-2008 8:44 AM
Dear All
The customer I'm currently working for have a request to make some changes to the standard behaviour in SRM when it comes to the required on date and approval. We are on SRM Server 5.5.
1.
Logic: For text items: If required on date = todays date a warning should be given.
Question: Best to use BBP_DOC_CHECK_BADI - or BBP_DOC_CHANGE_BADI?
2.
Logic: During approval for both text items and catalogue items: If required on date is in the past or < todays date + leadtime (catalogue) required on date should be changed.
Now - the above is both to be triqqered from the inbox (approval tab) and from the detail view.
To change the dates from the detail view I would assume I should use the BBP_DOC_CHANGE_BADI - but can I use any of the BADI's stated above from the inbox and get the requested change? I'm not sure if any of the BADI's are beeing called from the inbox (approval tab).
Thanks for your great help in advance
;o)
Maria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave (and all other experts)
As I have not changed the error to a warning yet in SRM, I'm not able to prove if the date will move to todays date during the RFC creation of the PO - but it does not happen in the backend system (PO can be created with delivery date in the past - just created one manually).
Anyway - do any of you know, if it's possible to control when the message is a warning, and when it is an error? I think the business might want to differientiate between a catalogue and a text item.
Looking at the table BBPV_PDMSG_CUS I suspect it will be reflected in all items, unless I can differientiate in the CHECK_BADI.
Thanks for your help once again.
;o)
Maria
Hi. You can only change the message to warning or error globally using config.
If you want to customise it based on other parameters the way to do it is to turn it off in config, then use the BBP_DOC_CHECK_BADI to issue it as a warning or error based on whatever criterea you want.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.