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: 

Logging into SAP GUI will empty the include file

0 Kudos

Urgent:Logging into SAP GUI will empty the include file

As long as you log in to the system again, the recovered include files will be emptied again.

What should I do to find the destroyer and make the include files not empty anymore?

11 REPLIES 11

former_member1716
Active Contributor
0 Kudos

Hello ivan yee,

Are you creating a version of your developments? Also follow the below steps to track the changes:

Utilities-->Versions-->Version Management.

You can also generate the version in the same path using GENERATE VERSION so that you can track the changes of your development.

Can you please explain your requirement a bit further.

Regards!

0 Kudos

the include files was cleared and no request was recorded,I try to restore with previous version,but As long as someone log into the system again, the recovered include files will be emptied again ,the author and times accordingly changed.

0 Kudos

Could you check SLG1 & SM21 with the last logging time ?

Could you make a trace on the user using ST01 and check if you find the deletion of the report ?

It's a big issue, maybe at database level, so I would opt for SM21 (system log) and ST05 (database SQL trace)

0 Kudos

userful operation record not found in background,What should I do next?

0 Kudos

For the trace,

you open ST01, you check SQL trace, you press Filter button you specify the user you will used to connect to the system.

You connect to the system with the user

You stop the trace, you list the trace

(how is your SM50, it seems the BTC process have some issues)

Sandra_Rossi
Active Contributor
0 Kudos

Is the source code okay if you write it and activate it, it's really only after logging out + in that it vanishes?

Did you check SAP notes?

(I've never seen such a destructive bug, you should open a ticket at SAP support)

0 Kudos

it is not okay unless I recover because many defines are includes in the file.I test many times that when I sign out that the include files are cleared.

Private_Member_7726
Active Contributor

Edit in: (Geez, what happened to my comment..? I'll restore it later...)

Edit in 2: Ok, here it goes again...

That user - is it a dialog user? If yes, please check whether the affected system has logic in FM EXIT_SAPLSUSF_001 (Include ZXUSRU01) that tries to do something with Includes affected (like read via RFC from other system, then insert/modify the code...) .

If there is no logic, then, depending on whether you can reproduce the behavior with your own User ID or just with the P*user, set up a Variant in transaction SAT for the user you'll be troubleshooting with, as follows:

https://answers.sap.com/storage/attachments/1741786-2019-11-05-07h39-43.png

https://answers.sap.com/storage/attachments/1741788-2019-11-05-07h47-08.png

Then, make the user to logon, logoff, and start analyzing the Recording in SAT... What you are looking for are things like INSERT REPORT...

Hopefully, that should help to pinpoint the culprit code, assuming it's some funny but unreliable custom code...

Edit in 3: just checked if the login USER-EXIT will be picked up by SAT (it will) and this is the kind of stuff you should be looking for:

cheers,
Janis

*err* Also, is this per chance some kind of training system..? 😄

DoanManhQuynh
Active Contributor
0 Kudos

is there any chance some implicit enhancement somewhere to hide source code on view in se38? I used to see it before but don't recall where it is, if that include still do it function then maybe some one want to hide the source code.