LCPOS SAP (Transfer string for Line Item Reporting) Structure details
Description: Transfer string for Line Item Reporting
Structure field list including key, data, relationships and ABAP select examples
LCPOS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Transfer string for Line Item Reporting" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_LCPOS TYPE LCPOS.
The LCPOS table consists of various fields, each holding specific information or linking keys about Transfer string for Line Item Reporting data available in SAP. These include DOCNR (Doc. Number), DOCLN (Line item), RYEAR (Fiscal Year), POPER (Posting period).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP LCPOS structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
RCLNT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
DOCNR | Doc. Number | DOCNR | CHAR | 10 | ALPHA | BELNR | |||
DOCLN | Line item | LC_DOCLN | CHAR | 3 | DOCLN | ||||
RYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
TSL | Value in transaction currency | LC_VTCUR | CURR | 17(2) | WERTV9 | ||||
HSL | Value in local currency | LC_VLCUR | CURR | 17(2) | WERTV9 | ||||
KSL | Value in group currency | LC_VGCUR | CURR | 17(2) | WERTV9 | ||||
RTCUR | Transaction Currency | LC_RTCUR | CUKY | 5 | TCURC | WAERS | |||
RHCUR | Local currency of company | LC_RHCUR | CUKY | 5 | TCURC | WAERS | |||
RKCUR | Currency key for the group currency | LC_RKCUR | CUKY | 5 | TCURC | WAERS | |||
RCOMP | Company | RCOMP_D | CHAR | 6 | T880 | ALPHA | RCOMP | GCC | |
RASSC | Company ID of trading partner | LC_RASSC | CHAR | 6 | T880 | ALPHA | RCOMP | ||
RACCT | Consolidation item | RITEM | CHAR | 10 | T854 | ALPHA | RITEM | H_T854 | |
RMVCT | Transaction Type | RMVCT | CHAR | 3 | T856 | RMVCT | |||
RLEVL | Posting level | LC_RLEVL | CHAR | 1 | RLEVL | ||||
DOCTY | Document type | DOCTY_GC | CHAR | 2 | T876B | ALPHA | DOCTY_GC | BAR | |
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
USNAM | User name | LC_USNAM | CHAR | 12 | USNAM | USR | |||
AUTOM | Auto. indicator | LC_AUTOM | CHAR | 1 | TEXT1 | ||||
STOR1 | Identifier for reversal document | CO_STFLG | CHAR | 1 | FLAG | ||||
STOR2 | Indicator: Document has been reversed | LC_STOKZ | CHAR | 1 | FLAG | ||||
RVSDOCNR | Reverse Document Number | STBLG | CHAR | 10 | ALPHA | BELNR | |||
ORNDOCNR | Doc. no. of orig. doc. | ORNDOCNR | CHAR | 10 | ALPHA | BELNR | BLN | ||
ADFLD1 | First additional field for user-defined account assignments | ADFLD1 | CHAR | 10 | Assigned to domain | ADFLD1 | FK_ADFLD1 | ||
ADFLD2 | Second additional field for user-defined account assignments | ADFLD2 | CHAR | 10 | Assigned to domain | ADFLD2 | FK_ADFLD2 | ||
ADFLD3 | Third additional field for user-defined account assignments | ADFLD3 | CHAR | 10 | Assigned to domain | ADFLD3 | FK_ADFLD3 | ||
SGTXT | Document text | LC_SGTXT | CHAR | 50 | TEXT50 | ||||
DOCTX | Doc.type desc. | LC_BLTXT | CHAR | 30 | TEXT30 | ||||
POSTX | Item short text | PSTXT_GC | CHAR | 15 | TEXT15 | ||||
MVCTX | Transaction type description | LC_MVCTX | CHAR | 20 | TEXT20 | ||||
CPNAM | Name of the company | LC_CPNAM | CHAR | 30 | TEXT30 | ||||
PCNAM | Name of trading partner | LC_PCNAM | CHAR | 30 | TEXT30 | ||||
SELKZ | Selection indicator for list screens | SELKZ_LIST | CHAR | 1 | SELKZ | ||||
ACTIV | Two digit number | NUMC2 | NUMC | 2 | NUMC2 |
Key field | Non-key field |
How do I retrieve data from SAP structure LCPOS using ABAP code?
As LCPOS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on LCPOS as there is no data to select.How to access SAP table LCPOS
Within an ECC or HANA version of SAP you can also view further information about LCPOS and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects