SAP Reports / Programs | Basis Components | Business Server Pages(BC-BSP) SAP BC

BSP_GET_BAPI_INFO SAP ABAP Report - Get BAPI Info







BSP_GET_BAPI_INFO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BSP_GET_BAPI_INFO into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT BSP_GET_BAPI_INFO. "Basic submit
SUBMIT BSP_GET_BAPI_INFO AND RETURN. "Return to original report after report execution complete
SUBMIT BSP_GET_BAPI_INFO VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PAKET = Package
Selection Text: INCLNAME = Name of Data Include
Selection Text: FNAME = BAPI Name
Selection Text: DESTI = Destination
Selection Text: APPL = Application
Title: Get BAPI Info
Text Symbol: 011 = No
Text Symbol: 010 = Y
Text Symbol: 009 = Do you want to use this include?
Text Symbol: 008 = An include with this name already exists
Text Symbol: 007 = For BAPI
Text Symbol: 006 = Re-Create Include
Text Symbol: 005 = Length
Text Symbol: 004 = Source of Include
Text Symbol: 003 = Type
Text Symbol: 002 = Field name
Text Symbol: 001 = Structure


INCLUDES used within this REPORT BSP_GET_BAPI_INFO

INCLUDE GET_BAPI_INFO_DATA.
READ REPORT INCLUDE_NAME INTO SOURCE.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' destination desti EXPORTING FUNCNAME = fname TABLES EXCEPTION_LIST = exception_list EXPORT_PARAMETER = export_parameter IMPORT_PARAMETER = import_parameter CHANGING_PARAMETER = changing_parameter TABLES_PARAMETER = tables_parameter excePTIONS ERROR_MESSAGE = 1 FUNCTION_NOT_FOUND = 2 INVALID_NAME = 3 OTHERS = 4 .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' destination desti EXPORTING tABNAME = p_tabname FIELDNAME = p_fieldname ALL_TYPES = 'x' IMPORTING DFIES_WA = l_dfies_wa tables DFIES_TAB = p_dfies EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

GUID_CREATE call function 'GUID_CREATE' IMPORTING EV_GUID_16 = l_guid.

RPY_PROGRAM_INSERT CALL FUNCTION 'RPY_PROGRAM_INSERT' EXPORTING DEVELOPMENT_CLASS = paket PROGRAM_NAME = include_name PROGRAM_TYPE = 'I' TITLE_STRING = l_title_string TABLES SOURCE = source EXCEPTIONS ALREADY_EXISTS = 1 CANCELLED = 2 NAME_NOT_ALLOWED = 3 PERMISSION_ERROR = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-006 * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = l_question TEXT_BUTTON_1 = 'Ja'(010) * ICON_BUTTON_1 = ' ' TEXT_BUTTON_2 = 'Nein'(011) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING ANSWER = p_answer * TABLES * PARAMETER = EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BSP_GET_BAPI_INFO or its description.