GET_SUBTRIB_BASE_AMOUNT SAP Method Determine different base amount for Sub. Trib. from customer









Below is documentation, parameters and attributes of ABAP Method GET_SUBTRIB_BASE_AMOUNT within SAP class IF_J_1BTAX_SUBTRIB_MAX_PRICE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_J_1BTAX_SUBTRIB_MAX_PRICE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_SUBTRIB_BASE_AMOUNT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_SUBTRIB_BASE_AMOUNT

.

NameTypeData TypeDescriptionDefault Value
IV_COUNTRYImportingTYPE
ALAND
Departure country (country from which the goods are sent)
IV_CURRENCYImportingTYPE
WAERS
Currency Key
IV_MATKLImportingTYPE
MATKL
Material Group
IV_MATNRImportingTYPE
MATNR
Material Number
IV_MIN_PRICEImportingTYPE
J_1BTXSTMP
Minimum Price Per Item Is Basis for Substituição Tributária
IV_NCMImportingTYPE
STEUC
Control code for consumption taxes in foreign trade
IV_NO_OF_UNITSImportingTYPE
J_1BTXSTF
Number of units for Sub.Trib. calc. (price per n units)
IV_SHIPFROMImportingTYPE
J_1BTXSHPF
Ship from location (tax region)
IV_SHIPTOImportingTYPE
J_1BTXSHPT
Ship to location (tax region)
IV_SUBTRIB_BASE_BEFORE_MINImportingTYPE
J_1BBASE
Base amount before minimum rule was applied
IV_UNITImportingTYPE
J_1BTXSTU
Unit for Sub.Trib. calculation (price per n units)
IV_XSUBTImportingTYPE
J_1BTCST
Customer group for Substituiçao Tributária calculation
CV_SUBTRIB_BASEChangingTYPE
J_1BBASE
Current base amount after minprice comparison



Exceptions of Method GET_SUBTRIB_BASE_AMOUNT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_J_1BTAX_SUBTRIB_MAX_PRICE.
DATA: lv_CV_SUBTRIB_BASE TYPE J_1BBASE,
lv_IV_COUNTRY TYPE ALAND,
lv_IV_CURRENCY TYPE WAERS,
lv_IV_MATKL TYPE MATKL,
lv_IV_MATNR TYPE MATNR,
lv_IV_MIN_PRICE TYPE J_1BTXSTMP,
lv_IV_NCM TYPE STEUC,
lv_IV_NO_OF_UNITS TYPE J_1BTXSTF,
lv_IV_SHIPFROM TYPE J_1BTXSHPF,
lv_IV_SHIPTO TYPE J_1BTXSHPT,
lv_IV_SUBTRIB_BASE_BEFORE_MIN TYPE J_1BBASE,
lv_IV_UNIT TYPE J_1BTXSTU,
lv_IV_XSUBT TYPE J_1BTCST,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SUBTRIB_BASE_AMOUNT(
EXPORTING
IV_COUNTRY = lv_IV_COUNTRY
IV_CURRENCY = lv_IV_CURRENCY
IV_MATKL = lv_IV_MATKL
IV_MATNR = lv_IV_MATNR
IV_MIN_PRICE = lv_IV_MIN_PRICE
IV_NCM = lv_IV_NCM
IV_NO_OF_UNITS = lv_IV_NO_OF_UNITS
IV_SHIPFROM = lv_IV_SHIPFROM
IV_SHIPTO = lv_IV_SHIPTO
IV_SUBTRIB_BASE_BEFORE_MIN = lv_IV_SUBTRIB_BASE_BEFORE_MIN
IV_UNIT = lv_IV_UNIT
IV_XSUBT = lv_IV_XSUBT
CHANGING
CV_SUBTRIB_BASE = lv_CV_SUBTRIB_BASE ).

Links to Related Class(s)

IF_J_1BT...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!