SlideShare a Scribd company logo
*&---------------------------------------------------------------------*
*& Report ZREP_006
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT ZREP_006 NO STANDARD PAGE HEADING.

TABLES: PA0001.

TYPES: BEGIN OF T_PA0001,
PERNR TYPE PA0001-PERNR,
SUBTY TYPE PA0001-SUBTY,
OBJPS TYPE PA0001-OBJPS,
SPRPS TYPE PA0001-SPRPS,
ENDDA TYPE PA0001-ENDDA,
BEGDA TYPE PA0001-BEGDA,
SEQNR TYPE PA0001-SEQNR,
BUKRS TYPE PA0001-BUKRS,
WERKS TYPE PA0001-WERKS,
PERSG TYPE PA0001-PERSG,
PERSK TYPE PA0001-PERSK,
BTRTL TYPE PA0001-BTRTL,
ORGEH TYPE PA0001-ORGEH,
PLANS TYPE PA0001-PLANS,
ENAME TYPE PA0001-ENAME,
END OF T_PA0001.

TYPES: BEGIN OF T_PA0185,
PERNR TYPE PA0185-PERNR,
SUBTY TYPE PA0185-SUBTY,
OBJPS TYPE PA0185-OBJPS,
SPRPS TYPE PA0185-SPRPS,
ENDDA TYPE PA0185-ENDDA,
BEGDA TYPE PA0185-BEGDA,
SEQNR TYPE PA0185-SEQNR,
ICNUM TYPE PA0185-ICNUM,
END OF T_PA0185.

DATA: IT_PA0001 TYPE TABLE OF T_PA0001 WITH HEADER LINE,
WA_PA0001 TYPE T_PA0001,

IT_PA0185 TYPE TABLE OF T_PA0185,
WA_PA0185 TYPE T_PA0185.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_PERNR FOR PA0001-PERNR.
SELECT-OPTIONS: S_PERSG FOR PA0001-PERSG.
SELECT-OPTIONS: S_PERSK FOR PA0001-PERSK.
SELECT-OPTIONS: S_WERKS FOR PA0001-WERKS.
SELECT-OPTIONS: S_BTRTL FOR PA0001-BTRTL.
SELECTION-SCREEN END OF BLOCK B1.

START-OF-SELECTION.

SELECT PERNR
SUBTY
OBJPS
SPRPS
ENDDA
BEGDA
SEQNR
BUKRS
WERKS
PERSG
PERSK
BTRTL
ORGEH
PLANS
ENAME FROM PA0001 INTO TABLE IT_PA0001
WHERE PERNR IN S_PERNR
AND ENDDA EQ '99991231'
AND PERSG IN S_PERSG
AND PERSK IN S_PERSK
AND WERKS IN S_WERKS
AND BTRTL IN S_BTRTL.

ULINE.
WRITE: 58 'Employee Information' COLOR 7.
ULINE.ULINE.

WRITE : 000 'Employee No' COLOR 1, 019 SY-VLINE,
020 'Employee Name' COLOR 2, 059 SY-VLINE,
060 'Company Code' COLOR 3, 079 SY-VLINE,
080 'Emp Group'

COLOR 4, 099 SY-VLINE,

100 'Emp Subgroup' COLOR 5.
ULINE.

LOOP AT IT_PA0001." INTO WA_PA0001.

WRITE : IT_PA0001-PERNR UNDER 'Employee No' , 019 SY-VLINE,
IT_PA0001-ENAME UNDER 'Employee Name', 059 SY-VLINE,
IT_PA0001-BUKRS UNDER 'Company Code' , 079 SY-VLINE,
IT_PA0001-PERSG UNDER 'Emp Group' , 099 SY-VLINE,
IT_PA0001-PERSK UNDER 'Emp Subgroup' .
HIDE IT_PA0001-PERNR.
ULINE.
ENDLOOP.

AT LINE-SELECTION.

SELECT PERNR
SUBTY
OBJPS
SPRPS
ENDDA
BEGDA
SEQNR
ICNUM FROM PA0185
INTO TABLE IT_PA0185
WHERE PERNR = IT_PA0001-PERNR.

LOOP AT IT_PA0185 INTO WA_PA0185.

WRITE : WA_PA0185-PERNR ,
IT_PA0001-ENAME ,
WA_PA0185-ICNUM .
SKIP.

