cancel
Showing results for 
Search instead for 
Did you mean: 
SAP Community Downtime Scheduled for This Weekend

Adhoc Objects

Former Member
0 Kudos
1,067

Hi All,

Can anyone let me know what are ADHOC objects and how/why these are used in workflows?

Best Regards,

Venkatesh Eddala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venkat,

If you are talkign about ashoc workflowsyou can see this link :

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/f4/9f9138d380f50fe10000009b38f8cf/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/f4/9f9138d380f50fe10000009b38f8cf/frameset.htm</a>

Otherwise AdhocObjects is also a container element :

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b653453d11d189430000e829fbbd/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4b653453d11d189430000e829fbbd/frameset.htm</a>

Thanks,

Shweta

Answers (4)

Answers (4)

Former Member
0 Kudos

Not answered

tony_bramhill2
Participant
0 Kudos

Hi

Not sure what you mean by Adhoc objects. If you mean <i>Adhoc Anchor</i>, this is a placeholder in the workflow definition. A set of possible designated workflows are then defined for the adhoc anchor. An authorised user can replace the Adhoc Anchor at runtime by the by one of these designated subworkflows. This allows more flexibility in the workflow design.

If the adhoc anchor is not replaced at runtime, it is ignored by the workflow.

hope this helps.

Former Member
0 Kudos

Hi Tony,

In one of the projects that I've worked they have 3 workflows for same Invoice approval. They wanted only to start one workflow at a time.

For example if one level approval is required, the workflow that deals with one level gets started. In the runtime if the approver adds one more approver, the one level approval workflow cannot handle this as the no of approvers beccome 2. So using this adhoc anchors the workflow with 2 level approval wil be started.

Can you tell me do we need to link the workflow to ADHOC anchors? Or how does the system understand which workflow to start in runtime?

Best Regards,

Venkatesh Eddala.

tony_bramhill2
Participant
0 Kudos

At definition time, when you use the Adhoc anchor, you must specify a list of possible workflows that can be used. Then, an authorised user must replace the adhoc anchor with one of the designated workflows at runtime - through the graphical log. The user must have an opportunity to do this - like building in a notification work item to prompt the user to do so. If not, the workflow may get to the adhoc anchor and simply carry on by ignoring it.

The container of all of the designated workflows must have an identical container to the main workflow.

A different way to do this would be a branch in your workflow based on a choice which your workflow could make at runtime. Each separate branch would trigger separate subworkflows based on a criterion (like your one vs two level option) which the workflow could determine at runtime. The difference is that no user intervention would be required.

Former Member
0 Kudos

Hi All,

Can anyone let me know what are adhoc workflows?

Best Regards,

Venkatesh Eddala

former_member184112
Active Contributor
0 Kudos

Hi Venkat,

Using Adhoc_object, You can assign a document template as an attachment to the worflow, you will link to the objects method inbusiness object.

Thanks and Regards,

Prabhakar Dharmala