Example: Choice of BAPI Data Structures 
In the
example in the conceptual design phase, the reference fields/tables shown below were identified for the parameters.The first example here uses structures created in Release 3.1. In this Release, structure names had a maximum of 10 characters.
The second example shows how you could name the structures for BAPIs developed as of Release 4.0.
Parameters and their Reference Fields in Release 3.1
Parameter in the Function Module |
Reference Field/Table |
COMPANYCODEDETAIL |
BAPI0002_2 |
COMPANYCODEADDRESS |
BAPI0002_2 |
Parameters and their Reference Fields in Release 4.0
Parameter in the Function Module |
Reference Field/Table |
COMPANYCODEDETAIL |
BAPI0002_COMPANYCODEDETAIL |
COMPANYCODEADDRESS |
BAPI0002_COMPANYCODEADDRESS |