SlideShare una empresa de Scribd logo
1 de 6
*&---------------------------------------------------------------------*
*& Report ZREP_004
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT ZREP_004.

TABLES: LFA1.

TYPES: BEGIN OF T_PA0001,
EBELN TYPE EKKO-EBELN,
BUKRS TYPE EKKO-BUKRS,
BSTYP TYPE EKKO-BSTYP,
BSART TYPE EKKO-BSART,
BSAKZ TYPE EKKO-BSAKZ,
LOEKZ TYPE EKKO-LOEKZ,
STATU TYPE EKKO-STATU,
AEDAT TYPE EKKO-AEDAT,
ERNAM TYPE EKKO-ERNAM,
PINCR TYPE EKKO-PINCR,
END OF T_PA0001.
TYPES: BEGIN OF T_TEST,
A TYPE I,
B TYPE C,
C TYPE STRING,
END OF T_TEST.

DATA: IT_A TYPE T_PA0001 OCCURS 0 WITH HEADER LINE,
IT_B TYPE TABLE OF LFA1,
WA_B LIKE LFA1,
IT_C TYPE TABLE OF T_TEST,
WA_C TYPE T_TEST,
MIKE TYPE PFACH.

CLEAR: WA_C.

WA_C-A = 1.
WA_C-B = 'M'.
WA_C-C = 'Mayur'.

WRITE: /10 WA_C-A,
/30 WA_C-B,
/40 WA_C-C.

SKIP 6.
CLEAR: WA_C.

WA_C-A = 1.
WA_C-B = 'R'.
WA_C-C = 'Ravi'.

WRITE: /10 WA_C-A,
/30 WA_C-B,
/40 WA_C-C.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.

SELECT-OPTIONS: MAYUR FOR LFA1-KUNNR.

"OBLIGATORY no intervals.

PARAMETERS: R_BTN1 RADIOBUTTON GROUP R1 DEFAULT 'X' USER-COMMAND UC,
R_BTN2 RADIOBUTTON GROUP R1,
R_BTN3 RADIOBUTTON GROUP R1.

PARAMETERS: CHK1 AS CHECKBOX DEFAULT 'X' MODIF ID TT.
PARAMETERS: CHK2 AS CHECKBOX DEFAULT 'X' MODIF ID MM.
PARAMETERS: CHK3 AS CHECKBOX DEFAULT 'X' MODIF ID RR.

PARAMETERS P_CARRID TYPE SPFLI-CARRID
AS LISTBOX VISIBLE LENGTH 10 USER-COMMAND LL DEFAULT 'LH'.
PARAMETERS P_KUNNR TYPE PA0002-GESCH
AS LISTBOX VISIBLE LENGTH 20 USER-COMMAND ONLI DEFAULT '1'.

SELECTION-SCREEN END OF BLOCK B1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.
IF R_BTN1 = 'X'.

CASE SCREEN-GROUP1.
WHEN 'TT'.
SCREEN-ACTIVE = 1.
WHEN 'MM'.
SCREEN-ACTIVE = 0.
WHEN 'RR'.
SCREEN-ACTIVE = 0.
ENDCASE.
MODIFY SCREEN.
*
*
*
*
*

IF SCREEN-GROUP1 = 'TT'.
SCREEN-ACTIVE = 1.
ELSEIF SCREEN-GROUP1 = 'MM'.
SCREEN-ACTIVE = 0.
ELSEIF SCREEN-GROUP1 = 'RR'.
*

SCREEN-ACTIVE = 0.

*

MODIFY SCREEN.

*

ENDIF.
ELSEIF R_BTN2 = 'X'.

IF SCREEN-GROUP1 = 'TT'.
SCREEN-ACTIVE = 0.
ELSEIF SCREEN-GROUP1 = 'MM'.
SCREEN-ACTIVE = 1.
ELSEIF SCREEN-GROUP1 = 'RR'.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.

