Bapi For Classification View in Mm01
Bapi For Classification View in Mm01
Login
Register
Getting Started
Newsletters
Store
Search for:
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
Content
People
Places
Recent Bookmarks
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 , then pls tell me how the following input parameters related to the material .
from which table i can have the following parameter values based on material number .
OBJECTKEY_IMP
OBJECTTABLE_IMP
CLASSTYPE_IMP
READ_VALUATIONS
1249 Views
o Topics: ABAP
Regards
Raju Chitale
Report Abuse
Like (0)
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
allocvalueschar = l_it_mkml
allocvalueschar = l_t_class
allocvaluescurr = l_it_curr
return = l_t_ret2.
If useful reward...
Report Abuse
Like (0)
Prakash N Jan 17, 2008 8:45 AM (in response to Parminder Singh Saluja)
Dear All ,
OBJECTKEYNEW
OBJECTTABLENEW
000000000000000925
MARA
CLASSNUMNEW
HLLBATCHCLASS
CLASSTYPENEW
023
STATUS
18.01.2008
STANDARDCLASS
CHANGENUMBER
KEYDATE
NO_DEFAULT_VALUES
Export table giving the following result. But when i see the MM02 again i could not see these entries... y ?
RETURN
Result:
Hi All
= v_object
objecttablenew = 'MCH1'
classnumnew
classtypenew
= v_class
= '023'
TABLES
allocvaluesnum = aract_num
allocvalueschar = caract_char
allocvaluescurr = caract_curr
return
= return.
Thanks,
Satyesh
Report Abuse
Like (0)
the bapi is used to create classifcations ( like customer classifcation or material classifcation or funcational
location classifications, functional location classifications...etc)
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.
Regards,
Sriram