cancel
Showing results for 
Search instead for 
Did you mean: 

Document distribution workflow in error

Clucking
Participant
0 Kudos

Hi,

I have implemented Document Distribution but when I try to test this the standard workflow WS20000104 just goes into error.

To me, it looks like the first task (Create distribution order) is not totally completed even that the status for the step is Completed.

The error text from the workflow is "Error when starting a CASE branch" and furthermore I can find this error text in the details from the creation step: "Error when defining successor for node 0000000511"

Any suggestions?

Thanks,

Claus.

Accepted Solutions (1)

Accepted Solutions (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Dear Claus,

I have seen an issue just like this in another customers system and

the problem was due to the following:

This BOR method consists of a Boolean result parameter based

upon which WS20000104 branches in steps 299, 346 and 469.

But if a method has a result parameter declared on the second tab

'Result type', the check-box 'Result parameter' on the first tab

'General' has to be flagged as well.

In steps 299, 346 and 469 the following object methods are used:

- BUS1082   CREATE

- BUS1082   CHECK

- BUS1082   BUNDLE

Each of these method has the  result parameter declared on the second

tab 'Result type' but the checkbox 'Result parameter' on the first tab

'General' is not checked.

in old release the flag "result parameter" was not important. But since

relaese 6.xx is has to be set, if the method returns a result parameter.

So please maintain the 'General' flag for this methods and then the

distributions should work fine again. I hope the following steps

and explanation could help to made the necessary changes.

1.  Start transaction SWO1 for the BUS1082 object type in change mode.

2.  Expand the Methods tree, position the cursor on the following

    methods:

    DocumentDistribOrder.Check

    DocumentDistribOrder.Bundle

    DocumentDistribOrder.Create

3.  Choose the menu path Edit -> Change Release Status -> Object Type

    Component -> To implemented.

4.  Double-click the methods.

5.  A dialog box appears with the attributes of the method.

    a) On the 'General' tab, you must select the 'Result parameter'

       indicator.

    b) Choose 'Continue' <ENTER>.

6.  Position the cursor on the method and choose the menu path Edit ->

    Change Release Status -> Object Type Component -> To released.

7.  Choose Object Type -> Generate and assign the changed object to a

    transport request.

Afterwards I would kindly ask you to go to the SWDD

transaction and enter the following workflow templates

(WS20000104 and WS20000137). Go to the edit mode and activate them once

again.

Best regards,

Christoph

Clucking
Participant
0 Kudos

Thanks, you were right. This solved the problem. Strange there isn't a sap note for this.

Answers (0)