Skip to Content

split workflow archiving to 2 seperate folders

for archiving workflow I have created 2 archivingobjects ZWFLOW_SLM and ZWFLOW_FICO to seperate the 2 workflows in the archiving to 2 different folders (since there is a big difference in the duration that workflows must be accessible and the slm workflows are much bigger in diskspace and need to be cleaned up after a while)

which are a copy of the archiving object workitem.

they use the same program WORKITEM_WRI but in the programm is hardcoded that the archiving object workitem is used ?

AT SELECTION-SCREEN OUTPUT.

PERFORM standard_opt_writeprg_atoutput USING 'WORKITEM'.

is there an easy way or procedure to solve this problem, or is there a reason that it is not allowed to use different archiving objects for workflow ?

the only sollution I can think of is to copy the program for each new archivingobject and hardcode it into the new programs but I hope there is a different sollution.

kind regards

Arthur

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 03, 2012 at 10:03 AM

    is there a reason that it is not allowed to use different archiving objects for workflow ?

    You should try to archive work items but not workflows both are different. workflow is a definition , but work item is an instance of definition, compare it with a class and an object. ℹ️

    Now coming to your point in your case you have two different taskid's that you are looking to archive so what you can do is on the selection screen create two variants one for each task let say for SLM task ID is TS/WS 1234XXXX and for FICO 6789XXXX so create separate variant and schedule then differently from SM36 transaction. For more information check below SAP help reference.

    SAP Library - Embedded Processes (SAP Business Workflow)ℹ️

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.