SAP BAPI_CRMISUPROP_CREATEFROMDATA Function Module for Create Profile at Point of Delivery (Header + Values)









BAPI_CRMISUPROP_CREATEFROMDATA is a standard bapi crmisuprop createfromdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Profile at Point of Delivery (Header + Values) processing and below is the pattern details for this FM, 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 bapi crmisuprop createfromdata FM, simply by entering the name BAPI_CRMISUPROP_CREATEFROMDATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: CRM_ISU_PROFILES_BAPI
Program Name: SAPLCRM_ISU_PROFILES_BAPI
Main Program: SAPLCRM_ISU_PROFILES_BAPI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_CRMISUPROP_CREATEFROMDATA 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 'BAPI_CRMISUPROP_CREATEFROMDATA'"Create Profile at Point of Delivery (Header + Values)
EXPORTING
* POD_INT_UI = "
* IN_PODINSTANCE = "
* POD_EXT_UI = "Point of Delivery ID
* POD_INSTANCE_GUID = "GUID for IBase Components of Point of Delivery
POD_DATA = "Point of Delivery-Specific Header Data for Profile
* HEAD_DATA = "Single-Character Flag
* TEST_RUN = ' ' "Switch to Simulation Mode for Write BAPIs

IMPORTING
PROFILEINSTANCE = "Profile: Number of IB Component (Instance)
PODINSTANCE = "IB: Component (Instance)

TABLES
* EXTENSIONIN = "Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
* RETURN = "Return Parameter
* VALUES_DATA = "Profile Values Table
* USEFACTORS_DATA = "Consumer Factors
.



IMPORTING Parameters details for BAPI_CRMISUPROP_CREATEFROMDATA

POD_INT_UI -

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

IN_PODINSTANCE -

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

POD_EXT_UI - Point of Delivery ID

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

POD_INSTANCE_GUID - GUID for IBase Components of Point of Delivery

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

POD_DATA - Point of Delivery-Specific Header Data for Profile

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

HEAD_DATA - Single-Character Flag

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

TEST_RUN - Switch to Simulation Mode for Write BAPIs

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

EXPORTING Parameters details for BAPI_CRMISUPROP_CREATEFROMDATA

PROFILEINSTANCE - Profile: Number of IB Component (Instance)

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

PODINSTANCE - IB: Component (Instance)

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

TABLES Parameters details for BAPI_CRMISUPROP_CREATEFROMDATA

EXTENSIONIN - Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT

Data type: BAPIPAREX
Optional: Yes
Call by Reference: Yes

RETURN - Return Parameter

Data type: BAPIRET2
Optional: Yes
Call by Reference: Yes

VALUES_DATA - Profile Values Table

Data type: BAPICRMISUPROFILEVALUES
Optional: Yes
Call by Reference: Yes

USEFACTORS_DATA - Consumer Factors

Data type: BAPICRMISUPROFILEVALUES
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BAPI_CRMISUPROP_CREATEFROMDATA 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_pod_int_ui  TYPE BAPICRMISUPROFILEAUX-POD_INT_UI, "   
lt_extensionin  TYPE STANDARD TABLE OF BAPIPAREX, "   
lv_profileinstance  TYPE BAPICRMISUPROFILEPODHEAD-PROFILEINSTANCE, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_podinstance  TYPE BAPICRMISUPROFILEAUX-PODINSTANCE, "   
lv_in_podinstance  TYPE BAPICRMISUPROFILEAUX-PODINSTANCE, "   
lv_pod_ext_ui  TYPE BAPICRMISUPROFILEAUX-POD_EXT_UI, "   
lt_values_data  TYPE STANDARD TABLE OF BAPICRMISUPROFILEVALUES, "   
lt_usefactors_data  TYPE STANDARD TABLE OF BAPICRMISUPROFILEVALUES, "   
lv_pod_instance_guid  TYPE BAPICRMISUPROFILEAUX-POD_INSTANCE_GUID, "   
lv_pod_data  TYPE BAPICRMISUPROFILEPOD, "   
lv_head_data  TYPE BAPICRMISUPROFILEHEAD, "   
lv_test_run  TYPE BAPICRMISUPROFILEAUX-TESTRUN. "   SPACE

  CALL FUNCTION 'BAPI_CRMISUPROP_CREATEFROMDATA'  "Create Profile at Point of Delivery (Header + Values)
    EXPORTING
         POD_INT_UI = lv_pod_int_ui
         IN_PODINSTANCE = lv_in_podinstance
         POD_EXT_UI = lv_pod_ext_ui
         POD_INSTANCE_GUID = lv_pod_instance_guid
         POD_DATA = lv_pod_data
         HEAD_DATA = lv_head_data
         TEST_RUN = lv_test_run
    IMPORTING
         PROFILEINSTANCE = lv_profileinstance
         PODINSTANCE = lv_podinstance
    TABLES
         EXTENSIONIN = lt_extensionin
         RETURN = lt_return
         VALUES_DATA = lt_values_data
         USEFACTORS_DATA = lt_usefactors_data
. " BAPI_CRMISUPROP_CREATEFROMDATA




ABAP code using 7.40 inline data declarations to call FM BAPI_CRMISUPROP_CREATEFROMDATA

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 POD_INT_UI FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_pod_int_ui).
 
 
"SELECT single PROFILEINSTANCE FROM BAPICRMISUPROFILEPODHEAD INTO @DATA(ld_profileinstance).
 
 
"SELECT single PODINSTANCE FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_podinstance).
 
"SELECT single PODINSTANCE FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_in_podinstance).
 
"SELECT single POD_EXT_UI FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_pod_ext_ui).
 
 
 
"SELECT single POD_INSTANCE_GUID FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_pod_instance_guid).
 
 
 
"SELECT single TESTRUN FROM BAPICRMISUPROFILEAUX INTO @DATA(ld_test_run).
DATA(ld_test_run) = ' '.
 


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!