CREMAS Change Pointer, custom fileter

Hi Experts,
                I have a requirement in which Vendor master change pointer is configured and working fine. But Now they want to set a filter based on some conditions which is not possible to configure in filter.
(Ex: based on Vendor characteristic value from table AUSP, I have restrict sending IDoc).
I am looking for userexit or badi which should allow me to create or not create change pointer option,
OR allow me to restrict posting of IDoc.
I tried BADI VENDOR_ADD_DATA_BI, but looks to me not suitable.
Thanks,

this BADI will trigger always before creating idocs - here you can keep your custom filter logic to control idoc creation.
On CP - are your characteristic value changes creating change pointers?

Similar Messages

  • Trigger CREMAS change pointer for vendor classification change in XK02/FK02

    Hi,
    I have a business case where I need to trigger a change pointer of type CREMAS whenever a client modifies vendor classification in transactions FK02/XK02.  I realize classificatiion/characteristics have their own change pointer types (CLFMAS, CHRMAS, etc.), but I was wondering if there was a user exit/BADI available for this scenario where I can manually create a change pointer.  I need the characteristic data to be part of a custom IDoc type (based off of CREMAS03), and it's no problem to include this data in the custom IDoc, but I need a way to trigger the change pointer if the clients changes vendor characteristic data, and nothing else. 
    I also went into transaction BD52 for type CREMAS to see if there's another row for classification (CLASSIFY), but couldn't figure out the right object type.
    There's a BADI called CACL_VALUE_CHANGE that triggers when vendor classification is changed, where I can generate my change pointer, but it's triggered before the client saves which means I would have a useless change pointer. 
    Does anyone have any ideas on what my options are?  I hope I've elaborated enough
    Thanks,
    Chris

    I figured out a way to do this which was to implement the BDCP_BEFORE_WRITE BADI which allows you to interrogate a change pointer based on an IDoc message type before it's saved to the database.  For starters, change pointers for message type CLFMAS must be activated in order for this to work, even though I'm not interested in those eventual IDocs. 
    In the IF_EX_BDCP_BEFORE_WRITE~FILTER_BDCPV_BEFORE_WRITE method of the BADI implementation, I was able to loop through all of the change pointers about to be created and this is where I was able to obtain the vendor number the classification is being applied to.  I actually added another line to the internal table that's changeable in the method for CREMAS and it worked out well.
    The only thing that was difficult was to debug this baby.  No matter how you set the breakpoint, it just never hits it until I discovered it's called using an UPDATE TASK.  I found an unorthodox method to debug this situation on the web which is to force an endless loop before your custom code such as.........
    while sy-subrc <> 98.
    endwhile.
    <custom code here>
    Once your process runs, it will be sitting in an endless loop in an update task which you can view in transaction SM50.  From here, you can highlight this line then you can click on "Program Session > Program > Debugging" to debug your code.  It's not something I was used to, but it allowed me to debug in the end.  I would hope there's better ways, but this worked for now.
    I hope this helps someone else!
    Cheers,
    Chris

  • How to find - Customer Master IDoc was created Manually or by Change pointe

    Hi all,
    I have an IDoc(Customer master) number (which I have taken from the payload in SXMB_MONI).  I would like to know whether this has been created by a user manually(BD14) or by a change pointer.
    Please help.
    Cheers
    danus

    Hi Vardharajan,
        Yes I agree with you. What I mean by IDoc created by change pointer is - 'IDoc generated because a change(pointer) is tracked by the system', in other words, due to some change made to the data.
    As you know, the other option of creating IDoc is by BDxx transaction. This option is usually used to push (unchanged) data.
    So in essence, what I am interested to know is , has the IDoc been generated because someone made a change using say, VD02 / XD02 or pushed the data manually.
    Please do ask, if anything is not clear.
    cheers
    danus

  • Vendor Master IDOC (CREMAS) and change pointer activation..

    Hi Guys..
                    I am using CREMAS idoc to transfer Vendor Master data to 3rd party system..
    I configure the change pointer in SALE..
    BDCP
    BD61
    BD50
    BD52
    But when I make changes in vendor master.. its not creating the idoc immediately.. I have to run RBDMIDOC manually.. to create the idoc..
    How to make it create immediately.. ?
    Also if I make a change in Email.. its not creating idoc at all.. !
    Thanks for Ur time..

    posting it in data transfer forum..

  • Problem to create change pointer for custom message type - Idoc creation

    Hi,
    We want to create IDOC and send it out when the data of "planning calendar" changes. So we are trying to generate change pointers whenever entries in Table T439I (Planniing calendar) data change.
    We created a message type, activated change pointers generally and maintained change relevant fields for message type (not sure if this step is done correctly). But not getting any change pointer in table BDCP2 when I create a new planning calendar in MD25.
    Can anybody help / guide?

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Change pointer for custom message type

    Hi,
    I have a situation where in, i need to create a custom message type and need to track the changes in the table fields using the Change pointer technique.
    Can anybody guide me as to what are the step to be followed after i create the custom message type and how to register the fields of the message type ?
    Note : Change document (CDPOS) technique is ruled out in my requirement.
    Regards,
    Kewal.

    Thanks once again,
    I had linked idoc type and message type in we82. Now after i activate the change pointers. I try to generate the IDOC type using BD21. It gives me the error message :<b> "Message type ZP2PPROJ_MSG cannot be sent with change pointers"</b>
    whereas in my segments i am using all the master data only (i.e. PRPS, PROJ,PRHI). Please throw some light on this.
    Also please clarify, do i need to make an entry of this custome message type in the partner profile ?
    Rgds
    kewal.

  • Maintain Change Pointer for Customer Master?(change in Master data)

    Hello everyone,
    i want to capture change in master data .whenever a change happen to  required  field in  customer master an idoc should be create for that and the entry should e made in table CDHDR and CDPOS.
    Please tell me the entire process how  can i achieve this .

    Hi,
    Tables / Functions:
    The change pointers are stored in tables BDCP and BDCPS.
    With release ECC 6.0 SAP delivered a new table BDCP2 for increased performance. Which table shall be used is defined in transaction BD50 (see below). There is a function to migrate “old” change pointers to the new table.
    The function group BD01 contains function modules for reading and updating the new change pointers in table BDCP2.
    BDCP                     
    Change pointer
    BDCP2                    
    Aggregated Change Pointers (BDCP, BDCPS)
    BDCPS                    
    Change pointer: Status
    Prerequisites:
    There has to exist a Change Document Object (CDO) for the SAP-object we change. For standard objects like material masters, vendors or customers these objects already exist. For own business objects we have to define a change document object with transaction SCDO .
    In the corresponding data element for the database field the flag „Change document“ has to be active.  check the details in the transaction
    The usage of change pointers has to be actived generally for the system
    Transaction BD61

  • Trigger Extra Change Pointer Update

    We have Price and Quantity fields configured on PO for creating change pointer records.
    When both of the values (NETPR & MENGE) are changed at the same time then everything works out great in BW but if let say only Price is changed then there are issues.
    What I need is if only the Price is changed then during the update of the PO the record for Qty should also be created in change pointer tables (CDHDR & CDPOS). If you can briefly describe how to do it that will be great help and I will highly appreciate it.

    I figured out a way to do this which was to implement the BDCP_BEFORE_WRITE BADI which allows you to interrogate a change pointer based on an IDoc message type before it's saved to the database.  For starters, change pointers for message type CLFMAS must be activated in order for this to work, even though I'm not interested in those eventual IDocs. 
    In the IF_EX_BDCP_BEFORE_WRITE~FILTER_BDCPV_BEFORE_WRITE method of the BADI implementation, I was able to loop through all of the change pointers about to be created and this is where I was able to obtain the vendor number the classification is being applied to.  I actually added another line to the internal table that's changeable in the method for CREMAS and it worked out well.
    The only thing that was difficult was to debug this baby.  No matter how you set the breakpoint, it just never hits it until I discovered it's called using an UPDATE TASK.  I found an unorthodox method to debug this situation on the web which is to force an endless loop before your custom code such as.........
    while sy-subrc <> 98.
    endwhile.
    <custom code here>
    Once your process runs, it will be sitting in an endless loop in an update task which you can view in transaction SM50.  From here, you can highlight this line then you can click on "Program Session > Program > Debugging" to debug your code.  It's not something I was used to, but it allowed me to debug in the end.  I would hope there's better ways, but this worked for now.
    I hope this helps someone else!
    Cheers,
    Chris

  • Problem with iChat changing my custom away message after 30 minutes

    Lately, I've been having a big problem with iChat changing any custom away message that I put up to "Away" after 30 minutes or so. Is there anything I can do to make it stop? Another issue I'm having is that sometimes when people on my buddy list change their away message, it doesn't show up on iChat unless I go offline and then sign back on. Any idea why it's doing that, and what I can do to get it to stop?
    Thanks.
    - Danielle
    G3 iMac   Mac OS X (10.3.9)  

    Hi ienjoyanime,
    Go to the General Section of iChat Preferences.
    Does it say you are set to Go to Away when you log off/QUit iChat ?
    is the computer going to Sleep at this point ?
    10:59 PM Saturday; April 1, 2006

  • Change of Customer Payment Term

    Hi Gurus,
    We are planning to change the payment term of our customer accounts this October.
    For example:
    Customer A
    Payment term last September is payable in 20 days.
    October 10- payment term was changed to 10 days
    Kindly advise if the postings that were already made from the previous months will be affected if we change the payment term of that customer?  Or will it only affect the postings that will be made after the change in payment term was executed.  My worry is that the computation of net due date and amount will be affected if we change the terms of payment.
    Thanks,
    Ellicec

    Hi:
        Payment terms are copied into Sale order from payment terms maintained customer master data at sale organization level..Whatever you give in their is copied to sale order and is taken to billing document and once document is posted it starts appearing in posting document line item in FI...Baseline date calculates the aging of open items standing in customer ledger ...If you change the customer payment term then there is no issue..its a normal business process to do so...It will not affect already existing data ....Invoice posted with new payment term will have their own aging in ledger..Hence you can carry on with their change, From control point of view just make sure that none should be allowed to payment term or base line date in a posted document. This can be prevented using document change rules in OB32...I hope it will help you.
    Regards

  • ALE change pointer error - master data

    Hi friends,
    While loading master data (customer,material and order number) all delta,we faced the error "ALE change pointers are not set correctly".
    In the discussions posted earlier,it was said that the change pointer in BD61 activation would solve the issue.
    If i do that now,whether my other delta loads will be affected or it doesnt have any relation to my other transactional deltas.Pls clarify me.
    Also explain me the reason fot this error.
    Thanks & Regards
    Ragu

    thanks ajay for your input
    regards
    ragu

  • PO stock transport order -  item change - field Customer in tab shipping

    Dear all,
    because of an existing modification it is necessary that I have to update the field customer at shipping tab of an stock transport order item when item's storage location was changed within TAC ME22N or ME21N.
    Unfortunately SAP has not implemented this functionality within BAPIs or Userexits.
    Does anyone has an idea where we have to place this modification?
    Until the installation of the last support package, the modification changed the customer within include MM06EFPV_PTV_FUELLEN, form ptv_fuellen before calling function SD_TRANSFERDATA_DETERMINE and it worked.
    Best regards and thank you for your replay!
    Michael Schleis
    PS: We are using SAP R/3 Enterprise Release 4.7 and the following Support Package
    SAP_APPL     470     0029     SAPKH47029     Logistics and Accounting
    Edited by: Michael Schleis on Mar 5, 2008 5:35 PM

    Piotr,
    You can default the shipping point in your STO based on the combination of shipping conditon (maintained in customer master), loading group (maintained in material master) and the plant in SPRO->Logistics Execution->Shipping->Basic Shipping Functions->Shipping Point and Goods Receiving Point Determination->Assign Shipping Points.
    If you don't use any of the entries (for instance if you don't use the loading group), then just leave the entry blank in config.
    Hope this helps.
    H Narayan

  • I need to be change plant customer and Vendor address as per plant setup.

    Hi
    I need to be change plant customer and Vendor address as per plant setup.
    Pls tell me the t-codes and process configuration to setup these changes.
    I have already change Plan & shipping point address in configuration.
    Regard
    vicky

    Hi Vicky ,
    Use OX10 for Changing Plant Address.
    For Customer - XD02
    For Vendor Add : XK02.
    Regards
    Ramesh Ch

  • Need help in Change pointer creation

    Hi Guys ,
    I have one issue ..Change pointer getting created for Vendor if i create it from the Custom Program But it has some problem while Using LSMW ..
    I just want to Know whether is there any Config issue with LSMW,,
    Please advice me how to slove this issue ..
    Thanks in advance.
    Prabhu.

    hi
    good
    go through this link ,hope this ll help you to solve your problem
    http://sap.niraj.tripod.com/id51.html
    reward point if helpful.
    thanks
    mrutyun^

  • ALE/Change Pointer Configuration for ZSEGMENTS

    Hello all,
    I have been searching for a few days now trying to obtain my requirement with extending of an idoc.  I am working with the following:
    Message Type: HRMD_A
    BASIC Type: HRMD_A06
    Extension: ZHRMDA06
    I extended the idoc because I wanted to include 2 extra infotypes which are not on that idoc.  Infotypes 77 and 709.
    Here is what I have completed so far.
    WE30...Created ZSEGMENTS to include below.
    WE31...Extended the HRMD_A idoc to include the ZSEGMENTS defined below.
    WE82...Updated the output types and assignments to idoc.
    BD61...Activate Change Pointers
    BD50...Activated change pointer for HRMD_A.
    I change the address field in infotype 0006. 
    Run the BD21...idoc is generated with the changes to address, everything looks good.
    Do the same thing for the ethnic origin on infotype 77, no idoc is generated. 
    I turned on logging onto table PA0077.
    I am evaluating the change logs via SCU3, and I am seeing my changes on the field.
    What I have tried...
    I have tried creating a object in t-code SCDO (ZTEST)
    I have associated  ZTEST with table/field PA0077-RACKY.
    Tried running BD21...No iDoc generated.
    I have been researching for a few days and it feels that this should be able to be done through configuration and not custom coding.  Am I wrong to think that?
    Has anyone ever did anything like this before which they can point to documentation or even the appropriate search criteria on the SCN forums.
    Thanks in advance for your help!
    Jason

    Hi Jason,
    I believe you have to enter the fields that trigger the changing pointer in tcode BD52. In my case these are the fields for BOM:
    Regards,
    Custodio