ELSEIF R_BTN3 = 'X'.
IF SCREEN-GROUP1 = 'TT'.
SCREEN-ACTIVE = 0.
ELSEIF SCREEN-GROUP1 = 'MM'.
SCREEN-ACTIVE = 0.
ELSEIF SCREEN-GROUP1 = 'RR'.
SCREEN-ACTIVE = 1.
ENDIF.
MODIFY SCREEN.

ENDIF.
ENDLOOP.

*SELECTION-SCREEN SKIP 5.
*SKIP 5.
*
*SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
*
*SELECT-OPTIONS: RAVI FOR LFA1-KUNNR.

"OBLIGATORY no intervals.

*
** parameters: Ravi like lfa1-kunnr obligatory.
*
*SELECTION-SCREEN END OF BLOCK B2.

Más contenido relacionado

Destacado

Полуостров музейных сокровищ
Полуостров музейных сокровищПолуостров музейных сокровищ
Полуостров музейных сокровищbibliorlovka
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Treeraviahuja11
 
Hotelurile capsulă din Japonia
Hotelurile capsulă din JaponiaHotelurile capsulă din Japonia
Hotelurile capsulă din JaponiaFrumoasa Verde
 
“Alcohol and Sports in Austin”
“Alcohol and Sports in Austin”“Alcohol and Sports in Austin”
“Alcohol and Sports in Austin”Maxwell Adler
 
Sales Pipeline...Evolve What and How You Sell
Sales Pipeline...Evolve What and How You SellSales Pipeline...Evolve What and How You Sell
Sales Pipeline...Evolve What and How You SellChristopher Kappes
 
Trabajo final power point ruddy, fabiana y hillary.
Trabajo final power point ruddy, fabiana y hillary.Trabajo final power point ruddy, fabiana y hillary.
Trabajo final power point ruddy, fabiana y hillary.Fabiruddyjas
 
Revista Catalunya 91 Novembre 2007
Revista Catalunya 91 Novembre 2007 Revista Catalunya 91 Novembre 2007
Revista Catalunya 91 Novembre 2007 Revista Catalunya
 

Destacado (10)

Полуостров музейных сокровищ
Полуостров музейных сокровищПолуостров музейных сокровищ
Полуостров музейных сокровищ
 
Whatsapp
Whatsapp Whatsapp
Whatsapp
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
 
Catalunya nº 187
Catalunya nº 187Catalunya nº 187
Catalunya nº 187
 
cswattsresume616
cswattsresume616cswattsresume616
cswattsresume616
 
Hotelurile capsulă din Japonia
Hotelurile capsulă din JaponiaHotelurile capsulă din Japonia
Hotelurile capsulă din Japonia
 
“Alcohol and Sports in Austin”
“Alcohol and Sports in Austin”“Alcohol and Sports in Austin”
“Alcohol and Sports in Austin”
 
Sales Pipeline...Evolve What and How You Sell
Sales Pipeline...Evolve What and How You SellSales Pipeline...Evolve What and How You Sell
Sales Pipeline...Evolve What and How You Sell
 
Trabajo final power point ruddy, fabiana y hillary.
Trabajo final power point ruddy, fabiana y hillary.Trabajo final power point ruddy, fabiana y hillary.
Trabajo final power point ruddy, fabiana y hillary.
 
Revista Catalunya 91 Novembre 2007
Revista Catalunya 91 Novembre 2007 Revista Catalunya 91 Novembre 2007
Revista Catalunya 91 Novembre 2007
 

Similar a Classical report

Classical ABAP interactive report
Classical ABAP interactive reportClassical ABAP interactive report
Classical ABAP interactive reportRavi Kanudawala
 
Report zcomprasreporte abap
Report zcomprasreporte abapReport zcomprasreporte abap
Report zcomprasreporte abapDavid Roque
 
COBOL BATCH EXAMPLE-RPR6621F
COBOL BATCH EXAMPLE-RPR6621FCOBOL BATCH EXAMPLE-RPR6621F
COBOL BATCH EXAMPLE-RPR6621FJon Fortman
 
