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: 

How to change the changed by name of an equipment

Former Member
0 Kudos

hi All,

My Problem is as follows..

Xi interface send a file which will contain data to create equipments. this will also contain the user name field . The equipment created/changed by should be with this user ID.

I create set of Equipments(Through BAPI) and update the stock information thorugh BDC using IE02. my problem is i could create the Equipment with the user id given in the file. but when i do stock updation through IE02 it takes sy-uname. i tried to pouplate sy-uname with the name given in the file jus before call transaction IE02. it is not working.

I tried using BAPI BAPI_EQUI_CHANGE to change the changed by field but no luck.

Any pointers on how to resolve this would be highly appreciated.

3 REPLIES 3

former_member206377
Active Contributor
0 Kudos

can u post the code that u have implemented.

0 Kudos

sy-uname = 'DUARAN'.

CALL TRANSACTION 'IE02' USING lt_bdcdata

OPTIONS FROM lw_opt

MESSAGES INTO lt_bdc_errors.

please let me know if you want more info..

0 Kudos

Hi Sreekanth,

The problem here is that, it is not recommended to change the system fields. Since you are changing it, it is again getting filled with the default sy-uname value.

I think you will have to search for user exits in the program and try changing it there.