FI Concepts

Hi all,
I am a layman to FI, can anyone provide me some basic concepts as well as some important topics where in i can understand the basic structure of FI FLow.
Thanks
Zaf.

Hi,
<b>Document flow confusion in SAP FI</b>
I have a problem understanding basic things like how a document flows in the Sap system. When posting a customer invoice the subledger will be debited with that amount, now my confusion is will the same amount be posted to the G/L only or the very same amount will also be posted to the reconciliation general ledger - making 3 postings or The recon acc is the G/L . I don't see 3 postings happening because then 2 debits will be Posted against one debit -please clarify me on this.
Also the different between the G/L, Special ledgers and the recon acc is not clear to me.
<b>Customer and Vendor accounts</b> are maintained in a subledger. Posting to these accounts will also be posted to the A/R and A/P reconciliation accounts. All Reconciliation accouints are GL accounts.
All <b>G/L accounts</b> are not reconciliation accounts.
Why is this done?
In large businesses, there will be hundreds/thousands of customers/vendors. All these are personalaccounts (there are three types of accounts: nominal, personal and real). These personal accounts are grouped in to sub-ledgers and any posting to them is reconciled to the G/L
via the reconciliation accounts.
For fulfilling completing the double entry system accounting the Reconciliation accounts i.e., Accounts Receivable and Accounts Payable are used. All the Vendors are grouped under Acounts Payable & Customers are grouped under Accounts Receivable. And also always any time the balance in reconciliation account shows as zero.
<b>Ex: 1) Vendors transaction:</b>
For Invoice posting:
Inventory A/c Dr
To Vendor A/c................Accounts Payable A/c (Reconciliation Ledger)
(In SAP since we are linking in the G/L Master Accounts Payable with the Reconciliation Accounts type setting as Vendors. Hence, with one entry 3 Accounts are automatically updated)
Accounts Payable is Liability & Inventory is Current Assets.
For Payment to Vendor:
Vendor A/c Dr.....Accounts Payable A/c
To Bank/ Cash A/c
<b>Ex:2) Customer Transaction:</b>
Sales Invoice Posting:
Customer A/c Dr...Accounts Receivable A/c (Reconciliation A/c)
To Sales A/c
Receipt Posting:
Bank A/c Dr
To Customer A/c...........Accounts Receivable A/c
In Normal Accounting the Reconciliation Accounts are called as Control Accounts and we pass 2 entries for each transaction i.e., Sale, as following:
1)  Customer A/c           Dr       (Sales Ledger / Accounts Receivable A/c)
        To Sales A/c                       (General Ledger)
   2)  Accounts Receivable A/c Dr  (General Ledger)
        To Customer A/c                 (Sales Ledger Adjustment A/c)
