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: 

Modify Classification data for IL02

Former Member
0 Kudos

Hi,

I want to modify the classification data for Functional location.

Is there any function modules available to change. I know the functional module for Material classification, but Functional location its not working.

SO pls tell me the function modules or any other method is available.

I was unable to do to in BDC.

regards

Rajesh V

6 REPLIES 6

Former Member
0 Kudos

Hi Rajesh,

Refer to this link

hope it is useful to you.

Regards!

0 Kudos

Hi,

Thanks,

I need to change the classification data. for read directly we can read from AUSP table.

Pls tell lme how to change classification data for Functional Location

regards

Rajesh V

0 Kudos

Hi

Use FM BAPI_OBJCL_CHANGE for changing the classification data for a func location and class.

Regards,

Dwarakanath.S

0 Kudos

Hi,

that function module is not working for functional location classification.

If its working for you pls tell the how you are changing and saving data.

regards

Rajesh V

0 Kudos

Hi,

CALL FUNCTION 'BAPI_OBJCL_CHANGE'

EXPORTING

objectkeynew = lv_funcloc

objecttablenew = 'IFLOT'

classnumnew = lv_class

classtypenew = '010'

TABLES

allocvaluesnum = li_numc

allocvalueschar = li_char

allocvaluescurr = li_curr

return = li_return.

if not li_return[] is initial.

read table li_return into lwa_return with key TYPE = 'E'.

if sy-subrc ne 0.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

endif.

endif.

Fill the new characteristic values into table parameters li_numc, li_char, li_curr depending on the data type (field ATFOR) of the characteristic value.

Inside the FM it uses BAPI_OBJCL_GETDETAIL to get the old characteristic values and make comparision with table parameters li_numc, li_char, li_curr and updates the characteristic data for the functional location and class.

Regards,

Dwaraka.S

Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 10:49 AM

Former Member
0 Kudos

Hi,

Thank you for all your reply. I got solved the problem.

Thanks