cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ME 6.0.4.23 routing config failed by using NC_CODE parameter

Former Member
0 Kudos

Hi experts,

i have the following problem.

If i try to config router with parameter NC_CODE in SAP ME 6.0.4.23 the standard script doesn't working:

// Path for SFCs that do not fail

if(NC_CODE==null) {

  exit (true);

} else {

  exit(false);

}

this script too

// Path for SFCs that fail

if(NC_CODE!=null) {

  exit (true);

} else {

  exit(false);

}

NC_CODE is always null !!!

is it a bug?

Can anybody help me?

i use this document http://wiki.scn.sap.com/wiki/download/attachments/278332139/SAP+ME+How-To-Guide+-+Setting+up+Product...

is it the right one?

Thanks,

Markus

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Markus

I had the same topic some weeks ago.

NC_CODE is "null" as long as the following requirements fail:

- Log NC during the dedicated operation.

- use "Verwendungsentscheid fällen" in the "Abweichungsverwaltung"

- use Activity NC_DATA_ENTRY, (not Activity LOGNC_Reject)

I hope, I gathered all

Kind regards

Yvonne

Former Member
0 Kudos

Hi experts,

has anybody another solutions for the problem descriped in the topic that will work?

documents or guides would be usefull.

Thanks a lot!

Markus

Former Member
0 Kudos

Markus

Did you try the open NC routing script supplied in core?

Without specifics about the business process you are trying to model, it's hard to offer the best advice. If on logging an NC you want then SFC to move to a different operation, then you should consider disposition group functions or dispostion routings. But the best solution will depend on a lot of factors and constraints introduced by your business process and current SAP ME model.

In general, for processing a failed SFC with a specific NC Code use these techniques, roughly in order of perference:

1) disposition group functions or disposition routings assigned to the NC

2) check open NC routing script

3) more complex routing script based on direct SQL

Former Member
0 Kudos

Markus

I never use those scripts - they are OK for examples of what you can do, but are too simple. It should work if you log the NC and press Done or Add-Done in the Log NC. But if you log an NC, close the Log NC  plugin activity then complete the SFC, the NC_CODE variable is always null during the COMPLETE action.

So, use another script, or look for open NCs with the provided script (if you leave the NC open) for example.

Stuart