Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC to create TCODES

Former Member
0 Kudos

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 nameTCODEDescription
Z_CORR_PRCTRZT_Z_CORR_P1Trans for Prog Z_CORR_P1
Z_CORR_PRCTR_2AZT_Z_CORR_P2Trans for Prog Z_CORR_P2

Thank you & Kind Regards

Khani

1 ACCEPTED SOLUTION

former_member946717
Contributor
0 Kudos

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!

4 REPLIES 4

Former Member
0 Kudos

Create a recording for SE93.  and there are numerous links for BDC programming.

http://wiki.sdn.sap.com/wiki/display/ABAP/BDC+Tutorial

0 Kudos

Thank you Sen, I have gone through the links and they are very helpful.

former_member946717
Contributor
0 Kudos

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!

Former Member
0 Kudos

Thank you A N. I wasn't aware that the code will automatically be created and I will just have to maintain the fields.