SAP ALE_BP_FS_CREATE_FRM_DATA Function Module for









ALE_BP_FS_CREATE_FRM_DATA is a standard ale bp fs create frm data 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 ale bp fs create frm data FM, simply by entering the name ALE_BP_FS_CREATE_FRM_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: C_ALE_FUNCTIONS
Program Name: SAPLC_ALE_FUNCTIONS
Main Program: SAPLC_ALE_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ALE_BP_FS_CREATE_FRM_DATA 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 'ALE_BP_FS_CREATE_FRM_DATA'"
EXPORTING
* BUSINESSPARTNEREXTERN = "Business Partner Number
* ACCEPTERROR = ' ' "
* TESTRUN = ' ' "Switch to Simulation Mode for Write BAPIs
* CHANGEDOCU = ' ' "Activate Generation of Change Documents
* OBJ_TYPE = 'BUSISB990' "
* SERIAL_ID = '0' "
PARTNERCATEGORY = "Business Partner Category
* PARTNERGROUP = "Business Partner Grouping
CENTRALDATA = "General Data
* CENTRALDATAPERSON = "General Data for Person
* CENTRALDATAORGANIZATION = "General Organization Data
* CENTRALDATAGROUP = "General Group Data
* ADDRESSDATA = "Address
* DUPLICATEMESSAGETYPE = "

TABLES
* TELEFONDATA = "Telephone Numbers
* SSFADDRESSDATA = "SSF Addresses
* URIADDRESSDATA = "URI Addresses
* PAGADDRESSDATA = "Pager Numbers
* ADDRESSNOTES = "Remarks for Address
* COMMUNICATIONNOTES = "Notes on Communication
* TELEFONDATANONADDRESS = "Address-Independent Telephone Numbers
* FAXDATANONADDRESS = "Address-Independent Fax Numbers
* TELETEXDATANONADDRESS = "Address-Independent Teletex Numbers
* TELEXDATANONADDRESS = "Address-Independent Telex Numbers
* EMAILDATANONADDRESS = "
* FAXDATA = "Fax Numbers
* RMLADDRESSDATANONADDRESS = "Address-Independent RML Addresses
* X400ADDRESSDATANONADDRESS = "Address-Independent X.400 Addresses
* RFCADDRESSDATANONADDRESS = "Address-Independent RFC Addresses
* PRTADDRESSDATANONADDRESS = "Address-Independent PRT Addresses
* SSFADDRESSDATANONADDRESS = "Address-Independent SSF Addresses
* URIADDRESSDATANONADDRESS = "Address-Independent URI Addresses
* PAGADDRESSDATANONADDRESS = "Address-Independent Pager Numbers
* COMMUNICATIONNOTESNONADDRESS = "Notes on Address-Independent Communication Types
* ADDRESSDUPLICATES = "Address Duplicates
* ROLES = "Business Partner Role-> Obsolete
* TELETEXDATA = "Teletex Numbers
RECEIVERS = "
* COMMUNICATION_DOCUMENTS = "
* APPLICATION_OBJECTS = "
* TELEXDATA = "Telex Numbers
* EMAILDATA = "
* RMLADDRESSDATA = "RML Addresses
* X400ADDRESSDATA = "X400 Addresses
* RFCADDRESSDATA = "RFC Addresses
* PRTADDRESSDATA = "PRT Addresses

EXCEPTIONS
ERROR_CREATING_IDOCS = 1
.



IMPORTING Parameters details for ALE_BP_FS_CREATE_FRM_DATA

BUSINESSPARTNEREXTERN - Business Partner Number

Data type: BAPIBUS1006_HEAD-BPARTNER
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACCEPTERROR -

Data type: BAPI4001_1-ACCEPT_ERR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TESTRUN - Switch to Simulation Mode for Write BAPIs

Data type: BAPI_FSBP_CENTRAL-TESTRUN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGEDOCU - Activate Generation of Change Documents

Data type: BAPI_STR_BUPA_FS_CHANGE_DOCU-CHANGE_DOCU
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJ_TYPE -

Data type: SERIAL-OBJ_TYPE
Default: 'BUSISB990'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SERIAL_ID -

Data type: SERIAL-CHNUM
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARTNERCATEGORY - Business Partner Category

Data type: BAPIBUS1006_HEAD-PARTN_CAT
Optional: No
Call by Reference: No ( called with pass by value option)

PARTNERGROUP - Business Partner Grouping

Data type: BAPIBUS1006_HEAD-PARTN_GRP
Optional: Yes
Call by Reference: No ( called with pass by value option)

CENTRALDATA - General Data

Data type: BAPIBUS1006_CENTRAL
Optional: No
Call by Reference: No ( called with pass by value option)

CENTRALDATAPERSON - General Data for Person

