‎2011 Sep 15 6:55 PM
Hi
when bom is changed using CS02 then when using BD21 triggers IDOC for the message type
but
when bom is changed using CS21 then it does not trigger idoc using BD21
I checked the code for BD21 message type function
I found that change pointer (bdcp2-object id ) is different for both transaction CS02 and CS21.
CS02 is updating object id with mast-stlal but this entry is missing for CS21
I am not able to find how the table (BDCP , BDCP2) for change pointers is updated for bom change.
Can you please let me know the patof code which i should check for updating the change pointers entries in BDCP , BDCP2 for bom
‎2011 Sep 16 12:45 AM
Hi,
I think you are missing ALE configuration. The object IDs should be linked to a message type for triggering an IDOC. This assignment can be done via transaction BD52. What you need is as follows:
1). First find out what is the object ID when changing CS21. After making any change, go to BDCP table and find out.
2). Find what message type you want to trigger.
3). Assigned the object ID and field in BD52 for the message type.
I hope this helps.
Regards,
‎2011 Sep 16 10:47 AM
I checked in BD52 the object name is STUE_V for the given message type (ZBOM) .
fields which are changed are MENGE, IDNRK both are maintained for object name STUE_V and table STPO
please let me know what is the format for saving Object value (object id ) in table BDCP,BDCP2
Regards
‎2011 Sep 19 8:38 AM
Hi,
I do not have CS21 transaction in my SAP system. Can you please check if it is creatign any entry in CDHDR table after making any chnage via CS01 and CS21?
If standard SAP is not creating any change pointers in BDCP then you can create via user exits using FM "CHANGE_POINTERS_CREATE".
Regards,
‎2011 Sep 22 1:13 PM
I checked the sap system is creating enteries in cdhdr change pointer usin fm STUE_V_WRITE_DOCUMENT . I checked that when used TCODE CS05 the entry is updated for stlal as
In CS02 the entry for OBJID hold the value for stlal (Alternative BOM)
ie 500M0001064220110914 01 20110914
In CS21 the entry for OBJID does not hold the value for stlal (Alternative BOM)
ie 500M0001064220110913 20110913 (entry missing for stlal)
It clears the value of stlal . Is ther any sap note or configration setting for CS21 to get the value for alternative bom .