SAP BAPI_DXPROJECT_CREATE Function Module for Create Method of Business Object DXPROJECT









BAPI_DXPROJECT_CREATE is a standard bapi dxproject create 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 Method of Business Object DXPROJECT 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 dxproject create FM, simply by entering the name BAPI_DXPROJECT_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: DX_PROJECT
Program Name: SAPLDX_PROJECT
Main Program: SAPLDX_PROJECT
Appliation area: S
Release date: 01-Oct-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_DXPROJECT_CREATE 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_DXPROJECT_CREATE'"Create Method of Business Object DXPROJECT
EXPORTING
PROJECTID = "

IMPORTING
PROJECT = "
RETURN = "

TABLES
* PROJECTTEXT = "
* ATTRIBDATA3 = "Attributes of Split Tasks of Business Object DXPROJECT
* ATTRIBDATA4 = "Attributes of DMC Tasks of Business Object DXPROJECT
* ATTRIBDATA = "
* INPUT_FILES = "Input File Name & Type
* OUTPUT_FILES = "Output File Name & Type
* SUBPROJECTDATA = "
* SUBPROJECTTEXT = "
* RUNDEFDATA = "
* RUNDEFTEXT = "
* TASKDATA = "
* TASKTEXT = "
* ATTRIBDATA2 = "Attributes for LSMW Tasks of Business Object DXPROJECT
* ATTRIBDATA5 = "Attributes for LSMW Tasks of Business Object DXPROJECT
.



IMPORTING Parameters details for BAPI_DXPROJECT_CREATE

PROJECTID -

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

EXPORTING Parameters details for BAPI_DXPROJECT_CREATE

PROJECT -

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

RETURN -

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

TABLES Parameters details for BAPI_DXPROJECT_CREATE

PROJECTTEXT -

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

ATTRIBDATA3 - Attributes of Split Tasks of Business Object DXPROJECT

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

ATTRIBDATA4 - Attributes of DMC Tasks of Business Object DXPROJECT

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

ATTRIBDATA -

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

INPUT_FILES - Input File Name & Type

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

OUTPUT_FILES - Output File Name & Type

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

SUBPROJECTDATA -

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

SUBPROJECTTEXT -

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

RUNDEFDATA -

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

RUNDEFTEXT -

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

TASKDATA -

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

TASKTEXT -

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

ATTRIBDATA2 - Attributes for LSMW Tasks of Business Object DXPROJECT

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

ATTRIBDATA5 - Attributes for LSMW Tasks of Business Object DXPROJECT

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

Copy and paste ABAP code example for BAPI_DXPROJECT_CREATE 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_project  TYPE BAPI_DXPRO-PROJECT, "   
lv_projectid  TYPE BAPI_DXPRO-PROJECT, "   
lt_projecttext  TYPE STANDARD TABLE OF BAPI_DXPRT, "   
lt_attribdata3  TYPE STANDARD TABLE OF BAPI_DXAT3, "   
lt_attribdata4  TYPE STANDARD TABLE OF BAPI_DXAT4, "   
lt_attribdata  TYPE STANDARD TABLE OF BAPI_DXATT, "   
lt_input_files  TYPE STANDARD TABLE OF BAPI_DXIFI, "   
lt_output_files  TYPE STANDARD TABLE OF BAPI_DXOFI, "   
lv_return  TYPE BAPIRET2, "   
lt_subprojectdata  TYPE STANDARD TABLE OF BAPI_DXSUB, "   
lt_subprojecttext  TYPE STANDARD TABLE OF BAPI_DXSUT, "   
lt_rundefdata  TYPE STANDARD TABLE OF BAPI_DXRUD, "   
lt_rundeftext  TYPE STANDARD TABLE OF BAPI_DXRUT, "   
lt_taskdata  TYPE STANDARD TABLE OF BAPI_DXTAS, "   
lt_tasktext  TYPE STANDARD TABLE OF BAPI_DXTAT, "   
lt_attribdata2  TYPE STANDARD TABLE OF BAPI_DXAT2, "   
lt_attribdata5  TYPE STANDARD TABLE OF BAPI_DXAT5. "   

  CALL FUNCTION 'BAPI_DXPROJECT_CREATE'  "Create Method of Business Object DXPROJECT
    EXPORTING
         PROJECTID = lv_projectid
    IMPORTING
         PROJECT = lv_project
         RETURN = lv_return
    TABLES
         PROJECTTEXT = lt_projecttext
         ATTRIBDATA3 = lt_attribdata3
         ATTRIBDATA4 = lt_attribdata4
         ATTRIBDATA = lt_attribdata
         INPUT_FILES = lt_input_files
         OUTPUT_FILES = lt_output_files
         SUBPROJECTDATA = lt_subprojectdata
         SUBPROJECTTEXT = lt_subprojecttext
         RUNDEFDATA = lt_rundefdata
         RUNDEFTEXT = lt_rundeftext
         TASKDATA = lt_taskdata
         TASKTEXT = lt_tasktext
         ATTRIBDATA2 = lt_attribdata2
         ATTRIBDATA5 = lt_attribdata5
. " BAPI_DXPROJECT_CREATE




ABAP code using 7.40 inline data declarations to call FM BAPI_DXPROJECT_CREATE

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 PROJECT FROM BAPI_DXPRO INTO @DATA(ld_project).
 
"SELECT single PROJECT FROM BAPI_DXPRO INTO @DATA(ld_projectid).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!