10-20-2008 2:27 PM
hello ,
Is there a BAPI which gives the output as the user who created the order and the input field being the sales document ??
10-20-2008 2:39 PM
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
10-20-2008 2:45 PM
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