Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call Transaction and skip first screen on workflow task

Former Member
0 Likes
1,047

Hello, I'm developing a workflow with a user decison step, where the user should fill some data in transaction FD02.

When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.

I'm using SET PARAMETER ID: 'KUN' FIELD customer. to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.

But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?

Thanks a lot.

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
862

Have you defined the binding correctly.Also are you using any standard task or have you created your own task?

4 REPLIES 4
Read only

former_member188827
Active Contributor
0 Likes
863

Have you defined the binding correctly.Also are you using any standard task or have you created your own task?

Read only

0 Likes
862

Yes i checked the bindingsand they seem to be correct.

I created a task for this with a abap class method assigned.

Read only

0 Likes
862

have you tested you class.Is it working fine?If yes then check the rule also which you have assigned to task.Go to SWEL and see if there is any error in WF or if the agent for task is someone else.

Read only

0 Likes
862

Hi,

try below code

data: fcode type FCODE value 'ANTRAGAEN',

customer type kunner,

bukrs type bukrs.

SET PARAMETER ID 'KUN' FIELD customer. " to fill the customer field

SET PARAMETER ID 'BUK' FIELD companycoder. " to fill the company code

SET PARAMETER ID 'TTC' FIELD fcoder. " to fill Function code for enter " it may be other than TTC please check.

CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.