SAP KADP_OBJNR_DETERMINE Function Module for NOTRANSL: Objektnummer für CO-Anzahlungsfortschr./Finanzmittelrechnung CO
KADP_OBJNR_DETERMINE is a standard kadp objnr determine SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Objektnummer für CO-Anzahlungsfortschr./Finanzmittelrechnung CO 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 kadp objnr determine FM, simply by entering the name KADP_OBJNR_DETERMINE into the relevant SAP transaction such as SE37 or SE38.
Function Group: KADP
Program Name: SAPLKADP
Main Program: SAPLKADP
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function KADP_OBJNR_DETERMINE 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 'KADP_OBJNR_DETERMINE'"NOTRANSL: Objektnummer für CO-Anzahlungsfortschr./Finanzmittelrechnung CO.
EXPORTING
* I_AUFNR = "Order Number
* I_AUFPL = "
* I_APLZL = "
* I_NPLNR = "Network Number
* I_PROJK = "
* I_VBEL2 = "Sales Document
* I_POSN2 = "Sales document item
* I_IMKEY = "
* I_DABRZ = "
IMPORTING
E_OBJNR = "CO Object Number
E_OWAER = "Object Currency
EXCEPTIONS
OBJNR_NOT_FOUND = 1
IMPORTING Parameters details for KADP_OBJNR_DETERMINE
I_AUFNR - Order Number
Data type: BSEG-AUFNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_AUFPL -
Data type: BSEG-AUFPLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_APLZL -
Data type: BSEG-APLZLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_NPLNR - Network Number
Data type: BSEG-NPLNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_PROJK -
Data type: BSEG-PROJKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBEL2 - Sales Document
Data type: BSEG-VBEL2Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POSN2 - Sales document item
Data type: BSEG-POSN2Optional: Yes
Call by Reference: No ( called with pass by value option)
I_IMKEY -
Data type: BSEG-IMKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DABRZ -
Data type: BSEG-DABRZOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for KADP_OBJNR_DETERMINE
E_OBJNR - CO Object Number
Data type: COIOB-OBJNROptional: No
Call by Reference: No ( called with pass by value option)
E_OWAER - Object Currency
Data type: COIOB-OWAEROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OBJNR_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for KADP_OBJNR_DETERMINE 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_e_objnr | TYPE COIOB-OBJNR, " | |||
| lv_i_aufnr | TYPE BSEG-AUFNR, " | |||
| lv_objnr_not_found | TYPE BSEG, " | |||
| lv_e_owaer | TYPE COIOB-OWAER, " | |||
| lv_i_aufpl | TYPE BSEG-AUFPL, " | |||
| lv_i_aplzl | TYPE BSEG-APLZL, " | |||
| lv_i_nplnr | TYPE BSEG-NPLNR, " | |||
| lv_i_projk | TYPE BSEG-PROJK, " | |||
| lv_i_vbel2 | TYPE BSEG-VBEL2, " | |||
| lv_i_posn2 | TYPE BSEG-POSN2, " | |||
| lv_i_imkey | TYPE BSEG-IMKEY, " | |||
| lv_i_dabrz | TYPE BSEG-DABRZ. " |
|   CALL FUNCTION 'KADP_OBJNR_DETERMINE' "NOTRANSL: Objektnummer für CO-Anzahlungsfortschr./Finanzmittelrechnung CO |
| EXPORTING | ||
| I_AUFNR | = lv_i_aufnr | |
| I_AUFPL | = lv_i_aufpl | |
| I_APLZL | = lv_i_aplzl | |
| I_NPLNR | = lv_i_nplnr | |
| I_PROJK | = lv_i_projk | |
| I_VBEL2 | = lv_i_vbel2 | |
| I_POSN2 | = lv_i_posn2 | |
| I_IMKEY | = lv_i_imkey | |
| I_DABRZ | = lv_i_dabrz | |
| IMPORTING | ||
| E_OBJNR | = lv_e_objnr | |
| E_OWAER | = lv_e_owaer | |
| EXCEPTIONS | ||
| OBJNR_NOT_FOUND = 1 | ||
| . " KADP_OBJNR_DETERMINE | ||
ABAP code using 7.40 inline data declarations to call FM KADP_OBJNR_DETERMINE
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 OBJNR FROM COIOB INTO @DATA(ld_e_objnr). | ||||
| "SELECT single AUFNR FROM BSEG INTO @DATA(ld_i_aufnr). | ||||
| "SELECT single OWAER FROM COIOB INTO @DATA(ld_e_owaer). | ||||
| "SELECT single AUFPL FROM BSEG INTO @DATA(ld_i_aufpl). | ||||
| "SELECT single APLZL FROM BSEG INTO @DATA(ld_i_aplzl). | ||||
| "SELECT single NPLNR FROM BSEG INTO @DATA(ld_i_nplnr). | ||||
| "SELECT single PROJK FROM BSEG INTO @DATA(ld_i_projk). | ||||
| "SELECT single VBEL2 FROM BSEG INTO @DATA(ld_i_vbel2). | ||||
| "SELECT single POSN2 FROM BSEG INTO @DATA(ld_i_posn2). | ||||
| "SELECT single IMKEY FROM BSEG INTO @DATA(ld_i_imkey). | ||||
| "SELECT single DABRZ FROM BSEG INTO @DATA(ld_i_dabrz). | ||||
Search for further information about these or an SAP related objects