One of our web system calls bapi "BAPI_GOODSMVT_CANCEL".
As a result of the transaction , User Name ("USNAM" field of MKPF table) who makes document is "EAIRFC"
User name is written automatically. but i want to put the name not "EAIRFC " but specfied name
How can i insert the name that i want to insert ??
----------------------------------------------------------------------------------------------------------------------------
( I tried to insert name to GOODSMVT_PR_UNAME, but it did not work. )
CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
EXPORTING
MATERIALDOCUMENT = I_MBLNR
MATDOCUMENTYEAR = I_MJAHR
GOODSMVT_PSTNG_DATE = I_BUDAT
GOODSMVT_PR_UNAME = I_NAME
IMPORTING
GOODSMVT_HEADRET = LT_GOODSMVT_HEADRET
TABLES
RETURN = LT_RETURN