LWM_S_CFS_P2P SAP (Promise to Pay) Structure details
Description: Promise to Pay
Related tables to LWM_S_CFS_P2P
Access table LWM_S_CFS_P2P
Structure field list including key, data, relationships and ABAP select examples
LWM_S_CFS_P2P 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 "Promise to Pay" 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_LWM_S_CFS_P2P TYPE LWM_S_CFS_P2P.
The LWM_S_CFS_P2P table consists of various fields, each holding specific information or linking keys about Promise to Pay data available in SAP. These include CUSTOMER (Customer Numbers), CASE_GUID (FSCM-DM: GUID (Internal Key of Dispute Case)), EXT_KEY (Case ID), COMP_CODE (Company Code).. 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: Can be enhanced (character-type or numeric)
SAP LWM_S_CFS_P2P 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 |
CUSTOMER | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
CASE_GUID | FSCM-DM: GUID (Internal Key of Dispute Case) | BDM_CASE_GUID | CHAR | 32 | SYSUUID_C | ||||
EXT_KEY | Case ID | SCMG_EXT_KEY | CHAR | 12 | ALPHA | SCMG_EXT_KEY | |||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
INVOICE_NO | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
DOC_ITEM | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
FISCAL_YEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BILLING_DOC | Billing Document | VBELN_VF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
P2P_CURR | Currency of Promise to Pay | BDM_PROMISE_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
PROMISED_AMT | Amount Promised for Payment | BDM_PROMISED_AMOUNT | CURR | 15(2) | WERT8 | ||||
PROMISED_BY | Clerk That Gave the Promise to Pay | BDM_PROMISED_BY | CHAR | 40 | TEXT40 | ||||
CONTACT_MAIL | e-mail Address of Contact Person at Business Partner | FDM_CONTACT_EMAIL | CHAR | 128 | TEXT128 | ||||
CONTACT_TEL | Telephone Number of Contact Person at Business Partner | FDM_CONTACT_PHONE | CHAR | 30 | CHAR30 | ||||
CONTACT_FAX | Fax Number of Contact Person at Business Partner | FDM_CONTACT_FAX | CHAR | 30 | CHAR30 | ||||
CONTACT_FAXC | Country of Fax Number of Contact Person | FDM_CONTACT_FAXC | CHAR | 3 | Assigned to domain | LAND1 | |||
P2P_DUE_DATE | Date for Which Payment Is Promised | BDM_PROMISE_DUE_DATE | DATS | 8 | DATUM | ||||
PAID_AMOUNT | Amount Paid for Promise to Pay | FDM_PAID_P2P_AMOUNT | CURR | 15(2) | WERT8 | ||||
LAST_PAYMENT | Date of Last Payment | BDM_LAST_PAYMENT_DATE | DATS | 8 | DATUM | ||||
P2P_DATE | Date on Which Promise to Pay Was Given | BDM_PROMISE_DATE | DATS | 8 | DATUM | ||||
P2P_STATE | State of Promise to Pay | BDM_PROMISE_STATE | CHAR | 1 | BDM_PROMISE_STATE | ||||
P2P_LEVEL | Level of Promise to Pay | BDM_PROMISE_LEVEL | INT1 | 3 | INT1 | ||||
P2P_REF | Promise to Pay Reference | FDM_P2P_REF | CHAR | 30 | CHAR30 | ||||
INST_PLAN_TYPE | Installment Plan Type for Promise to Pay | FDM_INST_PLAN_TYPE | CHAR | 4 | CHAR4 | ||||
NO_OF_INST | Number of Installments in the Promise to Pay in Installments | BDM_NO_OF_INSTMNTS | INT4 | 10 | INT4 | ||||
PAID_OS | Installment Amounts Paid on Schedule | BDM_PAID_ON_SCHEDULE | CURR | 15(2) | WERT8 | ||||
PAID_NOT_OS | Installment Amounts Not Paid on Schedule | BDM_PAID_NOT_ON_SCHEDULE | CURR | 15(2) | WERT8 | ||||
INST_IS_OVERDUE | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | BOOLE_D | CHAR | 1 | BOOLE | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
.INCLU--AP | 0 | ||||||||
BSCHL | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
P2P_STATE_DESCR | Text, 40 Characters Long | TEXT40 | CHAR | 40 | TEXT40 | ||||
PROMISED_BY_KEY | Contact Person Key | BDM_CONTACT_KEY | CHAR | 10 | CHAR10 | ||||
LWM_CUSTOMER | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
CREATED_BY_ID | Created By | SCMG_CREATE_USER | CHAR | 12 | Assigned to domain | XUBNAME | |||
CREATED_BY | Full Name of Person | AD_NAMTEXT | CHAR | 80 | TEXT80 | ||||
IS_OWNER | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | BOOLE_D | CHAR | 1 | BOOLE |
Key field | Non-key field |
How do I retrieve data from SAP structure LWM_S_CFS_P2P using ABAP code?
As LWM_S_CFS_P2P 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 LWM_S_CFS_P2P as there is no data to select.How to access SAP table LWM_S_CFS_P2P
Within an ECC or HANA version of SAP you can also view further information about LWM_S_CFS_P2P 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