cancel
Showing results for 
Search instead for 
Did you mean: 

Parameters Problem

Former Member
0 Kudos

Hello all,

I´m using /SAPNEA/SMAPI_CUSTOMER_GETLIST fucntion module to get Customer Info from ECC.

The scenario is soap sender and rfc receiver, and the problem is the parameter P_KUNNR from /SAPNEA/SMAPI_CUSTOMER_GETLIST.

If i pass a string value like B00100 the interface works fine, but if the parameter is all number like 000001, the fm don´t find any customer, but the customer 000001 exists...

whats wrong??

Regards,

Luiz

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

try adding leading zeros in the mapping

with a user defined function

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Yes, I'm doing these.

I tried to put a Constant "000001" and does not work too...

the message looks fine, it seems the RFC adapter do something...

Former Member
0 Kudos

Hi,

the SAP field length of customer number is 10.

So you have to send 10 digits.

0000000001

Daniel

Answers (2)

Answers (2)

michael-john_turner
Active Participant
0 Kudos

Hi Luiz,

For any numeric customer numbers (eg your 000001 example), you need to pad them with leading zeros - you'll probably need to send 0000000001. Check how your customer number range is defined to be certain.

MJ

Former Member
0 Kudos

Take in mind the conversion exit. Do you see the additional "0000" before the number in the message payload ?