Create Activity from Service call
Hi Expert,
We've got a request - COPY some information from service call to the new activity automatically. I have tried
1. Call Boyum universal function to Create Activity, but unfortunately the new activity cannot be linked to service call (not showing in Service Call - Acitivities tab).
2. Use Boyum Validation function when clicking Activity button in Service Call - Activities tab. It seems I cannot transfer fields' value in Service Call to Activity window (Add mode)
I am just wondering if I miss something in above 1 or 2.
Thank you.
Best regards,
Christina
-
- Add a button on the service call to run a UF. The UF would then:
- Save any information you want to copy to the activity in @STORE values
- Click the SAP Activity button to create the new activity
- Activate() -- to make sure the activity window is the active one
- Set the field values in the activity using the @STORE values
- Manually make any other changes and click the add button
-
Thanks Geoff,
I have tried the button to create new activity. The problem is the created acitivity wouldn't show in Service Call - Acitivities tab.
-
Very strange - it works for me just fine.
-
Can you please take a screenshot of the step 4? I just realised there is difference between yours and mine.
I created the activity in the function button - universal function, not using SAP activity button.
When you click SAP Activity button, it is already activated. May I know where to trigger Activate()? Thanks.
-
@STORE1 = $[$14.0.0]; // Assign @STORE1 value
Click($[$55.0.0]); // Click the New Activity button
Activate(); // Ensure the Activity form is the active one
Set($[$53.0.0]]|@STORE1); // Set the value on the activity -
Thanks Geoff,
This works!
It is a perfect solution. Thanks again.
Please sign in to leave a comment.
Comments
6 comments