cancel
Showing results for 
Search instead for 
Did you mean: 

Background task in process

Former Member
0 Kudos

workflow after user decision step I put one background step that opens the lead transaction, but it is inprocess status always , it is not a dialog method is it possible to open any transaction by using background methid.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sunil, you can call BDC like u201CCALL TRANSACTION 'XXXX' USING bdcdata_tab OPTIONS FROM optu201D in the background task bo method. the status of workitem will be completed after finishing steps in the BDC.

Former Member
0 Kudos

We can not use CALL Transaction from a Background step and hence the result.

Please serach some FM which will do the desired in background after passing the relvant data.

Former Member
0 Kudos

No i haven't use call transaction , in bor changewithdialog method is there ,that is dialog method so i copied that method and removed that dialog flag and make it as background task.

former_member185167
Active Contributor
0 Kudos

Hello,

What exactly does that method do, are you sure it's something that can be done in the background, as user WF-BATCH?

regards

Rick Bakker

Hanabi Technology

Former Member
0 Kudos

Hi,

In that case you will have to make sure that you are passing all the required values from outside

as when we call it from the Dialog we give the appropriate values online those needs to be passed before hand only .

I would suggest you execute the method stand alone and see whether you requirement is going through or not then only embedd the same into the workflow task.

One more thing just check the ABAP dump as well, It would also result the task going in progress

Regards

Ravi

Former Member
0 Kudos

method will open the transaction in edit mode of that lead, with respective to guid when i am executing in bor it is working fine , when it comes to workflow it is not working i passed all the values that required to method

former_member185167
Active Contributor
0 Kudos

Hello,

It opens the transaction in edit mode. And then what?

Doing BDCs gives different results in foreground and background, probably the same here.

regards

Rick Bakker

Hanabi Technology

surjith_kumar
Active Contributor
0 Kudos

Hi,

You have to use Conversion Exit FM for this Scenario. In Guid it will shown as 8 digit, but if you double click and see that it will be 16 digit. You can find the " Conversion Exit Function Module" in the Domain or Data Element of the Guid id .

Then pass the converted Variable to Workflow then it will work.

Regards,

Surjith