Recording a BDC using transaction SHDB Enter transaction code SHDB as shown. The following illustration shows BDC recording to create a customer in the SAP system.
Press F5 or click on New Recording
Enter transaction code XD01 to Create Customer and Click on Start Recording
Enter the desired account group, in this case Sold to Party In the trasaction XD01 enter the desired data
Hit enter to go to the next screen. Once all the desird data is eneterd click on save.
You will then see the following screen. Select the recording as shown below. And click on Program. Enter the program name. Select transfer from recording for this example. And hit Enter. Enter the Program description. And click on save. Create a $tmp object or let the system generate the transport request number. The code as shown below is generated. Run the program by presing F8
Thursday, February 7, 2008
Important Transaction Codes (The list will be updated soon) SAP has provided transactions to carry out various tasks. For example to create a program or a report the transaction SE38 is used. Similarly to create a function modules transaction SE37 is used. It is important to know the transaction code to carry out that particular task. After creating a new program or a report a transaction code can be created and assigned to that program.
SE38 ABAP Editor SE37 ABAP/4 Function Modules SHDB BDC Recording LSMW Legacy System Migration Workbench. S001 ABAP Workbench S002 System Administration SA38 Execute a program. SCAT Computer Aided Test Tool SE30 ABAP/4 Runtime Analysis SE32 ABAP/4 Text Element Maintenance SE35 ABAP/4 Dialog Modules SCUO Customizing Cross-System Viewer ST05 Trace SQL Database Requests. ST22 ABAP Dump analysis SU53 Display Authorization Values for User. WEDI EDI Menu. IDOC and EDI base. WE02 Display an IDOC WE07 IDOC Statistics
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.