Data type: BAPIBUS1006_CENTRAL_PERSON
Optional: Yes
Call by Reference: No ( called with pass by value option)

CENTRALDATAORGANIZATION - General Organization Data

Data type: BAPIBUS1006_CENTRAL_ORGAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

CENTRALDATAGROUP - General Group Data

Data type: BAPIBUS1006_CENTRAL_GROUP
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDRESSDATA - Address

Data type: BAPIBUS1006_ADDRESS
Optional: Yes
Call by Reference: No ( called with pass by value option)

DUPLICATEMESSAGETYPE -

Data type: BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ALE_BP_FS_CREATE_FRM_DATA

TELEFONDATA - Telephone Numbers

Data type: BAPIADTEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SSFADDRESSDATA - SSF Addresses

Data type: BAPIADSSF
Optional: Yes
Call by Reference: No ( called with pass by value option)

URIADDRESSDATA - URI Addresses

Data type: BAPIADURI
Optional: Yes
Call by Reference: No ( called with pass by value option)

PAGADDRESSDATA - Pager Numbers

Data type: BAPIADPAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDRESSNOTES - Remarks for Address

Data type: BAPIAD_REM
Optional: Yes
Call by Reference: No ( called with pass by value option)

COMMUNICATIONNOTES - Notes on Communication

Data type: BAPICOMREM
Optional: Yes
Call by Reference: No ( called with pass by value option)

TELEFONDATANONADDRESS - Address-Independent Telephone Numbers

Data type: BAPINOADTEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

FAXDATANONADDRESS - Address-Independent Fax Numbers

Data type: BAPINOADFAX
Optional: Yes
Call by Reference: No ( called with pass by value option)

TELETEXDATANONADDRESS - Address-Independent Teletex Numbers

Data type: BAPINOADTTX
Optional: Yes
Call by Reference: No ( called with pass by value option)

TELEXDATANONADDRESS - Address-Independent Telex Numbers

Data type: BAPINOADTLX
Optional: Yes
Call by Reference: No ( called with pass by value option)

EMAILDATANONADDRESS -

Data type: BAPINOADSMTP
Optional: Yes
Call by Reference: No ( called with pass by value option)

FAXDATA - Fax Numbers

Data type: BAPIADFAX
Optional: Yes
Call by Reference: No ( called with pass by value option)

RMLADDRESSDATANONADDRESS - Address-Independent RML Addresses

Data type: BAPINOADRML
Optional: Yes
Call by Reference: No ( called with pass by value option)

X400ADDRESSDATANONADDRESS - Address-Independent X.400 Addresses

Data type: BAPINOADX400
Optional: Yes
Call by Reference: No ( called with pass by value option)

RFCADDRESSDATANONADDRESS - Address-Independent RFC Addresses

Data type: BAPINOADRFC
Optional: Yes
Call by Reference: No ( called with pass by value option)

PRTADDRESSDATANONADDRESS - Address-Independent PRT Addresses

Data type: BAPINOADPRT
Optional: Yes
Call by Reference: No ( called with pass by value option)

SSFADDRESSDATANONADDRESS - Address-Independent SSF Addresses

Data type: BAPINOADSSF
Optional: Yes
Call by Reference: No ( called with pass by value option)

URIADDRESSDATANONADDRESS - Address-Independent URI Addresses

Data type: BAPINOADURI
Optional: Yes
Call by Reference: No ( called with pass by value option)

PAGADDRESSDATANONADDRESS - Address-Independent Pager Numbers

Data type: BAPINOADPAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

COMMUNICATIONNOTESNONADDRESS - Notes on Address-Independent Communication Types

Data type: BAPINOADCOMREM
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDRESSDUPLICATES - Address Duplicates

Data type: BAPIBUS1006_ADDRESS_DUPLICATES
Optional: Yes
Call by Reference: No ( called with pass by value option)

ROLES - Business Partner Role-> Obsolete

Data type: BAPIBUS1006_ROLES
Optional: Yes
Call by Reference: No ( called with pass by value option)

TELETEXDATA - Teletex Numbers

Data type: BAPIADTTX
Optional: Yes
Call by Reference: No ( called with pass by value option)

RECEIVERS -

Data type: BDI_LOGSYS
Optional: No
Call by Reference: No ( called with pass by value option)

COMMUNICATION_DOCUMENTS -

Data type: SWOTOBJID
Optional: Yes
Call by Reference: No ( called with pass by value option)

APPLICATION_OBJECTS -

Data type: SWOTOBJID
Optional: Yes
Call by Reference: No ( called with pass by value option)

TELEXDATA - Telex Numbers

Data type: BAPIADTLX
Optional: Yes
Call by Reference: No ( called with pass by value option)

EMAILDATA -

Data type: BAPIADSMTP
Optional: Yes
Call by Reference: No ( called with pass by value option)

