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

Unable to update table from background job.

hi All,

I am using one background job in my workflow, this job uses method of a class to update database table.

But it is not performing the same, whenever it reaches that activity containing background job, got stuck at that point only.

But when i am performing the same action manually, i.e; executing the class method manually, it is working fine.

Any idea why it is not working from background job.

I checked the bindings also, i also checked container element, importing parameter is properly set.

Still my method is not working from workflow.

Thanks,

Amar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 06, 2010 at 07:17 AM

    Hi,

    Did you try to check any dumps are generated in the backend system by using the xn ST22

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2010 at 12:56 PM

    Hello,

    Does the method return anything, like a return code or a success message?

    regards

    Rick Bakker

    Hanabi Technology

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Amar

      It is required to be checked whether the system is actually invoking the method at all in the background task. For this you can use a dummy variable in TVARVC and update a value say X in your method. If you run this method in foreground, off course it will update the dummy variable with flag 'X' but it would be intresting to see whether the same variable is updated when the task is run in the background. You can also update the above flag in the Sy-subrc check for your updation. Whenever it is not zero, you can write it to dummy variable.

      If you establish that its not accessing the method or updating the infotype, then look for SU53 screenshot whether there is a authorization failure or not.

      -Waz

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 09:08 PM

    Hi Amar,

    maybe the workflow-customizing of your System is incomplete. Check SWU3 whether the background tasks are customized.

    Greetings

    André

    Add a comment
    10|10000 characters needed characters exceeded

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.