SAP LC_CUST_TABLES_READ Function Module for NOTRANSL: Akkreditiv: Einlesen von Customizingtabellen









LC_CUST_TABLES_READ is a standard lc cust tables read 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: Akkreditiv: Einlesen von Customizingtabellen 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 lc cust tables read FM, simply by entering the name LC_CUST_TABLES_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function LC_CUST_TABLES_READ 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 'LC_CUST_TABLES_READ'"NOTRANSL: Akkreditiv: Einlesen von Customizingtabellen
EXPORTING
* I_LANGUAGE = "ABAP System Field: Language Key of Text Environment
* I_AKART = "Financial document processing: Type of financial document
* I_AKKTP = "Financial document processing: Financial document category
* I_BAFKT = "Financial Document Processing: Bank Function

TABLES
* O_LOC_KIND = "Documentary Payments: Financial Document Type
* O_LOC_AENDGRUND = "Documentary Payments: Reasons for Change
* O_LOC_AENDGRUND_TEXT = "Documentary Payments: Reasons for Change - Descriptions
* O_LOC_INDICATOR = "Documentary Payments: Financial Document Control
* O_LOC_INDICATOR_BANK = "Documentary Payments: Bank Indicators
* O_LOC_INDICATOR_BANK_TEXT = "Documentary Payments: Bank Function ID Descriptions
* O_LOC_BANK_FIELDCONTROL = "Documentary Payments: Fld Ctrl for Banks in Financial Doc.
* O_LOC_KIND_TEXT = "Documentary Payments: Financial Document Type Descriptions
* O_LOC_BANKFUNCTION = "Documentary Payments: Bank Functions
* O_LOC_BANKFUNCTION_TEXT = "Documentary Payments: Bank Function Descriptions
* O_LOC_DOCUMENT = "Documentary Payments: Documents to be Presented
* O_LOC_DOCUMENT_TEXT = "Documentary Payments: Descr. for Documents to be Presented
* O_LOC_DOCUMENT_LINK = "Documentary Payments: Control Documents per Indicator
* O_LOC_FIELDCONTROL = "Documentary Payments: Indicators - Field Ctrl/Doc.Check
* O_LOC_FIELDCONTROL_TEXT = "Doc. Payments: Indicators: Field Ctrl/Doc.Check-Descriptions

EXCEPTIONS
INDICATOR_NOT_DEFINED = 1
.



IMPORTING Parameters details for LC_CUST_TABLES_READ

I_LANGUAGE - ABAP System Field: Language Key of Text Environment

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

I_AKART - Financial document processing: Type of financial document

Data type: T607I-AKART
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AKKTP - Financial document processing: Financial document category

Data type: T607I-AKKTP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BAFKT - Financial Document Processing: Bank Function

Data type: T607S-BAFKT
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for LC_CUST_TABLES_READ

O_LOC_KIND - Documentary Payments: Financial Document Type

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

O_LOC_AENDGRUND - Documentary Payments: Reasons for Change

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

O_LOC_AENDGRUND_TEXT - Documentary Payments: Reasons for Change - Descriptions

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

O_LOC_INDICATOR - Documentary Payments: Financial Document Control

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

O_LOC_INDICATOR_BANK - Documentary Payments: Bank Indicators

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

O_LOC_INDICATOR_BANK_TEXT - Documentary Payments: Bank Function ID Descriptions

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

O_LOC_BANK_FIELDCONTROL - Documentary Payments: Fld Ctrl for Banks in Financial Doc.

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

O_LOC_KIND_TEXT - Documentary Payments: Financial Document Type Descriptions

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

O_LOC_BANKFUNCTION - Documentary Payments: Bank Functions

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

O_LOC_BANKFUNCTION_TEXT - Documentary Payments: Bank Function Descriptions

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

O_LOC_DOCUMENT - Documentary Payments: Documents to be Presented

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

O_LOC_DOCUMENT_TEXT - Documentary Payments: Descr. for Documents to be Presented

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

O_LOC_DOCUMENT_LINK - Documentary Payments: Control Documents per Indicator

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

O_LOC_FIELDCONTROL - Documentary Payments: Indicators - Field Ctrl/Doc.Check

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

