cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User-exit or BTE AFTER SD invoice committed to database

konstantinos_vassiliadis
Active Participant
0 Kudos
393

Hello experts,
I would like to know if there is any user-exit or BTE triggered AFTER an SD invoice has been committed to the database. I looked into various such places but the ones that had the invoice number in structures was the assigned number but PRIOR to committing the invoice. I also tried BTE event 0000150 but again the underlying SD invoice had not been committed to the database.

PS the client uses SAP R3 version 40B so there are no BADIs...

Accepted Solutions (1)

Accepted Solutions (1)

RaymondGiuseppi
Active Contributor
0 Kudos

That's an old version...

You can use some of the BTE that are executed once before COMMIT WORK  and update process are performed to call some RFC enabled FM, CALL FUNCTION, IN BACKGROUND TASK, so the FM will be registered and executed after database update.

konstantinos_vassiliadis
Active Participant
0 Kudos
You mean use BTE and call the associated FM with the addition IN BACKGROUND TASK so that it is executed after the COMMIT?
RaymondGiuseppi
Active Contributor
0 Kudos
Yes, code the call of the RFC FM in background in the FM implementing the BTE.

Answers (0)