Fonction SAP BAPI_BUSPROCSTRUCTURECO_CREATE - BAPI for Creating Fixed Process Structures for Business Processes

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSPROCSTRUCTUREID BAPI1137-PROC_TEMPLATE C 10 Process structure
BUSPROCSTRUCTURETEXT BAPI1137-PROC_TEMPLATETEXT C 30 X Process structure name
CONTROLLINGAREA BAPI1137-CO_AREA C 4 Controlling area
TESTRUN BAPI1137-TEST_RUN C 1 SPACE X Test run

Paramètre Reférence Type Long. Description
BUSINESSPROCESSSTRUCTUREID BAPI1137-PROC_TEMPLATE C 10 Process structure
CONTROLLINGAREA BAPI1137-CO_AREA C 4 Controlling area

Paramètre Reférence Long. Facultatif Description
BUSPROCSTRUCTURE BAPI1137_PROCESSSTRUCTURE 391 Process structure content
RETURN BAPIRET2 548 X Messages

Functionality
The module generates a process template for structured processes(process templates of environment SBP) from a fixed process structure.
A fixed process structure means that only fixed values are permittedfor object and quantity columns. Selection methods and quantityformulas cannot be transfered to this module.

Notes
In the parameter documentation, you can see how the process structureis transfered.

Further information
Documentation for structured processes.

Description
The key of the template of environment SBP under which the processstructure in the controlling area should be set.
This value can be entered later in the master data of a businessprocess in order to assign the process structure to the businessprocess.

Description
Controlling area in which the process structure should be created.

Description
Process template key of environment SBP under which the processstructure in the controlling area should be created.
This value can be entered later in the master record of a businessprocess in order to assign the process structure to the businessprocess.

Description
Language dependent text for process structure.

Default
The text language presented is the same as that which was logged on to.

Description
Controlling area in which the process structure should be created.

Description
Indicator showing whether the validation is carried out without savingthe process structure.

Value range

  • ' ': process template is saved, in case no error is found

  • 'X': validation only, without saving
  • Default
    ' '

    Description
    The contents of the process structure are transfered in this table. Thecontents of the one row column depend on the value of the fieldLINE_OBJECT_TYPE (line category) of each row.
    Further columns are:

    • LINE_OBJECT: Object of the row/line

    • LINE_OBJECT_TEXT: line comments/explanations

    • QUANTITY_FACTOR_PLAN: variable quantity factor for planning quantity

    • FIX_QUANTITY_PLAN: fixed plan quantity

    • QUANTITY_FACTOR_ACTUAL: variable quantity factor for actual quantity

    • FIX_QUANTITY_ACTUAL: fixed actual quantity
    • Value range
      The following values are permitted for LINE_OBJECT_TYPE. From these,the following contents are given for other columns:

      • '0': Comment line

      • LINE_OBJECT_TEXT: your own text
        all other columns must be empty
        • '1': Process line/row

        • LINE_OBJECT: Process
          LINE_OBJECT_TEXT: your own text
          user selected quantity of columns
          • '2': Sub template

          • LINE_OBJECT: Process template of environment SBP
            LINE_OBJECT_TEXT: user selected text
            all other columns must be empty
            • '3': Activity

            • LINE_OBJECT: cost center / activity type
              The single values must be transfered with symbol ' / ' . Leave a spacebefore and after the symbol '/'. For example, cost center 1000 withactivity type MIN is transfered so: '1000 / MIN'.
              LINE_OBJECT_TEXT: user defined text
              quantity of columns; user defined number

              Description
              Tables of the affected messages with parameter information. Rows andcolumns are given for table parameters.