cancel
Showing results for 
Search instead for 
Did you mean: 

Routing Script for ME 6.1

Former Member
0 Kudos

Anyone have the routing script to determine if a specific NC Code is open against an SFC? The script below of course only works with the POD session variables.

if (NC_CODE=="VISINS01"){

exit(true);

else

exit(false);}

Help???

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Grant,

If NC code was logged not in the current Log NC session, then such validation is usually implemented by menas of executing SELECT query on NC_DATA table. See SAP Note 1270322.

Regards,

Sergiy

Former Member
0 Kudos

Sergey, many thanks

Former Member
0 Kudos

Hi Sergey

In looking at that SAP Note, it is not the correct note for my issue.

When an SFC exits an operation, if a specific NC Code is open (not any open NC codes) then exit = true

I have looked at a number of SAP Notes and none seem to have the correct reference.

0 Kudos

Grant,

The Note is just meant to provide you with an example of how to execute SELECT query from the routing script. The fact that the script is about Log NC is just a coincidence. It is not to provide you with a solution to specificly your case.

So, you should elaborate the needed request yourself. If you need more help, this is a consultancy request.

Regards,

Sergiy