Transport Export

If you have released an SAP transport and have had export problems or have (recently) lost the exported cofiles and data files, here’s a way to re-export the transports and get a new set of co files and data files.

A simple way is to run tp export on OS level and follow the syntax, the only problem with this is I have found inconsistencies with the target clients. I have not been able to set more than one target client while I might have a target group in my stms config. i.e.: the exported transport from DEV should come up as having 3 or 4 times in the QA import queue with different clients number.

A complicated and a not-so-recommended method is to sqlplus and change the status of the transport to not released in the table E070.

Relevant fields:
TRKORR and TRSTATUS

SAP startup/R3trans errors on AIX/HP-UX/Unix/Linux

If R3trans -d returns:
exec(): 0509-036 Cannot load program R3trans because of the following errors:
0509-150 Dependent module libsapu16.so could not be loaded.
0509-022 Cannot load module libsapu16.so.
0509-026 System error: A file or directory in the path name does not exist.

try setting LIBPATH to /usr/sap/'<'SID’>’/SYS/exe/run on AIX or SHLIB_PATH (HP-UX) or LD_LIBRARY_PATH (other UNIX systems)

Useful Notes:
602843 – Environment settings for R/3/Oracle on UNIX

Also look at related notes below the text on this note.

How to find values of Soft Resource Limit Stack and set it (on AIX)

While installing SAP on AIX you get a Condition not met error for Soft Resource Limit Stack Size.

You now want to set the Soft Resource Limit Stack to unlimited.

You can see the current values by typing:

ulimit -S -a to view soft limits
and
ulimit -H -a to view hard limits

Example output:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000

To set the value:

You can either modify the file /etc/security/limits (as root)

Procedure:

vi /etc/security/limits
Add lines:
stack_hard = -1
stack_soft = -1

for the users you want the limits set/unset for.

or follow the smitty interactive procedure.

Type smitty user
Select Change / Show Characteristics of a User
Type User NAME
Press Enter

Set
Soft STACK size [-1]
and
Hard STACK size [-1]

-1 = unlimited

OK and exit.

Restart prerequisites run or continue SAP Install

How to find whether your install is Unicode or not

Logon as adm
run: disp+work -version

Look for the compilation mode in the result. Example below

——————–
disp+work information
——————–

kernel release 700

kernel make variant 700_REL

compiled on AIX 2 5 005DD9CD4C00

compiled for 64 BIT

compilation mode UNICODE

compile time Oct 29 2006 20:39:06

update level 0

patch number 83

source id 0.083

———————
supported environment
———————

database (SAP, table SVERS) 700

operating system
AIX 1 5
AIX 2 5
AIX 3 5

libclntsh.a Install error

Error:

exec(): 0509-036 Cannot load program /sapmnt//exe/R3load because of the following errors: 0509-150 Dependent module /oracle/client/92x_64/lib/libclntsh.a(shr.o) could not be loaded. 0509-022 Cannot load module /oracle/client/92x_64/lib/libclntsh.a(shr.o). 0509-026 System error: The file access permissions do not allow the specified action.ERROR 2008-04-16 16:53:18 [iaxxbdbld.cpp:574] CR3ldStep::createR3ldTskFiles lib=iamodload module=CR3ldStepMSC-01004 Could not create task file /oracle//sapdata1/dbinstall/SAPSSEXC.TSK


Check/change LIBPATH settings on AIX or LD_LIBRARY_PATH on HP-UX.

Check/change permissions on the lib* files in the lib directory.

Sorted!

Save SAPGUI Password

This is NOT recommended by SAP (or me).

By default, you can’t save passwords in SAPGUI shortcuts under SAPGUI 7.10. However, if for some reason you would like the passwords to be saved for shortcuts, you could follow the steps below, and edit the (existing) shortcuts to save your passwords.

You will find the path HKEY_CURRENT_USER\Software\SAP
exists in the registry once you’ve installed SAPGUI 7.10
(windows cmd: regedit)

Create the following keys under HKEY_CURRENT_USER\Software\SAP:
\SAPShortcut\Security

Create a String Value under Security: ‘EnablePassword’ and set it to 1

This will allow you to save passwords for SAP Shortcuts.

To reset this to 0, run sapshcut.exe without parameters – this will reset the entry to 0.

SAP_REORG_UPDATERECORDS fails/cancelled

SAP_REORG_UPDATERECORDS job in SRM / BW systems fails with job log “Reorganizing update data in the background is prohibited”.

This will be resolved by applying kernel patch 254 on Release 640

Read notes:

67014 and 16083 for further information and profile parameter changes.

Installation fails with R3SAPSYSTEMSERVICE_NT_IND

If the installation fails during step: R3SAPSYSTEMSERVICE_NT_IND or starting the SAP service ends with an error: The dynamic link library librfc32.dll could not be loaded.

follow the steps below:

  • Execute R3DLLINS
  • Follow Note 142100 and run sapstartsrv -t register and start the service

Upload fonts in an SAP System/ Font Maintenance

Use SE73 to maintain / upload new fonts in SAP

Transaction SE73

Display/Change Font Families by clicking on the font families button and change/display as required

Display/Change System Fonts by clicking on the System fonts button and change/display as required

To Install a new font, for example Arial:

Click the truetype-font install button (first screen shot)

You will see the following screen

I have added the details of the example font as below:

DO NOT select bold and italic in the screen above if you’re uploading the regular font file.
Select Bold, Italic and both while uploading the Arial Bold, Arial Italic and Arial Bold Italic respectively.

You might be asked to reselect the file from the Fonts directory

Next enter the RTF font info

You will also need to create/confirm a transport request number.

The font install should complete in a few minutes and you will be presented with the following screen

If you go to the style selector now you would only be able to use the regular font without Bold or Italic attributes, to be able to use either Bold or Italic attributes, you will need to repeat the procedure of uploading the font again but select either one check box or both for the respective attributes.

Install the same font with a different attribute as below:

(Incorrect screenshot above – the filename should correspond to the correct attribute selected in the checkbox)

Note that the only attribute selected above is BOLD

You will now be asked confirm if you want to install an additional font to the same family


Click Yes

Select the file again from the pop-up, enter rtf info and confirm the transport request.

Repeat this process for italics if needed.

Job Done!

You now have a new font family.

You will also find a number of system fonts added. These are the sizes and attributes that were supported by the .ttf file that we used to add the font to the system.

Also if you create or change a style you would be able to see font and attribute selection options as below