I'm using HRHAP00_DOC_BC Badi to check some values when I press the "REVIEW" button, but when I press "SAVE" I need data to be saved without doing the validations. So I want to identify which button I've pressed, review or save.
Cause I'm using HAP_DOCUMENT BSP application, sy-ucomm is empty at this time of the execution.
Does anyone knows how this can be done?. Is there a structure or table in this badi that I can use for doing this?