Hence, any time the Control A/c balance is zero.
These are basic accounting differentiation for different types of accoutns. This is a basic accounting concept and is not specifically mentioned anywhere in SAP terminology.
<b>Personal accounts:</b>
Accounts in the name of individuals, organizations etc.
For example, Company A A/c, XYZ limited co A/C, Suresh A/C, Indian Bank A/C etc
<b>Real Accounts:</b>
These are accounts related to assets, both real and tangible.
example, furniture a/c, machinery a/c, accounts receivables a/c etc
<b>Nominal Accounts:</b>
These are related to incomes/expenditures and profit/losses.
for example, sales A/c, salary a/c etc
<b>List of tables :</b>
AGKO Cleared Accounts
ANAR Asset Types
ANAT Asset type text
ANEK Document Header Asset Posting
ANEP Asset Line Items
ANEV Asset downpymt settlement
ANKT Asset classes- Description
ANLA Asset Master Record Segment
ANLB Depreciation terms
ANLC Asset Value Fields
ANLH Main asset number
AT02T Transaction Activity Category- Description
AT02A Transaction Code for Menu TIMN
AT10 Transaction type
AT10T Name of Transaction Type
BKDF Document Header Supplement for Recurring Entry
BKORM Accounting Correspondence Requests
BKPF Accounting Document Header
BLPK Document log header
BLPP Document log item
BLPR Document Log Index and Planned Order (Backflush)
BNKA Bank master record
BP000 Business Partner Master (General Data)
BPBK Doc.Header Controlling Obj.
BPEG Line Item Total Values Controlling Obj.
BPEJ Line Item Annual Values Controlling Obj.
BPEP Line Item Period Values Controlling Obj.
BPGE Totals Record for Total Value Controlling obj.
BPJA Totals Record for Annual Total Controlling Obj.
BSAD Accounting- Secondary Index for Customers (Cleared Items)
BSAK Accounting- Secondary Index for Vendors (Cleared Items)
BSAS Accounting- Secondary Index for G/L Accounts (Cleared Items)
BSEC One-Time Account Data Document Segment
BSEG Accounting Document Segment
BSID Accounting- Secondary Index for Customers
BSIK Accounting- Secondary Index for Vendors
BSIM Secondary Index, Documents for Material
BSIS Accounting- Secondary Index for G/L Accounts
CEPC Profit Center Master Data Table
CEPCT Texts for Profit Center Master Data
COBRA Settlement Rule for Order Settlement
COBRB Distribution Rules Settlement Rule Order Settlement
COKA CO Object- Control Data for Cost Elements
COSP CO Object- Cost Totals for External Postings
COSS CO Object- Cost Totals for Internal Postings
CRCO Assignment of Work Center to Cost Center
CSKA Cost Elements (Data Dependent on Chart of Accounts)
CSKB Cost Elements (Data Dependent on Controlling Area)
CSLA Activity master
FEBEP Electronic Bank Statement Line Items
FPLA Billing Plan
FPLT Billing Plan- Dates
GLPCT EC-PCA- Totals Table
KNA1 General Data in Customer Master
KOMK Pricing Communication Header
MAHNV Management Records for the Dunning Program
REGUT TemSe - Administration Data
SKA1 G/L Account Master (Chart of Accounts)
SKAT G/L Account Master Record (Chart of Accounts- Description)
SKB1 G/L account master (company code)
T003T Document Type Texts
T007S Tax Code Names
T087J Text
TAPRFT Text tab. for investment profile
TKA01 Controlling Areas
TKA09 Basic Settings for Versions
TKVS CO Versions
TZB0T Flow types text table
TZPAT Financial Assets Management product type texts
VBSEGS Document Segment for G/L Accounts Document Parking
VTBFHA Transaction
VTBFHAPO Transaction Flow
VTBFHAZU Transaction Activity
VTBFINKO Transaction Condition
VTIDERI Master Data Listed Options and Futures
VTIFHA Underlying transaction
VTIFHAPO Underlying transaction flows
VTIFHAZU Underlying transaction status table
VTIOF Options Additional Data
VWPANLA Asset master for securities
<b>SAP FI Transaction Code List</b>
How to reverse a cleared documents?
The following procedure is to be followed to reverse the cleared document.
1. Reset the cleared document and reverse the document.
Path # Accounting --> financial Accounting --> C/L > Document> Reset Cleared items - T. code : FBRA
In this screen select resetting and reverse radio button and give the reversal reason. : 01 and save the settings.
*-- Maddipati
F-01    Enter Sample Document
F-02    Enter G/L Account Posting
F-03    Clear G/L Account
F-04    Post with Clearing
F-05    Post Foreign Currency Valuation
F-06    Post Incoming Payments
F-07    Post Outgoing Payments
F-18    Payment with Printout
F-19    Reverse Statistical Posting
F-20    Reverse Bill Liability
F-21    Enter Transfer Posting
F-22    Enter Customer Invoice
F-23    Return Bill of Exchange Pmt Request
F-25    Reverse Check/Bill of Exch.
F-26    Incoming Payments Fast Entry
F-27    Enter Customer Credit Memo
F-28    Post Incoming Payments
F-29    Post Customer Down Payment
F-30    Post with Clearing
F-31    Post Outgoing Payments
F-32    Clear Customer
F-33    Post Bill of Exchange Usage
F-34    Post Collection
F-35    Post Forfaiting
F-36    Bill of Exchange Payment
F-37    Customer Down Payment Request
F-38    Enter Statistical Posting
F-39    Clear Customer Down Payment
F-40    Bill of Exchange Payment
F-41    Enter Vendor Credit Memo
F-42    Enter Transfer Posting
F-43    Enter Vendor Invoice
F-44    Clear Vendor
F-46    Reverse Refinancing Acceptance
F-47    Down Payment Request
F-48    Post Vendor Down Payment
F-49    Customer Noted Item
F-51    Post with Clearing
F-52    Post Incoming Payments
F-53    Post Outgoing Payments
F-54    Clear Vendor Down Payment
F-55    Enter Statistical Posting
F-56    Reverse Statistical Posting
F-57    Vendor Noted Item
F-58    Payment with Printout
F-59    Payment Request
F-60    Maintain Table: Posting Periods
F-62    Maintain Table: Exchange Rates
F-63    Park Vendor Invoice
F-64    Park Customer Invoice
F-65    Preliminary Posting
F-66    Park Vendor Credit Memo
F-67    Park Customer Credit Memo
F-90    Acquisition from purchase w. vendor
F-91    Asset acquis. to clearing account
F-92    Asset Retire. frm Sale w/ Customer
F.01    ABAP/4 Report: Balance Sheet
F.02    Compact Journal
F.03    Reconciliation
F.04    G/L: Create Foreign Trade Report
F.05    Foreign Currency Val.: Open Items
F.06    Foreign Currency Valuation:G/L Assts
F.07    G/L: Balance Carried Forward
F.08    G/L: Account Balances
F.09    G/L: Account List
F.0A    G/L: FTR Report on Disk
F.0B    G/L: Create Z2 to Z4
F.10    G/L: Chart of Accounts
F.11    G/L: General Ledger from Doc.File
F.12    Advance Tax Return
F.13    ABAP/4 Report: Automatic Clearing
F.14    ABAP/4 Report: Recurring Entries
F.15    ABAP/4 Report: List Recurr.Entries
F.16    ABAP/4 Report: G/L Bal.Carried Fwd
F.17    ABAP/4 Report: Cust.Bal.Confirmation
F.18    ABAP/4 Report: Vend.Bal.Confirmation
F.19    G/L: Goods/Invoice Received Clearing
F.1A    Customer/Vendor Statistics
F.1B    Head Office and Branch Index
F.20    A/R: Account List
F.21    A/R: Open Items
F.22    A/R: Open Item Sorted List
F.23    A/R: Account Balances
F.24    A/R: Interest for Days Overdue
F.25    Bill of Exchange List
F.26    A/R: Balance Interest Calculation
F.27    A/R: Periodic Account Statements
F.28    Customers: Reset Credit Limit
F.29    A/R: Set Up Info System 1
F.2A    Calc.cust.int.on arr.: Post (w/o OI)
F.2B    Calc.cust.int.on arr.: Post(with OI)
F.2C    Calc.cust.int.on arr.: w/o postings
F.2D    Customrs: FI-SD mast.data comparison
F.2E    Reconciliation Btwn Affiliated Comps
F.2F    Management Acct Group Reconciliation
F.2G    Create Account Group Reconcil. G/L
F.30    A/R: Evaluate Info System
F.31    Credit Management - Overview
F.32    Credit Management - Missing Data
F.33    Credit Management - Brief Overview
F.34    Credit Management - Mass Change
F.35    Credit Master Sheet
F.36    Adv.Ret.on Sls/Pur.Form Printout(DE)
F.37    Adv.rept.tx sls/purch.form print (BE
F.38    Transfer Posting of Deferred Tax
F.39    C FI Maint. table T042Z (BillExcTyp)
F.40    A/P: Account List
F.41    A/P: Open Items
F.42    A/P: Account Balances
F.44    A/P: Balance Interest Calculation
F.45    A/P: Set Up Info System 1
F.46    A/P: Evaluate Info System
F.47    Vendors: calc.of interest on arrears
F.48    Vendors: FI-MM mast.data comparison
F.4A    Calc.vend.int.on arr.: Post (w/o OI)
F.4B    Calc.vend.int.on arr.: Post(with OI)
F.4C    Calc.vend.int.on arr.: w/o postings
F.50    G/L: Profitability Segment Adjustmnt
F.51    G/L: Open Items
F.52    G/L: Acct Bal.Interest Calculation
F.53    G/L: Account Assignment Manual
F.54    G/L: Structured Account Balances
F.56    Delete Recurring Document
F.57    G/L: Delete Sample Documents
F.58    OI Bal.Audit Trail: fr.Document File
F.59    Accum.Clas.Aud.Trail: Create Extract
F.5A    Accum.Clas.Aud.Trail: Eval.Extract
F.5B    Accum.OI Aud.Trail: Create Extract
F.5C    Accum.OI Audit Trail: Display Extr.
F.5D    G/L: Update Bal. Sheet Adjustment
F.5E    G/L: Post Balance Sheet Adjustment
F.5F    G/L: Balance Sheet Adjustment Log
F.5G    G/L: Subseq.Adjustment(BA/PC) Sp.ErA
F.5I    G/L: Adv.Rep.f.Tx on Sls/Purch.w.Jur
F.61    Correspondence: Print Requests
F.62    Correspondence: Print Int.Documents
F.63    Correspondence: Delete Requests
F.64    Correspondence: Maintain Requests
F.65    Correspondence: Print Letters (Cust)
F.66    Correspondence: Print Letters (Vend)
F.70    Bill/Exchange Pmnt Request Dunning
F.71    DME with Disk: B/Excha. Presentation
F.75    Extended Bill/Exchange Information
F.77    C FI Maintain Table T045D
F.78    C FI Maintain Table T045B
F.79    C FI Maintain Table T045G
F.80    Mass Reversal of Documents
F.81    Reverse Posting for Accr./Defer.Docs
F.90    C FI Maintain Table T045F
F.91    C FI Maintain Table T045L
F.92    C FI Maintain T012K (Bill/Exch.)
F.93    Maintain Bill Liability and Rem.Risk
F.97    General Ledger: Report Selection
F.98    Vendors: Report Selection
F.99    Customers: Report Selection
F/LA    Create Pricing Report
F/LB    Change pricing reports
F/LC    Display pricing reports
F/LD    Execute pricing reports
F00     SAPoffice: Short Message
F000    Accounting
F010    ABAP/4 Reporting: Fiscal Year Change
F01N    Debit position RA single reversal
F01O    Vacancy RU single reversal
F01P    Accruals/deferrals single reversal
F01Q    Debit position MC single reversal
F01R    MC settlement single reversal
F01S    Reverse Periodic Posting
F01T    Reverse Acc./Def. General Contract
F040    Reorganization
F041    Bank Master Data Archiving
F042    G/L Accounts Archiving
F043    Customer Archiving
F044    Vendor Archiving
F045    Document Archiving
F046    Transaction Figures Archiving
F101    ABAP/4 Reporting: Balance Sheet Adj.
F103    ABAP/4 Reporting: Transfer Receivbls
F104    ABAP/4 Reporting: Receivbls Provisn
F107    FI Valuation Run
F110    Parameters for Automatic Payment
F111    Parameters for Payment of PRequest
F13E    ABAP/4 Report: Automatic Clearing
F150    Dunning Run
F48A    Document Archiving
F53A    Archiving of G/L Accounts
F53V    Management of G/L Account Archives
F56A    Customer Archiving
F58A    Archiving of Vendors
F61A    Bank archiving
F64A    Transaction Figure Archiving
F66A    Archiving of Bank Data Storage
F8+0    Display FI Main Role Definition
F8+1    Maintain FI Main Role Definition
F8+2    Display FI Amount Groups
F8+3    Maintain FI Amount Groups
F8B4    C FI Maintain Table TBKDC
F8B6N   C FI Maintain Table TBKPV
F8BC    C FI Maintain Table TBKFK
F8BF    C FI Maintain Table T042Y
F8BG    Maintain Global Data for F111
F8BH    Inconsistencies T042I and T042Y
F8BJ    Maintain Clearing Accts (Rec.Bank)
F8BK    Maintain ALE-Compatible Pmnt Methods
F8BM    Maintain numb.range: Payment request
F8BN    Corr.Acctg Documents Payment Block
F8BO    Payment request archiving
F8BR    Levels for Payment Requests
F8BS    Detail display of payment requests
F8BT    Display Payment Requests
F8BU    Create payment runs automatically
F8BV    Reversal of Bank-to-Bank Transfers
F8BW    Reset Cleared Items: Payt Requests
F8BZ    F111 Customizing
F8XX    Payment Request No. Ranges KI3-F8BM
FA39    Call up report with report variant
FAKA    Config.: Show Display Format
FAKP    Config.: Maintain Display Format
FAR1    S FI-ARI Maint. table T061A
FARA    S FI-ARI Maint. table T061P/Q
FARB    C FI-ARI Maint. table T061R
FARI    AR Interface: Third-party applicatns
FARY    Table T061S
FARZ    Table T061V
FAX1    BC sample SAP DE 2.1
FAX2    BC sample 2 SAP DE 2.1
FB00    Accounting Editing Options
FB01    Post Document
FB02    Change Document
FB03    Display Document
FB03Z   Display Document/Payment Usage
FB04    Document Changes
FB05    Post with Clearing
FB05_OLD Post with clearing
FB07    Control Totals
FB08    Reverse Document
FB09    Change Line Items
FB10    Invoice/Credit Fast Entry
FB11    Post Held Document
FB12    Request from Correspondence
FB13    Release for Payments
FB1D    Clear Customer
FB1K    Clear Vendor
FB1S    Clear G/L Account
FB21    Enter Statistical Posting
FB22    Reverse Statistical Posting
FB31    Enter Noted Item
FB41    Post Tax Payable
FB50    G/L Acct Pstg: Single Screen Trans.
FB60    Enter Incoming Invoices
FB65    Enter Incoming Credit Memos
FB70    Enter Outgoing Invoices
FB75    Enter Outgoing Credit Memos
FB99    Check if Documents can be Archived
FBA1    Customer Down Payment Request
FBA2    Post Customer Down Payment
FBA3    Clear Customer Down Payment
FBA6    Vendor Down Payment Request
FBA7    Post Vendor Down Payment
FBA7_OLD Post Vendor Down Payment
FBA8     Clear Vendor Down Payment
FBA8_OLD Clear Vendor Down Payment
FBB1    Post Foreign Currency Valn
FBBA    Display Acct Determination Config.
FBBP    Maintain Acct Determination Config.
FBCJ    Cash Journal
FBCJC0  C FI Maintain Tables TCJ_C_JOURNALS
FBCJC1  Cash Journal Document Number Range
FBCJC2  C FI Maint. Tables TCJ_TRANSACTIONS
FBCJC3  C FI Maintain Tables TCJ_PRINT
FBCOPY  Copy Function Module
FBD1    Enter Recurring Entry
FBD2    Change Recurring Entry
FBD3    Display Recurring Entry
FBD4    Display Recurring Entry Changes
FBD5    Realize Recurring Entry
FBD9    Enter Recurring Entry
FBDF    Menu Banque de France
FBE1    Create Payment Advice
FBE2    Change Payment Advice
FBE3    Display Payment Advice
FBE6    Delete Payment Advice
FBE7    Add to Payment Advice Account
FBF1    C80 Reporting Minus Sp.G/L Ind.
FBF2    Financial Transactions
FBF3    Control Report
FBF4    Download Documents
FBF5    Reports Minus Vendor Accounts
FBF6    Document Changes
FBF7    C80 Reports Minus Sp.G/L Ind.
FBF8    C84 Reports
FBFT    Customizing BDF
FBIPU   Maintain bank chains for partner
FBKA    Display Accounting Configuration
FBKF    FBKP/Carry Out Function (Internal)
FBKP    Maintain Accounting Configuration
FBL1    Display Vendor Line Items
FBL1N   Vendor Line Items
FBL2    Change Vendor Line Items
FBL2N   Vendor Line Items
FBL3    Display G/L Account Line Items
FBL3N   G/L Account Line Items
FBL4    Change G/L Account Line Items
FBL4N   G/L Account Line Items
FBL5    Display Customer Line Items
FBL5N   Customer Line Items
FBL6    Change Customer Line Items
FBL6N   Customer Line Items
FBM1    Enter Sample Document
FBM2    Change Sample Document
FBM3    Display Sample Document
FBM4    Display Sample Document Changes
FBMA    Display Dunning Procedure
FBME    Banks
FBMP    Maintain Dunning Procedure
FBN1    Accounting Document Number Ranges
FBN2    Number Range Maintenance: FI_PYORD
FBP1    Enter Payment Request
FBR1    Post with Reference Document
FBR2    Post Document
FBRA    Reset Cleared Items
FBRC    Reset Cleared Items (Payment Cards)
FBS1    Enter Accrual/Deferral Doc.
FBTA    Display Text Determin.Configuration
FBTP    Maintain Text Determin.Configuration
FBU2    Change Intercompany Document
FBU3    Display Intercompany Document
FBU8    Reverse Cross-Company Code Document
FBV0    Post Parked Document
FBV1    Park Document
FBV2    Change Parked Document
FBV3    Display Parked Document
FBV4    Change Parked Document (Header)
FBV5    Document Changes of Parked Documents
FBV6    Parked Document $
FBVB    Post Parked Document
FBW1    Enter Bill of Exchange Pmnt Request
FBW2    Post Bill of Exch.acc.to Pmt Request
FBW3    Post Bill of Exchange Usage
FBW4    Reverse Bill Liability
FBW5    Customer Check/Bill of Exchange
FBW6    Vendor Check/Bill of Exchange
FBW7    Bank file to file system (for FBWD)
FBW8    File to Bank (for Transaction FBWD)
FBW9    C FI Maintain Table T045DTA
FBWA    C FI Maintain Table T046a
FBWD    Returned Bills of Exchange Payable
FBWD2   Parameter Transaction for FBWD
FBWE    Bill/Exch.Presentatn - International
FBWQ    C FI Maintain Table T045T
FBWR    C FI Maintain Table T045W
FBWS    C FI Maintain Table T046s
FBZ0    Display/Edit Payment Proposal
FBZ1    Post Incoming Payments
FBZ2    Post Outgoing Payments
FBZ3    Incoming Payments Fast Entry
FBZ4    Payment with Printout
FBZ5    Print Check For Payment Document
FBZ8    Display Payment Run
FBZA    Display Pmnt Program Configuration
FBZG    Failed Customer Payments
FBZP    Maintain Pmnt Program Configuration
FC10    Financial Statements Comparison
FC11    Data Extract for FI Transfer
FC80    Document C80
FC82    Document C82
FCAA    Check Archiving
FCC1    Payment Cards: Settlement
FCC2    Payment Cards: Repeat Settlement
FCC3    Payment Cards: Delete Logs
FCC4    Payment Cards: Display Logs
FCCR    Payment Card Evaluations
FCH1    Display Check Information
FCH2    Display Payment Document Checks
FCH3    Void Checks
FCH4    Renumber Checks
FCH5    Create Check Information
FCH6    Change Check Information/Cash Check
FCH7    Reprint Check
FCH8    Reverse Check Payment
FCH9    Void Issued Check
FCHA    Check archiving
FCHB    Check retrieval
FCHD    Delete Payment Run Check Information
FCHE    Delete Voided Checks
FCHF    Delete Manual Checks
FCHG    Delete cashing/extract data
FCHI    Check Lots
FCHK    Check Tracing Initial Menu
FCHN    Check Register
FCHR    Online Cashed Checks
FCHT    Change check/payment allocation
FCHU    Create Reference for Check
FCHV    C FI Maintain Table TVOID
FCHX    Check Extract - Creation
FCIWCU  BW Customizing for CS
FCIWD00 Download InfoObject text
FCIWD10 Download InfoObject hierarchies
FCKR    International cashed checks
FCMM    C FI Preparations for consolidation
FCMN    FI Initial Consolidation Menu
FCV1    Create A/R Summary
FCV2    Delete A/R Summary
FCV3    Early Warning List
FC_BW_BEX       Business Explorer Analyser
FC_BW_RSA1      BW Administrator Workbench
FC_BW_RSZDELETE Delete BW Query Objects
FC_BW_RSZV      Maintain BW Variables
FD-1    Number range maintenance: FVVD_RANL
FD01    Create Customer (Accounting)
FD02    Change Customer (Accounting)
FD02CORE Maintain customer
FD03    Display Customer (Accounting)
FD04    Customer Changes (Accounting)
FD05    Block Customer (Accounting)
FD06    Mark Customer for Deletion (Acctng)
FD08    Confirm Customer Individually(Actng)
FD09    Confirm Customer List (Accounting)
FD10    Customer Account Balance
FD10N   Customer Balance Display
FD10NA  Customer Bal. Display with Worklist
FD11    Customer Account Analysis
FD15    Transfer customer changes: send
FD16    Transfer customer changes: receive
FD24    Credit Limit Changes
FD32    Change Customer Credit Management
FD33    Display Customer Credit Management
FD37    Credit Management Mass Change
FDCU    Loans customizing menu
FDFD    Cash Management Implementation Tool
FDI0    Execute Report
FDI1    Create Report
FDI2    Change Report
FDI3    Display Report
FDI4    Create Form
FDI5    Change Form
FDI6    Display Form
FDIB    Background Processing
FDIC    Maintain Currency Translation Type
FDIK    Maintain Key Figures
FDIM    Report Monitor
FDIO    Transport Reports
FDIP    Transport Forms
FDIQ    Import Reports from Client 000
FDIR    Import Forms from Client 000
FDIT    Translation Tool - Drilldown Report
FDIV    Maintain Global Variable
FDIX    Reorganize Drilldown Reports
FDIY    Reorganize Report Data
FDIZ    Reorganize Forms
FDK43   Credit Management - Master Data List
FDMN   
FDOO    Borrower's notes order overview
FDTA    TemSe/REGUT Data Administration
FDTT    Treasury Data Medium Administration
FEBA    Postprocess Electronic Bank Statmt
FEBC    Generate Multicash format
FEBMSG  Display Internet Messages
FEBOAS  Request Account Statement via OFX
FEBOFX  OFX Functions
FEBP    Post Electronic Bank Statement
FEBSTS  Search String Search Simulation
FESR    Importing of POR File (Switzerland)
FEUB    Adjust VIBEPP after EURO conversion
FEUI    Real Estate Implementation Guide
FF$3    Send planning data to central system
FF$4    Retrieve planning data
FF$5    Retrieve transmission results
FF$6    Check settings
FF$7    Check all external systems
FF$A    Maintain TR-CM subsystems
FF$B    Convert Planning Group
FF$C    Convert planning level
FF$D    Convert business areas
FF$L    Display transmission information
FF$S    Display transmission information
FF$X    Configure the central TR-CM system
FF-1    Outstanding Checks
FF-2    Outstanding Bills of Exchange
FF-3    Cash Management Summary Records
FF-4    CMF Data In Accounting Documents
FF-5    CMF Records fr.Materials Management
FF-6    CMF Records from Sales
FF-7    Forecast Item Journal
FF-8    Payment Advice Journal
FF-9    Journal
FF.1    Standard G/L Account Interest Scale
FF.3    G/L Account Cashed Checks
FF.4    Vendor Cashed Checks
FF.5    Import Electronic Bank Statement
FF.6    Display Electronic Bank Statement
FF.7    Payment Advice Comparison
FF.8    Print Payment Orders
FF.9    Post Payment Orders
FF.D    Generate payt req. from advices
FF/1    Compare Bank Terms
FF/2    Compare value date
FF/3    Archive advices from bank statements
FF/4    Import electronic check deposit list
FF/5    Post electronic check deposit list
FF/6    Deposit/loan mgmt analysis/posting
FF/7    Deposit/loan management int accruals
FF/8    Import Bank Statement into Cash Mgmt
FF/9    Compare Advices with Bank Statement
FF63    Create Planning Memo Record
FF65    List of Cash Management Memo Records
FF67    Manual Bank Statement
FF68    Manual Check Deposit Transaction
FF6A    Edit Cash Mgmt Pos Payment Advices
FF6B    Edit liquidity forecast planned item
FF70    Cash Mgmt Posit./Liquidity Forecast
FF71    Cash Position
FF72    Liquidity forecast
FF73    Cash Concentration
FF74    Use Program to Access Cash Concntn
FF7A    Cash Position
FF7B    Liquidity forecast
FF:1    Maintain exchange rates
FFB4    Import electronic check deposit list
FFB5    Post electronic check deposit list
FFL_OLD Display Transmission Information
FFS_OLD Display Transmission Information
FFTL    Telephone list
FFW1    Wire Authorization
FFWR    Post Payment Requests from Advice
FFWR_REQUESTS   Create Payment Requests from Advice
FF_1    Standard G/L Account Interest Scale
FF_3    G/L Account Cashed Checks
FF_4    Vendor Cashed Checks
FF_5    Import Electronic Bank Statement
FF_6    Display Electronic Bank Statement
Regards,
Padmam.

Similar Messages

  • Free goods concept in STO

    hi all,
    i have an issue regarding free goods for STO betn plants.
    our concept is to give free goods for ex- 10 out of 100 are free goods.
    when i am creating a po with item catagory U, the free goods indicator is become vanice. so i am unable to process this free goods.
    so if any settings is thr , then pls let me know.
    regards,
    susanta

    hi
    ru selling ur goods to ur plant?
    in sto ur not selling the material to ur plant
    so the issue of free goods is not there
    thats why u cant see any kind of basic cost condition in that
    as the material is transfer from one plant to another the inventory changes and so the the price in material master is get updated for the another plznt
    refer following docs
    with delivery
    http://help.sap.com/bp_blv1600/V5600/BBLibrary/HTML/134_EN_IN.htm
    without  delivery
    http://help.sap.com/bp_blv1600/V5600/BBLibrary/HTML/135_EN_IN.htm
    hope it clears
    regards
    kunal
    award if helpful

  • Concept of free –m command in Linux

    I wanted to know the concept of free –m command as there are different rows of Mem, -/+ buffers/cache & Swap in the output. As an example, it is showing 195 as free Mem in my server but 13850 in the free section of the -/+ buffers/cache. The output needs in depth knowledge of the different parameters of the command.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    This is my understanding. used and free column in line 2 can be used to find out total used and free memory for applications
    [oracle@test ~]$ free
    total used free shared buffers cached
    Mem: 264122724 253692112 10430612 0 2074864 178696468
    -/+ buffers/cache: 72920780 191201944
    Swap: 8388600 0 8388600
    select 264122724/1024/1024 "Total RAM" FROM DUAL; (264122724 ---from line 1 Mem)
    Total RAM
    251.887058
    select (253692112-(2074864+178696468)) "used for applications" from dual; (used from line 1 - (buffers + cached) from line 1)
    used for applications
    --------------------- (matches with used from line 2)
    72920780
    select 10430612+2074864+178696468 "total free for applications" from dual;
    total free for applications
    191201944 (matches with free from line 2)
    Edited by: vlethakula on Jan 17, 2013 7:18 AM

  • HR-ABAP-Infotypes concept

    Hi Masters,
                           Can you please let me know the perfect reason for infotypes concept in HR-ABAP.
    1 Why we are using infotypes and exactly what is purpose?
    2.Why we are using LDB's why cannot we extract data directly from database tables?
    3.Can you please give me clear explanations about these infotypes.

    Hi
    Infotype(s) are used in the Personnel Management (PA) module primarily. This is where personnel master data is stored. Data is grouped according to subject matter. The Human Resources component aims to enable the user to process employee data in an effective structure in accordance with business requirements. The data structure of infotypes mirrors a logical set of data records. Infotypes can be identified by their four-digit keys, for example, the Addresses infotype (0006). To facilitate reporting on past employee data, infotypes can be saved for specific periods.
    Some people use the term HR ABAP to describe the method of managing the infotype data. Typically HR logical databases are used which offers more secure methods of accessing the infotype data. Once the infotypes are declared, you can use standard macros to access the data. Table TRMAC holds the macro name and the code behind it. This makes developing HR programs much quicker and easy to turn around.
    HR uses INFOTYPES instead of tables.
    There are different sub modules exist in HR.
    For Personal Admn the Infotypes start with PA0000 to PA1999
    Time Related Infotypes start with PA2000 to PA2999.
    Orgn related Infotypes start with HRP1000 to HRP1999.
    All custom developed infotypes stsrat with PA9000 onwards.
    In payroll processing we use Clusters like PCL1,2,3 and 4.
    Instead of Select query we use PROVIDE and ENDPROVIDE..
    You have to assign a Logical Database in the attributes PNP.
    Go through the SAp doc for HR programming and start doing.
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bb/bdb041575911d189240000e8323d3a/frameset.htm
    see this link you would get information about types of infotypes
    Logical databases are special ABAP programs that retrieve data and make it available toapplication programs. The most common use of logical databases is still to read data fromdatabase tables by linkin them to executable ABAP programs.
    Logical databases contain Open SQL statements that read data from the database.You do not therefore need to use SQL in your own programs. The logical database reads theprogram, stores them in the program if necessary, and then passes them line by line to theapplication program or the function module LDB_PROCESS using an interface work area .
    For further info
    check link http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB.
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    <b>REward fi suefull</b>

  • Java package concept in ABAP Objects

    Hi, just a question on grouping of classes in ABAP Objects.
    In Java, you can group classes by "package" to avoid
    namespace collision, my question, in ABAP Objects, how
    do you group classes to avoid namespace collision?
    I know that there is package concept in SAP/ABAP but it
    is different concept in Java.
    Thanks in advanced for your reply.

    Hello One and Lonley,
    the package concept in ABAP and Java is quite different. In java the package name is part of the development object in ABAP not. So any class pool name is global unique. In combination with the restriction on 30 chars this leads often to somehow cryptic names.
    The only way to escape this somehow is the excessive use of local classes. That mean classes defined within main programs. If you are on 7.00 you may check FuGr SAPLSAUNIT_TREE_CTRL_LISTENER for this technique.
    Best Regards
      klaus

  • Help needed Displaying ALV  Secondary list without using oops concept

    Hi Experts
    Help needed Displaying ALV  Secondary list without using oops concept.
    its urgent
    regds
    rajasekhar

    hi chk this code
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
         I_CALLBACK_PF_STATUS_SET       = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
         IS_VARIANT                     = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    REPORT  Z_ALV_INTERACTIVE  MESSAGE-ID ZMSG_50651
                                    LINE-SIZE 100
                                    LINE-COUNT 60
                                    NO STANDARD PAGE HEADING.
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
       I_CALLBACK_PF_STATUS_SET         = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
        IS_VARIANT                      = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
      SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
                        WITH P_MTART EQ V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    plz reward if useful

  • Need help to modify a report written using Field-Groups Concept. - Part1

    Hello ABAP Experts,
    I need your help to modify the following report with following requirement as I have least knowledge
    about the field-group concept. Thats is the reason, I am pasting the whole code. As it is part of our
    production requirement. I really appreciate your help, If its sent modifying the code required.
    Modification required in the report.
    To allow the sales representatives to see billed shipments and open orders for the current month.
    1) Selection Screen Changes:
    u2022     Add selection by Sales group and Customer group
    u2022     Add sort by:     3. Ship-to / Material
    u2022     Add another selection box
    [ ] Open Orders and Shipments with the current month
    2)      For the new selection box, subtotal sales quantity and delivery quantity.
         If delivered, make the sales quantity zero in the subtotal
    Current report displays, in Selection Screen
    Sales org:
    Person Name:
    Material:
    Plant:
    Sales Office:
    Ship to Name:
    Ship to Number:
    Sorts Report by : 1. Person Name 2. Material
    Check Boxes : 1. Open Orders 2. Delayed Orders.
    report  zorder  LINE-SIZE 170
                      LINE-COUNT 58
                      MESSAGE-ID zv
                      NO STANDARD PAGE HEADING.
    TABLES:
    cdhdr,                                 "Change Doc Header
    cdpos,                                 "Change Doc Item
    kna1,                                  "Customer master
    likp,                                  "Delivery Header
    lips,                                  "Delivery Item
    *lips,                                 "Delivery Item
    zvbpa_lfa1,                            "Vendor Master
    makt,                                  "Material Desc
    t001w,                                 "Plant
    tvkbt,                                 "Sales Office
    tvko,                                  "Sales Organizations
    vbak,                                  "Sales Header
    vbap,                                  "Sales Item
    zvvbak,                                "Sales Hdr - Time calc
    vbup,                                  "Item status
    vbep,                                  "Sales Schedule Line
    vbfa,                                  "Flow documents
    vbpa,                                  "Partners
    vbrk,                                  "Billing Header
    vbrp.                                  "Billing Item
    SELECT-OPTIONS:
      s_vkorg FOR vbak-vkorg OBLIGATORY,
      s_ernam FOR vbak-ernam,
      s_matnr FOR vbap-matnr,
      s_werks FOR vbap-werks,
      s_vkbur FOR vbak-vkbur,
      s_name1 FOR kna1-name1,
      s_kunnr FOR kna1-kunnr.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(49) text-c20.
    PARAMETERS: p_sort TYPE n DEFAULT '1'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 19(40) text-022.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 19(40) text-023.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 19(40) text-024.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN COMMENT 19(40) text-070.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN BEGIN OF BLOCK b20 WITH FRAME.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS:p_open AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(48) text-072.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS:p_delay AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(48) text-073.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b20.
    DATA:
    vbeln(11),                             "Document number
    cancel_dt TYPE d,                      "Cancellation Date
    BEGIN OF tabkey,                       "Tabkey
    mandant LIKE sy-mandt,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    END OF tabkey,
    name1_sp1 LIKE lfa1-name1,             "Sales Carrier Name
    name1_sp2 LIKE lfa1-name1,             "Delivery Carrier Name
    datum-1 TYPE d,                        "Current Dt Less 1
    datum-14 TYPE d,                       "Current Dt Less 14
    datum-90 TYPE d,                       "Current Dt Less 90
    rpt_hdr1(170),                         "Report Header 1
    rpt_hdr2(170),                         "Report Header 2
    rpt_hdr3(170),                         "Report Header 3
    cb_hdr1(170),                          "Control Break Header 1
    line_pos1 TYPE i,                      "Line Print Position HDR1
    line_pos2 TYPE i,                      "Line Print Position HDR2
    line_pos3 TYPE i,                      "Line Print Position DET2
    status,                                "Order Status
    open,                                  "Open Order
    delayed VALUE 'D',                     "Delayed Order
    v_comp(30).                            "Company Text Field
    DATA: v_flagh2.  " Flag for header 2 & 3
    DATA: ls_comwa LIKE vbco6. "Structure for flow information
    DATA: t_vbfa_tab TYPE STANDARD TABLE OF vbfa WITH HEADER LINE."Itab
    for flow information
    data: g_trans_id type vttk-tdlnr. "get transport id from flow
      information
      data  v_sales_org_cpimex type vkorg value  '3300'.
      FIELD-GROUPS:
      header,
      order.
      INSERT
      status                                 "Status
      vbak-vkbur                             "Sales Office
      vbak-ernam                             "Created By
      kna1-kunnr                             "Customer
      kna1-name1                             "Customer Name
      vbap-matnr                             "Material
      vbap-werks                             "Plant
      vbep-lddat                             "Load Dt
      vbap-vbeln                             "Sales Document
      INTO header.
      INSERT
      kna1-ort01                             "City
      kna1-regio                             "Region
      likp-traid                             "Transport ID
      lips-vbeln                             "Delivery Document
      lips-ntgew                             "Net Wt
      lips-gewei                             "Unit of Weight
      vbap-kwmeng                            "Order Qty
      vbap-vrkme                             "Sales Unit
      vbak-bstnk                             "Customer PO
      vbak-erdat                             "Sales Create Dt
      vbak-ihrez                             "PO Release
      vbak-vdatu                            "Req Delivery Dt
      vbak-vzeit                            "Req Delivery Time
      vbfa-vbeln                             "Goods issue doc
      vbrk-vbeln                             "Billing Document
      name1_sp1                              "Sales Carrier
      name1_sp2                              "Delivery Carrier
      INTO order.
    INITIALIZATION.
    AT SELECTION-SCREEN.
      IF NOT p_sort BETWEEN 1 AND 2.
        MESSAGE e022 WITH p_sort.
      ENDIF.
    * Report 1 or more of cancelled, delayed or open
      IF p_open IS INITIAL AND
         p_delay IS INITIAL.
        MESSAGE e023.
      ENDIF.
    START-OF-SELECTION.
    * Load Company Name
      WRITE 'XYZ INC'(000) TO v_comp.
    * Calculate Date Range
      datum-1 = sy-datum - 1.
      datum-14 = sy-datum - 14.
      datum-90 = sy-datum - 90.
    * Compose Parameter Header
      PERFORM parm_hdr.
    ** Compose Report Header
      v_flagh2 = 1.
      PERFORM data_selection.
    END-OF-SELECTION.
    * Determine Sort
      CASE p_sort.
        WHEN 1.
          SORT BY status vbak-ernam kna1-name1 kna1-kunnr
                  vbep-lddat vbap-vbeln.
        WHEN 2.
          SORT BY status vbap-matnr vbap-werks vbep-lddat
                  vbap-vbeln.
      ENDCASE.
      LOOP.
        AT NEW status.
          CASE status.
            WHEN delayed.
              WRITE 'Delayed Orders'(061) TO rpt_hdr1.
            WHEN OTHERS.
              WRITE 'Open Orders'(062) TO rpt_hdr1.
          ENDCASE.
          NEW-PAGE.
        ENDAT.
        AT NEW vbak-ernam.
          IF p_sort = 1.
            CLEAR cb_hdr1.
            WRITE 'CAA:'(064) TO cb_hdr1.
            WRITE vbak-ernam TO cb_hdr1+5.
            NEW-PAGE.
          ENDIF.
        ENDAT.
        AT NEW vbap-matnr.
          IF p_sort = 2.
            CLEAR makt.
            SELECT SINGLE * FROM makt
                WHERE spras = sy-langu AND
                      matnr = vbap-matnr.
            CLEAR cb_hdr1.
            WRITE 'Material:'(042) TO cb_hdr1.
            WRITE vbap-matnr TO cb_hdr1+10.
            WRITE makt-maktx TO cb_hdr1+21.
            NEW-PAGE.
          ENDIF.
        ENDAT.
        AT NEW vbap-werks.
          AT order.
            RESERVE 3 LINES.
            SKIP 1.
            NEW-LINE.
    * Indicate new open item
            WRITE vbap-vbeln TO vbeln.
    * Find Transport ID
    * Fill the structure LS_COMWA
            ls_comwa-mandt = sy-mandt.
            ls_comwa-vbeln = vbap-vbeln.
            CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
              EXPORTING
                comwa    = ls_comwa
              TABLES
                vbfa_tab = t_vbfa_tab.
            IF sy-subrc EQ 0.
              READ TABLE t_vbfa_tab WITH KEY vbtyp_n = '8'.
              IF sy-subrc EQ 0.
                SELECT SINGLE tdlnr INTO g_trans_id
                  FROM vttk WHERE tknum = t_vbfa_tab-vbeln.
                CONDENSE g_trans_id.
              ENDIF.
            ENDIF.
            IF vbak-erdat >= datum-1.
              vbeln+10 = 'N'.
            ENDIF.
            CASE p_sort.
              WHEN 1.
                WRITE 1 vbak-vkbur.
                WRITE 8 kna1-name1.
                WRITE 44 vbeln.
                WRITE 56 vbap-matnr.
                WRITE:
                    75 vbap-kwmeng LEFT-JUSTIFIED,
                     vbap-vrkme,
                    100 vbak-bstnk,
                     vbak-ihrez,
                    134 vbak-vdatu,
                        vbak-vzeit,
                    154 vbep-lddat.
                WRITE 166 vbap-werks.
                NEW-LINE.
                WRITE:
                  5  kna1-ort01,
                  41 kna1-regio.
                IF name1_sp2 IS INITIAL.
                  WRITE:
                    45 name1_sp1,
                ELSE.
                  WRITE 45 name1_sp2.
                  IF name1_sp1 = name1_sp2.
                    WRITE ' '.
                  ELSE.
                    WRITE '*'.
                  ENDIF.
                ENDIF.
                IF  vbak-vkorg =  v_sales_org_cpimex .
                  WRITE  81 g_trans_id.
                ELSE.
                  WRITE  81 likp-traid.
                ENDIF.
                WRITE:
                  102 lips-vbeln,
                  115 lips-ntgew NO-ZERO LEFT-JUSTIFIED,
                      lips-gewei,
                  140 vbfa-vbeln,
                  152 vbrk-vbeln.
              WHEN 2.
                WRITE 1 vbak-ernam.
                WRITE 14 vbak-vkbur.
                WRITE 21 kna1-name1.
                WRITE 57 vbeln.
                WRITE:
                    69 vbap-kwmeng LEFT-JUSTIFIED,
                        vbap-vrkme,
                    92 vbak-bstnk,
                        vbak-ihrez,
                    126 vbak-vdatu,
                      vbak-vzeit,
                    146 vbep-lddat.
                WRITE 162 vbap-werks.
                NEW-LINE.
                WRITE:
                  5  kna1-ort01,
                  41 kna1-regio.
                IF name1_sp2 IS INITIAL.
                  WRITE:
                    45 name1_sp1,
                ELSE.
                  WRITE 45 name1_sp2.
                  IF name1_sp1 = name1_sp2.
                    WRITE ' '.
                  ELSE.
                    WRITE '*'.
                  ENDIF.
                ENDIF.
                IF  vbak-vkorg =  v_sales_org_cpimex .
                  WRITE  81 g_trans_id.
                ELSE.
                  WRITE  81 likp-traid.
                ENDIF.
                WRITE:
                   102 lips-vbeln,
                   115 lips-ntgew NO-ZERO LEFT-JUSTIFIED,
                       lips-gewei,
                   140 vbfa-vbeln,
                   152 vbrk-vbeln.
            ENDCASE.
          ENDAT.
        ENDLOOP.
    *       FORM PARM_HDR                                                 *
    FORM parm_hdr.
      WRITE 'Program selections'(101) TO rpt_hdr1.
      WRITE 'Sign'(102) TO rpt_hdr1+29.
      WRITE 'Option'(103) TO rpt_hdr1+34.
      WRITE 'From'(104) TO rpt_hdr1+41.
      WRITE 'To'(105) TO rpt_hdr1+77.
    ENDFORM.                    "PARM_HDR
    *       FORM RPT_HDR                                                  *
    FORM rpt_hdr.
      CASE p_sort.
        WHEN 1.               "When sort by CAA
          WRITE 1'SOff'(066).
          WRITE 8'Customer'(009).
          WRITE 44'Sales Doc'(010).
          WRITE 56'Material'(031).
          WRITE 75'Sales Qty'(011).
          WRITE 100'Customer PO'(012).
          WRITE 134'Req.Del.Dt & Tm'(014).
          WRITE 154'Load Dt'(015).
          WRITE 166'Plnt'(016).
          NEW-LINE.
          WRITE 5'City'(017).
          WRITE 41'Reg'(069).
          WRITE 45'Carrier'(018).
          WRITE 81'Transport ID'(019).
          WRITE 102'Dlvry Doc'(021).
          WRITE 115'Dlvry Qty'(025).
          WRITE 140'PGI Doc'(026).
          WRITE 152'Billng Doc'(027).
        WHEN 2.               "When sort by Material
          WRITE 1'Created By'(008).
          WRITE 14'SOff'(066).
          WRITE 21'Customer'(009).
          WRITE 57'Sales Doc'(010).
          WRITE 69'Sales Qty'(011).
          WRITE 92'Customer PO'(012).
          WRITE 126'Req.Del.Dt & Tm'(014).
          WRITE 146'Load Dt'(015).
          WRITE 162'Plnt'(016).
          NEW-LINE.
          WRITE 5'City'(017).
          WRITE 41'Reg'(069).
          WRITE 45'Carrier'(018).
          WRITE 81'Transport ID'(019).
          WRITE 102'Dlvry Doc'(021).
          WRITE 115'Dlvry Qty'(025).
          WRITE 140'PGI Doc'(026).
          WRITE 152'Billng Doc'(027).
      ENDCASE.
    ENDFORM.                    "RPT_HDR
    INCLUDE zrpthdri.
    WRITE:
    / rpt_hdr1.
    ULINE.
    IF v_flagh2 <> 0.
      PERFORM rpt_hdr.  "Write secondary header
      ULINE.
    * Control Break Header
      WRITE / cb_hdr1.
    ENDIF.
    Continued in Part-2
    Thanks  a ton in advance.
    Mythili Sharma
    Edited by: Mythili sharma on Mar 30, 2009 3:32 AM
    Edited by: Rob Burbank on Mar 30, 2009 10:46 AM

    Hello ABAP Experts,
    I need your help to modify the following report with following requirement as I have least knowledge about the field-group concept. Thats is the reason, I am pasting the whole code. As it is part of our production requirement. I really appreciate your help, If its sent modifying the code required.
    Modification required in the report.
    To allow the sales representatives to see billed shipments and open orders for the current month.
    1) Selection Screen Changes:
    u2022     Add selection by Sales group and Customer group
    u2022     Add sort by:     5. Ship-to / Material
    u2022     Add another selection box
    [ ] Open Orders and Shipments with the current month
    2)      For the new selection box, subtotal sales quantity and delivery quantity.
         If delivered, make the sales quantity zero in the subtotal
    Current report displays, in Selection Screen
    Sales org:
    Person Name:
    Material:
    Plant:
    Sales Office:
    Ship to Name:
    Ship to Number:
    Sorts Report by :
    1. Person Name
    2. Material
    3. Plant
    4. Sales Office
    Check Boxes :
    1. Open Orders
    2. Delayed Orders
    3.Cancelled Orders
    PLEASE DOWNLOAD THE COMPLETE REPORT FROM THE FOLLOWING LINK
    << Link removed >>
    It would be a great help, If the program is modified according to the requirement and snd it back through send space and send link, even if u send the necessary changes to be done in the report is also appreciable.
    Thanks a ton in adanvce
    Mythili
    I wanted to close this thread as I could not put my question in a proper format. So please reply in the new thread which is posted.
    Edited by: Mythili sharma on Mar 30, 2009 2:16 PM
    Edited by: Rob Burbank on Mar 30, 2009 4:24 PM

  • Enquiry in class concepts

    Hi,
                  I have done alv report with class concepts..
                  Editable alv is there in my report   .After editing the field suppose
                 field-1 = 'S' ,
                  field-2 = 'R'.
                 it will update the  2 field in ztable .
                 But the problem I am facing was...
                 Suppose if I am entering the field-1 = 'S'.again.
                 I want to show the message ..that it had already updated...
               How to capture the entering field in alv using class concepts.
                Can anyone plz give me the code.
    Pooja

    Hi
    Use this new value field as a paramter
    and define a method get_value.
    so before updating next time.
    Call the method
    Get_value and check wehtehr a value already exist with this new parameter value>
    if a value exist raise an error message with event handlers.
    Reward points if useful
    Regards
    Anji

  • How to craete Multiple lines in Colum name in ALV using OO concept

    Hi All,
    I have devloped an ALV tree Report using OO Concept, and my column names are very big say like 100 characters.So now i want display that text in 3 or 4 lines.Is there any way that text can be wrapped up and displayed on the subsequent line of the cloum name.
    For eg. My requirement is like below.
    The text to be dispalyed:
    Leave balance for the year ending 31st mar 2005
    Display outout column name should look like this
    " Leave balance for the year
      ending 31st mar2005."
    So as you see i want it in two lines or may be more if it can be fixed.
    Let me know if its possible..
    Thanks
    Umang

    Hi Umang
    This is a very common question but unfortunately there is no way to implement column headers having more than one line.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • ALV report in OO concept

    hi all
    I am working on ALV report in OO concept. and facing in some difficulties in sorting, subtotal, coloring etc.. so it would be great help if there some sample program which can handle all this..
    ***Create new instance ALV table object
        TRY.
            CALL METHOD cl_salv_table=>factory
              IMPORTING
                r_salv_table = o_alv
              CHANGING
                t_table      = i_mara.
          CATCH cx_salv_msg INTO lc_msg .
        ENDTRY.
    ***.Enable Generic ALV functions
        lo_functions = o_alv->get_functions( ).
        lo_functions->set_all( ).
    lo_functions->set_default( abap_true ).
    ***Sorting
        lo_sorts = o_alv->get_sorts( ).
    lo_sorts->add_sort( columnname = 'BRGEW' subtotal = abap_true ).
        o_alv->display( ).
    i tried this one but it is telling no column found and not doing subtotal..
    pls giude
    thanks
    Edited by: JaiKarthik on Dec 7, 2009 4:17 AM

    Hi You have to use ls_fieldcat-do_sum statement in your coding Check this sample report to display output in total & subtotal &---- *& Report ZALVTOTAL * *& * &---- *& * *& * &---- REPORT ZALVTOTAL . TYPES : BEGIN OF ty_vbak, vkorg TYPE vbak-vkorg, " Sales organization kunnr TYPE vbak-kunnr, " Sold-to party vbeln TYPE vbak-vbeln, " Sales document netwr TYPE vbak-netwr, " Net Value of the Sales Order waerk TYPE vbak-waerk, " Document currency END OF ty_vbak. DATA: vbak TYPE vbak, gt_vbak TYPE TABLE OF ty_vbak. SELECT-OPTIONS : s_vkorg FOR vbak-vkorg, " Sales organization s_kunnr FOR vbak-kunnr, " Sold-to party s_vbeln FOR vbak-vbeln. " Sales document SELECTION-SCREEN : SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max. PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY. SELECTION-SCREEN END OF LINE. ---- INITIALIZATION. v_1 = 'Maximum of records to read'. ---- START-OF-SELECTION. PERFORM f_read_data. PERFORM f_display_data. ---- * Form f_read_data ---- FORM f_read_data. SELECT vkorg kunnr vbeln netwr waerk UP TO p_max ROWS INTO TABLE gt_vbak FROM vbak WHERE kunnr IN s_kunnr AND vbeln IN s_vbeln AND vkorg IN s_vkorg. ENDFORM. " F_READ_DATA ---- * Form f_display_data ---- FORM f_display_data. TYPE-POOLS: slis. " ALV Global types DEFINE m_fieldcat. add 1 to ls_fieldcat-col_pos. ls_fieldcat-fieldname = &1. ls_fieldcat-ref_tabname = 'VBAK'. ls_fieldcat-do_sum = &2. ls_fieldcat-cfieldname = &3. append ls_fieldcat to lt_fieldcat. END-OF-DEFINITION. DEFINE m_sort. add 1 to ls_sort-spos. ls_sort-fieldname = &1. ls_sort-up = 'X'. ls_sort-subtot = &2. append ls_sort to lt_sort. END-OF-DEFINITION. DATA: ls_fieldcat TYPE slis_fieldcat_alv, lt_fieldcat TYPE slis_t_fieldcat_alv, lt_sort TYPE slis_t_sortinfo_alv, ls_sort TYPE slis_sortinfo_alv, ls_layout TYPE slis_layout_alv. m_fieldcat 'VKORG' '' ''. m_fieldcat 'KUNNR' '' ''. m_fieldcat 'VBELN' '' ''. m_fieldcat 'NETWR' 'X' 'WAERK'. m_fieldcat 'WAERK' '' ''. m_sort 'VKORG' 'X'. " Sort by vkorg and subtotal m_sort 'KUNNR' 'X'. " Sort by kunnr and subtotal m_sort 'VBELN' ''. " Sort by vbeln ls_layout-cell_merge = 'X'. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort TABLES t_outtab = gt_vbak. ENDFORM. " F_DISPLAY_DATA
    Regards,
    Arun.

  • Open PO Concept

    I want to know whether anybody has vested time in customizing Open PO concept which is nothing but Blanket Functionality instead of Amount & Price we need to manage against the quantity & Price and create releases for the PO. I know this is a unique requirement.
    Thx.
    null

    Hi ,
    I dont think this feature is possible.
    But i would suggest a work around ...
    Why dont u have a db trigger to restrict further releases once the required quantity
    is reached..
    null

  • Basic Java Concepts

    I'm a Java novice, trying to learn it along with Jdeveloper side by side. My learning of the Java fundamental concepts led to the below understanding, please see if my understanding is not correct in any way.
    The fundamental concept with Java is a CLASS, whose feature are its state and behaviour. The state of the class is stored in the definition of the class itself via ATTRIBUTES or in lay man's language VARIABLES. These attributes can be static, public, private or protectd.
    The behaviour of a class is stored via METHODS within the definition of a class. METHOD is nothing but a block of code performaing a certain action.
    A good example of a CLASS's state a behaviour can be a stock. A stocks state is available via its ticker symbol, price of the stock, and the date i.e. on a given date, a given stock has a particular price. So there are 3 attributes.
    Now METHOD in the context of the above example is a means to capture the ever changing state of the above 3 attributes.
    In short attributes or fields ( defined via declaration of variables inside the class) capture the state of an object, where as its interaction with the world external to the object captured by METHOD.
    These 3 attributes are common to thousands of stock's in the outside market, so a common class called STOCK can be created to capture the state and behaviour of thousands of stocks. The same class can be called at the same time to capture the behaviour of N number of stocks. When a class is called as explained, each such call is called an INSTANCE of the CLASS. An OBJECT is an instance of SUCH a class.
    Similar to CLASS is INTERFACE. A given class can only call the attributes and methods from one another class. If a class needs to inherit from more than one another class then it is accomplished via an INTERFACE. An Interface contains only the spec of the methods from other classes and not the entire piece of code for he method itself. The methods that are declared in the interface are implemented in the classes to which they belong to.
    A PACKAGE in turn is a collected of CLASSES and INTERFACES. A PACKAGE helps in keeping the code oraganized and grouped by the functionaliy it delivers.
    A Class can in turn be either a SUPERCLASS or a SUBCLASS. In our given example CLASS, there are some stocks which offer OPTIONS and some which do not. In order to cover that behaviours we will like to create sub class called STOCSKWITHOPTIONS, which will then refer to STOCK class to inherit the attributes and methods from that class. In this case STOCK is the SUPERCLASS, and STOCKOPTIONS is the SUBCLASS.
    Thanks in advance

    Nagarjuna,
    there is an excellent tutorial series from Sun for basic and advanced Java features. It contains a lot of examples and explains every concept. You even download the tutorials.
    See http://java.sun.com/javase/reference/tutorials.jsp
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Billing and excise invoice for composits tax concept

    Hi,
      I want to know the billing process, we are in manufacturing as well as in service providing,  in manufacturing  for the finish material  for the billing we follow the process,  after delivery with VL01N  we create the billing document with VF01  then ref. to VF01 document we do J1IIN  then in VF02 we release the billing document for accounting,  and in case of service invoice  from sales order we directly creat the billing document with VF01 and release to accounting,  so I want to confirm whethere this is the right process,
    Second think which I want to confirm  as per the new composit tax concept , we are giving service along wit material  the tax is service tax on
    BASE amount                          XYZ
    Service tax      10%                  on XYZ
    Ecess               2%                    On service tax amount
    SECES              1%                     on service tax
    BVAT                                      Addition of all above
    VAT                  12 %              on BVAT amount
    ,  for this which procedure to be follow,     
    VA01 , VL01N, VF01 , VF02 release to accounting  or
    VA01, VL01N, VF01, J1IIN, VF02, release to accounting.
    regards,
    zafar

    If your requirement to have a pricing procedure to meet this requirement, try as follows:-
    100:::PR00::::Base Price
    110:::ZSER::::Service Tax::::100
    120:::JECS::::Ecess::::::::::::::110:::::::110
    130:::JA1X::::SHECess:::::::::110:::::::110
    140:::BVAT::: (Not clear what is this)
    150:::JIN7::::Vat:::::::::::::::::::::140:::::::140
    In this, if you want to levy ED also, then you need to insert appropriately in the above
    thanks
    G. Lakshmipathi

  • Creating a report in Web dynpro using OOPS concept

    Hi all,
             Iam new to web Dynpro, i need to create a report in Web Dynpro  using oops concept. can any one guide me regarding it.
    Regads,
    Easter

    Hi,
    Please refer to these links -
    DEMO_COMMON_ASSISTANCE1 -Example for standard component
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    Regards,
    Lekha.

  • SSO and OID concepts

    Is there any document which explains the concept and architecure of SSO and OID concepts in simple words ??

    Check the following notes/documents:
    Overview of Oracle Single Sign-On
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28957/toc.htm
    Note: 261914.1 - Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and Oracle Single Sign-On
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261914.1
    Note: 233436.1 - Installing Oracle Application Server 10g with Oracle E-Business Suite Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=233436.1

  • How can I use the concept knowed as "MasterPage" with "Content" in JSF ?

    In ASP.NET ( Microsoft .NET ) and in PRADO Framework (PHP) there is concept to separate the portions of page in separate templates.
    For example, all pages of this site share the same header and footer portions.
    If we repeatedly put header and footer in every page source file, it will be a maintenance headache if in future we want to something in the header or footer.
    So, I think I found a way to solve that!
    it would be this:
    http://people.apache.org/maven-snapshot-repository/org/apache/myfaces/tomahawk/myfaces-example-tiles/1.1.4-SNAPSHOT/
    The war file is this: myfaces-example-tiles-1.1.4-SNAPSHOT.war
    It has been successfully deployed on my machine, but I didn't can implement the same functionality in my application.
    has anyone already use tiles to solve that problem?
    what are its dependencies?
    is there another approach?
    Regards!

    yes!
    That's right !!
    I already knew.
    I found an interesting link about my question.
    take a look: http://forum.exadel.com/viewtopic.php?t=968
    it sounds a little different because in that approach it's necessary only ONE "master page" for the application.
    On the other hand, as you said would be necessary for each page something like this:
    home.jsf
    <f:view>
        <jsp:include page="header.jsp" />
        <h1>home</h1>
        <jsp:include page="footer.jsp" />
    </f:view>
    about.jsf
    <f:view>
        <jsp:include page="header.jsp" />
        <h1>about</h1>
        <jsp:include page="footer.jsp" />
    </f:view>did you understand?
    I think this approach a litle worse than one another because I must place many times the includes "header.jsp" "footer.jsp" and so on.
    what do you think about that solution?

Maybe you are looking for

  • Error - while buiding a dc

    HI, i created a dc using webdynpro java  ,when i'm buiding it is giving the following error plz help me Aug 31, 2007 4:07:27 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,ma

  • HDMI LCD Big Screen

    Hello - I have a nnewly purchased 37" Protron LCD hat has HDMI input. i have a DVI to HDMI cable and the TV says no signal and the MBP does not see the TV. Suggestions - Cable?

  • ADR Rules Hits 60% updates for Endpoint Protection

    Hi, I have an ADR rule that is working correctly, the only thing its not hitting is all the servers for the Updates of the AV, I have about a 60% success rate. I have checked my policies and everything is the same, I have some servers in the same col

  • Firefox wil not open a new tab neigther with + or Ctrl +T

    Firefox wil not open (manualy) a new tab anymore. Not with the + on the site tab nor with Bestand - new tab or Ctrl+T

  • Lightroom: how to import catalog from Elements?

    I installed lightroom 5.6 on my pc and want to import my catalog from photoshop elements 4. This doesn't work. Can anyone help? Thank you