APAR status
Closed as program error.
Error description
SAP itself space trims strings to right when field values are passed via ABAP programs. The DS stage needs to do the same (recommend to make it the default behavior). Currently the strings are padded with spaced to the field length.
Local fix
Use DS trim functions in a Transformer (functions TrimB or TrimLeadingTrailing, see https://www-01.ibm.com/support/knowledgecenter/SSZJPZ_11.3.0/com .ibm.swg.im.iis.ds.parjob.dev.doc/topics/r_deeref_String_Functio ns.html).
Problem summary
ABAP extract: Implement space trim to right for strings and make it default behavior in the next release. The SAP server itself trims trailing spaces from strings when field values are passed via ABAP programs. The ABAP stage needs to do the same (recommend to make it the default behavior). Currently the strings are padded with spaced to the field length.
Problem conclusion
Trimming trailing spaces implemented as default behavior in version 80 If any user needs this functionality for version 70 or 71 it can be implemented on request, as an environment variable enabled functionality (we cannot change the default behavior in a maintenance release). The user does have the option of using instead the Datastage Transformer trim functions (e.g. TrimB or TrimLeadingTrailing)
Temporary fix
Comments
APAR Information
APAR number
JR54173
Reported component name
IS PACK FOR SAP
Reported component ID
5724Q5500
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-09-03
Closed date
2015-09-16
Last modified date
2015-09-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
IS PACK FOR SAP
Fixed component ID
5724Q5500
Applicable component levels
R700 PSY
UP
R710 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCSRJX","label":"DataStage Pack for SAP R\/3"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
16 September 2015