08-31-2007 11:51 AM
Hi SAP Gurus,
Using LSMW i am updating material master data
For that i have selected Direct Input method.
(The object code is 0020 and method 0000 and program name RMDATIND and prog type is D). for Industry type 'A'(plant design) and Material Type 'ROH' (Raw Material).
The problem is even after selected "classification" view(BMM00-XEIC1 = 'X' ) but I m not passing any data into tht view through lsmw as there are no relevant fields in the target structure itself.
But I atleast want tht view to get activated and should be visible in mm02 and so in mm03.
When I run the lsmw, it doesnt get activated in mm01 nor is it visible in MARA-VSTAT field.
Please suggest me a solution to this..
Thanks in advance.
08-31-2007 11:59 AM
Hi
Check this link for uploading material master in LSMW using RMDATIND direct input program..
http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc
regards
08-31-2007 12:09 PM
Hi..
Try using the the BAPI in LSMW itself...
BAPI_MATERIAL_SAVEDATA.
This may be a better option.
<b>reward if Helpful</b>
08-31-2007 12:16 PM
<a href="http://www.saptechnical.com/Tutorials/LSMW/LSMWMainPage.htm">follow this linkk for using various methods in LSMW</a>
regards,
srinivas
08-31-2007 1:35 PM
Hi
Actually my problem has not been resolved
in the BAPI suggested tht is BAPI_MATERIAL_SAVEDATA there is no field/structure for classification view..
Also previously when i was using Direct Input method, the main problem tht i was facing was activation of classification view and that is not hapening because there are no fields for object 0020 in the target struct(BMM00,BMMH1 to BMMH8).
And as there are no fields related to classification view I cannot do any mapping for it and I guess that is the reason because of which the classification view is not getting activated (neither in TCode mm01,mm02 or mm03 nor in the table MARA-VPSTA).
Currently this in respect to Industry: 'A' (Plant Design /Construction)and Material type 'ROH' (Raw Material).
Please help me in this..
Thanks,
08-31-2007 4:10 PM
There is another load method for the classification. It is a global method and can be used to classify most objects (what your config settings allow).
Object = 0130
Method = 0001
Batch Input
Program = RCCLBI02
Try this out - unfortunatley you will need to run two programs - one to create the material and this one to perform the classification.
09-03-2007 6:40 AM
I have few doubts. For the following
Object = 0130
Method = 0001
Batch Input
Program = RCCLBI02
1. Even after i gave the physical filename (legacy data) it is asking me the logical path for converted data. What should be the logical path for Converted data?
2. The menioned method is 0001 ie. Batch input method but the earlier lsmw that i made wasa Direct input method (0000).
So can i use Direct input method here as well?
What is the difference between these 2 methods?
3. How can i link both the lsmw?
What will be the common field for both these lsmw's?
There is no MATNR field in second lsmw ( Object = 0130,Method = 0001,Batch Input,Program = RCCLBI02 ) so how do i go about it?