SAP SAPBC_GLOBAL_GET_PRICELIST Function Module for
SAPBC_GLOBAL_GET_PRICELIST is a standard sapbc global get pricelist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for sapbc global get pricelist FM, simply by entering the name SAPBC_GLOBAL_GET_PRICELIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: SAPBC_GLOBAL_FIS
Program Name: SAPLSAPBC_GLOBAL_FIS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAPBC_GLOBAL_GET_PRICELIST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SAPBC_GLOBAL_GET_PRICELIST'".
EXPORTING
FLIGHT_PRICE = "Airfare
IMPORTING
PRICE_ADULT_ECO = "Economy class airfare
TAX = "Flight taxes
PRICE_ADULT_BUS = "Business class airfare
PRICE_ADULT_FST = "First class airfare
PRICE_CHILD_ECO = "Economy class airfare -Child
PRICE_CHILD_BUS = "Business class airfare - Child
PRICE_CHILD_FST = "First class airfare - Child
PRICE_INFANT_ECO = "Economy class airfare - Small child
PRICE_INFANT_BUS = "Business class airfare - Small child
PRICE_INFANT_FST = "First class airfare - Small child
EXCEPTIONS
INVALID_PRICE = 1
IMPORTING Parameters details for SAPBC_GLOBAL_GET_PRICELIST
FLIGHT_PRICE - Airfare
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SAPBC_GLOBAL_GET_PRICELIST
PRICE_ADULT_ECO - Economy class airfare
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
TAX - Flight taxes
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_ADULT_BUS - Business class airfare
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_ADULT_FST - First class airfare
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_CHILD_ECO - Economy class airfare -Child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_CHILD_BUS - Business class airfare - Child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_CHILD_FST - First class airfare - Child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_INFANT_ECO - Economy class airfare - Small child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_INFANT_BUS - Business class airfare - Small child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
PRICE_INFANT_FST - First class airfare - Small child
Data type: S_PRICEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_PRICE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SAPBC_GLOBAL_GET_PRICELIST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_flight_price | TYPE S_PRICE, " | |||
| lv_invalid_price | TYPE S_PRICE, " | |||
| lv_price_adult_eco | TYPE S_PRICE, " | |||
| lv_tax | TYPE S_PRICE, " | |||
| lv_price_adult_bus | TYPE S_PRICE, " | |||
| lv_price_adult_fst | TYPE S_PRICE, " | |||
| lv_price_child_eco | TYPE S_PRICE, " | |||
| lv_price_child_bus | TYPE S_PRICE, " | |||
| lv_price_child_fst | TYPE S_PRICE, " | |||
| lv_price_infant_eco | TYPE S_PRICE, " | |||
| lv_price_infant_bus | TYPE S_PRICE, " | |||
| lv_price_infant_fst | TYPE S_PRICE. " |
|   CALL FUNCTION 'SAPBC_GLOBAL_GET_PRICELIST' " |
| EXPORTING | ||
| FLIGHT_PRICE | = lv_flight_price | |
| IMPORTING | ||
| PRICE_ADULT_ECO | = lv_price_adult_eco | |
| TAX | = lv_tax | |
| PRICE_ADULT_BUS | = lv_price_adult_bus | |
| PRICE_ADULT_FST | = lv_price_adult_fst | |
| PRICE_CHILD_ECO | = lv_price_child_eco | |
| PRICE_CHILD_BUS | = lv_price_child_bus | |
| PRICE_CHILD_FST | = lv_price_child_fst | |
| PRICE_INFANT_ECO | = lv_price_infant_eco | |
| PRICE_INFANT_BUS | = lv_price_infant_bus | |
| PRICE_INFANT_FST | = lv_price_infant_fst | |
| EXCEPTIONS | ||
| INVALID_PRICE = 1 | ||
| . " SAPBC_GLOBAL_GET_PRICELIST | ||
ABAP code using 7.40 inline data declarations to call FM SAPBC_GLOBAL_GET_PRICELIST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects