on 03-18-2009 4:12 PM
Hi all,
I have designed a workflow step that runs BDC in background .BDC method is running fine in my business object and update in corresponding transaction.But in workflow the step to run BDC in background is running fine but not updating.
I checked binding between both workflow to task and task to method are fine.
what is the issue and why not updating.
Please help .
Thanks - Krish
You may also need a COMMIT WORK at the end of the Method.
The reason it works when you test the Method (using SWO1 I presume) is due to the implicit COMMIT that occurs during Dialog sessions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem Solved. Thanks all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your BDC is calling an SAP Transaction (not a Z-Transaction), then you need to consider if the updates occur using the Update Processor (Function Modules being called IN UPDATE TASK).
Try making the call with UPDATE set to L for Local Task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It can be a Buffer Issue.
Thanks,
Jyoti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for quick reply. I will try each solution and update as soon.
Lim : Yes. I'm using call transaction in my method. Why call transaction not working in background? Any particular reason?
Jyoti : Can I use tcode SWU_OBUF to solve buffer issue?
Thank you Imthiaz Ahmed and surjith kumar.
Thanks - Krish
Hi,
This could be a binding problem, for testing, make that Task as dialog Task and test it.
If it working fine, close all the t.code related to the BDC. Then test it in Background
Mode.
Once this situation happened in my project, the T.code Related to that BDC is opened by another user id, So the BDC in the workflow was not working at that time.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Is there a commit work or OK code missing somewhere?
How do you know it's working fine if it's not updating? Maybe it's not doing anything.
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The problem isn't getting a BDC to work, it's getting a BDC to work from workflow. That's why I say: try getting a simple BDC to work from a simple workflow first. If that works, change it stepwise until you get to the workflow you want and the BDC you want and find out at what point it goes wrong.
What sort of update does it do and how do you check if it's been done? If you're checking within the workflow then it could be that it's reading from the buffer and not seeing the update.
regards
Rick Bakker
Hanabi Technology
Hi Raj,
I think currently you are using CALL TRANSACTION in your method right?
Change that into BDC session using FMs:
1.BDC_OPEN_GROUP
2.BDC_INSERT
3.BDC_CLOSE
And run this program RSBDCSUB to execute the BDC.
You can also make program RSBDCSUB to run in background using FMs:
1. JOB_OPEN
2. JOB_SUBMIT
3. JOB_CLOSE
Regards,
Lim...
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.