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 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.

Useful reports

ReportDescription
RS_REPAIR_SOURCEABAP Editor Call
RDDIT076Change request/task status
RS_STREE_OBJECTS_TO_REQ_GETAuto adding related objects to request
SPROX_LOG_TRANSP_OBJ_INSERTInsert missing logical objects to request
RFSEPA01Fill BSIS table after enabling line item display in FS00.
SPROX_XSD2WSDLConvert schema (XSD) to WSDL

Useful ABAP Functions

Function Description
POPUP_TO_SELECT_MONTHSelect month and year.
GUI_RUNRun command on the client side.
DAYS_BETWEEN_TWO_DATESTotal days between dates.
HRVE_CONVERT_TIME Convert time between 24h and 12h
SEO_CLASS_GET_METHOD_INCLUDESFind includes which are created by class
TH_POPUPSend a message to the user
RP_CALC_DATE_IN_INTERVALAdd or remove days, months, and years to date
HR_EFI_CONVERT_STRING_TO_TABLEConvert string to itab with a given row length
MCS_BIW_DROP_CREATE_TABLEDrop and re-create a database table
CONVERT_DATE_TO_INTERNALConvert string to date with check
ARCHIVFILE_CLIENT_TO_SERVERCopy a file from client to server (upload)
ARCHIVFILE_SERVER_TO_CLIENTCopy a file from server to client (download)
ALINK_CALL_TRANSACTIONCall t-code without authorization.
POPUP_GET_VALUESAsk for values to user.

Split string to lines for displaying

DATA: lv_content TYPE string,
      lv_pos     TYPE i,
      lv_len     TYPE i.
lv_content = 'dummy string'.
lv_pos = 1.
WHILE lv_pos LE strlen( lv_content ).
  lv_len = 80.
  IF lv_pos + lv_len GT strlen( lv_content ).
    lv_len = strlen( lv_content ) - lv_pos.
  ENDIF.
  WRITE lv_content+lv_pos(lv_len).
  lv_pos = lv_pos + 80.
ENDWHILE.



Installing SAP Netware ABAP 7.51 SP02 on CentOS 7 Minimal

You can find great documentation for installing SAP Netware ABAP 7.51 SP02 at Julie blog post. I didn’t use shared OS because of huge disk/ram usage.

Prerequest

Install your favorite text editor

Install nano, vim, etc with yum.

yum install nano
Enable ssh for root

You can open multiple terminal and make copy paste with ssh to your server.

nano /etc/ssh/sshd_config

Remove # for uncomment line “PermitRootLogin yes” or add it if missing.

service sshd restart
Disable firewall

You need to open a lot of port for SAP Netware in firewall. You can disable firewall instead of configuring it.

service firewalld stop
systemctl disable firewalld
Install uuidd package

SAP Netware using uuidd library for generating GUID, install it.

yum install uuidd

Install sch package

SAP Netware using sch command in installation step, install it.

yum install tcsh
Install vmware tools and shared folder

Install open-vm-tools.

yum install open-vm-tools

You can find vmware tools in VMWare Virtual Machine menu as Install VMware Tools. Then you can check /mnt folder for CD which including tools. Copy it to your temp.

cp VMwareTools-10.x.tar.gz /tmp
tar -zxvf VMwareTools-10.x.tar.gz

Install python for tools installer.

yum install python

Change directory to extracted folder then run tools installer.

phyton install vmware-install.pl

Installation

Start installation script with below arguments.

./install.sh -g -s

SOAP Üzerinden RFC Fonksiyon Çağırmak

Aşağıdaki URL’i kullanarak SAP üzerinden ilgili fonksiyonun WSDL’i alınabilir:

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

Elde edilen WSDL kullanılarak gerekli client geliştirilebilir.