SAP RFC_POST_ALLOC_TABLE Function Module for NOTRANSL: Aufteiler buchen (Daten aus dem globalen Puffer)









RFC_POST_ALLOC_TABLE is a standard rfc post alloc table 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: Aufteiler buchen (Daten aus dem globalen Puffer) 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 rfc post alloc table FM, simply by entering the name RFC_POST_ALLOC_TABLE into the relevant SAP transaction such as SE37 or SE38.

Function Group: WF03
Program Name: SAPLWF03
Main Program: SAPLWF03
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RFC_POST_ALLOC_TABLE 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 'RFC_POST_ALLOC_TABLE'"NOTRANSL: Aufteiler buchen (Daten aus dem globalen Puffer)
EXPORTING
* FBI_RESET_MSG_NB = ' ' "
* FBI_COMMIT = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FBI_IN_UPDATE_TASK = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FBI_CREATE_NEW_PO_ASAP = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FBI_ADD_DC_PO = ' ' "Extend Vendor Purchase Orders for DC

IMPORTING
FBE_ALLOC_TABLE = "Allocation Table Number
FBE_RETURN_CODE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
FBT_MSG_TBL = "
.



IMPORTING Parameters details for RFC_POST_ALLOC_TABLE

FBI_RESET_MSG_NB -

Data type: RW00A-AKTSW
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FBI_COMMIT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: RW00A-VBUKZ
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FBI_IN_UPDATE_TASK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: RW00A-VBUKZ
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FBI_CREATE_NEW_PO_ASAP - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: RW00A-VBUKZ
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

FBI_ADD_DC_PO - Extend Vendor Purchase Orders for DC

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

EXPORTING Parameters details for RFC_POST_ALLOC_TABLE

FBE_ALLOC_TABLE - Allocation Table Number

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

FBE_RETURN_CODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for RFC_POST_ALLOC_TABLE

FBT_MSG_TBL -

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

Copy and paste ABAP code example for RFC_POST_ALLOC_TABLE 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:
lt_fbt_msg_tbl  TYPE STANDARD TABLE OF SMESG, "   
lv_fbe_alloc_table  TYPE AUKO-ABELN, "   
lv_fbi_reset_msg_nb  TYPE RW00A-AKTSW, "   ' '
lv_fbi_commit  TYPE RW00A-VBUKZ, "   ' '
lv_fbe_return_code  TYPE SY-SUBRC, "   
lv_fbi_in_update_task  TYPE RW00A-VBUKZ, "   ' '
lv_fbi_create_new_po_asap  TYPE RW00A-VBUKZ, "   ' '
lv_fbi_add_dc_po  TYPE ADD_DC_PO. "   ' '

  CALL FUNCTION 'RFC_POST_ALLOC_TABLE'  "NOTRANSL: Aufteiler buchen (Daten aus dem globalen Puffer)
    EXPORTING
         FBI_RESET_MSG_NB = lv_fbi_reset_msg_nb
         FBI_COMMIT = lv_fbi_commit
         FBI_IN_UPDATE_TASK = lv_fbi_in_update_task
         FBI_CREATE_NEW_PO_ASAP = lv_fbi_create_new_po_asap
         FBI_ADD_DC_PO = lv_fbi_add_dc_po
    IMPORTING
         FBE_ALLOC_TABLE = lv_fbe_alloc_table
         FBE_RETURN_CODE = lv_fbe_return_code
    TABLES
         FBT_MSG_TBL = lt_fbt_msg_tbl
. " RFC_POST_ALLOC_TABLE




ABAP code using 7.40 inline data declarations to call FM RFC_POST_ALLOC_TABLE

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 ABELN FROM AUKO INTO @DATA(ld_fbe_alloc_table).
 
"SELECT single AKTSW FROM RW00A INTO @DATA(ld_fbi_reset_msg_nb).
DATA(ld_fbi_reset_msg_nb) = ' '.
 
"SELECT single VBUKZ FROM RW00A INTO @DATA(ld_fbi_commit).
DATA(ld_fbi_commit) = ' '.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_fbe_return_code).
 
"SELECT single VBUKZ FROM RW00A INTO @DATA(ld_fbi_in_update_task).
DATA(ld_fbi_in_update_task) = ' '.
 
"SELECT single VBUKZ FROM RW00A INTO @DATA(ld_fbi_create_new_po_asap).
DATA(ld_fbi_create_new_po_asap) = ' '.
 
DATA(ld_fbi_add_dc_po) = ' '.
 


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!