You are on page 1of 2

High Level Processing Logic

Code Requisites Properly Indent the code. Document the code. Ensure code is activated. Specify Your name and date at the top. Follow Standards for naming conventions. Select the records from LFA1, LFB1 and LFM1 tables for the following selection criteria Selection Criteria : 1. Vendor. 2. Company Code. 3. Purchasing Organisation 4. Account Group Give an option on the selection screen for ALV list display and Grid display Put all the records into an internal table. Loop through the table and display the report in the following format Report Format : Field Length 1. Vendor # 2. Company 3. Purchasing Organisation 4. Account Group 5. Vendor name 6. Street 7. City 8. Region 9. PO-Box 10 PO Code 11. PO ZIP 12. Telephone Sort the output by : 1. Vendor Number 2. Company Code 3. Purchasing Organisation. 10 4 4 4 35 35 35 2 10 10 10 16

Sorting Sequence / Summing Requirements Sorting : Vendor, Company code, Purchasing organization

Selection Screen Fields Label Type, Parameter or SelectOption Related DDIC field Default Value Required / Optional Validation/Fie ld Edits/Check table/Matchco de LFA1 T001 T024E T077k

Vendor

SelectOption Company code SelectOption Pruchasing SelectOrganisation Option Account group SelectOption 1.1 Output Fields Output Label Vendor Company Purchasing Organisation Account group Vendor Name Street City Region PO-Box PO Code PO ZIP Telephone

LFA1-LIFNR LFB1-BUKRS LFM1-EKORG LFA1-KTOKK

Initial Initial Initial Initial

Optional Optional Optional Optional

Related SAP table-field (if any) LFA1-LIFNR LFB1-BUKRS LFM1-EKORG LFA1-KTOKK LFA1-NAME1 LFA1-STRAS LFA1-ORT01 LFA1-REGIO LFA1-PFORT LFA1-PSTLZ LFA1-PSTL2 LFA1-TELF1

Length 10 4 4 4 35 35 35 2 10 10 10 16

Output Characteristics Char Char Char Char Char Char Char Char Char Char Char Char

You might also like