Useful T-CODE list

ABAP t-codes

T-CODEDetailsHints
CMODUser exists
SCPCharacter encodings
SE03Transport Organizer Tool
SE09Transport Organizer
SE11ABAP dictionary
SE16Table data viewer
SE16NNew table data viewerYou can open it in edit mode with SE16N_INTERFACE function.
SE19Badi Builder (enhancement)
SE30Performance analyzerIt traces a report and reports slow points.
SE37Function Builder
SE38ABAP Workbench
SE43Menu builder
SE72Style manager
SE73SAPscript
SE74Upload RTF and MS World template upload
SE75SAPscript settings
SE76SAPscript form language maintenance
SE77SAPscript style conversation
SE78Grafik object maintenance
SE80ABAP Object Navigator
SE91Message Class maintenance
SE93Transaction code maintenance
SHD0Transactions and screen variantsAutomatically load screen variants by t-code.
SICFInbound HTTP/SOAP connections manager
SLG0Application logging configuration
SLG1Application logging monitor
SMARTFORMSPrint layout designer
SMARTSTYLESPrint style maintenance
SM30Table maintenance screen designer
SM35Batch Input
SMODUser exists
SWELSEnable event trace
SWELDisplay event trace
WE30IDOC type development

Finance t-codes

T-CODEDetailsHints
F-32Clearing customer
F-44Clearing seller
FB03Accounting document
FBRACanceling of clearing
FS00G/L accounts maintenance
OB08Money exchange rate entrance

Basis t-codes

T-CODEDetailsHints
AL11List files and directories on the server
BD87Reprocess failed IDOCs
SM39Job scheduling
SM59RFC connection maintenance
SCOTCommunication channel maintenance (email, fax, etc)
SOSTOutbound communication monitoring (email, fax, etc)
SPADPrinter and paper maintenance
SRT_ELOGSOAP error logs
SRT_UTILWeb Service Utilities; error logs, enable tracing, etc.
ST01Monitor the system
ST05SQL Trace AnalysisIt analyzes queries that are executed by reports.
STADGeneral system performance analyasis logs
STMSTransport Management System
STMS_IMPORTSTMS queue
SU53Used and failed authorization objects by a user
SXMB_MONIIntegration monitoring
WE02IDOC list

Using RFC function over SOAP

You can get WSDL file for any function with below URL:

http://sapserverurl/sap/bc/soap/wsdl?sap-client=clientnumber&services=functioname

You can develop your soap client with given WSDL.

Using config parameters in impex file

We need use processor in our impex file for accessing config settings like below.

UPDATE GenericItem[processor=de.hybris.platform.commerceservices.impex.impl.ConfigPropertyImportProcessor]; pk[unique=true]
$configvar = $config-db.port

UPDATE MyItem; name[unique=true]
             ; $configvar

hybris ant targets

ant customizeApply custom code changes and libraries.
ant serverUpdate tomcat settings.
ant updateMavenDependenciesUpdate maven ant dependencies.
ant updatesystemUpdate DB schema and import impexes.
ant -Dtenant=junit -DtypeSystemOnly=true initializeInitialize JUnit tenant with just type system.
ant allwebtests -Dtestclasses.packages=com.mkysoft.*Running all web tests in package.
ant alltests -Dtestclasses.packages=com.mkysoft.*Running all tests in package.
ant unittests -Dtestclasses.suppress.junit.tenant=true -Dtest=”com.mkysoft.hybris.MyClassTest”Running single class test.

Disable interceptors for impex

We can disable interceptors while importing impex files.

REMOVE Order[disable.interceptor.beans='orderPrepareInterceptor']; pk[unique = true]
; 1234567891234

INSERT_UPDATE Order[disable.interceptor.beans='orderPrepareInterceptor']; code[unique = true]
; order-123

Accsess backoffice config

While in backoffice in Adminstration Perspective you can press F4 button from keyboard. Then click menu icon on right corner for Show cockpit-config.xml option.

Using classical text editor for Smart Forms instead of MS Word

In updated system MS Word used as default Smart Forms and SAP Script text editor. In cloud system it is mandatory.

You can configure text editor with two ways. You can run ABAP report RSCPSETEDITOR in t-code SE38 for changing it. Other option using t-code I18N. In this t-code you need to open I18N Menu -> I18N Customizing -> I18N System Parameter. Select smartforms_editor as Parameter and emtpy as Value.

If you haven’t got enough privileges to change configuration, you can manipulate it in debug mode. These configuration saved DB table TCP0I as smartforms_editor and sapscript_editor. You can add break point in NLS_WORD_ENABLE function in t-code SE37. This function called by Smart Forms in first use of editor.

In S/4HANA system you need to add additional break point for running old editor. Add break point to CL_GUI_RTF_EDITOR and CL_GUI_SAPSCRIPT_EDITOR classes constructor below line and bypass the raise exception line.

* is not supported in S4H
  if cl_cos_utilities=>is_s4h( ).
    raise error_cntl_create.
  endif.

Set FQDN on Linux for SAP Server

An example FQDN: myserver.mkysoft.com

Add computer name to /etc/hostname file.

myserver

Add you domain to /etc/resolv.conf.

domain mkysoft.com

Add host name and domain with IP to /etc/hosts.

10.10.1.5  myserver.mkysoft.com myserver

You can check yor configuration with niping tool. This tool can be found n SAPRouter package.

niping -v -H myserver.mkysoft.com

Hostname/Nodeaddr verification:
===============================

Hostname of local computer: myserver                         (NiMyHostName)
FQHN of local computer: myserver.mkysoft.com                 (NiGetOwnFQDN)

Lookup of hostname: myserver                                 (NiHostToAddr)
    --> IP-Addr.: 10.10.1.5
Lookup of IP-Addr.: 10.10.1.5                                (NiAddrToHost)
    --> Hostname: myserver.mkysoft.com

Lookup of hostname: myserver.mkysoft.com                     (NiHostToAddr)
    --> IP-Addr.: 10.10.1.5
Lookup of IP-Addr.: 10.10.1.5                                (NiAddrToHost)
    --> Hostname: myserver.mkysoft.com