SAP CRM_PROV_LAUNCH_PARALLEL Function Module for Create Orders









CRM_PROV_LAUNCH_PARALLEL is a standard crm prov launch parallel 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 Orders 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 crm prov launch parallel FM, simply by entering the name CRM_PROV_LAUNCH_PARALLEL into the relevant SAP transaction such as SE37 or SE38.

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



Function CRM_PROV_LAUNCH_PARALLEL 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 'CRM_PROV_LAUNCH_PARALLEL'"Create Orders
EXPORTING
PROCESS = "Business Transaction Type
PRODUCT = "Product Name Entered
BP_FROM = "Business Partner Number
BP_TO = "Business Partner Number
SAVE_INC = "
IV_GROUP = "Server Group for Parallel Processing
IV_JOBS = "
* IV_LOG_LEVEL = '' "
* IV_CONTSTART = "Current Date of Application Server
.



IMPORTING Parameters details for CRM_PROV_LAUNCH_PARALLEL

PROCESS - Business Transaction Type

Data type: CRMT_PROCESS_TYPE
Optional: No
Call by Reference: Yes

PRODUCT - Product Name Entered

Data type: CRMT_ORDERED_PROD
Optional: No
Call by Reference: Yes

BP_FROM - Business Partner Number

Data type: BU_PARTNER
Optional: No
Call by Reference: Yes

BP_TO - Business Partner Number

Data type: BU_PARTNER
Optional: No
Call by Reference: Yes

SAVE_INC -

Data type: I
Optional: No
Call by Reference: Yes

IV_GROUP - Server Group for Parallel Processing

Data type: V_SRVGRP-SERVER_GROUP
Optional: No
Call by Reference: Yes

IV_JOBS -

Data type: I
Optional: No
Call by Reference: Yes

IV_LOG_LEVEL -

Data type: STRING
Default: ''
Optional: Yes
Call by Reference: Yes

IV_CONTSTART - Current Date of Application Server

Data type: SY-DATUM
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for CRM_PROV_LAUNCH_PARALLEL 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_process  TYPE CRMT_PROCESS_TYPE, "   
lv_product  TYPE CRMT_ORDERED_PROD, "   
lv_bp_from  TYPE BU_PARTNER, "   
lv_bp_to  TYPE BU_PARTNER, "   
lv_save_inc  TYPE I, "   
lv_iv_group  TYPE V_SRVGRP-SERVER_GROUP, "   
lv_iv_jobs  TYPE I, "   
lv_iv_log_level  TYPE STRING, "   ''
lv_iv_contstart  TYPE SY-DATUM. "   

  CALL FUNCTION 'CRM_PROV_LAUNCH_PARALLEL'  "Create Orders
    EXPORTING
         PROCESS = lv_process
         PRODUCT = lv_product
         BP_FROM = lv_bp_from
         BP_TO = lv_bp_to
         SAVE_INC = lv_save_inc
         IV_GROUP = lv_iv_group
         IV_JOBS = lv_iv_jobs
         IV_LOG_LEVEL = lv_iv_log_level
         IV_CONTSTART = lv_iv_contstart
. " CRM_PROV_LAUNCH_PARALLEL




ABAP code using 7.40 inline data declarations to call FM CRM_PROV_LAUNCH_PARALLEL

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 SERVER_GROUP FROM V_SRVGRP INTO @DATA(ld_iv_group).
 
 
DATA(ld_iv_log_level) = ''.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_iv_contstart).
 


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!