‎2008 Jul 14 11:44 PM
Experts,
I need to create a Function Module to save Sales Order status changes (Order Type & Order Status) in custom table. Could someone pl. guide me how to go about it?
‎2008 Jul 15 6:27 AM
‎2008 Jul 15 6:42 AM
hi,
use va450003 inthis EXIT_SAPMV45A_003
and function module
CALL FUNCTION 'ALM_ME_READ_USER_STATUS'
EXPORTING
OBJECT_NO = XVBAK-OBJNR
TABLES
USER_STATUS = I_USRSTAT
EXCEPTIONS
ERROR_READING_STATUS = 1
OTHERS = 2
.
u will get the status details...
rewrad points if useful..
‎2008 Jul 15 8:27 PM
We want to capture:
AUGRU(Order reason (reason for the business transaction)
AUART(Sales Document Type)
for specific Order Types (web Orders) and generate output type which would trigger Z program to update the custom table when ever order status changes. Batch program would then read this Ztable and update external system using XI (ABAP proxy/ WSDL). Is this right approach? Can we configure Sales Oreder Output to trigger Z Program or FM?
‎2008 Jul 15 8:33 PM