ThingWorx Flow > Connectors Overview > System Connectors > SAP > Appendix: SAP BAPIs > /SEPC/PLMA_ALM_ORDER_MAINTAIN
  
/SEPC/PLMA_ALM_ORDER_MAINTAIN
Import
Parameter
Reference
Optional
Text
Comments
IT_METHODS
BAPI_ALM_ORDER_METHOD
-
BAPI structure: Processing methods
See table description below
IT_HEADER
BAPI_ALM_ORDER_HEADERS_I
X
Import Structure for ALM Order Headers
See table description below
BAPI_ALM_ORDER_METHOD
Parameter
Type
Length
Decimal
Text
Comments
REFNUMBER
NUMC
6
0
Reference number for link object method - attribute
-
OBJECTTYPE
CHAR
32
0
Object type
Enter object type (HEADER)
METHOD
CHAR
32
0
Method
Enter method (two methods must be executed: TECHNICALCOMPLETE and SAVE)
OBJECTKEY
CHAR
90
0
SAP external object key
Enter order number
BAPI_ALM_ORDER_HEADERS_I
Parameter
Type
Length
Decimal
Text
Comments
ORDERID
CHAR
12
0
Order Number
Enter order number
ORDER_TYPE
CHAR
4
0
Order Type
-
PLANPLANT
CHAR
4
0
Maintenance Planning Plant
-
SCENARIO
CHAR
4
0
Scenario or Subscreen Category
-
BUS_AREA
CHAR
4
0
Business Area
-
MN_WK_CTR
CHAR
8
0
Main work center for maintenance tasks
-
PLANT
CHAR
4
0
Plant associated with main work center
-
PMACTTYPE
CHAR
3
0
Maintenance activity type
-
PLANGROUP
CHAR
3
0
Planner Group for Customer Service and Plant Maintenance
-
SYSTCOND
CHAR
1
0
Syst.Condition
-
FUNCT_LOC
CHAR
30
0
Functional Location
-
EQUIPMENT
CHAR
18
0
Equipment Number
-
SERIALNO
CHAR
18
0
Serial Number
-
MATERIAL
CHAR
18
0
Material Number
-
ASSEMBLY
CHAR
18
0
Assembly
-
DEVICEDATA
CHAR
40
0
Additional Device Data
-
MAINTPLANT
CHAR
4
0
Maintenance plant
-
LOCATION
CHAR
10
0
Asset location
-
MAINTROOM
CHAR
8
0
Room
-
PLSECTN
CHAR
3
0
Plant section
-
LOC_WK_CTR
CHAR
8
0
Work center
-
ABCINDIC
CHAR
1
0
ABC indicator for technical object
-
SORTFIELD
CHAR
30
0
Sort field
-
PROFIT_CTR
CHAR
10
0
Profit Center
-
RESPCCTR
CHAR
10
0
Responsible cost center
-
FUNC_AREA
CHAR
16
0
Functional Area
-
SUPERIOR_NETWORK
CHAR
12
0
Number of superior network
-
SUPERIOR_ACTIVITY
CHAR
4
0
Activity number in network and standard network
-
WBS_ELEM
NUMC
8
0
Work Breakdown Structure Element (WBS Element)
-
PROCESSING_GROUP
NUMC
2
0
Processing group
-
TAXJURCODE
CHAR
15
0
Tax Jurisdiction
-
LOC_COMP_CODE
CHAR
4
0
Company Code
-
ASSET_NO
CHAR
12
0
Main Asset Number
-
SUB_NUMBER
CHAR
4
0
Asset Subnumber
-
LOC_BUS_AREA
CHAR
4
0
Business Area
-
COSTCENTER
CHAR
10
0
Cost Center
-
LOC_WBS_ELEM
NUMC
8
0
Work Breakdown Structure Element (WBS Element)
-
STANDORDER
CHAR
12
0
Standing order number
-
SETTLORDER
CHAR
12
0
Settlement order
-
SALESORG
CHAR
4
0
Sales Organization
-
DISTR_CHAN
CHAR
2
0
Distribution Channel
-
DIVISION
CHAR
2
0
Division
-
ORDPLANID
CHAR
1
0
Maintenance order planning indicator
-
START_DATE
DATS
8
0
Basic start date
-
FINISH_DATE
DATS
8
0
Basic finish date
-
BASICSTART
TIMS
6
0
Basic start time
-
BASIC_FIN
TIMS
6
0
Basic finish (time)
-
PRIORITY
CHAR
1
0
Priority
-
REVISION
CHAR
8
0
Revision for Plant Maintenance and Customer Service
-
VERSION
NUMC
2
0
Version of Available Capacity
-
SCHED_TYPE
CHAR
1
0
Scheduling type
-
AUTOSCHED
CHAR
1
0
Indicator: Schedule automatically
-
CAP_REQMTS
CHAR
1
0
Indicator: Calculate capacity requirements
-
SCHEDULING_EXACT_BREAK_TIMES
CHAR
1
0
Indicator: Scheduling allowing for breaks
-
MRP_RELEVANT
CHAR
1
0
Reservation Relevance/Generation of Purchase Requisition
-
SALES_ORD
CHAR
10
0
Sales Order Number
-
S_ORD_ITEM
NUMC
6
0
Item Number in Sales Order
-
CALC_MOTIVE
CHAR
2
0
Accounting Indicator
-
INVEST_PROFILE
CHAR
6
0
Investment measure profile
-
SCALE
CHAR
2
0
Scale of investment objects
-
INV_REASON
CHAR
2
0
Reason for investment
-
ENVIR_INVEST
CHAR
5
0
Reason for environmental investment
-
ESTIMATED_COSTS
CURR
11
2
Estimated total costs of order
-
CURRENCY
CUKY
5
0
Order Currency
-
CURRENCY_ISO
CHAR
3
0
ISO currency code
-
CSTG_SHEET
CHAR
6
0
Costing Sheet
-
OVERHEAD_KEY
CHAR
6
0
Overhead key
-
RES_ANAL_KEY
CHAR
6
0
Results Analysis Key
-
SHORT_TEXT
CHAR
40
0
Description
-
ASSEMBLY_EXTERNAL
CHAR
40
0
Long Material Number for Field ASSEMBLY
-
ASSEMBLY_GUID
CHAR
32
0
External GUID for ASSEMBLY Field
-
ASSEMBLY_VERSION
CHAR
10
0
Version Number for ASSEMBLY Field
-
MATERIAL_EXTERNAL
CHAR
40
0
Long Material Number for MATERIAL Field
-
MATERIAL_GUID
CHAR
32
0
External GUID for MATERIAL Field
-
MATERIAL_VERSION
CHAR
10
0
Version Number for MATERIAL Field
-
NOTIF_NO
CHAR
12
0
Notification No
-
TECO_REF_DATE
DATS
8
0
PM Order: Reference Date
-
TECO_REF_TIME
TIMS
6
0
Time of Reference Date
-
CALID
CHAR
2
0
Factory Calendar
-
KALSN
NUMC
2
0
Calendar Selection for Order
-
SUPERIOR_ORDERID
CHAR
12
0
Number of superior order
-
NOTIF_TYPE
CHAR
2
0
Notification Type
-
START_POINT
CHAR
18
0
Start Point
-
END_POINT
CHAR
18
0
End Point
-
LINEAR_LENGTH
CHAR
18
0
Length
-
LINEAR_UNIT
UNIT
3
0
Unit of Measurement for Linear Data
-
LINEAR_UNIT_ISO
CHAR
3
0
Unit of Measurement for Linear Data in ISO Code
-
FIRST_OFFSET_TYPE_CODE
CHAR
2
0
Type of First Offset
-
FIRST_OFFSET_VALUE
CHAR
18
0
Value of Offset 1
-
FIRST_OFFSET_UNIT
UNIT
3
0
Unit of Measurement for Offset 1
-
FIRST_OFFSET_UNIT_ISO
CHAR
3
0
Unit of Measurement for Offset 1 in ISO Code
-
SECOND_OFFSET_TYPE_CODE
CHAR
2
0
Type of Second Offset
-
SECOND_OFFSET_VALUE
CHAR
18
0
Value of Offset 2
-
SECOND_OFFSET_UNIT
UNIT
3
0
Unit of Measurement for Offset 2
-
SECOND_OFFSET_UNIT_ISO
CHAR
3
0
Unit of Measurement for Offset 2 in ISO Code
-
MARKER_START_POINT
CHAR
18
0
Marker for Start Point
-
MARKER_DISTANCE_START_POINT
CHAR
18
0
Distance between Marker and Start Point
-
MARKER_END_POINT
CHAR
18
0
Marker for End Point
-
MARKER_DISTANCE_END_POINT
CHAR
18
0
Length Spec for Distance between Marker and End Point
-
MARKER_DISTANCE_UNIT
UNIT
3
0
Unit for the Distance from Marker
-
MARKER_DISTANCE_UNIT_ISO
CHAR
3
0
Unit for the Distance from Marker in ISO Code
-
Export
Parameter
Reference
Optional
Text
ET_RETURN
BAPIRET2
X
Return Parameters
BAPIRET2
Parameter
Type
Length
Decimal
Text
TYPE
CHAR
1
0
Message type: S Success, E Error, W Warning, I Info, A Abort
ID
CHAR
20
0
Message Class
NUMBER
NUMC
3
0
Message Number
MESSAGE
CHAR
220
0
Message Text
LOG_NO
CHAR
20
0
Application log: log number
LOG_MSG_NO
NUMC
6
0
Application log: Internal message serial number
MESSAGE_V1
CHAR
50
0
Message Variable
MESSAGE_V2
CHAR
50
0
Message Variable
MESSAGE_V3
CHAR
50
0
Message Variable
MESSAGE_V4
CHAR
50
0
Message Variable
PARAMETER
CHAR
32
0
Parameter Name
ROW
INT4
10
0
Lines in parameter
FIELD
CHAR
30
0
Field in parameter
SYSTEM
CHAR
10
0
Logical system from which message originates