Entering content frame

Example Master Data References in Task Lists Locate the document in its SAP Library structure

Configurable material BIKE has the following characteristic:

Characteristic

Values

COLOR

MG (Mirror green)

 

KR (Kansas red)

 

BG (Baltimore gray)

 

FL (French lavender)

 

You need a special painting procedure for the color ‘French lavender’. This increases the setup time of operation ‘Paint bike’ from 30 minutes to 60 minutes.

Routing of BIKE

Operation

Description

Procedure

0040

Paint bike

Setup time + 30 mins for color ‘French lavender’

 

1. Create Procedure

  1. Create reference characteristic SETUP_TIME with the following master data reference:
  2. Table PLPOD field VGW01

  3. Create a procedure with the following source code:
  4. $SELF.SETUP_TIME = MDATA $SELF.SETUP_TIME + 30 IF COLOR = 'FL'

  5. Assign the procedure to operation ‘Paint bike’ in the routing for the bike.

2. Create Procedure

For the color ‘French lavender’, create characteristic METALLICEFFECT:

Characteristic

Values

METALLICEFFECT

Yes

 

No

 

If you want metallic paintwork, the setup time increases by another 30 minutes.

Routing of BIKE

Operation

Description

Procedure

0040

Paint bike

Setup time + 30 mins for color ‘French lavender’

Setup time + 30 mins for metallic effect

 

  1. Create a procedure with the following source code:

$SELF.SETUP_TIME = $SELF.SETUP_TIME + 30 IF METALLICEFFECT = ‘Yes’

Note

You do not use the keyword MDATA in this procedure, because you are accessing the changed value.

  1. Assign the procedure to operation ‘Paint bike’.

Result

To check the result in the configuration simulation:

  1. Assign value ‘FL’ to characteristic COLOR.
  2. Choose Result.
  3. On the result screen, select header material BIKE and choose View ® Objects ® Task list.
  4. You see the routing for material BIKE.

  5. Select operation ‘Paint bike’ and choose Information.
  6. You see that the standard value has increased from 30 minutes to 60 minutes.

  7. Choose Characteristics and assign value ‘Yes’ to characteristic METALLICEFFECT.
  8. Display the result.

The standard value has increased to 90 minutes.

See also:

Reference Characteristics in Dependencies

 

 

Leaving content frame