Skip to Content
author's profile photo Former Member
Former Member

Commit Work in Dialog Programs

Dear Gurus ,

I have an ALV that has a Hotspot click . This hotspot click runs a a dialog program that i have create .

In this dialog program i send an email and the problem is when i send it i say Commit_work .

After the Commit_work the program leaves the dialog and goes back to ALV.

I found that the problem is the Commit_work but i cant find the solution .

Do you have any idea ???

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 13, 2011 at 08:44 AM

    Can you please paste your code here how are you calling the module pool program if is via function module etc it will return to original screen else if uit call tcode or something it should not.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 13, 2011 at 08:27 AM

    This is standard behavior, the commit-work will raise the event TRANSACTION_FINISHED of a system class, read some documentation like [COMMIT WORK|] - how did you call the dialog, via a call transaction or via a FM call ?



    Add a comment
    10|10000 characters needed characters exceeded

    • In a program executed using batch input, or if you have called the program using the USING addition of the statement CALL TRANSACTION, COMMIT WORK terminates the batch input processing when using the corresponding settings.

      So batch-input will terminate as soon as the commit-work will trigger.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.