ENDLOOP.

More Related Content

Viewers also liked

Sap abap report program
Sap abap report programSap abap report program
Sap abap report program
Ravi Kanudawala
 
Sap abap online training
Sap abap online trainingSap abap online training
Sap abap online training
Shalom Itschool
 
Project Report on SAP
Project Report on SAPProject Report on SAP
Project Report on SAP
Sudhanshu Singh
 
022006 zaidi badi
022006   zaidi badi022006   zaidi badi
022006 zaidi badi
sandeep_ganganaboina
 
Dot Net 串接 SAP
Dot Net 串接 SAPDot Net 串接 SAP
Dot Net 串接 SAP
LearningTech
 
Dr John Dee - Communications With Spirits - Free Ebook
Dr John Dee -  Communications With Spirits - Free EbookDr John Dee -  Communications With Spirits - Free Ebook
Dr John Dee - Communications With Spirits - Free Ebook
Chuck Thompson
 
Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1
Kranthi Kumar
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
Kranthi Kumar
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAP
nityaabap
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systems
Kranthi Kumar
 
Creation of a web service in sap
Creation of a web service in sapCreation of a web service in sap
Creation of a web service in sap
rajdongre
 
Structuring An ABAP Report In An Optimal Way
Structuring An ABAP Report In An Optimal WayStructuring An ABAP Report In An Optimal Way
Structuring An ABAP Report In An Optimal Way
Blackvard
 
SAP ABAP web services creation.
SAP ABAP web services creation. SAP ABAP web services creation.
SAP ABAP web services creation.
Anjali Rao
 
Yash technologies interview questions and answers
Yash technologies interview questions and answersYash technologies interview questions and answers
Yash technologies interview questions and answers
GarySpeed1234
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
Kranthi Kumar
 
Scenario on business transaction events
Scenario on business transaction eventsScenario on business transaction events
Scenario on business transaction events
Kranthi Kumar
 
07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
sapdocs. info
 
SAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional ConsultantSAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional Consultant
Ankit Sharma
 
Badi document
Badi documentBadi document
Badi document
hamisha_malik
 

Viewers also liked (20)

Abap reports
Abap reportsAbap reports
Abap reports
 
Sap abap report program
Sap abap report programSap abap report program
Sap abap report program
 
Sap abap online training
Sap abap online trainingSap abap online training
Sap abap online training
 
Project Report on SAP
Project Report on SAPProject Report on SAP
Project Report on SAP
 
022006 zaidi badi
022006   zaidi badi022006   zaidi badi
022006 zaidi badi
 
Dot Net 串接 SAP
Dot Net 串接 SAPDot Net 串接 SAP
Dot Net 串接 SAP
 
Dr John Dee - Communications With Spirits - Free Ebook
Dr John Dee -  Communications With Spirits - Free EbookDr John Dee -  Communications With Spirits - Free Ebook
Dr John Dee - Communications With Spirits - Free Ebook
 
Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1Chapter 08 abap dictionary objects views1
Chapter 08 abap dictionary objects views1
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAP
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systems
 
Creation of a web service in sap
Creation of a web service in sapCreation of a web service in sap
Creation of a web service in sap
 
Structuring An ABAP Report In An Optimal Way
Structuring An ABAP Report In An Optimal WayStructuring An ABAP Report In An Optimal Way
Structuring An ABAP Report In An Optimal Way
 
SAP ABAP web services creation.
SAP ABAP web services creation. SAP ABAP web services creation.
SAP ABAP web services creation.
 
Yash technologies interview questions and answers
Yash technologies interview questions and answersYash technologies interview questions and answers
Yash technologies interview questions and answers
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
Scenario on business transaction events
Scenario on business transaction eventsScenario on business transaction events
Scenario on business transaction events
 
07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
SAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional ConsultantSAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional Consultant
 
Badi document
Badi documentBadi document
Badi document
 

Similar to Classical ABAP interactive report

Alv interactive ABAPreport
Alv interactive ABAPreportAlv interactive ABAPreport
Alv interactive ABAPreport
Ravi Kanudawala
 
Alvedit programs
Alvedit programsAlvedit programs
Alvedit programs
mcclintick
 
