‎2007 Jul 14 5:34 AM
Hi friends .....
Please explain this code
PERFORM bdc_dynpro USING 'SAPMV45A' '0101'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAK-AUART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
what is that 0101.
thanks.
‎2007 Jul 14 6:11 AM
Hi Prajwal,
You will get all your BDC related queries answered, just go to transaction SHDB and record any one transaction for BDC and create a program based on that.
How to record and everything, you can just refer to the Sheshu's reply.
Regards,
Atish
‎2007 Jul 14 5:38 AM
Hi
0101 is the screen number
SAPMV45A is the Program for Sales order
You are processing the screen 0101 of sales order
this is the basic BDC code
See the BDCDATA structure and fields
go through the Links
BDC:
Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
Features :
BDC is an automatic procedure.
This method is used to transfer large amount of data that is available in electronic medium.
BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
BDC uses normal transaction codes to transfer data.
Types of BDC :
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION
BATCH INPUT METHOD:
This method is also called as CLASSICAL METHOD.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the previous transaction has been written to the database.
CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.
Features:
Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
Updating the database can be either synchronous or asynchronous. The program specifies the update type.
Transfer data for a single transaction.
Transfers data for a sequence of dialog screens.
No batch input processing log is generated.
Differences between Call Transaction and Sessions Method:
Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
6) generally used for back ground jobs.
7) at atime we can update to more than one screens.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
6) for background n fore ground jobs.
7) at atime we can update to a single screen.
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&;
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 14 5:47 AM
ok thanks , please explain this 'BDC_CURSOR'
'VBAK-AUART'.
and ok code /00.
‎2007 Jul 14 5:55 AM
BDC_CURSOR is related to cursor position when you run bdc program to any transaction.
we need to give one cursor position for each screen
in your case VBAK-AUART ,order type of sales order,cursor will be at AUART.
Thanks
Seshu
‎2007 Jul 14 6:11 AM
Hi Prajwal,
You will get all your BDC related queries answered, just go to transaction SHDB and record any one transaction for BDC and create a program based on that.
How to record and everything, you can just refer to the Sheshu's reply.
Regards,
Atish