PTRV_CCCMAININ SAP (Structure for Transaction Lines in Credit Card Clearing) Structure details
Description: Structure for Transaction Lines in Credit Card Clearing
Related tables to PTRV_CCCMAININ
Access table PTRV_CCCMAININ
Structure field list including key, data, relationships and ABAP select examples
PTRV_CCCMAININ 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 "Structure for Transaction Lines in Credit Card Clearing" 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_PTRV_CCCMAININ TYPE PTRV_CCCMAININ.
The PTRV_CCCMAININ table consists of various fields, each holding specific information or linking keys about Structure for Transaction Lines in Credit Card Clearing data available in SAP. These include EMPLOYEE_NAME (Name of Employee From Credit Card Clearing), CREDIT_CARD_NUMBER (Credit Card Number), CENTRAL_CARD_FLAG (Indicator: Employee Credit Card/ Corporate Credit Card), PURCHASE_DATE (Date of Credit Card Transaction).. 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 PTRV_CCCMAININ 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 |
PERSONNEL_NUMBER | Personnel Number | P_PERNR | NUMC | 8 | PERNR | ||||
EMPLOYEE_NAME | Name of Employee From Credit Card Clearing | PTRV_CCC_NAME | CHAR | 50 | TEXT50 | ||||
CREDIT_CARD_NUMBER | Credit Card Number | C_NUM | CHAR | 19 | TEXT19 | ||||
CENTRAL_CARD_FLAG | Indicator: Employee Credit Card/ Corporate Credit Card | PTRV_CCC_CARDFLAG | CHAR | 1 | PTRV_CCC_CARDFLAG | ||||
PURCHASE_DATE | Date of Credit Card Transaction | PTRV_CCC_PURCHASE_DATE | DATS | 8 | DATUM | ||||
PURCHASE_TIME | Time Of Credit Card Transaction | PTRV_CCC_PURCHASE_TIME | CHAR | 6 | PTRV_CCC_PURCHASE_TIME | ||||
EXPENSE_CATEGORY | Credit Card Transaction Category | PTRV_CCC_CATEGORY | CHAR | 1 | PTRV_CCC_CATEGORY | ||||
EXPENSE_KEY | Transaction Key (Supplied by Credit Card Company) | CEKEY | CHAR | 10 | CEKEY | ||||
DEBIT_CREDIT_FLAG | Indicator Credit/Debit Credit Card Clearing | PTRV_CCC_DEBIT_CREDIT | CHAR | 1 | PTRV_CCC_DEBIT_CREDIT | ||||
ORIGINAL_AMOUNT | Numerical Amount in Original Currency (Credit Card Clearing) | PTRV_CCC_ORG_AMOUNT | NUMC | 10 | NUM10 | ||||
DECIMALS | Number of Decimal Places For Currency (Credit Card Clearing) | PTRV_CCC_DECIMALS | NUMC | 1 | NUM1 | ||||
ORIGINAL_CURRENCY | Original Currency In Credit Card File (ISO Code) | PTRV_CCC_ORG_CURRENCY | CHAR | 3 | ISOCD | ||||
COUNTRY | Country Where Credit Card Transaction Took Place (ISO Code) | PTRV_CCC_PURCHASE_COUNTRY | CHAR | 3 | INTCA3 | ||||
VAT_RATE | Value-Added Tax Rate (Amount) in Credit Card Clearing | ABRMWSTS | NUMC | 5 | NUM5 | ||||
EXCHANGE_RATE | Numerical Exchange Rate (7 Dec. Places) in Credit Card File | PTRV_CCC_EXCHANGE_RATE | NUMC | 11 | NUM11 | ||||
ACCOUNTING_AMOUNT | Nummerical Amount in Accounting Currency (Credit Card Clear) | PTRV_CCC_ACC_AMOUNT | NUMC | 10 | NUM10 | ||||
ADDITIONAL_CHARGE | Nummerical Additional Charges Amount (Credit Card Clearing) | PTRV_CCC_ADD_CHARGE | NUMC | 10 | NUM10 | ||||
TOTAL_AMOUNT | Numerical Total Amount (Credit Card Clearing) | PTRV_CCC_TOTAL_AMOUNT | NUMC | 10 | NUM10 | ||||
ADDITIONAL_DATA | No. of Additional Information Lines for Credit Card Trans. | PTRV_CCC_ADD_COUNT | NUMC | 2 | NUM2 | ||||
DESCRIPTION | Delivered Description of a Credit Card Transaction | C_TXT | CHAR | 50 | TEXT50 | ||||
DOCUMENT_NUMBER | Document Number of Credit Card Receipt | C_DOC | CHAR | 20 | TEXT20 | ||||
TRIP_NUMBER | Trip Number | REINR | NUMC | 10 | REINR |
Key field | Non-key field |
How do I retrieve data from SAP structure PTRV_CCCMAININ using ABAP code?
As PTRV_CCCMAININ 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 PTRV_CCCMAININ as there is no data to select.How to access SAP table PTRV_CCCMAININ
Within an ECC or HANA version of SAP you can also view further information about PTRV_CCCMAININ 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