ThingWorx Flow > Connectors Overview > System Connectors > SAP > Appendix: SAP BAPIs > BAPI_SOURCEDETERMIN_GETSOS
  
BAPI_SOURCEDETERMIN_GETSOS
Import
Parameter
Reference
Type
Length
Optional
Text
Comments
MATERIAL
BAPIEBAN-MATERIAL
CHAR
18
X
Material Number
Enter material number
MAT_GRP
BAPIEBAN-MAT_GRP
CHAR
9
X
Material Group
-
PLANT
BAPIEBAN-PLANT
CHAR
4
-
Plant
Enter plant
DELIV_DATE
BAPIEBAN-DELIV_DATE
DATS
8
-
Delivery Date
Enter delivery date
QUANTITY
BAPIEBAN-QUANTITY
QUAN
13
X
Quantity
-
UNIT
BAPIEBAN-UNIT
UNIT
3
X
Unit of Measure
-
ITEM_CAT
BAPIEBAN-ITEM_CAT
CHAR
1
X
Item Category
-
ACCTASSCAT
BAPIEBAN-ACCTASSCAT
CHAR
1
X
Account Assignment Category
-
PURCH_ORG
BAPIEBAN-PURCH_ORG
CHAR
4
X
Purchasing Organization
-
FIXED_VEND
BAPIEBAN-FIXED_VEND
CHAR
10
X
Fixed Vendor
-
PCKG_NO
BAPIEBAN-PCKG_NO
NUMC
10
X
Package Number
-
UNIT_ISO
BAPIEBAN-PREQ_UNIT_ISO
CHAR
3
X
ISO Code for Unit of Measure
-
MATERIAL_EVG
-
-
X
Bapi Structure for transfer of external material number
See below
BAPIMGVMATNR
Parameter
Type
Length
Text
Comments
MATERIAL_EXT
CHAR
40
External Long Material Number
-
MATERIAL_VERS
CHAR
10
Material Version Number
-
MATERIAL_GUID
CHAR
32
Material number (external GUID)
-
Export: Not Applicable
Tables
Parameter
Reference
Optional
Text
SOURCES_OF_SUPPLY
-
Table of Sources Found
RETURN
X
Return Messages
BAPISOSY
Parameter
Type
Length
Decimal
Text
FIXED_VEND
CHAR
10
0
Fixed Vendor
SUPPL_PLNT
CHAR
4
0
Plant from Which Material is Procured
AGREEMENT
CHAR
10
0
Number of Principal Purchase Agreement
AGMT_ITEM
NUMC
5
0
Item Number of Principal Purchase Agreement
INFO_REC
CHAR
10
0
Number of Purchasing Info Record
DOC_CAT
CHAR
1
0
Purchasing Document Category
PURCH_ORG
CHAR
4
0
Purchasing Organization
PO_UNIT
UNIT
3
0
Purchase Order Unit of Measure
ITEM_CAT
CHAR
1
0
Item Category in Purchasing Document
PUR_MAT
CHAR
18
0
Material Number
ITEM_CAT_EXT
CHAR
1
0
Item Category in Purchasing Document
PO_UNIT_ISO
CHAR
3
0
Order unit in ISO code
PUR_MAT_EXTERNAL
CHAR
40
0
Long Material Number for PUR_MAT Field
PUR_MAT_GUID
CHAR
32
0
External GUID for PUR_MAT Field
PUR_MAT_VERSION
CHAR
10
0
Version Number for PUR_MAT Field
BAPIRETURN
Parameter
Type
Length
Decimal
Text
TYPE
CHAR
1
0
Message type: S Success, E Error, W Warning, I Info, A Abort
CODE
CHAR
5
0
Message code
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