‎2007 Jan 29 12:29 PM
Hi all,
I have a set of data where few materials belong to some views and others belong to other views and sevaral sets like this.
how can i handle them.
is BDC the best solution? or any other ways?
tx,
kiran
‎2007 Jan 29 12:32 PM
‎2007 Jan 29 12:32 PM
‎2007 Jan 29 1:10 PM
tx for ur info ravi.
but the issue is i have lots of miscelaneous materials.
each material combination of views is different from the other matnr. so if i select all the views, i have to populate all unnecessary fields also for such materials.
any other clues.
ravi, rewarded points under helpful answer.
tx,
kiran
‎2007 Jan 29 1:41 PM
Hi Kiran,
In that case you have to Use the FM:
SELECTION_VIEWS_FIND to get the list of views that are active for the particular material.
YOu have to pass the mara-pstat field to the fm.
Based on the index of the view name, you have to code accordingly to chose the view.
Regards,
Ravi
‎2007 Jan 29 1:17 PM
Hi,
Better to use the BAPI BAPI_MATERIAL_SAVEDATA, you need to pass the mandatory fields here, anyways if you use the BDC also you need to pass the mandatory fields, Handiling BDC for MM02 is quite difficult, so better go for BAPI.
if you still wants the BDC for MM02, just with this link ..
http://sap.niraj.tripod.com/id12.html
Regards
Sudheer
‎2007 Jan 29 1:35 PM
hi sudeer,
tx. we r asked not 2 go with unnecessary flds population.
thats what is bothering me now.
any more clues plzz?
kiran
‎2007 Feb 01 7:36 AM
hi all,
is there any other ways i can have a solution?
i just now read a code snippet 2 update material using methods in SDN. is there any ways 4 me also in such angle?
snippet title:
Changing Configuration Values of a Configurable Material in a SO, PO or a Service Order through an ABAP Program
tx
kiran