Application Development 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: 

ME51N BDC Success message

Former Member
0 Kudos

Hi ,

I am trying to create new purchase requisition using ME51N BDC. BDC is not returning any success message after successfully creating requisition. If I do it with out BDC, directly from ME51N I am getting success message 06-402.

I need to capture the created document number. Any ides?

Thanks for your time.

4 REPLIES 4

Former Member
0 Kudos

ME51N is an EnjoySAP transaction and not suitable for batch input. You should use the old transaction ME51 or a BAPI.

See note 381630.

Rob

Message was edited by:

Rob Burbank

Former Member
0 Kudos

are you using Call Transaction method ? if so use update mode as 'S'..

ME51N is the enjoy transaction so bdc may not work properly

so try to do recording for ME51 Transaction ,make sure that use BDCMSGCOLL Structure to get log message.

Better to use BAPI instead of BDC ,BAPI FM is 'BAPI_REQUISITION_CREATE'

for example just go through...

http://www.sap-img.com/bapi.htm

http://www.sapgenie.com/abap/bapi/example.htm

Thanks

Seshu

0 Kudos

Thanks Rob and Seshu,

Unfortunately we have to user ME51N only not ME51. I tried sync update mode but still not getting any messages back.

Thanks

0 Kudos

Why can't you use the correct transaction?

Rob