‎2005 Mar 30 10:06 AM
can material be extended to several plants and sales org. using BAPI bapi_material_savedata. if yes then what all parameters i need to populate.
‎2005 Mar 30 12:35 PM
Hi gaurav,
You can extend the material in several plants using
BAPI_MATERIAL_SAVEDATA
All you need to do is populate the import parameter
WA_HEADDATA-MATERIAL
WA_HEADDATA-IND_SECTOR
WA_HEADDATA-MATL_TYPE
and check the views that you want to maintain in the new plant.
Suppose you want to maintain only Basic view than..
WA_HEADDATA-BASIC_VIEW = 'X'.
And based on selected views , you need to populate other
parameters.
like I want to maintain basic view in another plant than
I need to populate the plant data.
WA_PLANTDATA-PLANT = <PLANT>.
populate other fields, if required.
WA_PLANTDATAX-PLANT = <PLANT>.
populate flags, if required.
and pass these parameters to the Function module.
It should work.
Please reward, if you find the answer useful.
Regards,
Vijay
‎2005 Mar 30 12:35 PM
Hi gaurav,
You can extend the material in several plants using
BAPI_MATERIAL_SAVEDATA
All you need to do is populate the import parameter
WA_HEADDATA-MATERIAL
WA_HEADDATA-IND_SECTOR
WA_HEADDATA-MATL_TYPE
and check the views that you want to maintain in the new plant.
Suppose you want to maintain only Basic view than..
WA_HEADDATA-BASIC_VIEW = 'X'.
And based on selected views , you need to populate other
parameters.
like I want to maintain basic view in another plant than
I need to populate the plant data.
WA_PLANTDATA-PLANT = <PLANT>.
populate other fields, if required.
WA_PLANTDATAX-PLANT = <PLANT>.
populate flags, if required.
and pass these parameters to the Function module.
It should work.
Please reward, if you find the answer useful.
Regards,
Vijay
‎2005 Mar 30 10:21 PM
Hi,
Please check the below description...
BAPI Name : BAPI_MATERIAL_SAVEDATA
Mandatory data:
Import
HEADDATA
CLIENTDATA
CLIENTDATAX
SALESDATA
SALESDATAX
Tables
UNITSOFMEASURE
Header Data:
Fields Detail and Sales Data :
1) HEADDATA-MATERIAL =>Material Number code.
2) SALESDATA- SALES_UNIT=> Sales unit.
3) SALESDATA- SALES_UNIT_ISO=> Sales unit in ISO code.
4) SALESDATA- DELYG_PLNT=> Delivering Plant..
5) SALESDATA- SALES_ORG=> Sales Organization.
6) SALESDATA- DISTR_CHAN=> Distribution Channel.
7) SALESDATA- MIN_ORDER=> Min. Order Qty.
8) SALESDATA- CASH_DISC => Cash discount indicator.
9) SALESDATA-MATL_STATS=> Material statistics group.
10) SALESDATA-COMM_GRP => Commission group.
11) SALESDATA- MATL_GRP_1 => Material group 1.
12) SALESDATA- MATL_GRP_3 => Material group 3.
13) SALESDATA- MATL_GRP_4 => Material group 4.
14) SALESDATA- MATL_GRP_5 => Material group 5.
15) SALESDATAX- SALES_ORG=> Sales Organization.
16) SALESDATAX- DISTR_CHAN=> Distribution Channel.
17) SALESDATAX- MIN_ORDER=> Check field for Min. Order Qty.
18) SALESDATAX- DELY_UOM=>Check field for Unit of measure of delivery unit.
19) SALESDATAX- DELY_UOM_ISO=> Check field for Unit of measure for delivery unit in ISO code.
20) SALESDATAX- SALES_UNIT=> Sales unit.
21) SALESDATAX- SALES_UNIT_ISO=> Check field for Sales unit in ISO code.
22) SALESDATAX- DELYG_PLNT=> Check field for Delivering Plant.
23) SALESDATAX- CASH_DISC => Check field for Cash discount indicator.
24) SALESDATAX- MATL_GRP_1 => Check field for Material group 1.
25) SALESDATAX- MATL_GRP_3 => Check field for Material group 3.
26) SALESDATAX- MATL_GRP_4 => Check field for Material group 4.
27) SALESDATAX- MATL_GRP_5 => Check field for Material group 5.
28) SALESDATAX-MATL_STATUS=>Check field for Material statistics group.
29) SALESDATAX-COMM_GRP => Checkfield for Commission group.
Client Specific material Data:
Field Details :
1) CLIENTDATA-BASE_UOM_ISO => Material Base unit of measure..
2) CLIENTDATAX-BASE_UOM_ISO=> X.
Material Description and material Unit of Measure:
Field details :
1) UNITOFMEASURE-ALT_UNIT => Material Unit of Measure.
2) UNITOFMEASURE- ALT_UNIT_ISO=> Alternative unit of measure to stockkeeping unit in ISO code.
3) UNITOFMEASURE- NUMERATOR=> Numerator for Conversion to Base Units of Measure.
4) UNITOFMEASURE- DENOMINATR=> Denominator for Conversion to Base Units of Measure.
5) UNITOFMEASURE- GROSS_WT=> Gross weight.
6) UNITOFMEASURE- UNIT_OF_WT=> Weight Unit.
7) UNITOFMEASURE-ALT_UNIT => Material Unit of Measure.
8) UNITOFMEASUREX- ALT_UNIT_ISO=> Alternative unit of measure to stockkeeping unit in ISO code.
9) UNITOFMEASUREX- NUMERATOR=>Check field for Numerator for Conversion to Base Units of Measure.
10) UNITOFMEASUREX- DENOMINATR=> Check field for Denominator for Conversion to Base Units of Measure.
11) UNITOFMEASUREX- GROSS_WT=> Check field for Gross weight.
12) UNITOFMEASUREX- UNIT_OF_WT=> Check field for Weight Unit.
Let me know if you have any questions.
Thanks,
Greetson