cancel
Showing results for 
Search instead for 
Did you mean: 

SAPWM 6.2.1 Java issue

Former Member
0 Kudos

Description:

- Product is SAPWM 62 - Out of the Box

- SAP Addon is 610_700 SP04

- Work Order assignment type is Work Center at header level - corresponding configpanel change is made under WorkOrder MDO -> Get Method WO_Assignment_Type=8

- VAP is set properly under SU3

Problem:

At Agentry client transmit, error thrown: Work Center is not defined in the user profile for user "ABC"

Cause:

WORK_CENTER_ID variable under WorkOrderByHeaderWorkCenterDelegate class is not properly set at Validation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Add the following highlighted line will fix the issue:

WorkOrderByHeaderWorkCenterDelegate...

{

...

     public void validateAssignmentType(Logger log)...

     {

     ...

     if (WORK_CENTER_ID.equals("")) WORK_CENTER_ID = "USER_PARAM.VAP"

     ...

     }

}

Former Member
0 Kudos

Hi Are you suggesting to make a change in SAP standard code? Will it be not overwritten with new support pack upgrade? This type of errors looks like a standard SAP bug, hence must be fixed by SAP. I am happy to hear another opinion so. Cheers, Adi

mark_pe
Active Contributor
0 Kudos

Thanks Jinlin for contributing to the community.

You are not using Customer Service for WM 6.2.1, right?

The only SAP notes I know off that deals with something like this is:

We also have under Customer Service some fixes that may or may not be tied to this where

IT_PLANGROUP_RA field is empty on initial sync also fixed in Customer Service 2.1.

Your code above is checking if AssignmentType is blank and set it to the user parameter VAP.

The SAP note we have listed above is what we think is what we released. You may check your code or changes against it.

Best Regards,

Mark Pe
SAP Platinum Support Engineer

Former Member
0 Kudos

Adi,

This is probably due to the Addon SP level is not up to date.  By compiling the fix in a Z jar, and specify in the classpath it should be easier when upgrade the product.

Thanks,

Jinlin

Answers (0)