Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ME21N upload program?

Former Member
0 Likes
773

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

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

5 REPLIES 5
Read only

Former Member
0 Likes
690

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

Read only

0 Likes
689

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

Read only

0 Likes
689

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.

Read only

0 Likes
689

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.

Read only

0 Likes
689

Aeda, thank you very much for your answer. If you have an example upload program it will be much appreciated.