Thursday, March 6, 2008
Creating a BDC session
Creating a BDC session
In the earlier post Recording BDC we had seen how to do a BDC recording using transaction SHDB. We had also created an ABAP program from the BDC recording. In this post we will create a BDC session and run it in foreground. We will also see the log to see if there are any errors.
Once the BDC recording is complete, we can then fine tune the program and use it to upload the data to SAP database.
Once the program is generated from the BDC recording, execute the program and the following screen will appear.
Since we are interested in creating a BDC session will will not select the option 'Call Transaction'
Select 'Generate Session' and execute. The following screen appears. Now we need to go to transaction SM35.
Here we can see the session that we have generated.
We will now process the session.
Click on extended log and process the session in foreground.
The first screen will appear
Second screen
We see message on the following screen that say customer found with the same address. we will later check the log if this messaged has been logged.
linking the vendor
The vendor has also been linked previously to another customer.
Proceed furhter and after a couple of screen you should see the following message.
Click on session overview.
Click on log
Select Analyze session
You can see that both the error messages have been logged.
In the earlier post Recording BDC we had seen how to do a BDC recording using transaction SHDB. We had also created an ABAP program from the BDC recording. In this post we will create a BDC session and run it in foreground. We will also see the log to see if there are any errors.
Once the BDC recording is complete, we can then fine tune the program and use it to upload the data to SAP database.
Once the program is generated from the BDC recording, execute the program and the following screen will appear.
Since we are interested in creating a BDC session will will not select the option 'Call Transaction'
Select 'Generate Session' and execute. The following screen appears. Now we need to go to transaction SM35.
Here we can see the session that we have generated.
We will now process the session.
Click on extended log and process the session in foreground.
The first screen will appear
Second screen
We see message on the following screen that say customer found with the same address. we will later check the log if this messaged has been logged.
linking the vendor
The vendor has also been linked previously to another customer.
Proceed furhter and after a couple of screen you should see the following message.
Click on session overview.
Click on log
Select Analyze session
You can see that both the error messages have been logged.
Subscribe to:
Post Comments (Atom)
ABAP TIPS
|
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. |
No comments:
Post a Comment