Alvedit programs
Alvedit programsAlvedit programs
Alvedit programsmcclintick
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520Jon Fortman
 
Internal tables operations_chalapathi[1]
Internal tables operations_chalapathi[1]Internal tables operations_chalapathi[1]
Internal tables operations_chalapathi[1]Chalapathi Rao kornu
 
07.advanced abap
07.advanced abap07.advanced abap
07.advanced abapPhong Ho
 
Applying ISO/IEC 25010 on Mobile Personal Health Records
Applying ISO/IEC 25010 on Mobile Personal Health RecordsApplying ISO/IEC 25010 on Mobile Personal Health Records
Applying ISO/IEC 25010 on Mobile Personal Health RecordsSofia Ouhbi
 
Commissari esami maturità 2013 provincia di Ancona
Commissari esami maturità 2013 provincia di AnconaCommissari esami maturità 2013 provincia di Ancona
Commissari esami maturità 2013 provincia di AnconaPaolo Picci
 

Similar a Classical report (20)

Zi fi final prog
Zi fi final progZi fi final prog
Zi fi final prog
 
Classical ABAP interactive report
Classical ABAP interactive reportClassical ABAP interactive report
Classical ABAP interactive report
 
Alv a otro alv
Alv a otro alvAlv a otro alv
Alv a otro alv
 
Report zcomprasreporte abap
Report zcomprasreporte abapReport zcomprasreporte abap
Report zcomprasreporte abap
 
ZFINDALLZPROGAM
ZFINDALLZPROGAMZFINDALLZPROGAM
ZFINDALLZPROGAM
 
Alv grid
Alv gridAlv grid
Alv grid
 
COBOL BATCH EXAMPLE-RPR6621F
COBOL BATCH EXAMPLE-RPR6621FCOBOL BATCH EXAMPLE-RPR6621F
COBOL BATCH EXAMPLE-RPR6621F
 
Report zalv
Report  zalvReport  zalv
Report zalv
 
Alv barra her
Alv barra herAlv barra her
Alv barra her
 
Itab kna1,knvv
Itab kna1,knvvItab kna1,knvv
Itab kna1,knvv
 
Alvedit programs
Alvedit programsAlvedit programs
Alvedit programs
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520
 
Internal tables operations_chalapathi[1]
Internal tables operations_chalapathi[1]Internal tables operations_chalapathi[1]
Internal tables operations_chalapathi[1]
 
Sap abap report program
Sap abap report programSap abap report program
Sap abap report program
 
Alv Block
Alv BlockAlv Block
Alv Block
 
07.advanced abap
07.advanced abap07.advanced abap
07.advanced abap
 
ABAP Advanced List
ABAP Advanced ListABAP Advanced List
ABAP Advanced List
 
Applying ISO/IEC 25010 on Mobile Personal Health Records
Applying ISO/IEC 25010 on Mobile Personal Health RecordsApplying ISO/IEC 25010 on Mobile Personal Health Records
Applying ISO/IEC 25010 on Mobile Personal Health Records
 
Commissari esami maturità 2013 provincia di Ancona
Commissari esami maturità 2013 provincia di AnconaCommissari esami maturità 2013 provincia di Ancona
Commissari esami maturità 2013 provincia di Ancona
 
Casnewb
CasnewbCasnewb
Casnewb
 

