博文

force delete the ABAP interfaces and classes

Question :  Try to delete ABAP interface and classes, get the error message below "You cannot perform this action in modification/enhancement mode" Solution for ABAP interface deletion. Run ABAP function module OO_INTERFACE_DELETE with t-code SE37. Note: input X for options  COMMIT and FORCE Solution for ABAP class deletion. Run ABAP function module OO_CLASS_DELETE with t-code SE37. Note: input X for options  COMMIT and FORCE

delete files in the github repositories

Step 1: Clone github repository        git clone repositoryURL Step 2: Switch branch        git checkout -b <branch> --track <remote>/<branch>       To view <remote>/<branch> use command:  git branch -r Step 3: Delete the files Step 4: Add the files       git add . Step 5: Stage the code        git commit -m "some comments here" Step 4: push to github repository        git push origin local_branch       git push origin master

revert a github commit

Use git revert to revert the commits Step 1: Clone github repository       git clone repositoryURL Step 2: Switch branch       git checkout -b <branch> --track <remote>/<branch>       To view <remote>/<branch> use command: git branch -r Step 3: revert the command       git revert HEAD       git revert HEAD~3       git revert commit_id Step 4: push to github repository       git push origin local_branch       git push origin master Find a ref that matches master in the source repository (most likely, it would find refs/heads/master), and update the same ref (e.g. refs/heads/master) in origin repository with it. If master did not exist remotely, it would be created.     use git remote -v to view the value of origin

t-code for viewing table structure and table contents

In SAP ABAP System, use t-code SE11 or SE16N to view table structure and table contents.