Alv barra her
Alv barra herAlv barra her
Itab kna1,knvv
Itab kna1,knvvItab kna1,knvv
Itab kna1,knvv
kanwarsumit
 
Alv a otro alv
Alv a otro alvAlv a otro alv
Alv a otro alv
Universidad de Trujillo
 
Classical report
Classical reportClassical report
Classical report
Ravi Kanudawala
 
ZFINDALLZPROGAM
ZFINDALLZPROGAMZFINDALLZPROGAM
ZFINDALLZPROGAM
Jay Dalwadi
 
Warsjawa profiling tools
Warsjawa profiling toolsWarsjawa profiling tools
Warsjawa profiling tools
Jakub Kubrynski
 
Alv Block
Alv BlockAlv Block
Alv Block
muralisrt
 
Report zalv
Report  zalvReport  zalv
Report zalv
dineshk0105
 
Zi fi final prog
Zi fi final progZi fi final prog
Zi fi final prog
Swapnil Ghodke
 
Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012
SISTKEXAMSECTION
 
Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012
SISTKEXAMSECTION
 
Auliyaa Allah ki Pehchan
Auliyaa Allah ki PehchanAuliyaa Allah ki Pehchan
Auliyaa Allah ki Pehchan
Fahad Javed
 
Report
ReportReport
Report
Waleed Azhar
 
ترجمات عبرية ليوم 14 11-2010
ترجمات عبرية ليوم 14 11-2010ترجمات عبرية ليوم 14 11-2010
ترجمات عبرية ليوم 14 11-2010
عابدالقادر الفيتوري
 
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
Paolo Picci
 
الباب الثالث ليلة القدر ...
الباب الثالث   ليلة القدر                                                    ...الباب الثالث   ليلة القدر                                                    ...
الباب الثالث ليلة القدر ...
Abdellatifben
 
ترجمات عبرية ليوم 21 11-2010
ترجمات عبرية ليوم 21 11-2010ترجمات عبرية ليوم 21 11-2010
ترجمات عبرية ليوم 21 11-2010
عابدالقادر الفيتوري
 
Quick reference for hql
Quick reference for hqlQuick reference for hql
Quick reference for hql
Rajkumar Asohan, PMP
 

Similar to Classical ABAP interactive report (20)

Alv interactive ABAPreport
Alv interactive ABAPreportAlv interactive ABAPreport
Alv interactive ABAPreport
 
Alvedit programs
Alvedit programsAlvedit programs
Alvedit programs
 
Alv barra her
Alv barra herAlv barra her
Alv barra her
 
Itab kna1,knvv
Itab kna1,knvvItab kna1,knvv
Itab kna1,knvv
 
Alv a otro alv
Alv a otro alvAlv a otro alv
Alv a otro alv
 
Classical report
Classical reportClassical report
Classical report
 
ZFINDALLZPROGAM
ZFINDALLZPROGAMZFINDALLZPROGAM
ZFINDALLZPROGAM
 
Warsjawa profiling tools
Warsjawa profiling toolsWarsjawa profiling tools
Warsjawa profiling tools
 
Alv Block
Alv BlockAlv Block
Alv Block
 
Report zalv
Report  zalvReport  zalv
Report zalv
 
Zi fi final prog
Zi fi final progZi fi final prog
Zi fi final prog
 
Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012
 
Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012Iv i(r07) advance supplementary results may-2012
Iv i(r07) advance supplementary results may-2012
 
Auliyaa Allah ki Pehchan
Auliyaa Allah ki PehchanAuliyaa Allah ki Pehchan
Auliyaa Allah ki Pehchan
 
Report
ReportReport
Report
 
ترجمات عبرية ليوم 14 11-2010
ترجمات عبرية ليوم 14 11-2010ترجمات عبرية ليوم 14 11-2010
ترجمات عبرية ليوم 14 11-2010
 
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
 
الباب الثالث ليلة القدر ...
الباب الثالث   ليلة القدر                                                    ...الباب الثالث   ليلة القدر                                                    ...
الباب الثالث ليلة القدر ...
 
ترجمات عبرية ليوم 21 11-2010
ترجمات عبرية ليوم 21 11-2010ترجمات عبرية ليوم 21 11-2010
ترجمات عبرية ليوم 21 11-2010
 
Quick reference for hql
Quick reference for hqlQuick reference for hql
Quick reference for hql
 

