on 01-31-2011 10:13 AM
Hi,
We are moving from SRM 5.0 to SRM 7.0.
In SRM 5.0 one of punchout catalog is working. But in SRM 7.0 the same is not working.
When we analyze the , vendor is sending the OCI form is like below.
<!-- Item Number 0 -->
<input type="hidden" name="NEW_ITEM-DESCRIPTION[1]" value="Description">
<input type="hidden" name="NEW_ITEM-MATGROUP[1]" value="40141616">
<input type="hidden" name="NEW_ITEM-QUANTITY[1]" value="1">
<input type="hidden" name="NEW_ITEM-UNIT[1]" value="EA">
<input type="hidden" name="NEW_ITEM-PRICE[1]" value="35.40">
<input type="hidden" name="NEW_ITEM-PRICEUNIT[1]" value="1">
<input type="hidden" name="NEW_ITEM-CURRENCY[1]" value="USD">
<input type="hidden" name="NEW_ITEM-LEADTIME[1]" value="3">
<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value="201096">
<input type="hidden" name= "NEW_ITEM-LONGTEXT[1]" value="Long text">
<input type="hidden" name= "NEW_ITEM-LONGTEXT_1:132[]" value="Long text">
<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[1]" value="201096">
Above NEW_ITEM-LONGTEXT is coming 2 times, one with NEW_ITEM-LONGTEXT[1] and another one with NEW_ITEM-LONGTEXT_1:132[].
So while adding the item to cart, We are getting dump STRING_OFFSET_TOO_LARGE..
In class /SAPSRM/CL_FPM_OCI_RESUMECMD, method : check_longtext .
Because of this it is failing in SRM 7.0.
With out asking vendor is there any possiblity to pass the validation ?
Regards
Venkatesh p
Hello Venkatesh,
Whatever is the OCI version (2.0, 3.0, 4.0), you must have only one field for longtext in HTML template containing catalog data.
Item index for longtext is managed in a different way from other fields. Indeed, index is not inside the bracket: it is like NEW_ITEM-LONGTEXT_n:132[], where "n" is the item index.
It seems you were lucky in SRM 5.0 release...
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkatesh,
Can you let us know how this issue was resolved? We implemented this note & two more OSS notes.
Still, when we are trying to return to SC, sytem hangs ( indefinite wait ).
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkatesh,
Seems like this issue is caused by an item in catalog that has line breaks or carriage return in the long text.
SAP has released note 1429585 to fix this issue. You may implement the correction instructions to fix the problem.
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.