12-18-2008 6:24 AM
Hi
Please tell me the FM or BAPI to add Header user status in Sales Order (VBAK-VBELN).
Regrads
Aditya
12-18-2008 7:22 AM
Try this FM for updating User status,
'STATUS_CHANGE_EXTERN'
we need to pass Object Number and Staus value for this.
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
EXPORTING
client = sy-mandt
objnr = i_vbak-objnr
user_status = 'E0002'
For adding New user status we need to define user status profile and assign this through configuration
Regards,
Krishna.
12-18-2008 6:35 AM
12-18-2008 6:45 AM
Hi
This FM is useful in User exit or if you want to change the user status.
i want to add the user status.
Regards
Aditya
12-18-2008 7:22 AM
Try this FM for updating User status,
'STATUS_CHANGE_EXTERN'
we need to pass Object Number and Staus value for this.
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
EXPORTING
client = sy-mandt
objnr = i_vbak-objnr
user_status = 'E0002'
For adding New user status we need to define user status profile and assign this through configuration
Regards,
Krishna.