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: 

BAPI to determine who created the Order

Former Member
0 Kudos

hello ,

Is there a BAPI which gives the output as the user who created the order and the input field being the sales document ??

2 REPLIES 2

0 Kudos

Urs,

Why do not you just do a SELECT and get the following field:

SELECT SINGLE * FROM VBAK WHERE VBELN = "ORDER NUMBER".

Take a look over these fields:

ERDAT

ERZET

ERNAM

Regards

ACR

Former Member
0 Kudos

use BAPISDORDER_GETDETAILEDLIST

Pass I_BAPI_VIEW-HEADER = 'X'

sales order in yoru internal table SALES_DOCUMENTS

you will ge tthe result in table ORDER_HEADERS_OUT you can use field CREATED_BY in that table for your use