SAP ABAP Class CL_WB2_TC_QUANTITY_SERVICE (Trading-Contract: service-methods for quantities)
Hierarchy
☛
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
⤷
LO-GT-TC (Application Component) Trading Contract
⤷
WB2B (Package) Trading contract

⤷

⤷

Properties
Class | CL_WB2_TC_QUANTITY_SERVICE | |
Short Description | Trading-Contract: service-methods for quantities | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | WB2B | Trading contract |
Created | 20101028 | SAP |
Last change | 20110810 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_WB2_TC_QUANTITY_SERVICE has no forward declaration.
Interfaces
Class CL_WB2_TC_QUANTITY_SERVICE has no interface implemented.
Friends
Class CL_WB2_TC_QUANTITY_SERVICE has no friend class.
Attributes
Class CL_WB2_TC_QUANTITY_SERVICE has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | recalculation of a quantity into another UoM | 20101103 |
2 | ![]() |
Static method | Private | Method | recalculation of a quantity into another UoM (as DEC float) | 20101103 |
3 | ![]() |
Static method | Private | Method | do prefetch for TC-item data (if necessary) | 20101103 |
4 | ![]() |
Static method | Private | Method | provides the conversion factors | 20101103 |
5 | ![]() |
Static method | Private | Method | get quantity of follow-on TCs for given plmin | 20101103 |
6 | ![]() |
Static method | Public | Method | get quantity of follow-on TCs for plmin = '-' | 20101103 |
7 | ![]() |
Static method | Public | Method | get quantity of follow-on TCs for plmin = '+' | 20101103 |
8 | ![]() |
Static method | Private | Method | get data of a TC-item | 20101103 |
9 | ![]() |
Static method | Public | Method | init status | 20101103 |
10 | ![]() |
Static method | Private | Method | summarize the follow on quantity for plmin = '-' | 20101103 |
11 | ![]() |
Static method | Private | Method | summarize the follow on quantity for plmin = '+' | 20101103 |
12 | ![]() |
Static method | Private | Method | transfers quantities from base UoM to target UoMs | 20101103 |
Events
Class CL_WB2_TC_QUANTITY_SERVICE has no event.
Types
Class CL_WB2_TC_QUANTITY_SERVICE has no local type.
Method Signatures
Method CALCULATE_QUAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN | Call by reference | Type reference (TYPE) | RFMNG_SD | target quantity | 20101103 | ||
2 | ![]() |
IV_BATCH | Call by reference | Type reference (TYPE) | CHARG_D | Batch Number | 20101103 | ||
3 | ![]() |
IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20101103 | ||
4 | ![]() |
IV_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20101103 | ||
5 | ![]() |
IV_SOURCE_QUAN | Call by reference | Type reference (TYPE) | RFMNG_SD | source quantity | 20101103 | ||
6 | ![]() |
IV_SOURCE_UOM | Call by reference | Type reference (TYPE) | MEINS | source UoM | 20101103 | ||
7 | ![]() |
IV_TARGET_UOM | Call by reference | Type reference (TYPE) | MEINS | target UoM | 20101103 | ||
8 | ![]() |
IV_UMREN | Call by reference | Type reference (TYPE) | UMREN | Conv. factor denominator (IV_SOURCE_UOM --> IV_TARGET_UOM) | 20101103 | ||
9 | ![]() |
IV_UMREZ | Call by reference | Type reference (TYPE) | UMBSZ | Convers. factor numerator (IV_SOURCE_UOM --> IV_TARGET_UOM) | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Error occured | 20101103 |
Method CALCULATE_QUAN_FLOAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN | Call by reference | Type reference (TYPE) | RFMNG_FLT | target quantity (DEC float) | 20101103 | ||
2 | ![]() |
IV_BATCH | Call by reference | Type reference (TYPE) | CHARG_D | Batch Number | 20101103 | ||
3 | ![]() |
IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20101103 | ||
4 | ![]() |
IV_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20101103 | ||
5 | ![]() |
IV_SOURCE_QUAN | Call by reference | Type reference (TYPE) | RFMNG_FLT | source quantity (DEC float) | 20101103 | ||
6 | ![]() |
IV_SOURCE_UOM | Call by reference | Type reference (TYPE) | MEINS | source UoM | 20101103 | ||
7 | ![]() |
IV_TARGET_UOM | Call by reference | Type reference (TYPE) | MEINS | target UoM | 20101103 | ||
8 | ![]() |
IV_UMREN | Call by reference | Type reference (TYPE) | UMREN | Conv. factor denominator (IV_SOURCE_UOM --> IV_TARGET_UOM) | 20101103 | ||
9 | ![]() |
IV_UMREZ | Call by reference | Type reference (TYPE) | UMBSZ | Convers. factor numerator (IV_SOURCE_UOM --> IV_TARGET_UOM) | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Error occured | 20101103 |
Method DO_PREFETCH_WBHI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF_TAB | Table Type for Structure KOMWBHf | 20101103 | ||
2 | ![]() |
IV_PLMIN | Call by reference | Type reference (TYPE) | PLMIN | Quantity is calculated positively, negatively or not at all | 20101103 | ||
3 | ![]() |
IV_TKONN | Call by reference | Type reference (TYPE) | TKONN | Trading Contract: Trading Contract Number | 20101103 | ||
4 | ![]() |
IV_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading Contract: Item Number | 20101103 | ||
5 | ![]() |
IV_TPOSN_SUB | Call by reference | Type reference (TYPE) | TPOSN_SUB | '000000' | Trading Contract: Sub-Item Number | 20101103 |
Method DO_PREFETCH_WBHI on class CL_WB2_TC_QUANTITY_SERVICE has no exception.
Method GET_CONV_FACTORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_UMVKN | Call by reference | Type reference (TYPE) | UMVKN | Denominator (Divisor) for Conversion of Sales Qty into SKU | 20101103 | ||
2 | ![]() |
EV_UMVKZ | Call by reference | Type reference (TYPE) | UMVKZ | Numerator (factor) for conversion of sales quantity into SKU | 20101103 | ||
3 | ![]() |
IV_BATCH | Call by reference | Type reference (TYPE) | CHARG_D | Batch Number | 20101103 | ||
4 | ![]() |
IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20101103 | ||
5 | ![]() |
IV_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20101103 | ||
6 | ![]() |
IV_SOURCE_QUAN | Call by reference | Type reference (TYPE) | RFMNG_MM | source Quantity | 20101103 | ||
7 | ![]() |
IV_SOURCE_UOM | Call by reference | Type reference (TYPE) | MEINS | source Unit of Measure | 20101103 | ||
8 | ![]() |
IV_TARGET_UOM | Call by reference | Type reference (TYPE) | MEINS | target Unit of Measure | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method GET_FOLLOW_ON_TC_QUAN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
EV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
EV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
EV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IT_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF_TAB | Table Type for Structure KOMWBHf | 20101103 | ||
6 | ![]() |
IV_PLMIN | Call by reference | Type reference (TYPE) | PLMIN | Quantity is calculated positively, negatively or not at all | 20101103 | ||
7 | ![]() |
IV_TKONN | Call by reference | Type reference (TYPE) | TKONN | Trading Contract: Trading Contract Number | 20101103 | ||
8 | ![]() |
IV_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading Contract: Item Number | 20101103 | ||
9 | ![]() |
IV_TPOSN_SUB | Call by reference | Type reference (TYPE) | TPOSN_SUB | '000000' | Trading Contract: Sub-Item Number | 20101103 | |
10 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
11 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method GET_FOLLOW_ON_TC_QUAN_MINUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
EV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
EV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
EV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IT_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF_TAB | Table Type for Structure KOMWBHf | 20101103 | ||
6 | ![]() |
IV_TKONN | Call by reference | Type reference (TYPE) | TKONN | Trading Contract: Trading Contract Number | 20101103 | ||
7 | ![]() |
IV_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading Contract: Item Number | 20101103 | ||
8 | ![]() |
IV_TPOSN_SUB | Call by reference | Type reference (TYPE) | TPOSN_SUB | '000000' | Trading Contract: Sub-Item Number | 20101103 | |
9 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
10 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method GET_FOLLOW_ON_TC_QUAN_PLUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
EV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
EV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
EV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IT_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF_TAB | Table Type for Structure KOMWBHf | 20101103 | ||
6 | ![]() |
IV_TKONN | Call by reference | Type reference (TYPE) | TKONN | Trading Contract: Trading Contract Number | 20101103 | ||
7 | ![]() |
IV_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading Contract: Item Number | 20101103 | ||
8 | ![]() |
IV_TPOSN_SUB | Call by reference | Type reference (TYPE) | TPOSN_SUB | '000000' | Trading Contract: Sub-Item Number | 20101103 | |
9 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
10 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method GET_KOMWBHI_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_KOMWBHI | Call by reference | Type reference (TYPE) | KOMWBHI | Trading Contract: Communication Structure, Item Data | 20101103 | ||
2 | ![]() |
IV_TKONN | Call by reference | Type reference (TYPE) | TKONN | Trading Contract: Trading Contract Number | 20101103 | ||
3 | ![]() |
IV_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading Contract: Item Number | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method INIT Signature
Method INIT on class CL_WB2_TC_QUANTITY_SERVICE has no parameter.
Method INIT on class CL_WB2_TC_QUANTITY_SERVICE has no exception.
Method SUMMARIZE_FOLLOW_ON_QUAN_MINUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
CV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
CV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
CV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IS_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF | current komwbhf | 20101103 | ||
6 | ![]() |
IS_KOMWBHI_TO | Call by reference | Type reference (TYPE) | KOMWBHI | item data of the follow-tc-item | 20101103 | ||
7 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
8 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method SUMMARIZE_FOLLOW_ON_QUAN_PLUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
CV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
CV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
CV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IS_KOMWBHF | Call by reference | Type reference (TYPE) | KOMWBHF | current komwbhf | 20101103 | ||
6 | ![]() |
IS_KOMWBHI_TO | Call by reference | Type reference (TYPE) | KOMWBHI | item data of the follow-tc-item | 20101103 | ||
7 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
8 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error occured | 20101103 |
Method TRANSFER_QUANS_TO_TARGET_UOM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TARGET_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced quantity in unit 'IV_UOM_TARGET_MM' | 20101103 | ||
2 | ![]() |
EV_TARGET_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_MM' (DEC float) | 20101103 | ||
3 | ![]() |
EV_TARGET_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in unit 'IV_UOM_TARGET_SD' | 20101103 | ||
4 | ![]() |
EV_TARGET_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | Referenced quantity in unit 'IV_UOM_TARGET_SD' (DEC float) | 20101103 | ||
5 | ![]() |
IS_KOMWBHI | Call by reference | Type reference (TYPE) | KOMWBHI | Trading Contract: Communication Structure, Item Data | 20101103 | ||
6 | ![]() |
IV_BASE_UOM | Call by reference | Type reference (TYPE) | MEINS | Base Unit of Measure | 20101103 | ||
7 | ![]() |
IV_QUAN_MM | Call by reference | Type reference (TYPE) | RFMNG_MM | Referenced Quantity in Base Unit of Measure Purchasing | 20101103 | ||
8 | ![]() |
IV_QUAN_MM_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | GT: Referenced PO Quantity in Base Unit of Measure | 20101103 | ||
9 | ![]() |
IV_QUAN_SD | Call by reference | Type reference (TYPE) | RFMNG_SD | Referenced quantity in base unit of measure | 20101103 | ||
10 | ![]() |
IV_QUAN_SD_FLT | Call by reference | Type reference (TYPE) | RFMNG_FLT | GT: Referenced SD Quantity in Base Unit of Measure | 20101103 | ||
11 | ![]() |
IV_UOM_TARGET_MM | Call by reference | Type reference (TYPE) | BSTME | Order unit | 20101103 | ||
12 | ![]() |
IV_UOM_TARGET_SD | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20101103 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
error is occured | 20101103 |
History
Last changed by/on | SAP | 20110810 |
SAP Release Created in |