03-15-2013 10:25 AM
Hi
I need some assistance. I'm fairly new to ABAP but have a task of writing a BDC program that will create Tcodes for 700 program. I understand how to do the recording but not how the code should look like. Any direction will help at this moment thanks.
My excel file looks something like this:
Program name | TCODE | Description |
Z_CORR_PRCTR | ZT_Z_CORR_P1 | Trans for Prog Z_CORR_P1 |
Z_CORR_PRCTR_2A | ZT_Z_CORR_P2 | Trans for Prog Z_CORR_P2 |
Thank you & Kind Regards
Khani
03-15-2013 10:42 AM
Hi Khani,
Step 1. Go to SHDB and click on New Recording
Step 2. Give a name in the 'Recording' field and transaction code as 'SE93' and click on 'Start Recording'
Step 3. Take an example from your file. Enter the TCODE name in TCODE field on SE93. Click on create, give the program name, screen number, click on the three check-boxes at the bottom, save the tcode and then click on back and save the recording as well. You will understand as you follow these steps.
Step 4. You will now see your recording in SHDB list. Then select your recording and click on Create Program. You can then use this code in your z-program.
Please browse through this forum for more information as you will find plenty of information here on BDC.
Hope this helps!
03-15-2013 10:41 AM
Create a recording for SE93. and there are numerous links for BDC programming.
03-15-2013 10:53 AM
Thank you Sen, I have gone through the links and they are very helpful.
03-15-2013 10:42 AM
Hi Khani,
Step 1. Go to SHDB and click on New Recording
Step 2. Give a name in the 'Recording' field and transaction code as 'SE93' and click on 'Start Recording'
Step 3. Take an example from your file. Enter the TCODE name in TCODE field on SE93. Click on create, give the program name, screen number, click on the three check-boxes at the bottom, save the tcode and then click on back and save the recording as well. You will understand as you follow these steps.
Step 4. You will now see your recording in SHDB list. Then select your recording and click on Create Program. You can then use this code in your z-program.
Please browse through this forum for more information as you will find plenty of information here on BDC.
Hope this helps!
03-15-2013 10:54 AM
Thank you A N. I wasn't aware that the code will automatically be created and I will just have to maintain the fields.