Maybe you are looking for

  • Not able to deploy

    HI I could n't able to deploy the mapping in 11g R2 owb and failed with below error.I am able to deploy the mapping successfully in owb 9i. Generation result script is greater than 1 MB in size, will not be saved as SCRIPT property in design reposito

  • WM- Production order GRN issue

    Hi WM Gurus                 i done goods isuue (261 movement type) TR, TO .After production completed i want to GRN..                i want to move the goods from storage type from 100 storage type to 916 storage type.                process is GRN f

  • Is the RTSI bus cable interface a direct 1 to 1 pin connection?

    I am using a straight ribbon cable to connect the RTSI bus between two boards (AT-MIO-16E-1 and PCI-6602), but I am not able to receive the signal on the PCI board. (I am using RTSI0 as a gate for the counters on PCI-6602).

  • Do I need to put these .pxml files under the source control?

    I use Jdeveloper created portlet consumer. after I run it in Jdeveloper, there are lot of .pxml files generated as metadata. Do I need to put these .pxml files under the source control? or they will be generated at run time? Thanks

  • Access multiple country store

    I am really confused by the Apple policy that allows to access ONLY ONE country AppStore. I am a business traveller, so I spend most of my time in various countries. Of course I have an iPhone. In theory, it is a very smart device to be used by frequ