cancel
Showing results for 
Search instead for 
Did you mean: 

V_KNA1_SINGLE_READ not found kunnr but exist in KNA1

thierryricard
Explorer
0 Kudos
162

Hello, 

i use the bapi : BAPI_GOODSMVT_CREATE 

all is ok, for one custommer it's not ok.

The function module V_KNA1_SINGLE_READ do not found the custommer.

If i use V_KNA1_SINGLE_READ with SE37, it's ok.

Do you have an idea ?

Thank's

Thierry 

View Entire Topic
raymond_giuseppi
Active Contributor

Usually this is cause of a wrong format of data, KUNNR field uses the ALPHA conversion-exit

  • Testing with SE37, SAP execute the conversion
  • Using the BAPI in a program pass the value as it is 

Try to use CONVERSION_EXIT_ALPHA_INPUT to convert an external format to internal format

  • e.g. 1234 -> 0000001234

Check also that the Customer is correct in the database (some dirty INSERT?) with SE16 / SE16N deactivating conversion-exit

thierryricard
Explorer
0 Kudos
Hello Raymond,
thierryricard
Explorer
0 Kudos
Bonjour Raymond, it's ok. Thank you. Thierry