cancel
Showing results for 
Search instead for 
Did you mean: 

Additional confirmation before invoice print

Former Member
0 Kudos

Hi Experts

I need functionality similar to the second invoice print conformation - when we print invoice witch was already printed, SAP shows window with conformation request.

I need window with confirmation, if someone want to print invoice witch was canceled.

ABAP code is rather simple. I'll check document flow table and use function 'POPUP_TO_CONFIRM_WITH_MESSAGE'.

The problem is that I don't know where I can insert the code.

Maybe you known some user exit or include witch I can change.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

U can insert the code in the print program itself and call the smartform only if condition is met.

to check if document was cancelled or not, use vbrk-fksto. if vbrk-fksto is X then doc is cancelled.

Former Member
0 Kudos

Thanks for hint

Can I show there popup window ? I don't want to completely block layout.

If user press OK button, invoice should be print.

Best

Former Member
0 Kudos

well i'n not sure of this but i think u can give a popup and continue with the oprinting once user wants to continue