BAPI_JOA_GETDETAIL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_JOA_GETDETAIL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GJV_JOA
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_JOA_GETDETAIL' "Get detailed information for joint operating agreement
EXPORTING
companycodeid = " bapijoakey-comp_code Company code
joa = " bapijoakey-joa Joint Operating Agreement
IMPORTING
joadescription = " bapijoa-joatext Short description of JOA
joacontract = " bapijoa-contract Contract
joacostcalculation = " bapijoacostcalculation Costcalculation data
joaclass = " bapijoa-class JOA class
TABLES
* joaeqgfull = " bapijoaeqgfull JOA equity group data
* joaeqgpartnerfull = " bapijoaeqgpartnerfull JOA equity group partner data
* joaburdenrate = " bapijoaburdenrate JOA burden rate data
* joapenalty = " bapijoapenalty JOA Penalty categories
* joaprojectparameter = " bapijoaprojectparameter JOA Project parameters
* joaparentoverhead = " bapijoaparcompoverhead Parent overhead data
* joadrillratio = " bapijoadrillstatratio Drilling statistical ratio assignments
* joaprodratio = " bapijoaprodstatratio Production statistical ratio assignments
* joaprodratiothrsh = " bapijoaprodstatratiothrsh Production ratio threshold
return = " bapiret2 Return messages
. " BAPI_JOA_GETDETAIL
The ABAP code below is a full code listing to execute function module BAPI_JOA_GETDETAIL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_joadescription | TYPE BAPIJOA-JOATEXT , |
| ld_joacontract | TYPE BAPIJOA-CONTRACT , |
| ld_joacostcalculation | TYPE BAPIJOACOSTCALCULATION , |
| ld_joaclass | TYPE BAPIJOA-CLASS , |
| it_joaeqgfull | TYPE STANDARD TABLE OF BAPIJOAEQGFULL,"TABLES PARAM |
| wa_joaeqgfull | LIKE LINE OF it_joaeqgfull , |
| it_joaeqgpartnerfull | TYPE STANDARD TABLE OF BAPIJOAEQGPARTNERFULL,"TABLES PARAM |
| wa_joaeqgpartnerfull | LIKE LINE OF it_joaeqgpartnerfull , |
| it_joaburdenrate | TYPE STANDARD TABLE OF BAPIJOABURDENRATE,"TABLES PARAM |
| wa_joaburdenrate | LIKE LINE OF it_joaburdenrate , |
| it_joapenalty | TYPE STANDARD TABLE OF BAPIJOAPENALTY,"TABLES PARAM |
| wa_joapenalty | LIKE LINE OF it_joapenalty , |
| it_joaprojectparameter | TYPE STANDARD TABLE OF BAPIJOAPROJECTPARAMETER,"TABLES PARAM |
| wa_joaprojectparameter | LIKE LINE OF it_joaprojectparameter , |
| it_joaparentoverhead | TYPE STANDARD TABLE OF BAPIJOAPARCOMPOVERHEAD,"TABLES PARAM |
| wa_joaparentoverhead | LIKE LINE OF it_joaparentoverhead , |
| it_joadrillratio | TYPE STANDARD TABLE OF BAPIJOADRILLSTATRATIO,"TABLES PARAM |
| wa_joadrillratio | LIKE LINE OF it_joadrillratio , |
| it_joaprodratio | TYPE STANDARD TABLE OF BAPIJOAPRODSTATRATIO,"TABLES PARAM |
| wa_joaprodratio | LIKE LINE OF it_joaprodratio , |
| it_joaprodratiothrsh | TYPE STANDARD TABLE OF BAPIJOAPRODSTATRATIOTHRSH,"TABLES PARAM |
| wa_joaprodratiothrsh | LIKE LINE OF it_joaprodratiothrsh , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_joadescription | TYPE BAPIJOA-JOATEXT , |
| ld_companycodeid | TYPE BAPIJOAKEY-COMP_CODE , |
| it_joaeqgfull | TYPE STANDARD TABLE OF BAPIJOAEQGFULL , |
| wa_joaeqgfull | LIKE LINE OF it_joaeqgfull, |
| ld_joacontract | TYPE BAPIJOA-CONTRACT , |
| ld_joa | TYPE BAPIJOAKEY-JOA , |
| it_joaeqgpartnerfull | TYPE STANDARD TABLE OF BAPIJOAEQGPARTNERFULL , |
| wa_joaeqgpartnerfull | LIKE LINE OF it_joaeqgpartnerfull, |
| ld_joacostcalculation | TYPE BAPIJOACOSTCALCULATION , |
| it_joaburdenrate | TYPE STANDARD TABLE OF BAPIJOABURDENRATE , |
| wa_joaburdenrate | LIKE LINE OF it_joaburdenrate, |
| ld_joaclass | TYPE BAPIJOA-CLASS , |
| it_joapenalty | TYPE STANDARD TABLE OF BAPIJOAPENALTY , |
| wa_joapenalty | LIKE LINE OF it_joapenalty, |
| it_joaprojectparameter | TYPE STANDARD TABLE OF BAPIJOAPROJECTPARAMETER , |
| wa_joaprojectparameter | LIKE LINE OF it_joaprojectparameter, |
| it_joaparentoverhead | TYPE STANDARD TABLE OF BAPIJOAPARCOMPOVERHEAD , |
| wa_joaparentoverhead | LIKE LINE OF it_joaparentoverhead, |
| it_joadrillratio | TYPE STANDARD TABLE OF BAPIJOADRILLSTATRATIO , |
| wa_joadrillratio | LIKE LINE OF it_joadrillratio, |
| it_joaprodratio | TYPE STANDARD TABLE OF BAPIJOAPRODSTATRATIO , |
| wa_joaprodratio | LIKE LINE OF it_joaprodratio, |
| it_joaprodratiothrsh | TYPE STANDARD TABLE OF BAPIJOAPRODSTATRATIOTHRSH , |
| wa_joaprodratiothrsh | LIKE LINE OF it_joaprodratiothrsh, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
This module is part of the CA-JVA component.
It returns all data of a particular joint operating agreement (JOA)....See here for full SAP fm documentati
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_JOA_GETDETAIL or its description.
BAPI_JOA_GETDETAIL - Get detailed information for joint operating agreement BAPI_JOA_DELETE - Delete JOA equity group BAPI_JOA_CREATE - Create joint operating agreement BAPI_JOA_CHANGE - Change joint operating agreement BAPI_JOAEQUITYGROUP_GETLIST - Get equity group and partner list BAPI_JOAEQUITYGROUP_GETDETAIL - Get equity group details