SAP BAPI_DXPROJECT_GETDETAIL Function Module for GetDetail Method of Business Object DXPROJECT









BAPI_DXPROJECT_GETDETAIL is a standard bapi dxproject getdetail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for GetDetail 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 getdetail FM, simply by entering the name BAPI_DXPROJECT_GETDETAIL 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: 05-Oct-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_DXPROJECT_GETDETAIL 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_GETDETAIL'"GetDetail Method of Business Object DXPROJECT
EXPORTING
PROJECT = "

IMPORTING
RETURN = "

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



IMPORTING Parameters details for BAPI_DXPROJECT_GETDETAIL

PROJECT -

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

EXPORTING Parameters details for BAPI_DXPROJECT_GETDETAIL

RETURN -

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

TABLES Parameters details for BAPI_DXPROJECT_GETDETAIL

PROJECTTEXT -

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

ATTRIBDATA5 - Attributes for LSMW Tasks of Business Object DXPROJECT

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

ATTRIBDATA3 - Attributes for LSMW Tasks of Business Object DXPROJECT

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

INPUT_FILES - Input File Name & Type

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

OUTPUT_FILES - Output File Name & Type

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

RUNDATA - Run Definitions of Business Object DXPROJECT

Data type: BAPI_DXRUN
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)

ATTRIBDATA -

Data type: BAPI_DXATT
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

Copy and paste ABAP code example for BAPI_DXPROJECT_GETDETAIL 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_return  TYPE BAPIRET2, "   
lv_project  TYPE BAPI_DXPRO-PROJECT, "   
lt_projecttext  TYPE STANDARD TABLE OF BAPI_DXPRT, "   
lt_attribdata5  TYPE STANDARD TABLE OF BAPI_DXAT5, "   
lt_attribdata3  TYPE STANDARD TABLE OF BAPI_DXAT3, "   
lt_input_files  TYPE STANDARD TABLE OF BAPI_DXIFI, "   
lt_output_files  TYPE STANDARD TABLE OF BAPI_DXOFI, "   
lt_rundata  TYPE STANDARD TABLE OF BAPI_DXRUN, "   
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_attribdata  TYPE STANDARD TABLE OF BAPI_DXATT, "   
lt_attribdata2  TYPE STANDARD TABLE OF BAPI_DXAT2. "   

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




ABAP code using 7.40 inline data declarations to call FM BAPI_DXPROJECT_GETDETAIL

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).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!