on 12-07-2011 4:07 PM
I have created a LSMW using the standard IDOC QPMK/QPMK01. Using structures E1BPQPMK_QPMK and E1BPQPMK_QPMT I am able to create IDOCS and post them into the system using BD87.
My requirement is to change only some fields of the characteristic, e.g. change only the sort field. At the point where I am now all information that I am not supplying to the LSMW/IDOC is deleted out of the characteristic. E.g. if I would not supply the values currently existing in the info field, they would be deleted once I post the IDOC with my changes.
My question is: how do I setup the LSMW/create the IDOC so that it modifies only the fields that I am supplying while leaving all other fields untouched? Is this possible?
Regards
Martin
I came up with the idea of reading the existing values out of the respective sap tables while doing the conversion within the LSMW step 11. This would mean that for each field I would have to setup coding in step 5 like this (example for Infofield 1):
SELECT single DUMMY10 from QPMK into E1BPQPMK_QPMK-INFOFIELD1 where
ZAEHLER = QPMK_UPLOAD-PLANT_QPMK and MKMNR = QPMK_UPLOAD-MSTR_CHAR and
VERSION = QPMK_UPLOAD-VMSTR_CHAR.
I tried this and it seems to work for this field. Quite some effort for all the fields but then it should be fine. Does anyone have some optimization proposals on this?
Regards
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Use LSMW for QS23- change inspection Characterstics.
prepare ur excel with the fields which u needs to change.
and than run ur LSMW, it iwll works.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.