on 12-14-2006 6:39 AM
Hi,
In one of the Position Change Requests(PCR), we are required to create a Position, after the PCR Form has been approved by the Manager.
On Approval by the Manager,
We are calling a Function module, which uses a BDC program to Create the Position (PP01).
The Problem we are facing is :
1. The Function Module gets call'd on Approval of the Form through Workflow.
But the BDC Program for Creating a Object for the Position - fails.
2. But if we test the Function Module thro SE37 with the same Input parameters, the BDC Progam is executed correctly and the Position is created without any error.
3.We tried running scheduling the Function Module as a background job and here also the BDC Program failed to create any object for the Position.
The Profile for WF-BATCH user is set as - SAP_ALL.
and the Defaults are same for all users involved in the Workflow Chain.
Anybody who has encountered such a scenario while calling BDC Programs from Workflow could share their learnings .
Thanks.
Raj
Hi
Do you get any shortdumps ?
I have seen this when using BDC's that somehow tryes to display a screen.
Make sure that the Mode in your call transaction is "N". and that no screens are displayed.
Regards
Morten Nielsen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Raj,
Similar situation, i faced when i tried to call a BDC using a function module.And individually it worked
The issue is BDC's have internal submit which are not compatible with the function module(RFC), which u call using event linkage or from the task.
i hope this answers your query.
Regards,
Saujanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
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.