on 2014 May 27 8:30 PM
Hey Guys,
I am using standard batch/direct input LSMW to upload Material.
I am now trying to create LSMW that can change materials i.e. one for MM01 and one for MM02.
If I leave fields in my upload file blank, it does not update the converted data with /
For example if I leave the Profit Center blank in my upload file, it deletes the current value.
How can I have LSMW default / for any fields left blank in the upload file
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why don't you prepare the source file?
Very often the source is Excel.
so you can easily mark all records and replace empty cells with "/" using Ctrl+H
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ned,
In LSMW - go to - Change field mapping and conversion rules - go to field PRCTR and on top there is a button called Constant. You can enter profit center value over there for the materials you want. Later you can change this value to other profit center adn upload materials. This I am telling you a general way. In other way you can taek help of an ABAP who can write two line code which will not overwrite your inputs.
Hope it works.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
I am aware of this functionality but is not ideal solution.
For example a department send me a populated file to upload.
In some lines the profit Center may be populated.
In some lines it may not be populated.. It is for these lines I don't want to delete a value that may be present and replace with a blank value.
User | Count |
---|---|
95 | |
11 | |
10 | |
10 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.