Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Batch class characteristics in MM02

former_member192432
Participant
0 Kudos
745

Hi SCN folks ,

I am trying to update batch class(023) characteristics values in MM02 transaction and resulted in no solution found.

I tried below possible way:

1. Through LSMW

Object                    0130   Classification

Method                    0002   Direct input

Program Name         RCCLBI03

After execution of program in last step, I am getting below error

Error Changing Classification Data

Other

( CLAP_DDB_UPDATE_CLASSIFICATION: exception    13  )

023 000000000000173911                                 CONTROLE_LOTE

But I am able to update material class(001) characteristics in MM02 through above method. I don't want to update through MSC2 T code. My requirement is use MM02 only.

Kindly guide if anyone has come across such situation.


I am working on SAP ECC 6.0 with SAP_BASIS 702 Level 10 and SAP_ABA 702 Level 10.

Below are other possible ways I tried,

2. Throgh LSMW

Object                    0130   Classification

Method                    0001  batch input

Program Name         RCCLBI03

After execution of program I am getting below error

File name '' is not permitted; a permissible file name is '/usr/sap/tmp/P1R4_MDM_DMSAP040.lsmw.conv'.

3. Through BDC I am not able to record Characterstics window.

4. Through LSMW Business Object BUS3060 , but unsuccessful.

Please guide me how to update for Batch characteristics.

Kind regards,

1 ACCEPTED SOLUTION

atul_mohanty
Active Contributor
0 Kudos
176

Hi

Check the BAPI -  BAPI_OBJCL_CREATE, may be useful for your requirement.

5 REPLIES 5

atul_mohanty
Active Contributor
0 Kudos
177

Hi

Check the BAPI -  BAPI_OBJCL_CREATE, may be useful for your requirement.

0 Kudos
176

Hi Atul,

Thanks for the reply.I tried using BAP BAPI_OBJCL_CREATE ,   but it did not suffice my requirement.

Below are the fields I am using to update charecteristics

KLART                          C(003)    Class

OBJEK                          C(050)    Material Number

CLASS                          C(018)    Class number

ATNAM                         C(030)    Charecteristic Name

ATWART                       C(030)    Charecteristic Value

And BAPI BAPI_OBJCL_CREATE  is to create charecteristics but my requirement is to update charecteristics values.

Kind regards,

Chetan

0 Kudos
176

Try BAPI_OBJCL_CHANGE.

Check other FMs also from Function group CLBPA. It will be helpful.

R

0 Kudos
176

Hi Atul,

The problem got solved using BAPI  BAPI_OBJCL_CHANGE as you and Rudra mentioned.

Thanks for your help.

Kind regards,

Chetan

0 Kudos
176

Hi Dear Atul,

Using of BAPI_OBJCL_CHANGE object key was empty what I need to pass for that i have to use any function module, and updating mm02 but we delete data it's not display in report record was existing mm02 was not showing. For this any remedies we have please suggest me.