BAPI_BL_RECEIVEDETAIL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_BL_RECEIVEDETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIRH_BL_BAPI
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_BL_RECEIVEDETAIL' "IS-Oil SSR Business location detail data
EXPORTING
locationid = " oif_pblnr Business location identifier (IS-Oil MRN)
* address = " bapiaddr1 BAPI Reference Structure for Addresses (Org./Company)
IMPORTING
return = " bapiret2 Return
* TABLES
* businesstypedata = " bapibuloc03 Business types and Convenience stores
* openinghours = " bapibuloc04 Opening hours
* competitors = " bapibuloc05 Competitor loctions
* allocatedmaterials = " bapibuloc06 Materials and Service types
* acceptedpaymentcards = " bapibuloc07 Accepted payment cards
* communication_tel = " bapiadtel Telephone numbers
* communication_fax = " bapiadfax Fax numbers
* communication_tlx = " bapiadtlx Telex numbers
* communication_ttx = " bapiadttx Teletext numbers
* communication_x400 = " bapiadx400 X.400 adresses
* communication_smtp = " bapiadsmtp e-mail addresses
* communication_rml = " bapiadrml R/Mail addresses
* communication_rfc = " bapiadrfc RFC addresses
* communication_prt = " bapiadprt PRT addresses
* communication_ssf = " bapiadssf SSF addresses
* communication_uri = " bapiaduri URI addresses
* communication_pag = " bapiadpag Pager numbers
* communication_rem = " bapiad_rem Address comments
* communication_comrem = " bapicomrem Communication type comments
* extensionout = " bapiparex Extension parameter for customer data
. " BAPI_BL_RECEIVEDETAIL
The ABAP code below is a full code listing to execute function module BAPI_BL_RECEIVEDETAIL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_return | TYPE BAPIRET2 , |
| it_businesstypedata | TYPE STANDARD TABLE OF BAPIBULOC03,"TABLES PARAM |
| wa_businesstypedata | LIKE LINE OF it_businesstypedata , |
| it_openinghours | TYPE STANDARD TABLE OF BAPIBULOC04,"TABLES PARAM |
| wa_openinghours | LIKE LINE OF it_openinghours , |
| it_competitors | TYPE STANDARD TABLE OF BAPIBULOC05,"TABLES PARAM |
| wa_competitors | LIKE LINE OF it_competitors , |
| it_allocatedmaterials | TYPE STANDARD TABLE OF BAPIBULOC06,"TABLES PARAM |
| wa_allocatedmaterials | LIKE LINE OF it_allocatedmaterials , |
| it_acceptedpaymentcards | TYPE STANDARD TABLE OF BAPIBULOC07,"TABLES PARAM |
| wa_acceptedpaymentcards | LIKE LINE OF it_acceptedpaymentcards , |
| it_communication_tel | TYPE STANDARD TABLE OF BAPIADTEL,"TABLES PARAM |
| wa_communication_tel | LIKE LINE OF it_communication_tel , |
| it_communication_fax | TYPE STANDARD TABLE OF BAPIADFAX,"TABLES PARAM |
| wa_communication_fax | LIKE LINE OF it_communication_fax , |
| it_communication_tlx | TYPE STANDARD TABLE OF BAPIADTLX,"TABLES PARAM |
| wa_communication_tlx | LIKE LINE OF it_communication_tlx , |
| it_communication_ttx | TYPE STANDARD TABLE OF BAPIADTTX,"TABLES PARAM |
| wa_communication_ttx | LIKE LINE OF it_communication_ttx , |
| it_communication_x400 | TYPE STANDARD TABLE OF BAPIADX400,"TABLES PARAM |
| wa_communication_x400 | LIKE LINE OF it_communication_x400 , |
| it_communication_smtp | TYPE STANDARD TABLE OF BAPIADSMTP,"TABLES PARAM |
| wa_communication_smtp | LIKE LINE OF it_communication_smtp , |
| it_communication_rml | TYPE STANDARD TABLE OF BAPIADRML,"TABLES PARAM |
| wa_communication_rml | LIKE LINE OF it_communication_rml , |
| it_communication_rfc | TYPE STANDARD TABLE OF BAPIADRFC,"TABLES PARAM |
| wa_communication_rfc | LIKE LINE OF it_communication_rfc , |
| it_communication_prt | TYPE STANDARD TABLE OF BAPIADPRT,"TABLES PARAM |
| wa_communication_prt | LIKE LINE OF it_communication_prt , |
| it_communication_ssf | TYPE STANDARD TABLE OF BAPIADSSF,"TABLES PARAM |
| wa_communication_ssf | LIKE LINE OF it_communication_ssf , |
| it_communication_uri | TYPE STANDARD TABLE OF BAPIADURI,"TABLES PARAM |
| wa_communication_uri | LIKE LINE OF it_communication_uri , |
| it_communication_pag | TYPE STANDARD TABLE OF BAPIADPAG,"TABLES PARAM |
| wa_communication_pag | LIKE LINE OF it_communication_pag , |
| it_communication_rem | TYPE STANDARD TABLE OF BAPIAD_REM,"TABLES PARAM |
| wa_communication_rem | LIKE LINE OF it_communication_rem , |
| it_communication_comrem | TYPE STANDARD TABLE OF BAPICOMREM,"TABLES PARAM |
| wa_communication_comrem | LIKE LINE OF it_communication_comrem , |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionout | LIKE LINE OF it_extensionout . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRET2 , |
| ld_locationid | TYPE OIF_PBLNR , |
| it_businesstypedata | TYPE STANDARD TABLE OF BAPIBULOC03 , |
| wa_businesstypedata | LIKE LINE OF it_businesstypedata, |
| ld_address | TYPE BAPIADDR1 , |
| it_openinghours | TYPE STANDARD TABLE OF BAPIBULOC04 , |
| wa_openinghours | LIKE LINE OF it_openinghours, |
| it_competitors | TYPE STANDARD TABLE OF BAPIBULOC05 , |
| wa_competitors | LIKE LINE OF it_competitors, |
| it_allocatedmaterials | TYPE STANDARD TABLE OF BAPIBULOC06 , |
| wa_allocatedmaterials | LIKE LINE OF it_allocatedmaterials, |
| it_acceptedpaymentcards | TYPE STANDARD TABLE OF BAPIBULOC07 , |
| wa_acceptedpaymentcards | LIKE LINE OF it_acceptedpaymentcards, |
| it_communication_tel | TYPE STANDARD TABLE OF BAPIADTEL , |
| wa_communication_tel | LIKE LINE OF it_communication_tel, |
| it_communication_fax | TYPE STANDARD TABLE OF BAPIADFAX , |
| wa_communication_fax | LIKE LINE OF it_communication_fax, |
| it_communication_tlx | TYPE STANDARD TABLE OF BAPIADTLX , |
| wa_communication_tlx | LIKE LINE OF it_communication_tlx, |
| it_communication_ttx | TYPE STANDARD TABLE OF BAPIADTTX , |
| wa_communication_ttx | LIKE LINE OF it_communication_ttx, |
| it_communication_x400 | TYPE STANDARD TABLE OF BAPIADX400 , |
| wa_communication_x400 | LIKE LINE OF it_communication_x400, |
| it_communication_smtp | TYPE STANDARD TABLE OF BAPIADSMTP , |
| wa_communication_smtp | LIKE LINE OF it_communication_smtp, |
| it_communication_rml | TYPE STANDARD TABLE OF BAPIADRML , |
| wa_communication_rml | LIKE LINE OF it_communication_rml, |
| it_communication_rfc | TYPE STANDARD TABLE OF BAPIADRFC , |
| wa_communication_rfc | LIKE LINE OF it_communication_rfc, |
| it_communication_prt | TYPE STANDARD TABLE OF BAPIADPRT , |
| wa_communication_prt | LIKE LINE OF it_communication_prt, |
| it_communication_ssf | TYPE STANDARD TABLE OF BAPIADSSF , |
| wa_communication_ssf | LIKE LINE OF it_communication_ssf, |
| it_communication_uri | TYPE STANDARD TABLE OF BAPIADURI , |
| wa_communication_uri | LIKE LINE OF it_communication_uri, |
| it_communication_pag | TYPE STANDARD TABLE OF BAPIADPAG , |
| wa_communication_pag | LIKE LINE OF it_communication_pag, |
| it_communication_rem | TYPE STANDARD TABLE OF BAPIAD_REM , |
| wa_communication_rem | LIKE LINE OF it_communication_rem, |
| it_communication_comrem | TYPE STANDARD TABLE OF BAPICOMREM , |
| wa_communication_comrem | LIKE LINE OF it_communication_comrem, |
| it_extensionout | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionout | LIKE LINE OF it_extensionout. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_BL_RECEIVEDETAIL or its description.
BAPI_BL_RECEIVEDETAIL - IS-Oil SSR Business location detail data BAPI_BL_GETDETAIL - Business Location Detail Data BAPI BAPI_BL_EXISTENCECHECK - Check if location exists BAPI_BLP_SAVEMULTIPLE - Update multiple location material price conditions BAPI_BLP_SAVECOMPETITORSURVEY - Stores the current prices of the competitors of a location BAPI_BLP_REQUESTMULTIPLE - Interface function for pricing data retrieval