BREAKDOWN_DOCUMENT_POST 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 BREAKDOWN_DOCUMENT_POST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
F049
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BREAKDOWN_DOCUMENT_POST' "
EXPORTING
i_old = " rf048-xbearb " " = document is new (insert); "X" = update
IMPORTING
e_xsave = " rf048-xbearb
TABLES
tbfit_a0 = " bfit_a0 Table entries for database insert
tbfit_a = " bfit_a Table entries for database insert
tbfod_a = " bfod_a Table entries for database insert
tbfod_ab = " bfod_ab Table entries for database insert/update
tbfok_a = " bfok_a Table entries for database insert
tbfok_ab = " bfok_ab Table entries for database insert/update
trf048_audt = " rf048_audt Table entries for setting clearing date
. " BREAKDOWN_DOCUMENT_POST
The ABAP code below is a full code listing to execute function module BREAKDOWN_DOCUMENT_POST 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_e_xsave | TYPE RF048-XBEARB , |
| it_tbfit_a0 | TYPE STANDARD TABLE OF BFIT_A0,"TABLES PARAM |
| wa_tbfit_a0 | LIKE LINE OF it_tbfit_a0 , |
| it_tbfit_a | TYPE STANDARD TABLE OF BFIT_A,"TABLES PARAM |
| wa_tbfit_a | LIKE LINE OF it_tbfit_a , |
| it_tbfod_a | TYPE STANDARD TABLE OF BFOD_A,"TABLES PARAM |
| wa_tbfod_a | LIKE LINE OF it_tbfod_a , |
| it_tbfod_ab | TYPE STANDARD TABLE OF BFOD_AB,"TABLES PARAM |
| wa_tbfod_ab | LIKE LINE OF it_tbfod_ab , |
| it_tbfok_a | TYPE STANDARD TABLE OF BFOK_A,"TABLES PARAM |
| wa_tbfok_a | LIKE LINE OF it_tbfok_a , |
| it_tbfok_ab | TYPE STANDARD TABLE OF BFOK_AB,"TABLES PARAM |
| wa_tbfok_ab | LIKE LINE OF it_tbfok_ab , |
| it_trf048_audt | TYPE STANDARD TABLE OF RF048_AUDT,"TABLES PARAM |
| wa_trf048_audt | LIKE LINE OF it_trf048_audt . |
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_e_xsave | TYPE RF048-XBEARB , |
| ld_i_old | TYPE RF048-XBEARB , |
| it_tbfit_a0 | TYPE STANDARD TABLE OF BFIT_A0 , |
| wa_tbfit_a0 | LIKE LINE OF it_tbfit_a0, |
| it_tbfit_a | TYPE STANDARD TABLE OF BFIT_A , |
| wa_tbfit_a | LIKE LINE OF it_tbfit_a, |
| it_tbfod_a | TYPE STANDARD TABLE OF BFOD_A , |
| wa_tbfod_a | LIKE LINE OF it_tbfod_a, |
| it_tbfod_ab | TYPE STANDARD TABLE OF BFOD_AB , |
| wa_tbfod_ab | LIKE LINE OF it_tbfod_ab, |
| it_tbfok_a | TYPE STANDARD TABLE OF BFOK_A , |
| wa_tbfok_a | LIKE LINE OF it_tbfok_a, |
| it_tbfok_ab | TYPE STANDARD TABLE OF BFOK_AB , |
| wa_tbfok_ab | LIKE LINE OF it_tbfok_ab, |
| it_trf048_audt | TYPE STANDARD TABLE OF RF048_AUDT , |
| wa_trf048_audt | LIKE LINE OF it_trf048_audt. |
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 BREAKDOWN_DOCUMENT_POST or its description.