cancel
Showing results for 
Search instead for 
Did you mean: 

Item description field only 40 characters.

Former Member
0 Kudos

Hi,

We are using classic scenario in version 7.02 with punchout catalogs.  Some of the item descriptions that come back from the punchout catalog are more than 40 characters long and therefore not the whole description comes back to SRM thus missing some vital characters at the end of the description.  We want to identify where in the shopping cart we can do some mapping with BADI BBP_CATALOG_TRANSFER to transfer the whole description to which in some cases can be upto 60 characters.  Look forward to your suggestions.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Joseph,

There is an attribute in BBP_CATALOG_TRANSFER called ENRICHED_ITEM_DATA-DESCRIPTION which holds the description value , there is another attribute in the catalog_content table called DESCRIPTION which holds the same value.

Both these attributes are of length 40. Thats the standard. I think the OCI  itself has the capability of holding 40 characters. So in other words even if the description is more than 40 in the catalog only 40 characters will get transferred.

If you place a breakpoint in the badi , go to the call stack and you will notice a Class /SAPSRM/CL_PDO_BO_SC method /SAPSRM/IF_PDO_BO_SC~ADD_ITEMS_FROM_CATALOG

In this method there is a FM that is called BBP_WS_IMPORT_SC_DATA , in that if you look at LT_FORM_FIELDS table you will see NEW_ITEM-DESCRIPTION. But you can not control the transfer process.

Maybe this information helps.

Regards,

Naveen

Answers (1)

Answers (1)

timea_geczi
Employee
Employee
0 Kudos

Hi Joseph,

The OCI field NEW_ITEM-DESCRIPTION is limited to 40 chars so longer descriptions will be cut. This is standard, the OCI interface will not transfer more. You can have a look at the OCI 4.0 documentation, which can be downloaded from the internet in pdf format (search for "OCI 4.0 specification").

Any modification on SRM side has no effect, since SRM receives only 40 chars.

You can use the BBP_CATALOG_TRANSFER BADI to change this description after that, but if works only if the whole description is known in SRM. Maybe it would be better to use the longtext field (NEW_ITEM-LONGTEXT) to transfer longer descriptions from the catalog.

Regards,

Timea