cancel
Showing results for 
Search instead for 
Did you mean: 

Posting Date In Confirmation

former_member181995
Active Contributor
0 Kudos

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



Accepted Solutions (0)

Answers (1)

Answers (1)

ivy_li
Active Contributor
0 Kudos

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

former_member181995
Active Contributor
0 Kudos

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

ivy_li
Active Contributor
0 Kudos

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

Former Member
0 Kudos

I am also having same requirement and issue

Is there any solution you found to meet this requirement ?

Kindly provide solution if you have found one.