Bapi for Classification View in Mm01

March 28, 2018 | Author: Niroop Raj | Category: Computer Programming, Technology, Computing, Areas Of Computer Science, Software Engineering


Comments



Description

Welcome, Guest    Login Register  Getting Started  Newsletters  Store Search for:  Search the Community   Solutions  SAP Services & Support  About SCN  Downloads  Industries  Training & Education  Partnership  Code Exchange  Lines of Business  University Alliances  Events & Webinars   Idea Place Home   Communications   Activity Actions BrowseMore o Content o People o Places o Recent Bookmarks More discussions in ABAP DevelopmentWhere is place located? 3 Replies Latest reply: Jan 17, 2008 8:45 AM by Prakash N Search All of SAP how to create a Classification view using program or function module. 2008 7:29 AM Can any one tell me . 2008 1:27 AM  1249 Views o Topics: ABAP  Average User Rating (0 ratings) Yes BAPI_OBJCL_CREATE is the required FM. I just wanted to create a Classification views in MM01 transaction . is there any function module there to create the same ? if BAPI_OBJCL_CREATE is the FM . from which table i can have the following parameter values based on material number . Prakash N Jan 15. then pls tell me how the following input parameters related to the material .Classification view in Material Master This question is Not Answered. OBJECTKEY_IMP = Your Matnr of MM01 OBJECTTABLE_IMP = 'MARA' CLASSTYPE_IMP = Class type you want to create for the material under consideration READ_VALUATIONS = There is no such parameter in the above mentioned FM . OBJECTKEY_IMP OBJECTTABLE_IMP CLASSTYPE_IMP READ_VALUATIONS Edited by: Prakash N on Jan 15. Regards Raju Chitale o Report Abuse o Like (0)  Re: Classification view in Material Master Parminder Singh Saluja Jan 15. 2008 11:13 AM (in response to Prakash N) CALL FUNCTION 'BAPI_OBJCL_CREATE' EXPORTING objectkeynew = P_L_T_CLASS-objnum objecttablenew = 'MARA' classnumnew = P_L_T_CLASS-class classtypenew = P_L_T_CLASS-ctype STATUS = '1' STANDARDCLASS = CHANGENUMBER = KEYDATE = SY-DATUM TABLES allocvaluesnum = l_it_num .I hope this helps. o Report Abuse o Like (0) Re: Classification view in Material Master o Prakash N Jan 17.2008 STANDARDCLASS CHANGENUMBER KEYDATE NO_DEFAULT_VALUES . 2008 8:45 AM (in response to Parminder Singh Saluja) Dear All .allocvalueschar = l_it_mkml allocvalueschar = l_t_class allocvaluescurr = l_it_curr return = l_t_ret2..01. If useful reward. Thanks for your reply .. I have passed the following value . OBJECTKEYNEW - OBJECTTABLENEW - 000000000000000925 MARA CLASSNUMNEW - HLLBATCHCLASS CLASSTYPENEW - 023 STATUS - 1 - 18. . Kindly check the following coding: CALL FUNCTION 'BAPI_OBJCL_CREATE' EXPORTING objectkeynew = v_object objecttablenew = 'MCH1' classnumnew classtypenew = v_class = '023' TABLES allocvaluesnum = aract_num . y ? RETURN Result: Hi All Can anyone let me know how exactly to use the BAPI BAPI_OBJCL_CREATE. I want to know the parameters that need to be passed for this bapi and the meaning of those parameters. But when i see the MM02 again i could not see these entries.also im passing the characteristics Export table giving the following result.. Kindly send some example code if any for this bapi. Satyesh  o Report Abuse o Like (0) Re: BAPI BAPI_OBJCL_CREATE swarup basagare Jun 5. Dont forget to reward points if found useful. and class type (AllocDetail-Class_Type).. object table (ObjectTableNew). the bapi is used to create classifcations ( like customer classifcation or material classifcation or funcational location classifications. functional location classifications. time. class name (AllocDetail-Class_Num). Hi. and date characteristics are transferred in table AllocValuesNum.etc) CALL FUNCTION 'BAPI_OBJCL_CREATE' EXPORTING . The characteristics and their values are transferred in different tables according to type. and currency characteristics are transferred in table AllocValuesCurr. The classification is defined by the required fields object key (ObjectKeyNew).allocvalueschar = caract_char allocvaluescurr = caract_curr return = return.. Thanks. Numeric. 2008 1:47 PM (in response to Sudheendra Puthuraya) This BAPI creates a classification with assigned values if the classification does not yet exist. Character and boolean characteristics are transferred in table AllocValuesChar. objectkeynew = lw_object objecttablenew = lc_table classnumnew = lw_class classtypenew = lw_cltype TABLES allocvaluesnum = li_valuesnum allocvalueschar = li_valueschar allocvaluescurr = li_valuescurr return = li_return... for material classication the value LC_TABE will be MARA for customer classifcation the value will be KNA1 for equipment classificaton the value will be EQUI..etc means the master table of corresponding cooponent pass class detials to LW_CLASS class tyep to lw_cltype every class contains characteristic values pass numeric characteristic values of the class to li_values num pass char type characteristic values to li_valueschar pass currency tpye charactestic values to li_valuecurr . Reward points if useful Regards. Sriram .
Copyright © 2024 DOKUMEN.SITE Inc.