Some BAPI notes


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

AWS Lambda Internal Server Error

If you are getting below exception for your .Net Core 3.1 Lambda function after deploying it via web page, continue to reading reason.

Could not find the specified handler assembly with the file name ‘LambdaTest, Culture=neutral, PublicKeyToken=null’. The assembly should be located in the root of your uploaded .zip file.: LambdaException

When you create lambda function via aws web ui, it set default handler as LambdaTest::LambdaTest.LambdaHandler::handleRequest. You need to change it as your your code.

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.

Set FQDN on Linux for SAP Server

An example FQDN:

Add computer name to /etc/hostname file.


Add you domain to /etc/resolv.conf.


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

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

niping -v -H

Hostname/Nodeaddr verification:

Hostname of local computer: myserver                         (NiMyHostName)
FQHN of local computer:                 (NiGetOwnFQDN)

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

Lookup of hostname:                     (NiHostToAddr)
    --> IP-Addr.:
Lookup of IP-Addr.:                                (NiAddrToHost)
    --> Hostname:

Useful reports

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

hybris system requirements

hybris minimum requirements by versions. Preferred DB charset is utf8 and collation is utf8_bin.

JVMSapMachine 11 or Oracle JDK/JRE 11SapMachine 11SapMachine 11Oracle 8.0 or SAP JVM 8.1 Oracle 8.0 or SAP JVM 8.1
MySQL 5.7 (jdbc  5.1.x), 8.0 (jdbc 8.x)MySQL 5.7 (jdbc 5.1.x), 8.0 (jdbc 8.x)MySQL 5.6, 5.7 (jdbc  5.1.x), 8.0 (jdbc 8.x)MySQL 5.6, 5.7 (jdbc  5.1.x) ) MySQL 5.6, 5.7 (jdbc  5.1.x) )
ImageMagick 6.7.3-56.7.3-56.7.3-5 6.7.3-5 6.7.3-5
Tomcat 8.5.568.5.518.5.40 8.5.40

hybris installer failed

If you are getting error while installing receipt like below, although you have set the parameter, check your maven settings for central repositories URLs start with HTTPS.

Either platform properties or system environment does not have the required property 'initialpassword.admin' set.
Please make sure to provide it in the recipe or in the system environment.

If you are running recipe using installer application you can set required property via option
-A local_property:initialpassword.admin=property_value

If missing property is initialpassword.admin then you can set it up using
shortcut -A initAdminPassword=admin_password

Maven disabled HTTP repositories. You can use below sample maven config file at <user-home>\.m2\settings.xml.

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="" xmlns:xsi="" xsi:schemaLocation="">