‎2005 Dec 19 6:51 PM
hi friends,
I really have doubt on bdc program. I wantedto complete this task.
1. Create a BDC program for the following
- Read a flat file containing Vendor Master details (keep the record structure as simple as possible). The file should contain a list of Vendors to be created in the SAP system.
- Using BDC technique, create the Vendor master using FK01 transaction
- Repeat the steps for creating all Vendors listed in the file. For each transaction, print out if the BDC was successful or not, and if successful print out the Vendor Number that was created.
but nothing is woking out.
I jus wnated to know what was my mistake.
I would provide my screen shots with expalnations for each and ery step.
Kindly please anyone of help me to know my mistake and to get the program done. i need to finish this by today since theres a lot of pressure in my work place.
Pls provide me ur mail id to send my documents as attachmnents..
I would be very thankful for your timely help.
Thanks in advance
rinky123
‎2005 Dec 19 7:43 PM
hi rinky,
Have you tried using LSMW to achieve this. That would be the easier way then creating programs. LSMW is also flexible for change in the structure of Vendor master data from legacy side(flat file).
Kannan
‎2005 Dec 19 6:56 PM
‎2005 Dec 19 9:46 PM
Hi Rich,
I hvae mailed everythign in detail to your mail id.Please hlpe me in making this done.
Thanks&Regards
rinky123.
‎2005 Dec 19 7:43 PM
hi rinky,
Have you tried using LSMW to achieve this. That would be the easier way then creating programs. LSMW is also flexible for change in the structure of Vendor master data from legacy side(flat file).
Kannan
‎2005 Dec 19 10:53 PM
I am assuming you did the BDC recording of one vendor and using that as a template. Then you are uploading the file having enough information to create a vendor. Then you call the transaction FK01 using the BDC data. So you should be able to see where your logic is failing. Call the transaction using mode 'A' and see what is missing. Also add the option "messages into bdcmsgcoll" to your call transaction.
Srinivas
‎2005 Dec 19 11:17 PM
I have tested your program up to the BDC part, looks like you program is uploading the data and putting it in to the RECORD internal table correctly. This leads me to believe that the problem is in the BDC code itself. As Srinivas has suggested, run the program with mode "A". You can set this in the selection screen. Currently it is mode "N". Mode "A" will allow you to see all of the steps that the BDC is doing and you can find out what the error is at that time.
Regards,
Rich Heilman
‎2005 Dec 20 8:03 PM
hi srinivas,
Thank you very much for your guideline.I got the output and enjoying a sigh of relief.
Thanks you vey much for your timely help.
Thanks&Regards
Prasanna.
‎2005 Dec 20 8:06 PM
Hi Rich,
Thank you very much for your guideline.Million thanks for going through my screenshots,program and finally helping me to get done with the output
Thanks you vey much for your timely help.
Thanks&Regards
Prasanna.