cancel
Showing results for 
Search instead for 
Did you mean: 

Journal validation BADI in BPC

arkaitz_orozko
Explorer
0 Kudos
602

Hi all,

Our client has a new requeriment regarding BPC journal module. Example, user A creates a new journal but only can save it he should not be able to post it. This new journal can only be posted by another user. We have implemented BADI_UJJ_CALCULATED_AMOUNT. The problem is that it only enter in the badi if any type of modification is made (description, amount change,...). Does anyone know if BADI works this way? That is to say, the BADI only acts if any type of change is made before in the journal or is it due to a system bug and is it neccessary to upload a SP?

Best regards,

former_member186338
Active Contributor
0 Kudos

Sorry, but not clear! Please describe your requirements in detail.

Accepted Solutions (0)

Answers (3)

Answers (3)

arkaitz_orozko
Explorer
0 Kudos

Hi Vadim,

The client requirement is that user A will be able to create a new journal 1 but not post it. This journal 1 should be posted by anohter user B than user A. On the other hand, user B will be able to create a new journal 2 but no post it. This journal 2 should be posted by another user A than user B. I think it is not possible to configure it with standard BPC security option this new client requerimients.

Regards

former_member186338
Active Contributor
0 Kudos

Sorry, but it's a wrong security approach.

former_member186338
Active Contributor
0 Kudos

BADI_UJJ_CALCULATED_AMOUNT is triggered when something is changed. And it's not related to you case.

You have to properly configure user security - task profiles:

some users will have only task: Edit Journals - Can create or modify journal entries

other users - only: Post Journals, Unpost Journals, Reopen Journals

all users: View Journals

arkaitz_orozko
Explorer
0 Kudos

Hi Vadim,

We woluld like to BPC do not allow with the same User A to be created and posted, but rather, if user A creates the journal, it must be another user who post it.

Steps:

1.- User A creates a new journal and shoukld be save it but not posted it. In this point when you try to post it, the CALCULATED_AMOUNT is working fine.

2.- User A creates the journal, save it and disconnects from BPC. It connects to BPC again and opens the previosly created journal entry again. Without doing anything about the journal, if the user A try to post in the BADI it does no enter but if the user A try to do change something (description, members, amount,...) in this case CALCULATED_AMOUNT is working and we can check if the user who created the journal is the same as the one you are trying to post to, we can create and error message.

Regards,