K2 connect Hotfix: Invalid maximum length indicator of BAPI fields

  • 16 February 2021
  • 0 replies
  • 3 views

Userlevel 5
Badge +20
 

K2 connect Hotfix: Invalid maximum length indicator of BAPI fields

KB000671

PRODUCT
K2 connect 4.5
BASED ON
K2 connect 4.5
SEE ALSO

K2 connect for SAP 4.5 Update KB000674

LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Introduction

 

 

 

In previous versions of K2 connect for SAP the maximum length for a BAPI field was reported incorrectly as the value was derived from the internal unicode length. SAP however, requires that the non-unicode length be used.

Note: SAP Version 4.6 and older did not include support for UNICODE characters. Later versions of SAP, for example ECC6.0 do offer UNICODE character support.

 

 

Error Scenario

When the BAPI BAPI_VENDOR_GETDETAIL is used and the mouse pointer is suspended over the VENDORNO input parameter a tooltip indicating the Data type and expected length should display. In version 4.6 and older, the data length would be reported incorrectly as twenty when the field length was ten. Despite this error, there was no impact as UNICODE characters were not supported. The image below shows the UNICODE character length reported correctly.

Important: In version ECC6.0 however, SAP now supports UNICODE Characters and the incorrect data length reporting needs to be correct.

 

 

Error Resolution

K2 connect for SAP has been enhanced to display the correct field length. This Hotfix is contained within the latest K2 connect for SAP Update.

 


0 replies

Be the first to reply!

Reply