04-24-2007 2:55 PM
Hi Friends!
Can any one tell me how to update date in BDC.
Regards,
Imran.
04-24-2007 3:00 PM
Hi,
Welcome to SDN.
You need to convert date to character type field prior to use in BDC.
DATA : wa_date(10) TYPE c.
WRITE itab-date to wa_date.
PERFORM bdc_field USING 'p0581-BEGDA' wa_date.
Regards,
Ferry Lianto
04-24-2007 2:58 PM
Batch Data Communication or BDC is a batch interfacing technique that SAP developed. It is mainly used for uploading data into the SAP R/3 system. BDC works by simulating the user input from transactional screen via an ABAP program.
The data input data file will come in the form of a flat file which the user save as file type txt file or prn file from the Microsoft Excel program. An Abaper will create a program to read the text file and upload into the SAP system.
Normally, the tcode SHDB will be used to record the transaction code the user used. After, the simulation, the Abaper can generate a sample program and modify from there. It makes the programming easier and faster.
reward if it helps u
vijay pawar
04-24-2007 2:58 PM
Hi Syed,
For which T-code u have done the BDC recording.
Whatever date u want to change first figure out the appropriate date field
and also the kind of date format it can take,i.e., mmddyyyy or ddmmyyyy.
04-24-2007 3:00 PM
Hi,
Welcome to SDN.
You need to convert date to character type field prior to use in BDC.
DATA : wa_date(10) TYPE c.
WRITE itab-date to wa_date.
PERFORM bdc_field USING 'p0581-BEGDA' wa_date.
Regards,
Ferry Lianto