cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons in WBAR what event is called when you push END

Former Member
0 Kudos

Hi thanks for your time

In WBAR there are some buttons Acept Reject, Hold, HangUp, Transfer .....End.

My question is if push END what event is called ?

We have a problem because if you are creating a BP if you push END, system save automactically and doesn't ask to the user.

Thanks,

best regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Javier

IC Agent can create several transactions in one session. When END button is pressed all the transactions are saved and the session is closed. This functionality is provide so that the agent does not waste time saving each document individually.

I hope this helps.

Rupesh

Former Member
0 Kudos

Hi Rupesh, thank for your answer and thanks for your time

But we need to validate that if you are creating a Business Partner (IUICMD- CreatePerson) and you push END, systems save automatically the BP, and we can't stop this.

We make some validations (DO_VALIDATE_INPUT) and check before to stop when user push save button (IUICMD - CreatePerson).

But when user push END system saves and we can't make the validations and stop if the data of BP are incorrect.

Could you help to stop when user push END to validate first and then save, or not save.???

Thanks in advance.

Former Member
0 Kudos

Hi Javier

You can use the CRM_MESSAGES_COLLECT function module to write an error message into the log. You can use the CRM_MESSAGES_DELETE function module to delete the message again. In your badi issue error messages so that Saving BP is not allowed.

You'll also need to provide a pop-up with navigation link to the BP view. Since the end button can be clicked on any view, the user needs to navigate to the BP view and complete the required details.

Hope this helps

Rupesh

Former Member
0 Kudos

Hi Rupesh,

Could you plz specify which BADI is triggered at the click of the END button?

Thanks

Alka

Answers (0)