cancel
Showing results for 
Search instead for 
Did you mean: 

Change value of an attribute Inforecord Classification

hutner
Explorer
0 Kudos

Hello,

i want to change a value of an attribute for an inforrecord with classification (OKCODEPLANT & Type 057).

So I want to use the BAPI:

BAPI_OBJCL_CHANGE

My Import parameter was following: 

hutner_1-1713777130300.png

But this settings does not work.

In the table ausp I see the object key combination (lifnr & matnr). But it also does not work when i use this key instead of the inforecord number. 

hutner_2-1713777230633.png

Here you can see the maintenance view of my info record classification.

hutner_0-1713777079266.png

Can anyone help.

View Entire Topic
raymond_giuseppi
Active Contributor
0 Kudos

Did you try

  1. To read current values with BAPI_OBJCL_GETDETAIL 
  2. call BAPI_OBJCL_CHANGE with concatenation of MATNR, an initial MATKL, LIFNR (or INFNR, MATNR,
    LIFNR) created with BAPI_OBJCL_CONCATENATEKEY
  3. ty to set a break-point at start of FM CACL_CLASSIFICATION_SAVE (and test with ME11)
hutner
Explorer
0 Kudos

Hello raymond,

thanks for your reply.

I want to try the BAPI_OBJCL_GETDETAIL but i do not know the right object key.

A combination of matnr matrial group an lifnr does not work. Or could you please give me an example.