Último

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Último (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

Classical report

  • 1. *&---------------------------------------------------------------------* *& Report ZREP_004 *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT ZREP_004. TABLES: LFA1. TYPES: BEGIN OF T_PA0001, EBELN TYPE EKKO-EBELN, BUKRS TYPE EKKO-BUKRS, BSTYP TYPE EKKO-BSTYP, BSART TYPE EKKO-BSART, BSAKZ TYPE EKKO-BSAKZ, LOEKZ TYPE EKKO-LOEKZ, STATU TYPE EKKO-STATU, AEDAT TYPE EKKO-AEDAT, ERNAM TYPE EKKO-ERNAM, PINCR TYPE EKKO-PINCR, END OF T_PA0001.
  • 2. TYPES: BEGIN OF T_TEST, A TYPE I, B TYPE C, C TYPE STRING, END OF T_TEST. DATA: IT_A TYPE T_PA0001 OCCURS 0 WITH HEADER LINE, IT_B TYPE TABLE OF LFA1, WA_B LIKE LFA1, IT_C TYPE TABLE OF T_TEST, WA_C TYPE T_TEST, MIKE TYPE PFACH. CLEAR: WA_C. WA_C-A = 1. WA_C-B = 'M'. WA_C-C = 'Mayur'. WRITE: /10 WA_C-A, /30 WA_C-B, /40 WA_C-C. SKIP 6.
  • 3. CLEAR: WA_C. WA_C-A = 1. WA_C-B = 'R'. WA_C-C = 'Ravi'. WRITE: /10 WA_C-A, /30 WA_C-B, /40 WA_C-C. SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. SELECT-OPTIONS: MAYUR FOR LFA1-KUNNR. "OBLIGATORY no intervals. PARAMETERS: R_BTN1 RADIOBUTTON GROUP R1 DEFAULT 'X' USER-COMMAND UC, R_BTN2 RADIOBUTTON GROUP R1, R_BTN3 RADIOBUTTON GROUP R1. PARAMETERS: CHK1 AS CHECKBOX DEFAULT 'X' MODIF ID TT. PARAMETERS: CHK2 AS CHECKBOX DEFAULT 'X' MODIF ID MM. PARAMETERS: CHK3 AS CHECKBOX DEFAULT 'X' MODIF ID RR. PARAMETERS P_CARRID TYPE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 10 USER-COMMAND LL DEFAULT 'LH'.
  • 4. PARAMETERS P_KUNNR TYPE PA0002-GESCH AS LISTBOX VISIBLE LENGTH 20 USER-COMMAND ONLI DEFAULT '1'. SELECTION-SCREEN END OF BLOCK B1. AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN. IF R_BTN1 = 'X'. CASE SCREEN-GROUP1. WHEN 'TT'. SCREEN-ACTIVE = 1. WHEN 'MM'. SCREEN-ACTIVE = 0. WHEN 'RR'. SCREEN-ACTIVE = 0. ENDCASE. MODIFY SCREEN. * * * * * IF SCREEN-GROUP1 = 'TT'. SCREEN-ACTIVE = 1. ELSEIF SCREEN-GROUP1 = 'MM'. SCREEN-ACTIVE = 0. ELSEIF SCREEN-GROUP1 = 'RR'.
  • 5. * SCREEN-ACTIVE = 0. * MODIFY SCREEN. * ENDIF. ELSEIF R_BTN2 = 'X'. IF SCREEN-GROUP1 = 'TT'. SCREEN-ACTIVE = 0. ELSEIF SCREEN-GROUP1 = 'MM'. SCREEN-ACTIVE = 1. ELSEIF SCREEN-GROUP1 = 'RR'. SCREEN-ACTIVE = 0. ENDIF. MODIFY SCREEN. ELSEIF R_BTN3 = 'X'. IF SCREEN-GROUP1 = 'TT'. SCREEN-ACTIVE = 0. ELSEIF SCREEN-GROUP1 = 'MM'. SCREEN-ACTIVE = 0. ELSEIF SCREEN-GROUP1 = 'RR'. SCREEN-ACTIVE = 1. ENDIF. MODIFY SCREEN. ENDIF.
  • 6. ENDLOOP. *SELECTION-SCREEN SKIP 5. *SKIP 5. * *SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002. * *SELECT-OPTIONS: RAVI FOR LFA1-KUNNR. "OBLIGATORY no intervals. * ** parameters: Ravi like lfa1-kunnr obligatory. * *SELECTION-SCREEN END OF BLOCK B2.