Skip to Content
Former Member
Dec 21, 2007 at 07:22 AM

call transaction and return to program, but saving data in called TA



I came across the following problem:

when I call a standard SAP transaction (from within my Z-program) with "CALL TRANSACTION", I see that the transaction returns to the calling program when the user pushes the SAVE or the BACK button, but to my big surprise, the transaction is not saving the input data at all.

Using "LEAVE TO TRANSACTION", saving is ok, but returning to the calling program is not possible, of course.

Unfortunately, I want both : I want the standard SAP transaction SAVE the data input and THEN return to the calling program.

"CALL FUNCTION" to mimic the transaction call, don't allow me to skip the first screen...I suppose. I hope I'm wrong.

Who can help?

Thanks and best regards,

S. Dejonghe