Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
2K views
310 pages
Emax Abap Volume 2
Uploaded by
vidyasagar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Emax Abap Volume 2 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
2K views
310 pages
Emax Abap Volume 2
Uploaded by
vidyasagar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Emax Abap Volume 2 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Emax Abap Volume 2 For Later
You are on page 1
/ 310
Search
Fullscreen
Helps to Reach ; wit) edi TN ad ABAP/4 The Complete ReferenceAbout the Author Ganapati Adimulam is an SAP Technical Consultant. Having nearly four years of Experience in the SAP Domain, several successful implementation, and a background in training and technical documentation has afforded him many opportunities to observe all aspects of SAP implemestation. Mr. Ganapati did his M.C.A in 2002. He started his SAP career in 2003 March. He has worked for corporate giants like CGEY (CapGemini Ernest & Young), Infosys and Satyam Computers and also for many other international clients as both onsite and off- shore Vechnical consultant. terest is in SAP training domain, he has turiied into SAP training services after relieving from the corporate biggies. He is présently\ offering excellent waining services in SAP through eMax Technologies, He: is -also%ay efor imparting SAP tiaining to the corporate consultants. He is a big talk atnor porate as a very good SAP corporate trainer. E As his basi “ From eMAX Technologies.ACKNOWLEDGEMENTS . Doing a book of this magnitude requires a team effort, Every task is completely successful if and only if we acknowledge the efforts contributed by the individual persomel. We acknowledge our sincere thanks to out Honorable Director, eMax Technologies, Mr. Rama Rao for his continuous guidance, support and co-operation through this project. I want to take this opportunity to thank the entire management, beloved students and friends and several other individuals of ¢Max Technologies inreviewing and assuring the quality checks of the accomplishments at every stage of this projeet, Finally I would like to extend my sincere thanks to my family members from the bottom of my heart, Ganapati Adinutam,_ INDEX 1. BDC Programming 22, 72 2. SAP SCRIPT | _81 3. MODULE Programming 60 4.LSMW “ey 27 5.working with Files 29.1. BDC Programming 1. Introduction to BDC Programming 2. Call Transaction Method a. Processing Errors 3. Session Method a. For Single transaction b. For Multiple Transactions in One Session 4. Handling Table Control in BDC we Direct InputBDC (Batch Data Communication) We Never Compromise in Quality, Would You? Page | of 22 By G BDC (Batch Data Communication) _ It is One of the Data Transfer Method. Data transfer methods are divided as Outbound and Inbound. Outbound: Transfer the data from the Source system to Target System(External/Internal) Outbound is a data transfer from SAP to SAP / Non SAP. Note: Source System is always SAP Inbound: Data ivanster from External System into SAP. i.e. Inbound is a technique to transfer the Data from SAP/Non-SAP into SAP Note: Target System is always SAP. sap * SAP Non-SaP. |_——~ Note: BDC is an Inbound Data transfer Technique. About Data Transfer in R/3 System When a company decides to implement the SAP R/3 to manage business-critical data, it Usually does not start fiom a no-data situation. Normally, a SAP R/3 project comes in to replace or complement to an existing application In the process of replacing current application and transferring application data, two Situations might secur napati Adimulam eMax Technologies,Ameerpet, Hyderabad Ph No :+91 40 -65976727, Cell No : 99484 44808,98490 34399, www.emastech.comBDC (Batch Data Communication) ‘We Never Comprom Quality, Would You? 1. The first is when application data to be replaced is transferred at once and only once. 2. The second situation is to transfer data periodically from external system to SAP and Vice versa. ‘There is a period of time when information has to be transferred from existing Application, to SAP R/3, and often this process will be repetitive. Prema Seeasaen £xternal system Cl SAP System SAP data For reasons of efficiency, large volumes of data cannot be transferred manually from an external system into the R/3 System. A data transfer is required that transfers the data automatically in the Background, ‘The SAP system offers Three methods for transferring data into SAP Systems From non-SAP Systems or legacy system. 1, SESSION METHOD 2. CALL TRANSACTION 3, DIRECT INPUT. Note: Both Session Method and Call Transaction, We call BACH INPUT Methods. Where as Direct Inputs are standard programs to post the data into SAP. , Advantages offered by BATCH INPUT method: [ 1. Can process large data volumes in batch Can be planned and submitted in the background 3. No manual interaction is required when data is transferred. Page 2 of 22 By Ganapati Adimulam ‘Max Technologics,Ameerpet,Hyderabad Ph No :+91 40 65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.comBDC (Batch Data Communication) We Never Compromise in Quality, Would You? Note : To implement one of the supported data transfers, you must often w: ‘the program that Exports the data from your non-SAP/SAP System. This program. known as a“data teansfer” program must map the data from the external system into the data structure required by she SAP batch input program, Writing a Data Transfer Program involves following prerequis 1. Analyzing transaction Rien hia as SAP Transaction ontine Analyzing transaction Involves following steps. © Which fields require input i.e., mandatory Which fields you can allow defaulting to standard values. The names. Types and lengths of the fields that are used by a transaction. * Check whether some fields will need conversion of their data types and/or data lengths, Most of the data from the external system must be converted into SAP format. We call this “formatting” the data. © Sereen number and name of module pool program behind that particular transaction To analyze a transaction, do the following * Start the transaction by menu or by entering the transaction code in the command Box * Step through the transaction, by entering the data will be required for processing your batch input data, © Oneach screen, note the program name and sereen (dynpro) number. ( dynpro = dyn + pro, Dyn = screen, Pro = number) Page 3 of 22 By Ganapati Adimulam Max Technologies,Ameerpet.Hyderabad Ph No :#91 40 -65976727, Cell No : 99484 44808,98490 34399, www. maxtech.comBDC (Batch Data Communication) We Never Compro Quality, Would You? © youcan get the program name anil sereen number by pressing FI on any field or button on the screen. the Technical info pop-up shows not only the field information but also the program and screen. Note : Repeat the Procedure of finding the Program Name, Screen no, Field Name and their data type and length for each field on each sereen for all the fields. Note: At the end of analyzing the transaction code, we should have all the screen and fields Details So that we can write the DATA TRANSFER program, Note : Since it is very difficult to collect all the sereen and field details by pressing F1 -> Technical Infornsation on each field when we have multiple screens and more fields , So SAP provided one transaction SHDB to record all the Screen and Field Details along with the Function ) « Cadloc The SHDB transaction ,records all the screen, field and OK_Code details for any transaction. 2.Declaring internal tables. First internal table similar to structure like Input Plat file(T_DATA) Second internal table(IT_BDCDATA) like DDIC Structure BDCDATA. (to maintain the screen and field details). Third internal table(IT_BDCMSGCOLL) like DDIC Structure BDCMSGCOLL. (This Internal table is required Only we work with Call Transaction to process “ the Errors in call transaction), 3. Transferring data from flat file to internal table(IT_DATA). ‘This depends on the source of the File Source of file Presentation server Application server Page 4 of 22 By Ganapati Adimulam ‘eMax Technologies, Ameerpet,Ayderabad Ph No :+91 40 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.comBDC (Batch Data Communication) ‘We Never Compromise in Quality, Would You? Call fuction module: “GUI_UPLOAD: Reading from file into
Input Step 1 : open file. Filename = “file name + path’ Step 2 : Read record by record Output from file append wo
= “internal table to store the data from file’
. Step 3 : close file 4. Population of BOCDATA into the Internal Table(IT_BDCDATA) And Process the transaction using the IT_BDCDATA For Each record in IT_DATA. ie For each record in IT_DATA(Loop at IT_DATA). A) At the beginning of each new screen, we must maintain the module pool name
. the screen number
and a lag
WA_BDCDATA-PROGRAM =
. WA_BDCDATA -DYNPRO =
. WA_BDCDATA -DYNBEGIN ='X', APPEND WA_BDCDATA TO IT_ BDCDATA. CLEAR WA_BDCDATA. B) For each field to which you want to assign values, insert an entry in the intemal table IT_BDCDATA. Specify the technical field name
and the field content
WA_BDCDATA-FNAM =
. WA_BDCDATA-FVAL =
. APPEND WA_BDCDATA TO IT_BDCDATA. CLEAR WA_BDCDATA. Now specify which action is to be executed in this screen. You must determine the triggered function code
and assign this with the field FVAL. Note that the character'/” should always be placed before the function key number The character '=' must be placed before all other function codes, Assign value BDC_OKCODE 10 the field FNAM. WA_BDCDATA-ENAM = ‘BDC_OKCODE’. Page 5 of 22 By Ganapati Adimulam ‘Max Technologies,Ameerpet,Hlyderabad Ph No :+91 40 65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.com
You might also like
ABAP Performance and Tuning
PDF
No ratings yet
ABAP Performance and Tuning
6 pages
1.what Is BDC and Explain The Real Time Scenarios Where We Need To Write The BDC Programs ?
PDF
100% (2)
1.what Is BDC and Explain The Real Time Scenarios Where We Need To Write The BDC Programs ?
15 pages
SAP-Adv ABAP-2
PDF
100% (2)
SAP-Adv ABAP-2
237 pages
Consumer Protection Act, 1986 Notes
PDF
100% (9)
Consumer Protection Act, 1986 Notes
8 pages
Consumer Protection Act, 1986 Notes
PDF
100% (9)
Consumer Protection Act, 1986 Notes
8 pages
Consumer Protection Act, 1986 Notes
PDF
100% (9)
Consumer Protection Act, 1986 Notes
8 pages
All About SAP BDC - Batch Data Communication
PDF
No ratings yet
All About SAP BDC - Batch Data Communication
7 pages
Selection View
PDF
No ratings yet
Selection View
351 pages
SAP ABAP Syllabus 20090624
PDF
100% (2)
SAP ABAP Syllabus 20090624
7 pages
HR Abap Quetsions
PDF
No ratings yet
HR Abap Quetsions
19 pages
BDC Questions and Answers
PDF
No ratings yet
BDC Questions and Answers
3 pages
Real Time Reports
PDF
No ratings yet
Real Time Reports
74 pages
Basic HR ABAP Training - Day 1
PDF
No ratings yet
Basic HR ABAP Training - Day 1
26 pages
BDC Part4 For Abap
PDF
No ratings yet
BDC Part4 For Abap
8 pages
An SAP Consultant - ABAP - Infotype Record Creation - HR - INFOTYPE - OPERATION
PDF
No ratings yet
An SAP Consultant - ABAP - Infotype Record Creation - HR - INFOTYPE - OPERATION
2 pages
Procedure For Uploading Employee Photos Into SAP
PDF
No ratings yet
Procedure For Uploading Employee Photos Into SAP
5 pages
Interface Knowledge
PDF
No ratings yet
Interface Knowledge
4 pages
Sappress Mysap HR Technical Principles
PDF
No ratings yet
Sappress Mysap HR Technical Principles
49 pages
Batch Operations in SAP Gateway Services
PDF
No ratings yet
Batch Operations in SAP Gateway Services
9 pages
SAP Implicit Enhancement Points
PDF
No ratings yet
SAP Implicit Enhancement Points
7 pages
ABAP 005 (Tutorials Point)
PDF
No ratings yet
ABAP 005 (Tutorials Point)
9 pages
What Is Sap Abap Data Dictionary (SE11)
PDF
No ratings yet
What Is Sap Abap Data Dictionary (SE11)
37 pages
Conversion Exit in Sap Abap
PDF
No ratings yet
Conversion Exit in Sap Abap
15 pages
Sap Abap HR Online Training
PDF
No ratings yet
Sap Abap HR Online Training
31 pages
HR Abap
PDF
67% (3)
HR Abap
35 pages
Sap BW 7.4 Course
PDF
No ratings yet
Sap BW 7.4 Course
2 pages
BDC Part3
PDF
No ratings yet
BDC Part3
8 pages
ABAP Interview Questions by Sachin Artani
PDF
No ratings yet
ABAP Interview Questions by Sachin Artani
3 pages
ABAP Dictionary
PDF
No ratings yet
ABAP Dictionary
3 pages
Question On SPAU and SPDD
PDF
No ratings yet
Question On SPAU and SPDD
7 pages
Abap - HR: Presented by Gayathri & Sushmitha
PDF
No ratings yet
Abap - HR: Presented by Gayathri & Sushmitha
67 pages
BADI To Default Values in PA Infotypes - SCN
PDF
No ratings yet
BADI To Default Values in PA Infotypes - SCN
6 pages
Sams Teach Yourself ABAP/4 in 21 Days: Program Naming Conventions
PDF
No ratings yet
Sams Teach Yourself ABAP/4 in 21 Days: Program Naming Conventions
6 pages
Difference Between Logical Database PNP and PNPCE
PDF
No ratings yet
Difference Between Logical Database PNP and PNPCE
2 pages
Sap Abap Interview Questions and Answers
PDF
No ratings yet
Sap Abap Interview Questions and Answers
4 pages
Sap Luw
PDF
No ratings yet
Sap Luw
11 pages
Interviewflow
PDF
No ratings yet
Interviewflow
80 pages
SAP ABAP Interview Questions
PDF
No ratings yet
SAP ABAP Interview Questions
147 pages
ALVGrid Control
PDF
No ratings yet
ALVGrid Control
9 pages
More Than 100 ABAP Interview Faq
PDF
No ratings yet
More Than 100 ABAP Interview Faq
13 pages
S4:HANA Extensibility
PDF
No ratings yet
S4:HANA Extensibility
12 pages
Totals in Adobe Forms
PDF
100% (1)
Totals in Adobe Forms
13 pages
My Profile (Fiori 2.0) - Enhancement
PDF
No ratings yet
My Profile (Fiori 2.0) - Enhancement
5 pages
BDC Sap Abap
PDF
No ratings yet
BDC Sap Abap
39 pages
ABAP OO For HCM
PDF
100% (1)
ABAP OO For HCM
65 pages
Difference Between .Include and .Append?
PDF
No ratings yet
Difference Between .Include and .Append?
4 pages
Gain Programmatic Access To Data of SAPGUI ALV Reports
PDF
No ratings yet
Gain Programmatic Access To Data of SAPGUI ALV Reports
4 pages
BDC - SM35 and SHDB Batch Data Conversion (BDC)
PDF
No ratings yet
BDC - SM35 and SHDB Batch Data Conversion (BDC)
18 pages
Adobe Form Steps
PDF
No ratings yet
Adobe Form Steps
20 pages
Odata Sap Technomaniac On Youtbe 1704788169
PDF
No ratings yet
Odata Sap Technomaniac On Youtbe 1704788169
121 pages
ABAP 4 The Complete REference Vol - II PDF
PDF
No ratings yet
ABAP 4 The Complete REference Vol - II PDF
308 pages
BDC Recording Procedure: Sap Sm35
PDF
No ratings yet
BDC Recording Procedure: Sap Sm35
13 pages
Conversion and Interfaces
PDF
No ratings yet
Conversion and Interfaces
16 pages
This Section Reviews Batch Input Programming Concepts and Explains How To Program Data Transfer and Batch Input Processing Programs
PDF
No ratings yet
This Section Reviews Batch Input Programming Concepts and Explains How To Program Data Transfer and Batch Input Processing Programs
51 pages
BDC (Batch Data Communication) Tutorial For Data Transfer
PDF
No ratings yet
BDC (Batch Data Communication) Tutorial For Data Transfer
3 pages
SAP BDC (Batch Data Communication) Tutorial
PDF
No ratings yet
SAP BDC (Batch Data Communication) Tutorial
7 pages
SAP-Adv ABAP-2
PDF
No ratings yet
SAP-Adv ABAP-2
232 pages
Batch Data Communication
PDF
No ratings yet
Batch Data Communication
69 pages
Sap BDC
PDF
No ratings yet
Sap BDC
5 pages
Batch Input
PDF
No ratings yet
Batch Input
25 pages
BDC - Batch Input
PDF
No ratings yet
BDC - Batch Input
52 pages
BDC Final PDF
PDF
100% (1)
BDC Final PDF
19 pages
ClassBook-Lessons-ABAP Part III Lesson1 - BDC
PDF
No ratings yet
ClassBook-Lessons-ABAP Part III Lesson1 - BDC
45 pages
Object Oriented Programming
PDF
No ratings yet
Object Oriented Programming
57 pages
C Ques by Sud
PDF
No ratings yet
C Ques by Sud
9 pages
Marketing Strategies of Hero Honda Splendor
PDF
100% (1)
Marketing Strategies of Hero Honda Splendor
19 pages
Advertising - Promotions - Rai University
PDF
No ratings yet
Advertising - Promotions - Rai University
334 pages
T-Test For Difference of Means
PDF
No ratings yet
T-Test For Difference of Means
5 pages