Skip to Content
0
Former Member
Apr 22, 2008 at 07:27 AM

WF for SD (BAPI not getting executed)

32 Views

Hi,

I am designing a Workflow for SD flow. When the credit memo request (that is created through transaction VA01) is approved, i want the credit memo (VF01) to be created in background. For this, i have created a subtype of BUS2094 and created a method using the BAPI 'BAPI_BILLINGDOC_CREATE'.

I have assigned this method to the step after the approval which is in background process.

The problem i am facing is, when the request is approved, the BAPI is not getting executed and saved. I guess the document number is not getting entered in the tr. VF01 (though the binding is perfect).

Any idea what i am missing? Or should i use any other BAPI?

Thanks,

Ajay