SCBP_SOPCTR  

Definition

SCBP_SOPCTR: SOP Control Block

Use

This structure contains control parameter fields that are relevant to the communication process with the external planning system. These fields influence the planning process in the external planning system.

Structure

 

SCBP_SOPCTR

Field name

Type

Length

Short text

MODEL

CHAR

10

Model name, unique model identifier

VERSION

CHAR

3

Version

PLINIFLG

CHAR

1

Plan initialization flag

SPLFLG

CHAR

1

Single planning flag

PLHNDL_PUB

NUMC

5

Port number of stored production plan

PLHNDL

NUMC

5

Port number

LANGU

LANG

1

Language key

NTCHNGFLG

CHAR

1

Net change flag

PLTARFLG

CHAR

1

Planning target flag for external SOP planning

BEGIN

DATS

8

Planning start

PENDE

DATS

8

Planning finish

REQONLYFLG

CHAR

1

Request only flag for SOP SCPI

 

Input check (foreign key, fixed values)

PLINIFLG checked against fixed values from domain X FELD

Fixed values:

No,

X Yes

SPLFLG checked against fixed values from domain X FELD

Fixed values:

No,

X Yes

NTCHNGFLG checked against fixed values from domain X FELD

Fixed values:

No,

X Yes

PLTARFLG checked against fixed values from domain CBP_PLTARFLG

Fixed values:

REQONLYFLG checked against fixed values from domain XFELD

Fixed values:

No,

X Yes

Data element documentation:

MODEL: The model name is its unique identifier. Different model types can contain the same model names. A model consists of the set of master data that is downloaded to the external system, along with the definition of the RFC destinations. In SOP a model is assigned to information structure S076 (standard SOP). At the moment it is not possible for a model to be used by the SOP and the MRP external planning functionality concurrently, but two separate models must be.

VERSION: The planning version describes an independent set of demand or production figures for one model in SOP as well as an independent plan for them. For MRP, the planning version has no special meaning and always has the fixed value MRP.

PLINIFLG: You can refresh the external plan before planning new objects by setting this flag in either the profile for external planning window or in the settings for external planning window. If this flag is set, the external system is instructed to erase all the demand and production figures in the current planning version before it incorporates the new demands and starts the planning run. This flag should typically only be set if there is something wrong with the plan in the external planning system.

SPLFLG: If you set the single planning flag:

If you do not set the flag:

PLHNDL_PUB: (data element: CBP_PORT_PUB) This number identifies the stored production plan. It can be created by the external planning system as a planning handle to define an individual plan. It is stored by R/3 and can be passed back and forth for identification purposes in the external planning system.

PLHNDL: (data element: CBP_PORT) This number identifies a production plan in the temporary work space. It can be created by the external planning system as a planning handle to define an individual plan. It is stored by R/3 and can be passed back and forth for identification purposes inf the external planning system.

LANGU: (data element: SPRAS)The language key designates the language which you will use to:

NTCHNGFLG: If this flag is set, the external system will return only those production figures that have been changed since the plan was last saved. If the flag is not set, the external system returns all the production figures.

PLTARFLG: Indicate the planning target for the external system by setting the flag for one of the following options:

For planning target:

the external system evaluates

production figures

sales and production

synchronous to sales

sales

target stock level

sales and target stock

target day's supply

sales and target day's supply

stock level - zero

sales and opening stock levels

BEGIN: (data element: PLBEG)The date on which planning begins.

ENDE: (data element: PLEND)

REQONLYFLG: (data element: CBP_REQONLYFLG) If this flag is set, input values of the RFC are ignored, and only the current production values of the plan are returned by the external planning system.