‎2009 Nov 17 7:20 AM
Hi All.
What is the easiest way to upload purchase orders programmatically? Should I attempt a recording and incorporate this in a program? Has anyone perhaps got some code theyu2019re willing to share?
Iu2019d appreciate your assistance.
Thank you,
Adrian
‎2009 Nov 17 7:29 AM
Hi Adrian,
I advise you to use BDC programming for your data uploads. This will enable non-technical users to upload data using your bdc upload programs. Of course your upload program depends on your recording in transaction SHDB. If you want, I have a very simple and user-friendly BDC upload template. You just need to modify it based on your recording in SHDB so I am assuming you have knowledge in this.
You can check the BDC upload template [here|http://www.richardsantos.net/2009/11/16/sap-bdc-upload-program-template/]
Regards,
Richard
‎2009 Nov 17 7:29 AM
Hi Adrian,
I advise you to use BDC programming for your data uploads. This will enable non-technical users to upload data using your bdc upload programs. Of course your upload program depends on your recording in transaction SHDB. If you want, I have a very simple and user-friendly BDC upload template. You just need to modify it based on your recording in SHDB so I am assuming you have knowledge in this.
You can check the BDC upload template [here|http://www.richardsantos.net/2009/11/16/sap-bdc-upload-program-template/]
Regards,
Richard
‎2009 Nov 17 7:38 AM
hi,
You can use the FM BAPI_PO_CREATE to Create PO for ME21n,
Only this you have to Pass the data to respective internal tables.
Regards
Aeda
‎2009 Nov 17 8:39 AM
This is a very generic answer and of no use. I've done 100's of BDCs and LSMWs. I'm asking a specific question about ME21N and the answer is to either use BAPI-PO-CREATE or BAPI-PO-CREATE1. According to feedback I got, you cannot use BDCs.
‎2009 Nov 17 8:40 AM
This is a very generic answer and of no use. I've done 100's of BDCs and LSMWs. I'm asking a specific question about ME21N and the answer is to either use BAPI-PO-CREATE or BAPI-PO-CREATE1. According to feedback I got, you cannot use BDCs.
‎2009 Nov 17 8:41 AM
Aeda, thank you very much for your answer. If you have an example upload program it will be much appreciated.