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

Modifying Tables in Background

Hi

I am facing problem, when modifying tables when executed in Background. The custom table is not getting updated / modified.

The same program works fine, when i execute in foreground.

I have used commit work.

Regards

Madhan Doraikannan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2005 at 12:17 PM

    Hello Madhan,

    The reasons for the problem are difficult to pinpoint with the information given.

    --> What do you mean by "not getting updated"? Is the program getting executed or not?

    --> Use some information messages / write statements (for example, to check the sy-subrc values) in your code to see where the problem is occurring.

    --> Go to transaction SM50 and see how many entries you have with the type BGD. You must have atleast one entry for this.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Madhan,

      The following code snippets will help in better diagnosis of the problem -

      1. Call to the Function Module.

      2. Call to your subroutine.

      3. All statements between 1 and 2.

      With the given information, I guess I could give you one hint: Try out giving a COMMIT WORK AND WAIT after the call to the FM and before the call to your subroutine.

      Regards,

      Anand Mandalika.

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.