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)
328 views
308 pages
ABAP 4 The Complete REference Vol - II PDF
Uploaded by
Vijitha
AI-enhanced title
Copyright
© © All Rights Reserved
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 ABAP 4 The Complete REference Vol - II.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
328 views
308 pages
ABAP 4 The Complete REference Vol - II PDF
Uploaded by
Vijitha
AI-enhanced title
Copyright
© © All Rights Reserved
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 ABAP 4 The Complete REference Vol - II.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save ABAP 4 The Complete REference Vol - II.pdf For Later
You are on page 1
/ 308
Search
Fullscreen
Helps to Reach BB aa Te yd The Complete Reference Ganapati Adimulam |About the Author Ganapati Adimulam is an SAP Technical Consultant, Having neatly four years of Experience in the SAP Domain, several successful imptementation, and a background in training and technical documentation has afforded him many opportunities to observe all aspects of SAP implementation, ‘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 Emest & Young), Infosy's and Satyam Computers and also for many other international clients as both onsite and off- shote Technical consultant. As his basic interest is in SAP training domain, he has 1 services after relieving from the corporate biggies. He is training services in SAP through eMax Technologies, imparting SAP training to the corporate consultants. He is a big talk as a very good SAP corporate trainer into SAP training nil offering excellent ‘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 personnel ‘We acknoviledge our sincere thanks to our Honorable Director, ¢Max Technologies, Mr. Rama Rao for his continuous guidance, support and co-operation through this project. | want to take this opportunity to thank the entire management, beloved students and fiends and several other individuals of eMax Technologies in reviewing and assuring the quality checks of the accomplishments at every stage of this project. Finally I would like to extend my sincere thanks to, ily members from the bottom of my heart. Ganapati Adimulam.INDEX 1. BDC Programming 22, 72 2. SAP SCRIPT 811. BDC Programming 1. Introduction to BDC Programming 2. Call Transaction Method a. Processing Errors 3. Session Metho:‘We Never Compromise in Quality, Would You? BDC (Batch Data Communication) Itis 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/intemal SAP [| non-sar ‘Outbound is a data transfer from SAP to SAP /Non SAP, Note: Source System is always SAP. SAP Inbound: Data transfer 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 1 —— x ‘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 RV3 to manage business-critical data, it Usually does not start from a no-data situation, Normally, a SAP R/S 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 occur: Page 1 of 22 Ph No :+91 40 65976721, Cell No : 99484 44808,98490 34399, www.emaxtech,comWon We Never Compromise i 1. The first is when application data to be replaced is transferred at once and only 2. The second situation isto 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/S, and often this process will be repetitive. Pen So External system SAP System For reasons of efficiency, large volumes of data cannot be transferred manually from an extemal system into the RJ/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 2. 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 ‘eMax Technologies Ameerpet Hyderabad Ph No #491 40 -65976727, Cell No : 99484 44908,98490 34399, www.emantech.com‘We Never Compromise in Quality, Would You? ‘Note : To implement one of the supported data transfers, you must often write the program that Exports the data from your non-SAP/SAP System. This program, known as a “data transfer” program must map the data from the extemal system into the data structure required by the SAP batch input program. ‘Writing a Data Transfer Program involves following prerequisites: 1, Analyzing transaction ‘Analyzing transaction Involves following steps. Which fields require input ic, 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 oftheir data types and/or data lengths. Most ofthe data from the external system must be converted into SAP format, We call this “formatting” the data, + Screen 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 willbe required for processing your bul iuput dal. + Oneach sereen, note the program name and sereen (dynpro) number. (dynpro= dyn + pro. Dyn = sereen, Pro = number) Page 3 of 22 By Ganapati Adimulam Ph No :+91 40 -65976727, Coll No : 99484 44808,98490 34399, www.emaxtech.com‘We Never Compromise in Quality, Would You? * you can get the program name and screen number by pressing FI on any field or button on the sereen. the Technical info pop-up shows not only the field information but also the program and sereen, Note : Repeat the Procedure of finding the Program Name, Sereen no, Field ‘Name and their data type and length for each field on cach screen for all the fields. Note: At the end of analyzing the transaction code, we should have all the sereen and fields Details So that we can write the DATA TRANSFER program. Note : Since itis very difficult to collect all the screen and field details by pressing F1 > Technical Information on each field when we have ‘multiple sereens and more fields , So SAP provided one transaction ‘SHDB to record all the Screen and Field Details along with the Function Codes ‘The SHDB transaction ,records all the sereen, field and OK_Code details for any transaction. 2.Declaring internal tables. First internal table similar to structure like Input Flat file@T_DATA) Second internal table(IT_BDCDATA) like DDIC Structure BDCDATA. (o maintain the screen aid field details). ‘Third internal table(IT_BDCMSGCOLL) like DDIC Structure BDCMSGCOLL. (This Internal table is requited 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 fle Presentation server Application server Page 4 of 22were wes vata Commnuaneaivny ‘We Never Compromise in Quality, Would You? Call fuction module: *GUI_UPLOAD’ Reading from file into
Input Step 1: open file. Filenam Step 2 : Read record by record Output from file append to <
= ‘internal table to store the data from file”
, Step 3 : close file 4. Population of BDCDATA into the Intemal Table(IT_BDCDATA) ‘And Process the transaction using the IT_BDCDATA For Each record ir IT_DATA. ie For each record in IT_DATA(Loop at IT_DATA). A) Atthe beginning of each new sereen, we must maintain the module pool name “
the screen number
and a flag
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 internal table IT_BDCDATA. Specify the technical field name
and the field content
: WA_BDCDATA-FNAM =
, WA_BDCDATA-FVAL =
. APPEND WA_BDCDATA TO I1_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 to the field FNAM: WA_BDCDATA-FNAM = ‘BDC_OKCODE’. Page $ of 22 By Ganapati Adimulam i Technologies, Amearpet Hyderabad Ph No :#91 40 ~65976727, Cell No : 99484 44808,98490 34399, ww.emaxtech.comwe never Compromse m Uus uy, Would You: WA_BDCDATA -FVAL=
, APPEND WA_BDCDATA TO IT_BDCDATA. CLEAR WA_BDCDATA. NOTE : Execute steps A and B for each addtional screen inthe transaction. ‘Alter the last screen inthe transaction, intemal table 1”_aocoATA is filed with all ofthe values required to process. One record Completely IF Session Method , Insert the IT_BDCDATA into the session by calling the Function Module ‘BDC_INSERT. ELSEIF CALL TRANSACTION METHOD. (CALL TRANSACTION
USING TT_BDCOATA MESSAGES INTO IT_BDCMSGCOLL. ENDLOOP. (FORIT_DATA). CALL TRANSACTION: Inthe second method, the Conversion program uses the ABAP statement CALL TRANSACTION USING to run an SAP transaction. Extemal data does not have to be deposited in a session for later processing. Instead, the entire batch input, process takes place inline in your program. Processing batch input data with CALL TRANSACTION USING is the faster of the two recommended data transfer methods. In this method, legacy data is, processed inline in your data transfer program. Syntax: CALL TRANSACTION
USING
MODE
UPDATE
Page 6 of 22, By Ganapati Adimulamue (omen vata Commumeauon) ‘We Never Compromise in Quality, Would You? MESSAGES INTO
. Details : <
: Transaction code -
: Internal table of structure BDCDATA. -
: Display mode: A [ Display all | B | DISPLAY MODE Parameter Use the MODE parameter to specify whether data transfer processing should be displayed as it happens. You can choose between three modes: A Display all, All screens and the data that goes in them appear when we run your program. NNo display. All screens are processed invisibly, regardless of whether there are «errors or not, Control returns to your program as Soon as transaction processing is finished. E Display eros only. The transaction oes into display mod as son as a enor in one of the screens is detected. You can then correct the error.
: Update mode: | Synchronous “Asynchronous 1 Local update ‘The UPDATE Parameter You use the UPDATE parameter to specify how updates produced by a transaction should be processed. You can select between these modes: By Ganapati Adimulam ah pet Hipderabad Ph No :#91 40 ~65976727, Cell No : 99484 44808,98490 34399, www.emastech.comWe Never Compromise in Quality, Would You? Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program. Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not. Error a updating, ysis and recovery is less convenient than with synchronous Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be ‘completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors. Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. ‘The MESSAGES Parameter ‘The MESSAGES specification indicates that all system messages issued during a CALL TRANSACTION USING are writlen into the internal table
. The internal table must have the structure BUCMSGCOLL. Return codes: Value Explanation 0 Suecessful Error in dialog program | Batch input error Error Handling in CALI. TRANSACTION ‘When the records are uploaded in database table by Session Method error record is stored Page 8 of 22 By Ganapati Adimulam ‘Max TechnologiesAmoorpet Hyderabad Ph No 191 4065976727, Cell No : 99484 44608,98490 34399, svn mscmsatech.comeee wntca ten Communication We Never Compromise in Quality, Would You? In the og file. In Call transaction there is no such log file available and error record is Lost unless handled. Usually you need to give report of all the error records i. records ‘Which are not inserted or updated in the database table and this ean be done by following Method. ‘Steps for the error handling in CALL TRANSACTION Requirement : LOOP ATTT_DATA, is For each data record) Populate IT_BDCTAB iable Call transaction
using IT_BDCDATA Mode
Update
“Messages IT_ BDCMSGCOLL. fsy-subre ne O. (Call wansacton returns the sy-subre if not succesful Tnupdaton). Call funtion FORMAT_MESSAGE. OR Call Function BAPL_MESSAGE,_GETDETAIL OR ‘Querry the Message TEXT from the table T100 forthe Messages Collected into IT_BDCMSGCOLL. ‘The Tent in T1O0-TEXT would be maintained wih Place Holders Replace the Place Holders with Variable Texts fom IT_BDCMSGCOLL(MSGV1, MSGV2, MSGV3, SGV), Ether APPEND the error message to another Internal table IT_ERRO and Display it Finally OR Display me record and message immediatly. Enadloop. Page 9 of 22 By Ganapati Adimulam ‘Max Technologies Ameorpet Hyderabad Ph No :491 40 ~65976727, Cell No : 99484 44808,98490 34399, wow.emaxtech.comWe Never Compromise n Quality, Would You Provide the Controll - “Area, Cost Center, valid from and Valid to. ENTER Provide Name of the Cost Center, Person Responsible, Cost Center Category, Page 10 of 22 By Ganapati Adimulam ‘eMax Technologies Ameerpet Hyderabad Ph No :191 4065976727, Cell No : 99484 44908,98490 34399, www.cmastech,com.ser SAVI and Page 11 of 22 the BDC program. By Ganapati Adimulam Max Technologies Ameerpet Hyderabad Ph No :+91 40 -65976727, Cell No: 19484 44808, 98490 34399, www emaxtech.comWe Never Compromise in Qi Program Details: * PROGRAM : ZDEMO_UPLOAD_COST_CENTER_DATA * AUTHOR: GANAPATI. ADIMULAM * PURPOSE : BDC PROGRAM TO UPLOAD ALL THE COST * CENTER MASTER DATA INTO SAP USING * CALL TRANSACTION METHOD. * REFERENCE : NA * COPIED FROM : NA, * TRAPORT REQUEST NO : C11 9001 REPORT ZDEMO_UPLOAD_COST_CENTER_DATA DATA : BEGIN OF WA_DATA, KOKRS TYPE KOKRS, "CONTROLLING AREA. KOSTL TYPE KOSTL, "COST CENTER DATAB TYPE DATAB, "START DATE. DATBI TYPE DATBI, "END DATE KTEXT TYPE KTEXT, "NAME LTEXT TYPE LTEXT, "DESCRIPTION VERAK TYPE VERAK, "PERSON RESPONSIBLE. KOSAR TYPE KOSAR, "COST CENTER CATEGORY KHINR TYPE KHINR, "HIERARCHY AREA END OF WA_DATA. DATA :IT_DATA LIKE TABLE OF WA_DATA, IT_BDCDATA LIKE TABLE OF BDCDATA, WA_BDCDATA LIKE LINE OF IT_BDCDATA, IT_BDCMSGCOLL LIKE TABLE OF BDCMSGCOLL, WA_BDCMSGCOLL LIKE LINE OF IT_BDCMSGCOLL. DATA V_FILE TYPE STRING. “CONSTANTS. CONSTANTS : C_KS01(4) TYPE C VALUE 'KS0I', _X() FYPEC VALUE xX, AQ) TYPE C VALUE A", ‘SELECTION-SCREEN BEGIN OF BLOCK BI WITH FRAME TITLE TEXT- (000. PARAMETER : PA FILE LIKE FCO3TAB-PLOO_FILE OBLIGATORY SELECTION-SCREEN END OF BLOCK BI. yge 12 of 22, By ‘Max Technologies Ameorpet Hyderabad Ph No 91 40 ~65976727, Cell No; 99484 44808,98490 34399, www.emaxtech.com apati Ac lam” ‘We Never Compromise in Quality, Would You? * AT SELECTION-SCREEN ON VALUE-REQUEST “EVENT TO BE TRIGGERED WHEN WE PRESS F4 AT SELECTION-SCREEN ON VALUE-REQUEST FOR PA_FILE. PERFORM GET_F4_FOR_FILE USING PA_FILE. * START-OF-SELECTION. * START-OF-SELECTION, ‘WE NEED TO MOVE THE PA_FILE INTO ANOTHER VARIABLE OF TYPE STRING *AS WE ARE GOING TO USE THE SAME IN THE FM ; GUI_UPLOAD ‘THERE THE “FILE TYPE IS STRING. \V_FILE = PA FILE. “UPLOAD THE DATA FROM FLAT FILE TO
PERFORM UPLOAD FILE TO_ITAB USING V_FILE CHANGING IT_DATA. “FILL THE SCREEN AND FIELD DETAILS LOOP AT IT_DATA INTO WA_DATA. REFRESH IT_BDCDATA. *FIST SCREEN DETAILS PERFORM FILL_SCREEN_DETAILS USING 'SAPLKMALI' 0200" *CURSOR DETAILS PERFORM FILL_FIELD_DETAILS USING 'BDC_CURSOR' ‘CSKSZ- KOKRS: “OKCODE DETAILS PERFORM FILL_FIELD_DETAILS USING 'BDC_OKCODE' 100. **CONTROLLING AREA. PERFORM FILL_FIELD_DETAILS USING 'CSKSZ-KOKRS' WA DATA- KOKRS. *COST CENTER DETAILS Page 13 of 22 By Ganay eMax Technologies, Ameerpet Hyderabad Ph No +91 40 -65976727, Cell No : 99484 44808,98490 34399, www.emaxtech.comWe Never Compromise in Qi PERFORM FILL, FIELD_DETAILS USING 'CSKSZ-KOSTL’ WA_DATA- KOSTL, Would You? *START DATE PERFORM FILL. FIELD_DETAILS USING 'CSKSZ-DATAB_ANFO’ WA_DATA-DATAB. *END DATE PERFORM FILL, FIELD_DETAILS USING 'CSKSZ-DATBI_ANFO' WA_DATA-DATBI. *NEXT SCREEN DETAILS PERFORM FILL_SCREEN_DETAILS USING 'SAPLKMAI''0299''X’ *OKCODE DETAILS PERFORM FILL, FIELD_DETAILS USING 'BDC_OKCODE''=BU’ *SUBSCR FIELD DETAILS PERFORM FILL_FIELD_DETAILS USING 'BDC_SUBSCR' "BDC_SUBSCR’. *CURSOR DETAILS. PERFORM FILL_FIELD_DETAILS USING 'BDC_CURSOR' ‘CSKSZ- WAERS', *NAME PERFORM FILL_FIELD_DETAILS USING 'CSKSZ-KTEXT WA_DATA- KTEXT. *DESCRIPTION PERFORM FILL_FIELD_DETAILS USING 'CSKSZ-LTEXT' WA_DATA- LTEXT. *PERSON RESPONSIBLE PERFORM FILL_FIELD_DETAILS USING 'CSKSZ-VERAK' WA_DATA- VERAK. *COST CENTER CATEGORY PERFORM FILL_FIELD_DETAILS USING 'CSKSZ-KOSAR' WA_DATA- KOSAR. *HIERARCHY AREA. PERFORM FILL, FIELD_DETAILS USING 'CSKSZ-KHINR' WA_DATA- KHINR, Page 14 of 22 By Ganapati Adimulam Max Technologies Ameerpet Hyderabad Ph No:191 4065976727, Cell No: 99484 44908,98490 34399, mmm cunaatestucin Quality, Would You? *CURRENCY KEY PERFORM FILL, FIELD_DETAILS USING 'CSKSZ-WAERS' INR’ “CALL THE TRANSACTION CALL TRANSACTION C_KS01 USING IT_BDCDATA. MODE C_A "A- ALL SCREENS "NNO SCREENS " E-ERROR SCREENS ONLY UPDATE “A’ “Aysnchronous “Synchronous MESSAGES INTO IT_BDCMSGCOLL. ENDLOOP. Form FILL_SCREEN_DETAILS Qa FORM FILL_SCREEN_DETAILS USING PROGRAM LIKE BDCDATA- PROGRAM | DYNPRO LIKE BDCDATA-DYNPRO DYNBEGIN LIKE BDCDATA-DYNBEGIN. CLEAR WA_BDCDATA. WA_BDCDATA-PROGRAM = PROGRAM. WA_BDCDATA-DYNPRO = DYNPRO. WA_BDCDATA-DYNBEGIN = DYNBEGIN. APPEND WA_BDCDATA TO IT_BDCDATA. ENDFORM. " FILL_SGREEN_DETAILS. &———— *& Form FILI +8. * Fill Field Details FIFLD_DRTATS, FORM FILL_FIELD_DETAILS USING FNAM FVAL CLEAR WA_BDCDATA. WA_BDCDATA-FNAM = FNAM. WA_BDCDATA-FVAL = FVAL. APPEND WA_BDCDATA TO IT_BDCDATA. ENDFORM. 15 0f 22 By Ganapati Adimulam imeerpet Hyderabad Ph No :+91 40 -65976727, Cell No : 99484 44808,98490 34399, www.emastech.comForm GET_F4_FOR FILE * DISPLAY ALL FILES IN THE SYSTEM FOR SELECTION + .5P_PA_FILE NAME OF THE FILE FORM GET_F4_FOR FILE USING P_PA FILE. CALL FUNCTION 'KD_GET_FILENAME_ON_F4 EXPORTING FIELD_NAME ='PA FILE! CHANGING FILE_NAME = PA. FILE, IF SY-SUBRC = 0. ‘MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGVI SY-MSGV2 SY-MSGV3 SY-MSGVS. ENDIF. ENDFORM. " GET_F4 FOR FILE * SUBROUTINE TO UPLOAD THE DATA FROM PRE.SERVER FILE TO ->P_V_FILE - FILE NAME “TT_DATA - INTERNAL TABLE TO STORE THE DATA FORM UPLOAD FILE TO TAB USING FD_V FILE CHANGING FP_IT_DATA LIKE IT_DATA. CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = HAS_FIELD_SEPARA’ ‘TABLES DATATAB = FP_IT_DATA. ENDFORM. “ UPLOAD_FILE_TO_ITAB Execute the Program and Observe the Input and Output of the Program : Step 1: Execute the Program . Page 16 of 22 By Ganapati Adimulam ‘Max Technologies Ameerpet Hyderabad Ph No 1491 40 65976727, Cell No: 99484 44908,98490 34399, www emaxtesh.com‘We Never Compromise in Quality, Would You? Page 17 of 22 By G ‘hax Technologies Ameerpetliyderabad 1 40 65976727, Cll No: 99484 44808,98490 34399, ww.emaxtech.com PRNWe Never Compromise in Qu 1" Screen : Observe the data is transferred a ENTER 2" Screen Details : Page 18 of 22 By Ganapati Adimulam ‘eMax Technologies Ameerpet iyderabad Ph No 401 40. 65976727, Cell No: 99484 44808,98490 34399, swwm.emantech.comoe was wats Comumieauony ‘We Never Compromise in Quality, Would You? ENTER Observe it, AGAIN it called the same sereen/s for the next Cost center and it repeats the Same procedure for the rest of the records. Cheek for the Successful Creation Of Records : Execute KS03 = ; a Cost Center) Dispiar tal 20 Page 19 of 22 By Ganapati Adimulam eMax Technologies Ameerpet Hyderabad Ph No :491 40 -65976727, Cell No : 99484 44808,98490 34399, www.emastech.comENTER [Repeat the same Procedure for all records and the Other way is check the Corresponding Database table for all the records. i.e Open the Database table CSKS Cost center master data, Execute SE16 and Provide the table Name as CSKS and click On Table Contents Page 20 of 22 By Ganapati Adimulam ‘eMax Technologies Ameerpet Hyderabad Ph No +91 40 -65976727, Cell No : 99484 4808,98490 34399, ww csmustech.comEnter the Cost Centers from the File. TEEEEREE Page 21 of 22 By Ga ‘eMax Technologies Ameerpot Hyderabad 91 40 ~65976727, Cell No : 99484 44808,98490 34399, Adimutam Ph No: srw .emaxtech.comYes, All the Cost Centers aro Uploaded Suecessfully Page 22 of 22 By Ganapati Adimular Max Technologies Ameerpet Hyderabad Ph No +#91 40 -65976727, Cell No 99484 44808,98490 34399, srw m.cosatech.comPage 1 of 72 Desston Method We Never Compromise in Quality, Would You? We Never Compromise in Quatity, Would You? Session Method Summary: Offers management of sessions, support for playing back and correcting sessions that contain errors, and detailed logging, Data Transfer program Create a session on the batch input queue. t prepares the data and stores it in a batch input session. A session is a collection of transaetion data for one or more transactions, Batch input sessions ‘are maintained by the system in the batch input queue, We can process batch input sessions in the background processing system, ‘The program must open a session in the queue before transferring data to, and must close it again afterwards, All of these operations are performed by ‘making function module calle from the ABAP program, © Asynchronous processing (© Transfers data for multiple transactons © Synchronous database update During processing, no transaction is started until the previous transaction has been writin tothe database. © Ath input processing lg is generated for each session © Sessions cannot be generated in parallel ‘The batch input program must not open @ session unlit has closed the precedina session One of rended ways to process batch input data is to store the date in a bat ion. You can then run this session in the R/3 System to enter the batch input data into the system, STEPS TO WORK WITH SESSION METHOD : 1, Generate the batch input session using function module BDC_OPEN GROUP. 2. Then proceed as follows for each transaction that the session contains: 4. In the BDCDATA structure, enter the valuc for all screens autd fields that_must be processed in the transaction. (Ie Fill the ITAB IT_BDCDATA ), mnapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40,-65976227, Cell No: 99484 44808, 98490 34399, www.emaxtech.com‘We Never Compromise in Quality, Would You b. Use BDC_INSERT to transfer the transaction and the IT_BDCDATA to the session, 3, Close the batch input session with BDC_CLOSE_GROUP 4. Process the Session Online through SM35/ In Background through program RSBDCSUB. Note : We need to repeat the Step 2, for each transaction , when we want to process multiple transactions through the same Session. ‘The above Steps in Detail : 1. Use the BDC_OPEN_GROI create a new session, Once you have created a session, input data into it with BDC_INSERT. EXPORTING CLIENT =
Group =
HOLDDATE = Flock dato> KEEP,
EXCEPTIONS RUNNING QUEUE_ERROR CLIENT-INVALID. GROUPLINVALID = 17 You cadfiot re-open session that already exists and has been closed. Ifyou call BDC_OPEN.GROUP with the name of an existing session, then an additional session with the same name is created. BDC_OPEN_GROUP takes the following EXPORTING parameters: + CLIENT Client in which the session is to be processed, Default: Ifyou don't provide a value for this parameter, the default isthe client ‘under which the batch input program runs when the session is created, 20of 72 Max Technologies, Ameorpet, Hyderabad Ph Not +01 40 65976727, Cell No: 99484 44808, 98490 34399, www.cmastech.contDession Method ‘We Never Compromise in Quality, Would You we Never Compromise in Quatity, Would You? + GROUP Name of the session that is to be created. Default: None. You must specify a session name. + HOLDDATE Lock date. The session is locked and may not be processed until the date that you specify. Only system administrator with the LOCK authorization for the authorization object Batch Input Authorizations can unlock and run a session before this date, Format: YYYYMMDD (8 digits) Default: No lock date, session can be processed imniediatel optional remains in the input/output queue until an adminlS4fbr deletes it. Note: Sessions that contain errs in waa are kept even if KEEP is not set MiP 4 Default: If not sehen sessions that are successfully processed are deleted. Only the batch input log s kept executed in @ session. Otherwise, transactions will be terminated with "no authorization” errors, 5. The procedure as follows for each transaction thatthe session contains: 6 4 Inthe BDCDATA structure, enter the value forall sereens and fields that must be processed in the transaction, b. Use BDC INSERT to transfer the transaction and the BDCDATA. structure to the session, 3of 72 By G lax Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cel No: 99484 44808, 98490 34399, www.emaxtech.comWe Never Compromise in Quality, Would Y Adding Data to a Session: BDC_INSERT BDC.INSERT CALL FUNCTION "BOC_INSERT. EXPORTING TCODE ‘transaction code> TABLES DYNPROTAB =
EXCEPTIONS INTERNAL_ERROR -4 NOT_OPEN = 2 ‘QUEUE_ERROR = 3 TCODE_INVALID 4 parameters: BDC ANSERT takes ee + TegbE ‘The code of the transaction that isto be run. + DYNPROTAB ‘The BDCDATA structure that contains the data that is to be processed by the transaction, DYNPROTAB is a table parameter in the function module 3. Close the batch input session with BDC CLOSE GROUP Page 4 of 72 ‘By Ganapati Adimulam ‘Max Technologies, Amecrpet, Hyderabad [Ph No: +91 4065976727, Cell No: 99484 44808, 98490 34399, wwe wemaxtesSession Method ‘We Never Compromise in Quality, Would You? Use the BDC_CLOSE_GROUP function module to close a session after you have inserted all of your batch input data into it. Once a session is closed, it ean be processed. irene ten ot BDC_CLOSE_GROUP needs no parameters. It automatically closes the session that is currently open in your program. ‘You must close a session before you can open another session from the same program, " You cannot reopen a session once it has been eQi@ nA mew, call to 'BDC_OPEN_GROUP with the sme session namie events g te don with the same name, 4. Start to process the Session Can be Processed either Manually or in Background. Execute the transaction SM3S if Manually Else Schedule the Pi RSBDCSUB. Managing Baiiparsessione, Includes. Processing the Sessions Analysis of Session is a set of one or more calls to transactions along with the data SP by the transactions. The system normally executes the Béssion non-interactively, allowing rapid entry of bulk data into an R/S System, A session records transactions and data in a special format that can be interpreted by the R/3 System. When the System reads a session, it uses the data inthe session to simulate on-line entry of transactions and data For example, the data that a session enters into transaction screens is subject to the same consistency checking as in normal interactive operation, Further, batch input sessions are subject to the user-based authorization checking that is performed by the system, Page 5 of 72 By Ganapati Adimulam eMax Technolog Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.cmaxtech.comWe Never Compromise in Quality, Would You? A Session Can be Processed Automatically Explicitly Processing Sessions Automatically Use necessary for a session to wait until a system admi procesiag the soon mast Bec tt ib inthe RB BDCSUB checks for and starts any batch input chedules such séssions for immediate stem. Prerequisites ‘The ABAP program RSBD} background processing syst sessions that have not yet bet ‘execution in the background Procedure icallyfn one or more background jobs, gheduled batch input runs, you can schedule separate jobs ta yansfers. The start time for the RSBDCSUB job input schedule. And you can use a variant to ‘the batch input sessions that you expect. Input For the Program RSBDCSUB: session name date and time of generation Salus: ready to run or held inthe queue because of errors Page 6 of 72 By Ga ‘Max Technologies, Ameerpet, Hyderabad Ph No: 191 40 65976727, Cell No: 99484 44808, 98490 34399, ww.emaxteeh.comSession Method We Never Compromise in Quality, Would You Hs Naver Compromise in Quatity, Would You? Result Batch input sessions are started automatically rather than by hand, The RSBDCSUB program can be set up to start all sessions that arrive in an R/S System, or it can be fine-tuned to start only batch input sessions that you expect. Starting Sessions Explicitly: Run Modes Use Running a batch input session executes the transactions in t data into an R/3 System. Usually, the system will run batch input sessions aufématicd Pyou can also start batch input sessions by hand. You ms other reasons: * To correct transactions thahad errorst + To check that the transactions ina session running the first several transact, + To start agession on special fequest ion would not be started autor us be started right aay. generated correctly by Prerequisites Start the, )put matagement tool: Select System [i Service © Bate input EiSessy ate: Eniéhnsaction SM38, Proc To start ark the session and choose Process from the tool bar. You ‘can then choose how to una session andl with what logging and display options ‘You can start any session in new status that is not locked. Page 7 of 72 By ti Adimulam Max Technologies, Ameerpot, Hyderabad # +91 40 65976727, Cll No: 99484 44808, 98490 34399, www.cmaxtech.com PhWe Never Compromise in Quality, Would You Run Modes There are three ways to run a session: ———— ® ProcessHoraground Display errors ony SO Bavkaroung, Process/foreground: You can interactively correct transggfions that contai errors and step through transactions that have not yet been executed. + Display errors only: This mode is like Prodi transacti non-interactively, Ian error occurs, provessi is displayed, Display errors only mode, you can also re- the status Incorrect. Sessions with the status Processed on intthe session contained an error, the incorrect transaction ‘is aborted. All other transactions are completed. The session remains in the queue and is held in the Errors section of the list. You can correct the session in one of the interactive modes and run it to completion. A wansaction contains an error if it Issues a message of type E (error) or type A (abnormal termination). Other messages are ignored and do not affect the execution of a session, Analyzing Sessions through SM35, Use Page 8 of 72 By Gi ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 39484 44808, 98490 34399, wwrw.emaxtech.comSession method We Never Compromise in Quality, Would You —______We ever Compromise in Quatity, Would You? Use the analysis functions to check on the actions performed by a batch input session. The analysis functions allow you to display the transactions, screens, and data ina session. Procedure ‘You can use the analysis functions before or after a session has been run, Note : Analysis of sessions that have been run is available only for sessions that contained an error or which were generated with the KEEP option. The KEEP option prevents the system from deleting a session that has bggf successfully run, You can analyze a session by marking the session ssion queue and selecting Goto 0 Analyze session or by selecting session log screen, Statisties For a quick summary of statistics function: Goto 0 Sh analysis function is thatthe s “ Session Data ‘You can display the: Sereens at EA Here, you can have the data presented to you in two formats: + The first data display presents data in list format by field name. Choose this display by choosing Options ttom the tool bar and marking the Field list check box, Page 9 of 72 By Ganapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comWe Never Compromise in Quality, Would You? + data shown on it. Double-lick on the sereen in the Dynpro list. The system simulates the screen. No data is processed, ‘You can switch back and forth from one form of display to the other. Correcting a Sessior Use This section explains how to correct errors in faulty transactions in a session. d Procedure < 4 When a session is run in background-processin, marks transactions that contain errors as incorrect. All other tran ‘session are completed. The session itself is kept in the,sggsion queue * Errors section, of the lis. A transaction contains an error ifit generd : ¢ of type E (enor) or type A (abnormal termination). Messages of offer tygfette ignored and do not alfetthe execution ofa sessign: cs ‘You can correct and re-executelthe i actions in an "Errors" session. There are wownys 0 do so: ; Re-run the session in display ay cerrofeaisplay mode, These modes offer the following, vans . ‘The following topic provides more information on using display-all mode or error-display mode to correcta transaction. As an alternative, you ean analyze the session to determine what the error was. With the analysis displays, you can check the screen that contained the error and the values that were entered in it. You can then correct the program that generated the session and regenerate the session, ‘Note: You must ensure thatthe new session does not include transactions (Records) that ware successfully completed. Otherwise, the updates made by the transactions will be performed agan Page 10 of 72 By Ganapati Adimulam ‘Max Tech Ph No: 191 40-65976727, logies, Ameerpet, Hyderabad I No: 99484 44908, 98490 34399, wom cuastech.sPage 1 ‘We Never Compromise in Quality, Woukl You Interrupting a Session ‘You can interrupt the interactive execution of a session by entering the /bend OK code on any sereen. /bend terminates the transaction currently being executed the session and marks the transaction with the status Incorrect. The session is kept in the queue and is displayed in the Errors section of the list. Changes made by the interrupted transaction are rolled back as long as the transaction uses only the R/3 update facility ‘You can use /bend when testing sessions. For example, you may wish to run the frst transactions of a large session in display-all mode t ssure that the session has been generated correctly If the transactions are correct, you can then temming then submit the session for background execution. The ‘already been run will not be run again. Restarting a Transaction } } You can restart processing action by etering.the Mbbeg OK code on any screen, /bbeg terminates the being processed and then restarts the transaction fresh batch input session. Any changes made by the transact 4s long as they were made only by way of le directly to the database are not tion, from a session during interactive execution by transaction is removed from the session. The run even if you restart the session, and you cannot delete a centering the'Mbidel OK ot deleted transaction Gann take back the deletion, The transaction is, however, available for analysis if the session was generated with the KEEP option set. The transaction is marked with the status Delefed in the ‘analysis display. The deletion also is recorded in the log generated by the session, Similarly we have some other OK Codes and their Functionalities 1 of 72 By Ganapati Adimulam ‘Max Technologies, Amearpet, Mydevabad Ph No: +91 40 ~65976727, Cell No; 99484 44808, 98490 34399, www.emaxtechcomTorminate current batch input and mark as incorrect, Delete curent batch input Restart a transaction Terminate batch put process andmatk session asincorect Change display mode fo process ho on stten netged of dspong any Change display made to display on Inatoad of procoscng ihe eeceone on Locking and Unlocking Sessions. 2, Use = ‘You can lock a session to prevent the system from running it before the date that you specify in thedock. For examples sessionilpcked until the eleventh of November canbe started only Re You ish to logk a session for such reasons as until a specified date ‘+ preventing a session that contains errors from being re-started + preventing a session that requires a special resource, such as printer forms or @ specific tape, from being started unintentionally You can unlock a session by changing the lock date to the present date or by centering a space as the lock date. Procedure 12 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40. 68976727, Cell No: 99484 44808, 98490 34399, wor emastech.comSession method ‘WeNever Compromise in Quality, We Never Compromise in Quality, Would You You can lock sessions in te session queue by marking the sessions and choosing Lock 'Bifrom the tool bar and similarly Unlock isplaying Session Logs Use ‘The batch input system keeps a detailed log of each session that is processed, The Jog contains not only progress messages from the batch input system itself, bat «also error messages from the transactions that are processed, ‘To analyze an error ina session, you should start by el relevant messages, session log for A session log is kept only if the session was EEP Option or if the session is aborted or contains an eror. & Prerequisites Start the batch input manag Sessions or Logs. Alternate from the standard session 0 Select Sistef O Service O Batch input ease You can display logs special separate transection for To display a log, mi =! from the tool bar ‘You should periodically ic the ABAP/4 program RSBDCREO to reorganize the batch input log file. You can run RSBDCREO jin the background or interactively. Running the program reduces the size ofthe log file Session Status(Before and After Processing the Session either of the ways) Sessions in the session queue are sorted by date and time of generation and are grouped in different lists according to their status. ai as Page 13 of 72 By Ganapat ‘eMax Technologies, Amecrpet, Hyderabad Ph No: +91 40 ~65976727, Cell No: 99484 44808, 98490 34399, wrw.emaxtech.com dimulamPage 14 of 72 By ‘We Never Compromise Possible statuses are as follows = New fNoET Session was Created and recorded but not yet Processed. + Incorrect Ss Held in the session queue because of errors in transactions (Errors in sessions) Transactions that contained erors are aborted; all coréct transactions are processed. The Tran. and Sereen fields inthe ss incorrect transactions were found in the session You can restart a session and correct the interactive execution modes offer Processed SHINER, For further information ofa display the log generated ‘by th Jog. You cannot run a com Note: Only sessionsithat. were: queue after processing. Oiler sessions are deleted after they are successfully completed. 5, ‘You will usually see this status only if you happen to Process the Session in the Mode Background Mode (Display No Sereens). + Being Created -eionnemz8s5) ‘You will usually see this status only if you happen to display the queue while 1 session is being generated (entered into the session queue’. wnapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: 191 40 65976727, Cell No: 99484 44808, 98490 34399, www emuntech,comSesion metnoa We Never Compromise in Quality, Would You? Locked aio Status when the session is Loked ie when the HOLDDATE in BDC_OPEN_GROUP is set. Programming in Session Method : Requirement: Upload all the List Of Profit Center Detail using Session Method, About Profit Center Master Data: Profit Center Definition Sey A profit center is an organizational unit in accounting that reflects oriented structure of the organi 2 of int You can analyze operating or the period accounting apy By calculating the fixed ¢: investment centers Use Profit cefter A Structure ‘The master data of a profit center includes The name ofthe proft center, the controlling area i is assigned to, and the profit center's period of validity, 4 well as information about the person responsible for the profit center, the profit center's assignment to a node of the standard hierarchy, and data required for communication (address, telephone number and so on), Every profit center is assigned to the organizational unit Controlling area, ‘This assignment is necessary because Profit Center Accounting displays values in GIL accounts, Page 15 of 72 By Ganaps ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emartech.comWe Never Compromise in Quality, Would You! ——_________Weever Compromise in Quality, Would You? ‘The system transfers all the data to Profit Center Accounting together with the GIL account to which the data was originally posted. Transaction Code : KESI. Note : SHDB is transaction to record all the steps while executing the Session Method. Recording the KESI: ‘Steps to Work with Recording(SHDB) : 1, Execute SHDB and Click On New Recording. Page 16 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Ph Nos +91 40 65976727, Cell No: 99484 44808, 98490 34399, wwww.emaxtech.comWe Never Compromise in Quality, Would Vi We ever Compromise in Quatity, Would You? Press Enter and Start Execute the transaction so that the steps will be recorded, Enter the Profit Center number and press ENTER. Enter all the mandatory fel to),Name,Person responsibl Page 17 of 72 By ‘€Max Technologies, Ameerpet, Nyderabad 91 40 -65976721, Cell No: 99484 44808, 98490 34399, www emaxtech.com mapati Adimulam Ph No:We Never Compromise in Quality, Would Yi Click On Activate SAVE the recording. Page 18 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comDession Method We Never Compromise in Quality, Would ¥ We over Compromise in Quality, Would You? Peele meee |) ae fo ap sone Wethe eaten ie ge ADC prom PROGRAM :ZDEMO_UPLOAD PROFIT CENTER * * AUTHOR : GANAPATI. ADIMULAM * * PURPOSE : BDC PROGRAM TO UPLOAD ALL ‘THE PROFIT * . MASTER DATA INTO SAP . a : 2G a : mn STNO :C1ID2K9001 ‘ REPORT ZDEMO_UPLOAD_PROFIT CENTER “INCLUDE FOR ALL THE GLOBAL DECLARATIONS INCLUDE ZDEMO_PROFIT_CENTER TOP. +, ,AT SELECTION-SCREEN ON VALUE-REQUEST * “EVENT TO BE TRIGGERED WHEN WE PRESS F4, Page 19 of 72 By Ganay ‘Max Technologies, Amoerpot, Hyderabad 91 40 ~65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comPage 20 of 72 We ver Compromise n Quality, Would ¥ AT SELECTION-SCREEN ON VALUE-REQUEST FOR PA_ FILE. PERFORM GET_F4_FOR_FILE USING PA FILE. * START-OF-SELECTION, . START-OF-SELECTION. “WE NEED TO MOVE THE PA. FILE INTO ANOTHER VARIABLE OF ‘TYPE STRING *AS WE ARE GOING TO USE THE SAME IN THE FM. THERE THE “FILE TYPE IS STRING. V_FILE=PA_FILE 1_UPLOAD *UPLOAD THE DATA FROM FLAT FILBTO! *FIRST SCREEN PERFORM FILL, S@REEN, DETAILS USING SAPLRKPM'"'0200''X. *PRofit CENTER: PERFORM FIL, F1E{D_DETAILS USING PRCT_V-PRCTR' WA_DATA- PRCTR *ENTES PERFORM FILL. FIELD_DETAILS USING 'BDC_OKCODE'Y00. "NEXT SCREEN DETAILS PERFORM FILL_ SCREEN_DETAILS USING ‘SAPLRKPM "0298" “CURSOR DETAILS PERFORM FILL, FIELD_DETAILS USING 'BDC_CURSOR' 'PRCT_V- KHINR: *OKCODE DETAILS PERFORM FILL. FIELI '=MD_ACTIVATE’ )_DETAILS USING 'BDC_OKCODE" ‘Max Technologies, Ameerpet, Hyderabad Pl Nu: +91 4065976727, Cell Nu: 99484 44808, 98490 34399, wwn.emaxtech,com‘session method We Never Compromise in Quality, Would You Ne Never Compromise in Quality, Would You? *SUBSCR DETAILS PERFORM FILL_FIELD_DETAILS USING 'BDC_SUBS 'SAPLRKPM 0300SUBSCREEN_EO’ *START DATE PERFORM FILL_FIELD_DETAILS USING 'PRCT_V-DATAB' WA_DATA- DATAB. *END DATE PERFORM FILL_FIELD_DETAILS USING 'PRCT_V-DATBI WA_DATA- DATBI. *NAME PERFORM FILL_FIELD_DETAILS USING ‘PRCT KTEXT, -KJEXT WA DATA: *PERSON RESPONSIBLE “ : PERFORM FILL, FIELD_DETAILS USING RafiVRuHaK: Wa DaTA- VERAK. - hg *HIERARCHIAL AREA PERFORM FILL_FIELD_DETAILS Us T_V-KHINR' WA_DATA- KHINR PERFORM BDX INSERT USING KESP TT_BDCDATA. ENDLOOP. % PERFORM CLOSE, SESSION, setenenweneesuageseneensedpiteasssessssenstesnnsonsens « _ DEFINITIONS'@F ALL THE ABOVE SUBROUTINES + sesosensaaaaevvrnttheseconsscentocensscguveconsessenson FORM FIIL_SCREEN DETAILS USING PROGRAM DYNPRO DYNBEGIN. WA_BDCDATA-PROGRAM = PROGRAM. WA_BDCDATA-DYNPRO = DYNPRO. WA_BDCDATA-DYNBEGIN = DYNBEGI. APPEND WA. BDCDATA TOIT. BDCDATA. CLEAR WA_BDCDATA. ENDFORM, "FILL_SCREEN_DFTAILS wpati Adimulam ywwemaxtech,.comWe Never Compromise in Quality, Would You? &. FORM FILL_FIELD_DETAILS USING FNAM FVAL, WA_BDCDATA-FNAM = FNAM. WA_BDCDATA-FVAL = FVAL. APPEND WA_BDCDATA TO IT_BDCDATA. CLEAR WA_BDCDATA. ENDFORM. " FILL_FIELD_DETAILS SUBROUTINE TO UPLOAD THE DATA FROM PRASERVER FILE TO CALL FUNCTION ‘GUI EXPORTING FORM OPEN_SESSION USING FP_P_GROUP. “CALL THE FUCTION MODEU BDC_OPEN_ GROUP, CALL FUNCTION 'BDC_OPEN_GROUP" EXPORTING CLIENT = SY-MANDT GROUP = FP_P_GROUP KEEP Page 22 of 72 By Ganapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40 ~65976727, Cell No: 99484 44808, 98490 34399, www.Session metnog USER =SY-UNAME. IF SY-SUBR WRITE :PROCESS THE SESSION’, FP_P_GROUP, USING SM35', ENDIF. ENDFORM. " OPEN SESSION +e. . *& Form *&. *-2P_PA_FILE NAME OF THE FILE FORM GET] DISPLAY ALL FILES IN THE SYSTEM FOR SELECTION 4 FOR FILE USING P_PA FILE, CALL FUNCTION 'KD_GET_FILENAME_QXt Fa’ EXPORTING FIELD_NAME. CHANGING FILE_NAME = PA_#il IFSY-SUBRC>0, "PA PILE’ JER SY-MSGNO MSGV3 SY-MSGV4, ON MODULE 'BDC_COLSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP” * EXCEPTIONS * NOT_OPEN 1 * QUEUE_ERROR * OTHERS: IF SY-SUBRC < 0, ‘MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. Page 23 of 72 By Ga ‘Max Technoloe erpet, Hyderabad Ph No: #91 40.~65976727, Cell No: 99484 44808, 98490 34399, wwyw.emaxtech.com‘We Never Compromise in Quality, Would You? ENDIF. ENDFORM. " CLOSE_SESSION * SPIE BDCDATA text f FORM BDC_INSERT USING _FP_TCODE TYPE S¥TCODE FP_IT_BDCDATA LIKE IT_ BDCD TART: 2 *CALL FUCTION MODULE 'BDC_INSERT. ao CALL FUNCTION 'BDC_INSERT’ EXPORTING TCODE =FP_T( ‘TABLES DYNPROTAB = FP IF SY-SUBRC = 0, MESSAGE ID SY-MSGID ENDIF, ENDFORM. ‘The DeslFationis in the’ * INCLUDE ZDEMO_PROFIT_CENTER_TOP DATA : BEGIN OF WA_DATA, PRCTR TYPE PRCTR, "Profit Center DATAB TYPE DATAB, "START DATE DATBI TYPE DATBI, "END DATE, KTEXT TYPE KTEXT, "NAME VERAK TYPE VERAK, "PERSON RESPONSIBLE, KHINR TYPE KHINR, "HIERARCHY AREA END OF Wa_DATA. DATA :IT_DATA LIKE TABLE OF WA_DATA. Page 24 of 72 By Ganay nm ‘Max Technologies, Amecrpet, Hyderabad Ph No: +91 40 -65976727, Cell NO: 99484 44808, 98490 54599, worw.cimaxtech.comesston method We Never Compromise in Quality, Would You? We Never Compromise in Quality, Would You? DATA :IT_BDCDATA LIKE TABLE OF BDCDATA, WA_BDCDATA LIKE LINE OF IT_BDCDATA, DATA V_FILE TYPE STRING. SELECTION-SCREEN BEGIN OF BLOCK B] WITH FRAME TITLE TEXT- 000, PARAMETER : PA FILE LIKE FCO3TAB-PLOO_FILE OBLIGATORY , P_GROUP LIKE APQI-GROUPID OBLIGATORY. SELECTION-SCREEN END OF BLOCK BI. ‘Select the File and Provide the Session Name and Execute it, Page 25 of 72 ‘By Ganapati Adimulam ‘eMax Technologies, Amoorpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, wwow.emantePage 26 of 72 By Ganapati Adimulam ~~ ‘Max Technologies, Ameerpet, Hyderabad — Ph No: +91 40 -65976727, Cell Nu: 99484 44808, 98490 34399, wwww.emaxteeh.comSession stethod ‘We Never Compromise in Quality, Would You? ——__________We ever Compromise in Quatity, Would You? ‘Session Processing through SM35 (Process the Si 1) Execute the Transaction SM35, Page 27 of 72 By Ganapati Adimulam _—_S TT _ By Ganapati Adimutam “Max Technologies, Amearpat Hyderabad Ph No: +91 40 65976727, Cell No: 99484 44808, 98490 34399, www emaxtechcomWe Never Compromise in Quality, W s| Foreground(Display All Seren) Display errors Background(No Sereens) wed 8 sow a Click On Process. First Sereen Details ENTER By Ganapati Adimulam Page 28 of 72 ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40. 65976727, Cell No: 99484 44808, 98490 34399, wwew.emaxtech.comcession wtetnod We Never Compromise in Quality, Would You Sereen Details - Note: Observe the Profit Center 18697 is ereated and calls the same sequence of screens For the rest of the Profit centers too. 30. Revenues lu8s67 13022005, 30122008 Furniture lus697 1302001. 30122007 wardare l44697 13022001 30122007 S/w Product Page 29 of 72 By Ganay Max Technologies, Ameerpet, Hyderabad Ph Nox +91 40 -65976727, Cll No: 99484 44808, 98490 34399, www.emastech.comWe Never Compromise in Quality, Would You? After Processing all the records from the above screens , a sereen will be eslios [ken Ieses laste fee ace: Toes Select the processed session and click on Analysts Page 30 of 72 By Gan: logies, Amcerpet, Hyderabad Ph No: +91 4065976727, Cell No: 99484 44808, 98490 54399, www emaxtech.comNever Compromise in Qual Note : For More details about Batch Input Session, go throuth the Managing Datel Input Sessions in the same chapter, Page 31 of 72 By Ganapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comWe Never Compromise in Quality, Would You Requirement : ‘Write a program to process more than one transaction through the same session(Upload Profit Center + Cost Center Master Data). + PROGRAM + ZDEMO_UPLOAD_PROFIT CENTER * + ROTHOR + GANAPATI ADIMGLAMC + PURPOSE BDC PROGRAM TO UPLOAD ALL THE PROFIT CENTER AND COST CENTER MASTER DRTA INTO REFERENCE + NA . COPIED FROM + NA TRAPORT REQUEST NO: 110249001 REPORT ZDENO_UPLOAD_P INCLUDE. £OR ALL THE Gl INCLUDE ZDENO_PROFIT_CE +) "ar SELECTION-SCREEN-ON Val vevenr 06 Bitte ane pres Fa fr seuscrioN-SCaRen on YASUElpequEST TOR PA FILE. F4_FORPILE USING PA_eILE, ‘WE NEED TO MOVE THE PA FILE INTO ANOTHER VARIABLE OF TYPE STRING “ELLE TYPE IS STRING. “ VFILE = PA FILE. *UBLORD THE DATA FROM FLAT FILE 70
PERFORM UPLOAD FILE 70 TTAB USING V_FILE (CHANGING .T7_DATA. ‘COST CENTER AND PROFIT CENTER, Page 32 of 72 By Ganapati Adimulam ‘eMax Technologies, Amecrpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, wwyw.emaxtech.com‘session metnod ‘We Never Compromise in Quality, Would You He Never Compromise in Quatity, Would You? PERFORM OPEN_SESSION USING P_GROUP. ‘FOR EACH PROFIT CENTER, LOOP AT_IT_DRTA INTO WA_ATA REFRESH TT _SDCDATA, “PIRST SCREEN DETAILS PERFOR FILL SCREEN DETAILS USING ‘SAPLAKEM' 10200" "x! seR0FIT CENTER PERFORM FILL FIELD DETAILS USING "PRCT_V-PRCTR* WA_OATAX “ENTER re PERFORY PILL, FIELD_DETAILS USING 's0¢_oKcoDE!” 700" ‘NEXT SCREEN DETAILS PERFORM FILE, SCREEN_oETarts UsrNG ‘sateen “CURSOR DETAILS PERFORW FILL FTELD_DETAILS USING, PERFORM FILL_PIELD_DETATLS Us *SUBSCR DETAILS PERFORM FILL FrEL0! *SRPLRKEN o300suRscREEN £0", ‘START DATE PERFORM FILL, FTELD_palfaTLS *RCT_v-DATABY wa_DATA- DATA. SEND DATE < parar. . NAN: % > PERFORM FILE consor' “pact_y-KuznR \wr_para~ {ELD_DETAILS USING ‘PRCT_V-KTEXT! WA_DATA~ xrexr. ERS ‘SIBLE STELO_OETATLS USING ‘PRCT_V-VERAK’ WA_DATA- VERA vn TELD_DETATLS USING "PRCT_Y-KHINRY WA_DATA- “INSERT THE SCREEN AND FIELD DETAILS INTO THE SESSION FOR KESL PERFORH BDC_INCER? USING "KESI* 1T_socpaTa, ENDLOOP, BEFORE CLOSING THE SESSION , WE NEED TO INSERE ‘NEXT TRANSACTION DETAILS INTO THE SAME SESSION * 70 MAKE IT CLEAR WE DELCARE ALL THE RALATED THINGS © Page 33 of 72 Ganay ‘Max Technologies, Ameorpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.com Adimulam+ TO UPLOAD THE COST CENTER MASTER DATA, BUT IN + + REAL TIME ME OON'T FLARE THE VARIABLES IN BETWEEN + + THE PROGRAM AND IT SHOULD BE ALWAYS AT THE BEGLNNING* + OF THE PROGRAM, * DATA : BEGIN OF WA_KSOL, KOKRS TYPE ROKRS, “CONTROLLING AREA KOSTL TYPE KOSTL,, "COST CENTER DATAS TYPE DATAB, "START DATE DATEI TYEE OATBI, "END DATE TEXT TYPE KTEXT, "NAME LTEXT TYPE LTEXT, "DESCRIPTION VERAK TYPE VERAK, "PERSON RESPONSIBLE KOSAR TYPE KOSAR, “COST CENTER CATEGORY, KHINR TYEE RRIWR, "HIERARCHY AREA END OF WA_KSO1. DATA : T7_KSOL LIKE TABLE OF WA_KSO1. sconstanrs Bp, CONSTANTS : ¢_KSOL(4) TYPE Cc vatuE /kSOEE. exay « can) SELECTION-SCREEN BEGIN PARAMETER : PA_KSOL LU SELECTION-ScREEN TITLE TEXT-0OL. ‘CALL FUNCTION EXEORTING 3 HAS_FIEL ‘gies —) Gs DaTALtaR = IT xsoL. SEPARATOR = 1" “PILL THE SCREEN AND FIELD DETAILS LOOP AT IT_KS01 INTO WA_KSO1 REFRESH IT_BOCDATA. PERFORM FILL SCREEN DETATLS USING ‘SAPLKMAL' "0200" 'x" “CURSOR DETAILS PERFORM FILL FIELD_OBTAILS USING "BDC_CURSOR' ‘CSKSZ-KOKRS'. *OKCODE DETAILS PERFORM FILL FIELD DETAILS USING *BDC_OKCODE* */00". Page 34 of 72 By Ganapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Pi No: +91 40 65976727, Cell No: 99484 44808, 98490 34399, wwew:emaxtecn,com‘We Never Compromise in Quality, Would You? We Never Compromise in Quality, Would You? **CONTROLLING AREA PERFORM FILL FIELO_DETAILS USING 'CSKSZ-KOKRS" WA_KSO1- KOKRS, ‘cost cenrer DETAILS PERFORN FILL FIELD_DETAILS USING ‘“CSKS2-xOSTI WA_KS01-KOsTL. ‘stage oare PERFORM FILL FIELD_DETATLS USING 'CSKSZ-DATAB_ANFO' WA_KSD1~ paras. PERFOR" FILL FIELD_OBTAILS USING ‘CSKSZ-DAN DATEI shexT SCREEN pETAILS PERFORM FILL_SCREEN_pevarLs ustxc ‘sat! *oxcove DETAILS "ERFORM FILL FIELD DETAILS USTy *SUBSCR FIELD DETAILS PERFORY PILL PIELOSGEEBILS usTM "soc_suasca’. PERFORM FILL_FTELD_DETAILS“GSING ‘Bo JRSOR’ 'CSKSZ-WAERS| one PERFOR ELL FaELD_DETAILS USTYS “coRSz-THxEY WA KSOL-KTEXT. voesensbrie “ae ae PERFORM Fi, ¢TELD OBER USING ‘csksz-LrexT* wa_xSO2-LeEx. /LE_FIEED_DB2ATLS USING 'CSKGZ-VERAK' WA_KSOL-VERAK. »_DETAILS USING *CSKS2-KOSAR" WA_KSO1-KOSAR. va rL_FIELD_DETAILS USING "CSKSZ-KHEWR' WA_KSOL-KHINR CURRENCY KEY PERFORM FILL FIELD DETAILS USING 'CSKSZ-WAERS' *INR* “INSERT THE SCREEN AND FIELD DETAILS INTO THE SESSION FOR KS01 PERFORM BDC_INSERT USING "S01" T_BocDATA. REERESH 17 _spcpaTA. enuuoor. “END OF TT ks01 CLOSE THE SESSION Page 35 of 72 ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40 ~65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.com‘We Never Compromise in Quality, Would You ——________We ever Compromise in Quatity, Would You? PERFORM CLOSE_SESSION, +, DEFINITIONS OF ALL THE ABOVE SUBROUTINES : FILL_SCREEN_DETAILS TLL SCREEN AND FIELD DETAILS FORM FILL SCREEN DETAILS USING PROGRAM DYNPRO DYN Wwh_BOCDRTA-PROGRAM = PROGRAM. 'WA_BUCOATA-DYNPRO = DYWPRO. WA“BDCDATA-DYNBEGIN = DYNBEGIN. APPEND WA_BOCOATA TO IT_BDCDATA. CLEAR wA_BOCDATA, ENDEOR, FILL_scaEEW_petarLs ve Form Fite rrenggferarts FILL_FIELD_BTATLS : PV FILE ~ FILE NAME CIT_OATA ~ INTERNAL TABLE TO STORE THe DATA FoR! UPLOAD FTLE70_ITAB USING — FP_V FILE CARNGING FP_TF_OATA LIKE I7_DATA, CALL FONCTION ‘GUI_UPLORD' EXPORTING FILENAME FP V_FILE HAS_PIELO_SEPARATOR = "x! Page 36 of 72 wpati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +9140. 65976727, Cell No; 99484 44808, 98490 34599, www.cmaxtech.com‘We Never Compromise in Quality, Would Yor Never Compromise in Quality, Would You? TABLES DATA_TAB Fe_T7 pata. ENDFORM, uUpvoaD_FILe_70_r7AB ‘i Form OPEN SESSION : CREATES THE SESSTON 1 7 PPLPLGROUP NAME OF THE SESSTON FORM OPEN SESSION USING FPA ‘CALL THE FUCTION MODE BOC_OPEN_GROUP CALL FONCTION “BAC. OPEN GROUE" EXPORTING CLIENT = sy-MaNor GROUP = FPP cRoue KEEP Forty (ror rr usins — p_pa rua, |_PILENAME_ON_FaY FEED_NaME = ‘PA ruEe CHANGING IF sy-suerc <6. ~ MESSAGE ID SY-NSGID TYPE S¥-MSGTY NUMBER SY-NsGNO WITH S¥-MSGV1 SY-NsGv2 S¥-MSGV3 S¥-uscve ewprr. ENDFoRN, " Ger_p4_por rue “6 Form cLose_sessronTo cose, FOR CLOSE_SESSION. *CALL FUCTION MODULE "BOC_COLSE_GROUPt CALL FONCTION 'BDC_cLOSE_GROUE* + exceeTioNs + woT_oPEN - + gure ERROR : + omens : IF S¥-suare <> 0 MESSAGE ID S¥-MSGID TYPE S¥-MSGTY NUMBER, WITH SY-MSGVI sy-uSGv2 SY-uSGV, ENDIF. ENDFORY. cLost_sessz0N se Form abc_INSE; DE TYPE syTCOnE DYNeROTAB = FP_LT_aDCOATA. - IF syeauaRC © 0. MESSAGE ID SY-MSGID TYPE SY-HSGTY NUMBER SY-MSGWO WITH SY-MSGVI SY-MSGV2 SY-MSGV3 SY-"SGVA. eno! ENDFOR, poc_INsERT Execute the Program Page 38 of 72 ‘By Ganapati Adimulam Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comSession method We Never Compromise in Quality, Would You —__________We Never Compromise in Quatity, Would You? Page 39 of 72 Ganay ‘Max Technologies, Amesrpet, Hyderaba Ph No: +91 40 ~65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comWe Never Compromise in Quality, Would You? Cost Center Fil Process the Session through SM3S : Execute SM35. Select the already created’ By Ganapati Adimulam 5 Ameerpet, Hyderabad Ph No: +91 40 -68976727, Cell No: 99484 44808, 98490 34399, wwew.emaxtech.comSession method We Never Compromise in Quality, Would Yor We Never Compromise in Quatity, Would You? Page 41 of 72 Ganapati Adimulam 5 Ameerpet, Hyderabad Ph No: +91 40 ~65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.comPage 42 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, wwew.emaxteeh.com‘session metnod ‘We Never Compromise in Quality, Would Yo We Never Compromise in Quatity, Would You? f it continues with the Cost After it Process the 2 record Center Page 43 of 72 By Ganapati Adimulam ~~ ‘Max Technologies, Ameerpet, Hyderabad inologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, wow cmastech.comCreate Cost Canter Basie serean Page 44 of 72 By Ganapati ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, wwrw.emaxtech,com‘Session metnoa Would You? Page 45 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www emaxtech,comObserve, All the 4 records( 2 ~ Profit center, 2-Cost Center s) ate successfully Processed, Page 46 of 72 ‘By Ganapati Adimulam ‘eMax Technologies, Ameerpet, Hyderabad Ph No: +91 40 -65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.com‘session method We Never Compromise in Quality, Would You? fe Never Compromise in Quatity, Would You? Requirement : Upload the Cost Center Master Data through Call Transaction if there are any errors in processing the Call transaction , Based On the Radio button Selected to Handle the errors IF Call Transaction Selected. Collect the error Messages and display them, ELSEIF Session Method Selected. INSERT that Error record into the Session . ENDIF, "PERSON RESPONSTBLE KOSAR TYPE KOSAR, "COST CENTER CATEGORY KRIVR TYEE KHINR, “HIERARCHY AREA DATA : BEGIN OF WA ERROR, INDEX TYPE'c, ROKRS YEE DATA + ITLERROR LIKE TABLE A_ERROR. DATA : IT_DATA LIKE TABLE OF WA_ATA, TOTBOCDATA LIKE TABLE-OF BOCDATA, Page 47 of 72 By Ganapati Adimulam is nowsoy gp gihlan Teehnologion, Amorpet Hyderabad eo Ph No: 191 4065976727, Cll No: 99484 44808, 98490 34399, ww.cmaxtechcomWe Never Compromise in Quality, Would You WA_SOCDATA LIKE LINE OF T7_BDCDATA, IT_BDCMSGCOLL LIKE TABLE OF BOCHSCCOLL, WRBOCMSGCOLL LIKE LINE OF 1T_BNCUSCCOLL. DATA : V_PILE TYPE STRING, vopexr100) TYEE ¢, Visess(1) TYPE Cc. “constants. CONSTANTS : C_KSO1(4) TYPE ¢ VALUE ‘xs02", Cit) Tyee C vatUE tx", LAG) TYRE c vatUE ‘ar SELECTION-SCREEN BEGIN OF BLOCK 81 WITH FRAME TYME TEXT-000. PARAMETER : PA FILE LIKE FCOSTAR-PLOO FILE P GROUP LIKE APQI-GROUPID HOD} SBLECTION-SCREEN END OF BLOCK BI. SELECTION-SCREEN BEGIN OF BLOCK 82 w PARAMETER : R_CALL RADIOBUTTON GR me RLSESS RADIOBUTTON Gi SELECTION-SCREEN END OF: BLOCK B2 + at SELECTION-ScREI [AT SELECTTON-SCREBAUON, VALUE-REQUEAT FOR PA_PILE. Senor opr AlyeoR #1 PALETLE. *MODIEY SesstOW}fIELD FOR THE SELECTED RADIO BUTTON fp frow SELECTED, TURN THE SESSION NAME IN DISABLE. ETHOD SELECTED, ENABLE THE SESSION + TURN ZNTO ‘PERFORM MODIFY. SCREEN : START-OF-SELECTION. START-OF-SELECTION. SWE NEED 70 MOVE THE PR FILE INTO ANOTHER VARTAREE OF TYEE stRING “AS WE ARE GOTNG TO USE THE SAME IN THE FM : GUT UPLOAD THERE THE CFILE TYPE IS. STRING, Page 48 of 72 By Ganapati Adimulam, ‘eMax Technologies, Ameerpet, Hyderabad Ph No: 191 40 -65976727, Cell No; 99484 44808, 98490 34399, www.emaxtech.comSession Method ‘We Never Compromise in Quality, Would You? We Never Compromise in Quality, Would You verue = a_i, “UPLOAD THE DATA FROM FLAT FILE TO
PV_PILE ~ FILE NAME Page 52 of 72 By Ganapati Adimulam ‘Max Technologies, Ameerpet, Hyderabad Fh No: +91 40-65976727, Cell No: 99484 44808, 98490 34399, www.emaxtech.com
You might also like
Data Transfer Techniques
PDF
No ratings yet
Data Transfer Techniques
33 pages
SAP-Adv ABAP-2
PDF
100% (2)
SAP-Adv ABAP-2
237 pages
BDC Part4 For Abap
PDF
No ratings yet
BDC Part4 For Abap
8 pages
All About SAP BDC - Batch Data Communication
PDF
No ratings yet
All About SAP BDC - Batch Data Communication
7 pages
ClassBook-Lessons-ABAP Part III Lesson1 - BDC
PDF
No ratings yet
ClassBook-Lessons-ABAP Part III Lesson1 - BDC
45 pages
Conversion and Interfaces
PDF
No ratings yet
Conversion and Interfaces
16 pages
Ab1005 - Data Upload - BDC, Call Transaction - V1.0: India Sap Coe, Slide 1
PDF
No ratings yet
Ab1005 - Data Upload - BDC, Call Transaction - V1.0: India Sap Coe, Slide 1
83 pages
Sap Readiness Check 2.0 For Sap S4hana
PDF
No ratings yet
Sap Readiness Check 2.0 For Sap S4hana
29 pages
BDC Final PDF
PDF
100% (1)
BDC Final PDF
19 pages
Batch Input
PDF
No ratings yet
Batch Input
25 pages
BC420 - 46C - 003project Concept
PDF
No ratings yet
BC420 - 46C - 003project Concept
42 pages
What Is Ricefw in Sap 1717162428
PDF
No ratings yet
What Is Ricefw in Sap 1717162428
9 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
Emax Abap Volume 2
PDF
No ratings yet
Emax Abap Volume 2
310 pages
Sap BDC
PDF
No ratings yet
Sap BDC
5 pages
Batch Data Communication
PDF
No ratings yet
Batch Data Communication
69 pages
Production Data Structure in SAP APO
PDF
No ratings yet
Production Data Structure in SAP APO
9 pages
Objective:: Batch Data Communication
PDF
No ratings yet
Objective:: Batch Data Communication
71 pages
BDC SheetalShama
PDF
No ratings yet
BDC SheetalShama
17 pages
Web Dynpro ABAP - ALV and Table in Popup Window
PDF
No ratings yet
Web Dynpro ABAP - ALV and Table in Popup Window
24 pages
20 TOP SAP Reports Interview Questions and Answers PDF - Multiple Choice Questions and Answers Beginners and Experienced PDF
PDF
No ratings yet
20 TOP SAP Reports Interview Questions and Answers PDF - Multiple Choice Questions and Answers Beginners and Experienced PDF
2 pages
Background Information About S4HANA Technical Job Repository
PDF
No ratings yet
Background Information About S4HANA Technical Job Repository
3 pages
Creating A Fiori Overview Page (Ovp) With The Northwind Odata Service
PDF
No ratings yet
Creating A Fiori Overview Page (Ovp) With The Northwind Odata Service
5 pages
BDC - Batch Input
PDF
No ratings yet
BDC - Batch Input
52 pages
Extraction of Data From SAP To Non-SAP Systems
PDF
No ratings yet
Extraction of Data From SAP To Non-SAP Systems
5 pages
Existing Extractors For Transactional Data - v1
PDF
No ratings yet
Existing Extractors For Transactional Data - v1
18 pages
The Data Transfer Techniques: The Batch Input Technique
PDF
No ratings yet
The Data Transfer Techniques: The Batch Input Technique
3 pages
CL - SALV Event Handling
PDF
0% (1)
CL - SALV Event Handling
12 pages
ABAP/4 Programming Standards: SAP Technical / Manufacturing / IS Auto Sreekanth Dhadi
PDF
No ratings yet
ABAP/4 Programming Standards: SAP Technical / Manufacturing / IS Auto Sreekanth Dhadi
53 pages
Sap Gateway Beginers
PDF
No ratings yet
Sap Gateway Beginers
61 pages
Conversion Exit in Sap Abap
PDF
No ratings yet
Conversion Exit in Sap Abap
15 pages
Sales Order Creation Using Web Dynpro ABAP
PDF
No ratings yet
Sales Order Creation Using Web Dynpro ABAP
12 pages
7884 - Demo Script For BPC NW 10 - 1 - Consolidation Demo - Partner Portal 2014
PDF
No ratings yet
7884 - Demo Script For BPC NW 10 - 1 - Consolidation Demo - Partner Portal 2014
111 pages
S4HANA Conversion One Pager en
PDF
100% (1)
S4HANA Conversion One Pager en
2 pages
SAP BDC (Batch Data Communication) Tutorial
PDF
No ratings yet
SAP BDC (Batch Data Communication) Tutorial
7 pages
Introduction To DMS
PDF
No ratings yet
Introduction To DMS
3 pages
SAP ABAP Webdynpro Interview Questions and Answers
PDF
100% (4)
SAP ABAP Webdynpro Interview Questions and Answers
7 pages
BDC Recording Procedure: Sap Sm35
PDF
No ratings yet
BDC Recording Procedure: Sap Sm35
13 pages
Using Drop Down by Index in Table UI Element With Web Dynpro ABAP
PDF
No ratings yet
Using Drop Down by Index in Table UI Element With Web Dynpro ABAP
12 pages
Sap Mii Indexing
PDF
No ratings yet
Sap Mii Indexing
12 pages
What Is BDC in SAP ? Types of BDC ?
PDF
No ratings yet
What Is BDC in SAP ? Types of BDC ?
28 pages
Capgemini Sap SD Interview Questions and Answers Archives - Trenovision
PDF
No ratings yet
Capgemini Sap SD Interview Questions and Answers Archives - Trenovision
7 pages
BDC Notes
PDF
No ratings yet
BDC Notes
8 pages
ABAP Program Tips by Mundosap
PDF
No ratings yet
ABAP Program Tips by Mundosap
168 pages
SAP BI - BW - BO Integration
PDF
No ratings yet
SAP BI - BW - BO Integration
24 pages
Reading Sample SAPPRESS 1167 SAP Data Services
PDF
No ratings yet
Reading Sample SAPPRESS 1167 SAP Data Services
39 pages
BAPI For PM Objects
PDF
No ratings yet
BAPI For PM Objects
2 pages
Exercise 01 CreateCDSViews
PDF
No ratings yet
Exercise 01 CreateCDSViews
16 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 Query Tool Exercise
PDF
No ratings yet
SAP Query Tool Exercise
27 pages
SAP Web Dynpro ABAP Interview Questions With Answers PDF
PDF
No ratings yet
SAP Web Dynpro ABAP Interview Questions With Answers PDF
12 pages
SAP ABAP BADIs
PDF
No ratings yet
SAP ABAP BADIs
11 pages
Difference Between BI 3.X and BI 7.X
PDF
100% (1)
Difference Between BI 3.X and BI 7.X
2 pages
23-Useful Abap Tips
PDF
100% (3)
23-Useful Abap Tips
62 pages
On Badis
PDF
No ratings yet
On Badis
21 pages
Sappress Sap BW Data Retrieval
PDF
100% (1)
Sappress Sap BW Data Retrieval
30 pages
BADI
PDF
No ratings yet
BADI
17 pages
Printing Labels in Landscape Format Using Smart Forms
PDF
No ratings yet
Printing Labels in Landscape Format Using Smart Forms
11 pages
Abap/4 & Cross Application - Fico: Course Content
PDF
100% (1)
Abap/4 & Cross Application - Fico: Course Content
3 pages
More Than 100 ABAP Interview Faq
PDF
No ratings yet
More Than 100 ABAP Interview Faq
13 pages