cancel
Showing results for 
Search instead for 
Did you mean: 

Product ID Validation

Former Member
0 Kudos

Hi ,

IN SRM Shopping Cart , when invalid Product ID say 111 ( Material ) is entered we will get an error message as

goods/service 000000000000000000000000000000000111 may be length of 40 taking from SRM tables.

but we need it to restrict to length of 18. Could any suggest how to achieve this. i checked many BADI's but i guess this validation is done before this it self.

Thanks

Krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

jason_boggans
Active Contributor
0 Kudos

Dear Poster,

As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.

Best Regards,

SDN SRM Moderation Team

Former Member
0 Kudos

Any Thoughts Please.

Former Member
0 Kudos

Hi,

Can you check the product length under t code COMCPRFORMAT?

Regards,

Nikhil

Former Member
0 Kudos

Hi Nikhil ,

Its Product lenght is 18

Display leading zeros is space

save lexicographically is space

Thank You

Krishna