cancel
Showing results for 
Search instead for 
Did you mean: 

Toggle Option in Process Chain not working

former_member212236
Active Participant
0 Kudos

Hello SDNers,

I am experiencing the below scenario with one of my process chain.

Process Chain FLow

Start

|

|

Local Chain (To delete the already existing file from Application Server(ZFTP))

|

Local chain to rename the file

|

|

Local chain (Load data to cube)

|

|

Local chain to backup a file from Appl. Server

In the above flow, the step 2 has been set to proceed further even if there are no files to delete in the application server. To achieve this I am using a toggle option between the step 2 and 3.

At times, the chain progress further when there are no files to delete as expected but not all the times.

I am trying to figure why the step which is supposed to progress further is not progressing some times even though it has been set to move further.

Any advice would be helpful.

Regards,

Vinoth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinoth,

The purpose of toogle (success/Failure) option is it should pass the trigger even it is failure or success.

could please go and check it in planning mode(whether toogle is maintained or not).

You told, toogle is maintained between step 2 and step3. could you tell me how many steps you have in step2(local chain).

Regards,

Venkatesh.

former_member212236
Active Participant
0 Kudos

Hello Venkatesh,

TY for your quick reply.

Here are the answers:

Yes, the toggle option exist even if I check with Planning mode.

There are 2 steps inside that local chain (a start variant and a Program (whihc will take care of the deletion))

Regards,

Vinoth

Former Member
0 Kudos

Hi Vinoth,

In your local chain add process "Process chain finished) and add toogle condition between your program and procees chain finished.

Now system will trigger further even the program fails.

Regards,

Venkatesh

former_member212236
Active Participant
0 Kudos

Venkatesh,

TY again for suggesting a solution.

Also it would be great if you share your hunch on why this issue would have caused. Because some times the toggle option did work properly as expected with the current flow itself.

I dont find any clues why this option works some days and not all the days.

Regards,

Vinoth

Former Member
0 Kudos

Hi,

1) Cretae a program which call FM RSPC_ABAP_FINISH. In exportig parameter give your program varient name(which will take care of the deletion )

2) in the step 2 of your process chain, after a start variant and a Program (whihc will take care of the deletion ) include ABAP process type and give the program created in step 1.

Hope it helps.

former_member212236
Active Participant
0 Kudos

Hello Anshul,

TY for your response.

Is there any way by whihc I can identify the root cause of why the toggle option not workking as expected at times?

Regards,

VInoth V

Former Member
0 Kudos

Whenever we use ABAP process type we must end it by including RSPC_ABAP_FINISH.

Otherwise the same issue happens.

It use to occur for me also some time back. I rectified it by including FM.

former_member212236
Active Participant
0 Kudos

TY Anshul.

Let me try with that step.

Vinoth

former_member212236
Active Participant
0 Kudos

Hello Venkatesh,

You have sent a message as below,

-


In your local chain add process "Process chain finished) and add toogle condition between your program and procees chain finished.

Now system will trigger further even the program fails.

-


In the response above, you have mentioned "Process chain finished". Are you referring to a specific Process Type? If so, I dont find that in the RSPC.

Could you please clarify.

Regards,

Vinoth

Former Member
0 Kudos

Hi Vinoth,

Yes this is process type, PROCESS_CHAIN_FINISHED. you will have this in general folder. check the folders. it may be like "raise process chain finished". check the folders once.

Use success/failure between your program and this process type.

Regards,

Venkatesh

former_member212236
Active Participant
0 Kudos

Hello Venkatesh,

Thanks for responding.

I have checked the process types under "Gerneral Folder" and I find the below types only,

Interrupt Process

Start Process

AND (Last)

OR (Each)

EXOR (First)

ABAP Program

ZABAP Program with success and incorrect option

OS Command

Local Process Chain

Remote Process Chain

Workflow (Remote Also)

Decision Between Multiple Alternatives

Is the previous run in the chain still active?

Start Job in SAP BusinessObjects Data Services

I am not really sure which one among these you refer to. Are you sure that process type was SAP delivered? Because, I do know some cases where we can create our own processtype.

Regards,

VInoth V

Former Member
0 Kudos

Hi

Please check in folder "Other"

You will find process type with name "raise event process_chain_finished"

Use this, it can solve your problem

Regards,

Venkatesh

former_member212236
Active Participant
0 Kudos

Hello Venkatesh,

I have checked the folder "Other" and found the below types,

Last Customer Contact Update (Retraction)

Job in SAP CPS

Event in SAP CPS

I do not think any of the above mentioned process type is the one whihc you are referring to.

Kindly let me know your thoughts.

Regards,

Vinoth V

Former Member
0 Kudos

Hi Vinoth,

You are in which version of BI.

You will have lot of process types in "Other" folder.

Please check the below one, you will definitely have this.

Raise Event PROCESS_CHAIN_FINISHED

Regards,

Venkatesh

former_member212236
Active Participant
0 Kudos

Hello Venkatesh,

Thank You for your Patience.

I have BW systems both running in the SAP_BW Versions 730 & 701.

I have checked the folders " Other BW Processes " & "Other" and below are the process types.

Other BW Processes

Attribute Change Run

Adjustment of Time-Dependent Aggregates

Deletion of Requests from PSA

Deletion of Requests from the Change Log

Execute Planning Sequence

Switch Realtime InfoCube to Plan Mode

Switch Realtime InfoCube to Load Mode

Reorganize Attributes and Texts for Master Data

Execute Analysis Process

Update Explorer Properties of BW Objects

Other

Event in SAP CPS

Job in SAP CPS

Last Customer Contact Update (Retraction)

Regards,

Vinoth V

Answers (0)