Recently uploaded

BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 

Recently uploaded (20)

BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 

Classical ABAP interactive report

  • 1. *&---------------------------------------------------------------------* *& Report ZREP_006 *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT ZREP_006 NO STANDARD PAGE HEADING. TABLES: PA0001. TYPES: BEGIN OF T_PA0001, PERNR TYPE PA0001-PERNR, SUBTY TYPE PA0001-SUBTY, OBJPS TYPE PA0001-OBJPS, SPRPS TYPE PA0001-SPRPS, ENDDA TYPE PA0001-ENDDA, BEGDA TYPE PA0001-BEGDA, SEQNR TYPE PA0001-SEQNR, BUKRS TYPE PA0001-BUKRS, WERKS TYPE PA0001-WERKS, PERSG TYPE PA0001-PERSG, PERSK TYPE PA0001-PERSK, BTRTL TYPE PA0001-BTRTL,
  • 2. ORGEH TYPE PA0001-ORGEH, PLANS TYPE PA0001-PLANS, ENAME TYPE PA0001-ENAME, END OF T_PA0001. TYPES: BEGIN OF T_PA0185, PERNR TYPE PA0185-PERNR, SUBTY TYPE PA0185-SUBTY, OBJPS TYPE PA0185-OBJPS, SPRPS TYPE PA0185-SPRPS, ENDDA TYPE PA0185-ENDDA, BEGDA TYPE PA0185-BEGDA, SEQNR TYPE PA0185-SEQNR, ICNUM TYPE PA0185-ICNUM, END OF T_PA0185. DATA: IT_PA0001 TYPE TABLE OF T_PA0001 WITH HEADER LINE, WA_PA0001 TYPE T_PA0001, IT_PA0185 TYPE TABLE OF T_PA0185, WA_PA0185 TYPE T_PA0185. SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. SELECT-OPTIONS: S_PERNR FOR PA0001-PERNR.
  • 3. SELECT-OPTIONS: S_PERSG FOR PA0001-PERSG. SELECT-OPTIONS: S_PERSK FOR PA0001-PERSK. SELECT-OPTIONS: S_WERKS FOR PA0001-WERKS. SELECT-OPTIONS: S_BTRTL FOR PA0001-BTRTL. SELECTION-SCREEN END OF BLOCK B1. START-OF-SELECTION. SELECT PERNR SUBTY OBJPS SPRPS ENDDA BEGDA SEQNR BUKRS WERKS PERSG PERSK BTRTL ORGEH PLANS ENAME FROM PA0001 INTO TABLE IT_PA0001 WHERE PERNR IN S_PERNR AND ENDDA EQ '99991231'
  • 4. AND PERSG IN S_PERSG AND PERSK IN S_PERSK AND WERKS IN S_WERKS AND BTRTL IN S_BTRTL. ULINE. WRITE: 58 'Employee Information' COLOR 7. ULINE.ULINE. WRITE : 000 'Employee No' COLOR 1, 019 SY-VLINE, 020 'Employee Name' COLOR 2, 059 SY-VLINE, 060 'Company Code' COLOR 3, 079 SY-VLINE, 080 'Emp Group' COLOR 4, 099 SY-VLINE, 100 'Emp Subgroup' COLOR 5. ULINE. LOOP AT IT_PA0001." INTO WA_PA0001. WRITE : IT_PA0001-PERNR UNDER 'Employee No' , 019 SY-VLINE, IT_PA0001-ENAME UNDER 'Employee Name', 059 SY-VLINE, IT_PA0001-BUKRS UNDER 'Company Code' , 079 SY-VLINE, IT_PA0001-PERSG UNDER 'Emp Group' , 099 SY-VLINE, IT_PA0001-PERSK UNDER 'Emp Subgroup' . HIDE IT_PA0001-PERNR. ULINE.
  • 5. ENDLOOP. AT LINE-SELECTION. SELECT PERNR SUBTY OBJPS SPRPS ENDDA BEGDA SEQNR ICNUM FROM PA0185 INTO TABLE IT_PA0185 WHERE PERNR = IT_PA0001-PERNR. LOOP AT IT_PA0185 INTO WA_PA0185. WRITE : WA_PA0185-PERNR , IT_PA0001-ENAME , WA_PA0185-ICNUM . SKIP. ENDLOOP.