O_LOC_FIELDCONTROL_TEXT - Doc. Payments: Indicators: Field Ctrl/Doc.Check-Descriptions

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

EXCEPTIONS details

INDICATOR_NOT_DEFINED -

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

Copy and paste ABAP code example for LC_CUST_TABLES_READ 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_language  TYPE SY-LANGU, "   
lt_o_loc_kind  TYPE STANDARD TABLE OF T607A, "   
lv_indicator_not_defined  TYPE T607A, "   
lt_o_loc_aendgrund  TYPE STANDARD TABLE OF T607G, "   
lt_o_loc_aendgrund_text  TYPE STANDARD TABLE OF T607GT, "   
lt_o_loc_indicator  TYPE STANDARD TABLE OF T607I, "   
lt_o_loc_indicator_bank  TYPE STANDARD TABLE OF T607K, "   
lt_o_loc_indicator_bank_text  TYPE STANDARD TABLE OF T607KT, "   
lt_o_loc_bank_fieldcontrol  TYPE STANDARD TABLE OF T607S, "   
lv_i_akart  TYPE T607I-AKART, "   
lt_o_loc_kind_text  TYPE STANDARD TABLE OF T607AT, "   
lv_i_akktp  TYPE T607I-AKKTP, "   
lt_o_loc_bankfunction  TYPE STANDARD TABLE OF T607B, "   
lv_i_bafkt  TYPE T607S-BAFKT, "   
lt_o_loc_bankfunction_text  TYPE STANDARD TABLE OF T607BT, "   
lt_o_loc_document  TYPE STANDARD TABLE OF T607D, "   
lt_o_loc_document_text  TYPE STANDARD TABLE OF T607DT, "   
lt_o_loc_document_link  TYPE STANDARD TABLE OF T607E, "   
lt_o_loc_fieldcontrol  TYPE STANDARD TABLE OF T607F, "   
lt_o_loc_fieldcontrol_text  TYPE STANDARD TABLE OF T607FT. "   

  CALL FUNCTION 'LC_CUST_TABLES_READ'  "NOTRANSL: Akkreditiv: Einlesen von Customizingtabellen
    EXPORTING
         I_LANGUAGE = lv_i_language
         I_AKART = lv_i_akart
         I_AKKTP = lv_i_akktp
         I_BAFKT = lv_i_bafkt
    TABLES
         O_LOC_KIND = lt_o_loc_kind
         O_LOC_AENDGRUND = lt_o_loc_aendgrund
         O_LOC_AENDGRUND_TEXT = lt_o_loc_aendgrund_text
         O_LOC_INDICATOR = lt_o_loc_indicator
         O_LOC_INDICATOR_BANK = lt_o_loc_indicator_bank
         O_LOC_INDICATOR_BANK_TEXT = lt_o_loc_indicator_bank_text
         O_LOC_BANK_FIELDCONTROL = lt_o_loc_bank_fieldcontrol
         O_LOC_KIND_TEXT = lt_o_loc_kind_text
         O_LOC_BANKFUNCTION = lt_o_loc_bankfunction
         O_LOC_BANKFUNCTION_TEXT = lt_o_loc_bankfunction_text
         O_LOC_DOCUMENT = lt_o_loc_document
         O_LOC_DOCUMENT_TEXT = lt_o_loc_document_text
         O_LOC_DOCUMENT_LINK = lt_o_loc_document_link
         O_LOC_FIELDCONTROL = lt_o_loc_fieldcontrol
         O_LOC_FIELDCONTROL_TEXT = lt_o_loc_fieldcontrol_text
    EXCEPTIONS
        INDICATOR_NOT_DEFINED = 1
. " LC_CUST_TABLES_READ




ABAP code using 7.40 inline data declarations to call FM LC_CUST_TABLES_READ

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 LANGU FROM SY INTO @DATA(ld_i_language).
 
 
 
 
 
 
 
 
 
"SELECT single AKART FROM T607I INTO @DATA(ld_i_akart).
 
 
"SELECT single AKKTP FROM T607I INTO @DATA(ld_i_akktp).
 
 
"SELECT single BAFKT FROM T607S INTO @DATA(ld_i_bafkt).
 
 
 
 
 
 
 


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!