We have this requirement of creating a batch input program for tcode MIRO. SAP has specifically stated that ALL BDC is.BDC (Batch Data Communication) Tutorial for Data Transfer. What is BDCBDC ( Batch Data Communication ) is used for uploading mass data into SAP system. In SAP system BDC also referred to batch input or data tranfer. Typical Uses. Typical uses of batch input include the one- time import of data from a legacy system into a newly installed R/3 System. Another typical use is for periodic transfers of data from external systems or legacy systems that are still in use into SAP. Background of BDCTo ensure data consistency in SAP system, we must not update SAP data directly from ABAP program. We must upload data through similar program flow compared to manual input by user. SAP provide this by BDC. BDC works by simulating the user input from transactional screen via an ABAP program. This means that you do not bypass any of the standard SAP consistency checks, authorisations, update conjunction tables, etc. SAP ABAP BDC creation. Enhanced SAP call transaction program Create BDC recording or SAP transaction Record an SAP transaction and use recording to create BDC program. How it works. Data input entered by user simulated in BDC by data packet. The transaction then started using this internal table as the input and executed in the background. Data packet is an internal table has a structure of BDCDATA, it has fields: 1. PROGRAM (program name)2. DYNPRO (screen number)3. DYNBEGIN (New screen start) X=new screen. FVAL (Field value)Data packet contain of screen by screen packets. One screen packet contain: 1. Input fields. It implemented in internal table in this format: PROGRAMDYNPRODYNBEGINFNAMFVALprogram. XBDC. After that, change title then press . You will enter recording mode of the transaction, simulate action you want to perform in this transaction. At the end it will result internal table ready to upload to data transfer methods (Call transaction or BDC sessions). After internal table created then we pass this to data transfer methods. There are two alternatives of data transfer methods, using Call Transaction or BDC session. Call transaction performed by calling command . ABAP program must do the error handling based on returning table from call transaction command. It is used for real- time interfaces and custom error handling & logging features. This is suitable when processing sequential update, it means, next data will depend on previous data. In BDC Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM3. The latter technique has a built- in error processing mechanism too. Other useful article: BDC Tutorial in SAP- Img. BDC using CALL TRANSACTION method. By Kumar Saurabh, Yash Technologies. Objective. - Steps For implementing BDC using call transaction Method. When SAP is implemented we need Data to. SAP system i. e. One way of doing this is BDC (Batch Data Communication). Requirement: - For. Developing BDC using CALL TRANSACTION method we need to. Flat file can be Text file or Excel File. In CALL TRANSACTION we also. Error Log file. In BDC we use structure BDCDATA for. Batch Input, which has following components. PROGRAM. - BDC module pool. DYNPRO- BDC. Screen number. DYNBEGIN- . BDC screen start FNAM- Field. FVAL- BDC. A BDCDATA structure can. In CALL TRANSACTION method, we need to. Log for the Error Message, for this we use structure BDCMSGCOLL. For our demo purpose, we would be. If you are using the same file for. Define the internal table structure as. DATA: BEGIN OF fs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2017
Categories |