RMLADDRESSDATA - RML Addresses

Data type: BAPIADRML
Optional: Yes
Call by Reference: No ( called with pass by value option)

X400ADDRESSDATA - X400 Addresses

Data type: BAPIADX400
Optional: Yes
Call by Reference: No ( called with pass by value option)

RFCADDRESSDATA - RFC Addresses

Data type: BAPIADRFC
Optional: Yes
Call by Reference: No ( called with pass by value option)

PRTADDRESSDATA - PRT Addresses

Data type: BAPIADPRT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERROR_CREATING_IDOCS -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ALE_BP_FS_CREATE_FRM_DATA 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:
lt_telefondata  TYPE STANDARD TABLE OF BAPIADTEL, "   
lv_error_creating_idocs  TYPE BAPIADTEL, "   
lv_businesspartnerextern  TYPE BAPIBUS1006_HEAD-BPARTNER, "   
lv_accepterror  TYPE BAPI4001_1-ACCEPT_ERR, "   SPACE
lt_ssfaddressdata  TYPE STANDARD TABLE OF BAPIADSSF, "   
lv_testrun  TYPE BAPI_FSBP_CENTRAL-TESTRUN, "   SPACE
lt_uriaddressdata  TYPE STANDARD TABLE OF BAPIADURI, "   
lv_changedocu  TYPE BAPI_STR_BUPA_FS_CHANGE_DOCU-CHANGE_DOCU, "   SPACE
lt_pagaddressdata  TYPE STANDARD TABLE OF BAPIADPAG, "   
lv_obj_type  TYPE SERIAL-OBJ_TYPE, "   'BUSISB990'
lt_addressnotes  TYPE STANDARD TABLE OF BAPIAD_REM, "   
lv_serial_id  TYPE SERIAL-CHNUM, "   '0'
lt_communicationnotes  TYPE STANDARD TABLE OF BAPICOMREM, "   
lt_telefondatanonaddress  TYPE STANDARD TABLE OF BAPINOADTEL, "   
lt_faxdatanonaddress  TYPE STANDARD TABLE OF BAPINOADFAX, "   
lt_teletexdatanonaddress  TYPE STANDARD TABLE OF BAPINOADTTX, "   
lt_telexdatanonaddress  TYPE STANDARD TABLE OF BAPINOADTLX, "   
lt_emaildatanonaddress  TYPE STANDARD TABLE OF BAPINOADSMTP, "   
lt_faxdata  TYPE STANDARD TABLE OF BAPIADFAX, "   
lv_partnercategory  TYPE BAPIBUS1006_HEAD-PARTN_CAT, "   
lt_rmladdressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADRML, "   
lt_x400addressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADX400, "   
lt_rfcaddressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADRFC, "   
lt_prtaddressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADPRT, "   
lt_ssfaddressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADSSF, "   
lt_uriaddressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADURI, "   
lt_pagaddressdatanonaddress  TYPE STANDARD TABLE OF BAPINOADPAG, "   
lt_communicationnotesnonaddress  TYPE STANDARD TABLE OF BAPINOADCOMREM, "   
lt_addressduplicates  TYPE STANDARD TABLE OF BAPIBUS1006_ADDRESS_DUPLICATES, "   
lt_roles  TYPE STANDARD TABLE OF BAPIBUS1006_ROLES, "   
lt_teletexdata  TYPE STANDARD TABLE OF BAPIADTTX, "   
lv_partnergroup  TYPE BAPIBUS1006_HEAD-PARTN_GRP, "   
lt_receivers  TYPE STANDARD TABLE OF BDI_LOGSYS, "   
lt_communication_documents  TYPE STANDARD TABLE OF SWOTOBJID, "   
lt_application_objects  TYPE STANDARD TABLE OF SWOTOBJID, "   
lt_telexdata  TYPE STANDARD TABLE OF BAPIADTLX, "   
lv_centraldata  TYPE BAPIBUS1006_CENTRAL, "   
lt_emaildata  TYPE STANDARD TABLE OF BAPIADSMTP, "   
lv_centraldataperson  TYPE BAPIBUS1006_CENTRAL_PERSON, "   
lt_rmladdressdata  TYPE STANDARD TABLE OF BAPIADRML, "   
lv_centraldataorganization  TYPE BAPIBUS1006_CENTRAL_ORGAN, "   
lt_x400addressdata  TYPE STANDARD TABLE OF BAPIADX400, "   
lv_centraldatagroup  TYPE BAPIBUS1006_CENTRAL_GROUP, "   
lv_addressdata  TYPE BAPIBUS1006_ADDRESS, "   
lt_rfcaddressdata  TYPE STANDARD TABLE OF BAPIADRFC, "   
lt_prtaddressdata  TYPE STANDARD TABLE OF BAPIADPRT, "   
lv_duplicatemessagetype  TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE. "   

  CALL FUNCTION 'ALE_BP_FS_CREATE_FRM_DATA'  "
    EXPORTING
         BUSINESSPARTNEREXTERN = lv_businesspartnerextern
         ACCEPTERROR = lv_accepterror
         TESTRUN = lv_testrun
         CHANGEDOCU = lv_changedocu
         OBJ_TYPE = lv_obj_type
         SERIAL_ID = lv_serial_id
         PARTNERCATEGORY = lv_partnercategory
         PARTNERGROUP = lv_partnergroup
         CENTRALDATA = lv_centraldata
         CENTRALDATAPERSON = lv_centraldataperson
         CENTRALDATAORGANIZATION = lv_centraldataorganization
         CENTRALDATAGROUP = lv_centraldatagroup
         ADDRESSDATA = lv_addressdata
         DUPLICATEMESSAGETYPE = lv_duplicatemessagetype
    TABLES
         TELEFONDATA = lt_telefondata
         SSFADDRESSDATA = lt_ssfaddressdata
         URIADDRESSDATA = lt_uriaddressdata
         PAGADDRESSDATA = lt_pagaddressdata
         ADDRESSNOTES = lt_addressnotes
         COMMUNICATIONNOTES = lt_communicationnotes
         TELEFONDATANONADDRESS = lt_telefondatanonaddress
         FAXDATANONADDRESS = lt_faxdatanonaddress
         TELETEXDATANONADDRESS = lt_teletexdatanonaddress
         TELEXDATANONADDRESS = lt_telexdatanonaddress
         EMAILDATANONADDRESS = lt_emaildatanonaddress
         FAXDATA = lt_faxdata
         RMLADDRESSDATANONADDRESS = lt_rmladdressdatanonaddress
         X400ADDRESSDATANONADDRESS = lt_x400addressdatanonaddress
         RFCADDRESSDATANONADDRESS = lt_rfcaddressdatanonaddress
         PRTADDRESSDATANONADDRESS = lt_prtaddressdatanonaddress
         SSFADDRESSDATANONADDRESS = lt_ssfaddressdatanonaddress
         URIADDRESSDATANONADDRESS = lt_uriaddressdatanonaddress
         PAGADDRESSDATANONADDRESS = lt_pagaddressdatanonaddress
         COMMUNICATIONNOTESNONADDRESS = lt_communicationnotesnonaddress
         ADDRESSDUPLICATES = lt_addressduplicates
         ROLES = lt_roles
         TELETEXDATA = lt_teletexdata
         RECEIVERS = lt_receivers
         COMMUNICATION_DOCUMENTS = lt_communication_documents
         APPLICATION_OBJECTS = lt_application_objects
         TELEXDATA = lt_telexdata
         EMAILDATA = lt_emaildata
         RMLADDRESSDATA = lt_rmladdressdata
         X400ADDRESSDATA = lt_x400addressdata
         RFCADDRESSDATA = lt_rfcaddressdata
         PRTADDRESSDATA = lt_prtaddressdata
    EXCEPTIONS
        ERROR_CREATING_IDOCS = 1
