Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Thana, Try this function module instead: CSAP_MAT_BOM_MAINTAIN There are a number of other useful functions that begin with "CSAP_MAT_BOM" that you might want to explore as well. Cheers, Terry
| | | ---------------Original Message--------------- From: Thanasath Sent: Monday, February 28, 2011 11:01 PM Subject: How can I change BOM with BAPI_MATERIAL_BOM_GROUP_CREATE? Hi All, I want to change BOM ehader data e.g. Base quantity, BOM status, etc.. I've tried to change BOM with BAPI_MATERIAL_BOM_GROUP_CREATE, but it's still display error message as this. Error when checking the data of the object type=BOM / Id=FG100001 of group Id=BOMGROUP1 Data is incomplete. No instance of object type BOMGroup has been created. External reference: The data I put are: BOMGROUP BOM_GROUP_IDENTIFICATION = BOMGROUP1 OBJECT_TYPE = BGR OBJECT_ID = BOMGROUP1 BOM_USAGE = 1 CREATED_IN_PLANT = 2200 VARIANT BOM_GROUP_IDENTIFIC = BOMGROUP1 OBJECT_TYPE = BOM OBJECT_ID = FG100001 ALTERNATIVE_BOM = 10 BOM_STATUS = 1 BASE_QTY = 100 BASE_UNIT = KG VALID_FROM_DATE = 10.03.2011 FUNCTION = CHG MATERIALRELATIONS BOM_GROUP_IDENTIFIC = BOMGROUP1 MATERIAL = FG100001 PLANT = 2200 BOM_USAGE = 1 ALTERNATIVE_BOM = 10 LOT_SIZE_FROM = 1 LOT_SIZE_TO = 1000 After debugging, I found out that the error is occurred due to BOM number (bom_data_interface-stlnr)=''. Ask please. How can I input BOM number in this function for BOM changing? I cannot find how bom_data_interface value come from. Thank you in advance. | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | TerryB SAP ABAP Helper
Posted helpful replies on 5 threads in a group to earn a Bronze Achievement Most Popular White Papers In the Spotlight _.____.__ |