03-27-2012 11:25 AM
Hi Experts,
I am uploading Material Master data through BAPI 'BAPI_MATERIAL_SAVEDATA' everything goes well but now client requirment is :-
Activated classification view for this i am using 'BAPI_OBJCL_CREATE' and all classification data updated sucessfully but client needs classification tab in MM03 always be acitvated if there is no values in the file for classification data.
Is it possible if we are not passing any value for classification data and activate that tab in MM03.
Please Advice me what can i do for this requirement .
Regards,
Nee.
03-27-2012 1:05 PM
call bapi BAPI_OBJCL_CREATE with empty TABLES. This will create assignment without any characterristics values
ALLOCVALUESNUM STRUCTURE BAPI1003_ALLOC_VALUES_NUM OPTIONAL
ALLOCVALUESCHAR STRUCTURE BAPI1003_ALLOC_VALUES_CHAR OPTIONAL
ALLOCVALUESCURR STRUCTURE BAPI1003_ALLOC_VALUES_CURR OPTIONAL
Regards,
Pawan.
03-27-2012 12:29 PM
Hi Nee
How are you populating the work-area of structure BAPI1003_KEY?
You can populate the mandatory parameters of the BAPI in your code itself.
Regards,
Xineohpi
03-27-2012 2:02 PM
Hi,
Yes,i am populateing the mandatory parameters of the BAPI :-
OBJECTKEYNEW = BAPI1003_KEY-OBJECT(Material Number)
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = BAPI1003_KEY-CLASSNUM(class:- MATCLASS)
CLASSTYPENEW = BAPI1003_KEY-CLASSTYPE(001)
it will creat assigment with class type and class,but my requirment is i do not want any data in classification view only activate it when user see item in MM03 the classification tab should be there.
Regards,
Nee
03-27-2012 1:05 PM
call bapi BAPI_OBJCL_CREATE with empty TABLES. This will create assignment without any characterristics values
ALLOCVALUESNUM STRUCTURE BAPI1003_ALLOC_VALUES_NUM OPTIONAL
ALLOCVALUESCHAR STRUCTURE BAPI1003_ALLOC_VALUES_CHAR OPTIONAL
ALLOCVALUESCURR STRUCTURE BAPI1003_ALLOC_VALUES_CURR OPTIONAL
Regards,
Pawan.
03-27-2012 1:57 PM
Hi Pawan,
Yes, i know if i'll pass tables with empty values then it will not create any characterristics values but i have to pass mandotory parameter like:-
OBJECTKEYNEW = BAPI1003_KEY-OBJECT
OBJECTTABLENEW = 'MARA'
CLASSNUMNEW = BAPI1003_KEY-CLASSNUM
CLASSTYPENEW = BAPI1003_KEY-CLASSTYPE
and i do not want to pass anything in the BAPI,just need to activated classiffication tab without any data.
i hope you understood .
Regards,
Nee.
03-28-2012 5:51 AM
03-28-2012 10:19 AM
Hi,
Thank you so much for your help my problem has been solved through this BAPI.
Regards,
Nee.
01-30-2014 2:06 PM
Hello,
Could please tell how to use the bapi 'BAPI_OBJCL_CREATE'
Thanks you in advance
01-30-2014 5:21 PM
Hello,
Do you know how can I get the classnum of the material?, I dont know what to put in this parameter
Thanks