cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW with object 0070 and program RV14BTCI, XK15 and non numerical vendor

0 Kudos
265

I am using LSMW with object 0070 and program RV14BTCI, with XK15.

I concatenate vendor, material, purchasing org, plant and inforecord type.

when using a numerical vendor, I add the leading zeroes but when the vendor is alphanumeric I need to add spaces.

the issue is that when I add the spaces after the vendor, the system does not recognize it and inserts data from the next field instead, affecting also the next fields

how can I concatenate spaces or an alphanumeric vendor into VAKEY?

alisa_schlossbergmajer_0-1730815284990.png

 

View Entire Topic
raymond_giuseppi
Active Contributor
0 Kudos

You could pass the key values to structure KOMG, then use a FM such as SD_CONDITION_VAKEY_FILL to fill VAKEY.

0 Kudos
hello Raymond, I have no idea how to do that in the LSMW
raymond_giuseppi
Active Contributor
0 Kudos
Replace your concatenate fields with some moves, such as KONG-MATNR = field_matnr and then call the FM