ABAP Assignment 1 - Alv Grid Report TS

2
Create a ALV Grid Pricing report. Technical details of the report : - 1. Report should have following selection criteria . Condition Type - Parameters Sales order Number - select options Sales order created by - select options sales order date - select options Material Number - select options 2. Report should have following fields in the output . 1. sales order number 2. sales order created on 3. SO create by 4. SD document category 5. sold 2 party 6. ship 2 party 7. material 8. material description 9. condition type 10. condition type descry 11. condition value 3. Logic or the report Step 1 : Get header and line item data from VBAK and VBAP into an internal table gt_vbak_vbap.

description

ABAP Assignment 1 - Alv Grid Report TS

Transcript of ABAP Assignment 1 - Alv Grid Report TS

Page 1: ABAP Assignment 1 - Alv Grid Report TS

Create a ALV Grid Pricing report.

Technical details of the report : -

1. Report should have following selection criteria .

Condition Type - ParametersSales order Number - select optionsSales order created by - select optionssales order date - select optionsMaterial Number - select options

2. Report should have following fields in the output .

1. sales order number2. sales order created on3. SO create by4. SD document category 5. sold 2 party6. ship 2 party7. material8. material description9. condition type10. condition type descry11. condition value

3. Logic or the report

Step 1 : Get header and line item data from VBAK and VBAP into an internal table gt_vbak_vbap.

Step 2 : Basing on the condition number ( knumv ) in the above internal table get condition value and condition type from KOMV table into internal table gt_konv .

Step3 : Get condition type description from table T685T into gt_condidesc.

Page 2: ABAP Assignment 1 - Alv Grid Report TS

Step 4 : Now prepare gt_final internal table with required output fields .

Step 5 : Prepare field catalog for the fields in the internal table gt_final .

Step 6 : Now call ALV function module to display report .