BAPI_OBJCL_CTEATE

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

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

Similar Messages

Maybe you are looking for

  • No power when monitor attached

    I use a donated MAC G4. All was well until I disconnected my drive to move it. Now, with all connections correct, I can not turn it on. When I disconnect all but the power cord, the unit turns on. But as soon as a monitor is connected, the power goes

  • Receiver Determination for an Outbound Message to Multiple Receivers

    Hi, I have a scenario in which one Single Outbound Message needs to be sent to multiple receivers. 1. I have set up the Receiver Identification correctly i.e I can see the Receiers and their end points. 2. The problem is that when the first Message f

  • To Uwe Schieferstein in ABAP Programming

    Hi Uwe Schieferstein !!       thanks for sending the link and I need some suggestion regarding the alv classes. is it possible to get your e-mail id  please thanks sirisha

  • IPhone messages show numbers and not contact names

    My iPhone in messenger is showing phone numbers and not contacts. My contacts are OK, was working Ok just stopped today. Not sure why?

  • Extract element value from a trigger

    Hi, I would like to create an 'before/after insert' trigger on a XMLType table that would extract a value of an element of the inserted XML. However, I created the following trigger but failed with error : SQL> create or replace trigger trig_po 2 aft