‎2006 May 31 8:15 AM
Hi everybody,
I am using BAPI_OBJCL_CREATE for batch classification of Material BOM.
call function 'BAPI_OBJCL_CREATE'
exporting
objectkeynew = 'M000000790000003'
objecttablenew = 'STPO'
classnumnew = 'Z_COMPOSANT'
classtypenew = '023'
tables
allocvaluesnum = t_valuesnum
allocvalueschar = t_valueschar
allocvaluescurr = t_valuescurr
return = t_return.
Here object key is the Concatenation of
STPO-STLTY STPO-STLNR and STPO-CLSZU.
But the probelm here is that STPO-CLSZU is initial when the BOM is created initially.
Once the batch Classification data is updated then only CLSZU field is updated.
Can anybody help me to find how would i create the key to create batchclassification for Material BOM
Many thanks
Sarika
‎2006 May 31 8:18 AM
Hai Sarika
check the following Links
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
Thanks & regards
Sreenivasulu P
‎2006 May 31 8:24 AM
Hi,
if you want to create the key i think you need to use this BAPI <b>BAPI_OBJCL_CREATE_KEY</b>
Regards
vijay
‎2006 May 31 9:19 AM
Hi Vijay,
FM BAPI_OBJCL_CREATE_KEY also requires an object key to create batch classification for material BOM.
Can you suggest me any FM alongwith sample program to create a KEY for Material BOM . The table for the same is STPO.
Thanks in advance.
Regards,
Sarika