SAP RFIDPT_ACC_DOCUMENT_POST_ADJ Function Module for Post Pro-Rata adjustment document









RFIDPT_ACC_DOCUMENT_POST_ADJ is a standard rfidpt acc document post adj SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Post Pro-Rata adjustment document 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 rfidpt acc document post adj FM, simply by entering the name RFIDPT_ACC_DOCUMENT_POST_ADJ into the relevant SAP transaction such as SE37 or SE38.

Function Group: RFIDPT
Program Name: SAPLRFIDPT
Main Program: SAPLRFIDPT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RFIDPT_ACC_DOCUMENT_POST_ADJ 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 'RFIDPT_ACC_DOCUMENT_POST_ADJ'"Post Pro-Rata adjustment document
EXPORTING
* I_COMP = ' ' "Component in ACC Interface
* I_COMP_CHECK = ' ' "Component in ACC Interface
* I_FREE_TABLE = 'X' "Checkbox
* I_TEST = ' ' "'X' - test mode

IMPORTING
E_BUKRS = "Company Code
E_BELNR = "Accounting Document Number
E_GJAHR = "Fiscal Year

TABLES
T_ACCHD = "Interface to Accounting: Header Information
T_ACCIT = "Accounting Interface: Item Information
T_ACCCR = "Accounting Interface: Currency Information
* T_ACCTX = "Document Segment for Tax Data Plus Additional Fields RWIN
T_RETURN = "Structure for copying a system message
.



IMPORTING Parameters details for RFIDPT_ACC_DOCUMENT_POST_ADJ

I_COMP - Component in ACC Interface

Data type: TRWPR-COMPONENT
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_COMP_CHECK - Component in ACC Interface

Data type: TRWPR-COMPONENT
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_FREE_TABLE - Checkbox

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_TEST - 'X' - test mode

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RFIDPT_ACC_DOCUMENT_POST_ADJ

E_BUKRS - Company Code

Data type: BUKRS
Optional: No
Call by Reference: Yes

E_BELNR - Accounting Document Number

Data type: BELNR_D
Optional: No
Call by Reference: Yes

E_GJAHR - Fiscal Year

Data type: GJAHR
Optional: No
Call by Reference: Yes

TABLES Parameters details for RFIDPT_ACC_DOCUMENT_POST_ADJ

T_ACCHD - Interface to Accounting: Header Information

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

T_ACCIT - Accounting Interface: Item Information

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

T_ACCCR - Accounting Interface: Currency Information

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

T_ACCTX - Document Segment for Tax Data Plus Additional Fields RWIN

Data type: ACCBSET
Optional: Yes
Call by Reference: Yes

T_RETURN - Structure for copying a system message

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

Copy and paste ABAP code example for RFIDPT_ACC_DOCUMENT_POST_ADJ 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_i_comp  TYPE TRWPR-COMPONENT, "   SPACE
lv_e_bukrs  TYPE BUKRS, "   
lt_t_acchd  TYPE STANDARD TABLE OF ACCHD, "   
lv_e_belnr  TYPE BELNR_D, "   
lt_t_accit  TYPE STANDARD TABLE OF ACCIT, "   
lv_i_comp_check  TYPE TRWPR-COMPONENT, "   SPACE
lv_e_gjahr  TYPE GJAHR, "   
lt_t_acccr  TYPE STANDARD TABLE OF ACCCR, "   
lv_i_free_table  TYPE XFELD, "   'X'
lv_i_test  TYPE CHAR1, "   SPACE
lt_t_acctx  TYPE STANDARD TABLE OF ACCBSET, "   
lt_t_return  TYPE STANDARD TABLE OF MESSAGE_STRUCT. "   

  CALL FUNCTION 'RFIDPT_ACC_DOCUMENT_POST_ADJ'  "Post Pro-Rata adjustment document
    EXPORTING
         I_COMP = lv_i_comp
         I_COMP_CHECK = lv_i_comp_check
         I_FREE_TABLE = lv_i_free_table
         I_TEST = lv_i_test
    IMPORTING
         E_BUKRS = lv_e_bukrs
         E_BELNR = lv_e_belnr
         E_GJAHR = lv_e_gjahr
    TABLES
         T_ACCHD = lt_t_acchd
         T_ACCIT = lt_t_accit
         T_ACCCR = lt_t_acccr
         T_ACCTX = lt_t_acctx
         T_RETURN = lt_t_return
. " RFIDPT_ACC_DOCUMENT_POST_ADJ




ABAP code using 7.40 inline data declarations to call FM RFIDPT_ACC_DOCUMENT_POST_ADJ

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 COMPONENT FROM TRWPR INTO @DATA(ld_i_comp).
DATA(ld_i_comp) = ' '.
 
 
 
 
 
"SELECT single COMPONENT FROM TRWPR INTO @DATA(ld_i_comp_check).
DATA(ld_i_comp_check) = ' '.
 
 
 
DATA(ld_i_free_table) = 'X'.
 
DATA(ld_i_test) = ' '.
 
 
 


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!