. " ALE_BP_FS_CREATE_FRM_DATA




ABAP code using 7.40 inline data declarations to call FM ALE_BP_FS_CREATE_FRM_DATA

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.

 
 
"SELECT single BPARTNER FROM BAPIBUS1006_HEAD INTO @DATA(ld_businesspartnerextern).
 
"SELECT single ACCEPT_ERR FROM BAPI4001_1 INTO @DATA(ld_accepterror).
DATA(ld_accepterror) = ' '.
 
 
"SELECT single TESTRUN FROM BAPI_FSBP_CENTRAL INTO @DATA(ld_testrun).
DATA(ld_testrun) = ' '.
 
 
"SELECT single CHANGE_DOCU FROM BAPI_STR_BUPA_FS_CHANGE_DOCU INTO @DATA(ld_changedocu).
DATA(ld_changedocu) = ' '.
 
 
"SELECT single OBJ_TYPE FROM SERIAL INTO @DATA(ld_obj_type).
DATA(ld_obj_type) = 'BUSISB990'.
 
 
"SELECT single CHNUM FROM SERIAL INTO @DATA(ld_serial_id).
DATA(ld_serial_id) = '0'.
 
 
 
 
 
 
 
 
"SELECT single PARTN_CAT FROM BAPIBUS1006_HEAD INTO @DATA(ld_partnercategory).
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single PARTN_GRP FROM BAPIBUS1006_HEAD INTO @DATA(ld_partnergroup).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single CONTROLDUPLICATEMESSAGE FROM BAPIBUS1006_HEAD INTO @DATA(ld_duplicatemessagetype).
 


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!