on 04-07-2014 6:19 PM
Dear All,
If an approver approves a confirmation posted in previous month, then it is not possible for them to approve due to backend posting period validation.
In our system, we have a custom setup in BBP_DOC_CHANGE_BADI to automatically populate current date as posting date in confirmation document.
After BRF is implemented, approval step is not going through BBP_DOC_CHANGE_BADI, Thus Posting date is not updating to current date.
Has anybody have any clue/tips on this, how can we achieve this? We are in SRM 702.
Cheers
Amit
Hi Amit,
If you are using automatic approval, document was changed previously by
BBP_DOC_CHANGE_BADI and will be approved in few seconds. In this
case the call of BADI again it makes no sense.
If you are not using automatic approval, then this BADI with method BBP_CONF_CHANGE should take effect on this, and I suggest setting breakpint at this BADI to see why changes are not refelected to confirmation.
Regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivy,
We are not using Automatic approval. Therefore, Expectation is to BBP_CONF_CHANGE trigger. But this is not triggering in case of Posting period is closed, But if Posting period not closed then it triggers. Assumption is, After BRF the call stake has been changed, like system checks the bakcend errors with GOODS MOVEMENT BAPI CHECK before the BADI call. so the Error message popping up before BADi call which might be restricting the BADi call.
Any other tips? Thanks!
Cheers
Amit
Hi Amit,
What is the exact error? Maybe I can find more hints with this error.
Is it error M7 037?
If so, is it possible to change the posting date in confirmation header?
If not, I think we can set break point at function 'B46A_GOODSMVT_CREATE_CHECK'. And BAPI BAPI_GOODSMVT_CREATE will be called to trigger the error. You can change the posting date to one valid date in order to prevent this error.
Regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.