Skip to Content
0

LSMW with BAPI method to change batch classification characteristics

Dec 30, 2016 at 12:32 PM

205

avatar image
Former Member

Hi,

I am using LSMW with BAPI method to change batch classification characteristics (business object - BUS1001002, method SAVEREPLICA, message type – BATMAS). On 5th step «Maintain Field Mapping and Conversion Rules» I specified material, batch and plant (Header segment) and CLASS_TYPE, OBJECTKEY, OBJECTTABLE, CHARACT (that is a name of the characteristic) and VALUE_CHAR that is the specific value (in Classification: Object Description segment).

I started IDoc processing and got status 53 (green), everything seems to be OK. However, I was not able to achieve the desired result – characteristic value has not been changed in the batch class.

Could you please advise me what could be the problem?

Thank you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jürgen L
Dec 30, 2016 at 02:38 PM
0

you had already successfully done the same thing in MSC2N transaction?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 31, 2016 at 06:21 PM
0

Yes, I did do that: checked AUSP and saw the value of caractristic.

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Dec 31, 2016 at 07:32 PM
0

I asked because I wanted to make clear what you actually mean, as you are now mentioning AUSP it is clear that you mean change of classification values and not change of characteristics as in your subject.

For classification SAP has actually the IDoc CLFMAS. You have to submit the values of all characteristics and not just for the characteristic that you want change values. Nevertheless it is not guaranteed that it works, SAP explains in several OSS notes that they expect a clean target. So you might consider to use the batch input method.

Share
10 |10000 characters needed characters left characters exceeded