cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos
263

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
0 Kudos

hallo Sandra

thank you for the reply.

generally speaking I am aware of the fact that trailing spaces are ignored in ABAP and I can see that also in table LFA1 in the unconverted value of the vendor.

But it seems that in VAKEY they are: in fact I tried to add the spaces before the vendor and the system saw it, the fields were correct in their right spaces: the issue was that the system did not recognize the vendor because it considered the spaces

alisa_schlossbergmajer_0-1730816507148.png

 

raymond_giuseppi
Active Contributor
0 Kudos
Do not use Answer to respond to a comment or answer. Answer is intended to be used to propose a solution to the initial question. Use Comment instead.
0 Kudos
hello Raymond, there is no other options to Sandra's comment
raymond_giuseppi
Active Contributor
0 Kudos
(Use comment on our original question)