SAP J_1A_READ_PERCEPTION Function Module for NOTRANSL: Read data for calculation of VAT or GI Perceptions
J_1A_READ_PERCEPTION is a standard j 1a read perception 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: Read data for calculation of VAT or GI Perceptions 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 j 1a read perception FM, simply by entering the name J_1A_READ_PERCEPTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: J1AT
Program Name: SAPLJ1AT
Main Program: SAPLJ1AT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_1A_READ_PERCEPTION 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 'J_1A_READ_PERCEPTION'"NOTRANSL: Read data for calculation of VAT or GI Perceptions.
EXPORTING
* DATE = SY-DATUM "Date and Time, Current (Application Server) Date
COMPANY = "Company Code
ACCT_KEY = "Account Type
TAXCONDITION = "Condition Type
IMPORTING
REFCONDITION = "Reference Condition Type
TAXMIN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TAXGROUP = "Category Indicator for Tax Codes
ISVAT = "Checkbox
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJ1AT_001 User exit of report J_1AF105 at GET BKPF
EXIT_SAPLJ1AT_002 User exit of report J_1AF105 at GET BSEG
EXIT_SAPLJ1AT_003 User exit of report J_1AF106 at GET BKPF
EXIT_SAPLJ1AT_004 User exit of report J_1AF106 at GET BSEG
EXIT_SAPLJ1AT_005 User exit of report J_1AF105 at GET BKPF LATE
IMPORTING Parameters details for J_1A_READ_PERCEPTION
DATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)
COMPANY - Company Code
Data type: T001-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
ACCT_KEY - Account Type
Data type: J_1ATXMIN-KTOSLOptional: No
Call by Reference: No ( called with pass by value option)
TAXCONDITION - Condition Type
Data type: T007C-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for J_1A_READ_PERCEPTION
REFCONDITION - Reference Condition Type
Data type: T007C-REFKSCHLOptional: No
Call by Reference: No ( called with pass by value option)
TAXMIN - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: J_1ATXMIN-J_1ATAXMINOptional: No
Call by Reference: No ( called with pass by value option)
TAXGROUP - Category Indicator for Tax Codes
Data type: T007C-TAXGROptional: No
Call by Reference: No ( called with pass by value option)
ISVAT - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for J_1A_READ_PERCEPTION 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_date | TYPE SY-DATUM, " SY-DATUM | |||
| lv_refcondition | TYPE T007C-REFKSCHL, " | |||
| lv_taxmin | TYPE J_1ATXMIN-J_1ATAXMIN, " | |||
| lv_company | TYPE T001-BUKRS, " | |||
| lv_acct_key | TYPE J_1ATXMIN-KTOSL, " | |||
| lv_taxgroup | TYPE T007C-TAXGR, " | |||
| lv_isvat | TYPE XFELD, " | |||
| lv_taxcondition | TYPE T007C-KSCHL. " |
|   CALL FUNCTION 'J_1A_READ_PERCEPTION' "NOTRANSL: Read data for calculation of VAT or GI Perceptions |
| EXPORTING | ||
| DATE | = lv_date | |
| COMPANY | = lv_company | |
| ACCT_KEY | = lv_acct_key | |
| TAXCONDITION | = lv_taxcondition | |
| IMPORTING | ||
| REFCONDITION | = lv_refcondition | |
| TAXMIN | = lv_taxmin | |
| TAXGROUP | = lv_taxgroup | |
| ISVAT | = lv_isvat | |
| . " J_1A_READ_PERCEPTION | ||
ABAP code using 7.40 inline data declarations to call FM J_1A_READ_PERCEPTION
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 DATUM FROM SY INTO @DATA(ld_date). | ||||
| DATA(ld_date) | = SY-DATUM. | |||
| "SELECT single REFKSCHL FROM T007C INTO @DATA(ld_refcondition). | ||||
| "SELECT single J_1ATAXMIN FROM J_1ATXMIN INTO @DATA(ld_taxmin). | ||||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_company). | ||||
| "SELECT single KTOSL FROM J_1ATXMIN INTO @DATA(ld_acct_key). | ||||
| "SELECT single TAXGR FROM T007C INTO @DATA(ld_taxgroup). | ||||
| "SELECT single KSCHL FROM T007C INTO @DATA(ld_taxcondition). | ||||
Search for further information about these or an SAP related objects