Skip to Content
Former Member
Dec 14, 2006 at 06:39 AM

Reg. Problem in Calling BDC from Workflow



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 . 😊