Change pointers dor LQUA table.

I have a requirement to send stock information when ever there is an update in LQUA table for specific conditions.  Can I have change pointers set up on LQUA table. So when ever there is a new material movement posted in SAp I have to create an Idoc and send it to a 3rd party system when ever stock is updated in the BIN.
Regards

A FM called in Update Mode cannot be debugged as it is not executed immediately. It is executed upon Commit Work.
I found the following from Moderator Matt, which may be helpful:
"Set a break point in your update task FM. Set a break point on the commit statement. Run the transaction. You'll enter the debugger at the commit statement. Now set UPDATE DEBUGGING on, and continue. A new debug window will open in the update task. Hit F8, and the debugger will stop at your break point in the update task."

Similar Messages

  • Regarding change pointers in CDHDR table.

    Hi All
    Can we write change pointers in CDHDR table when we change the status of the project (CJ20n).
    When I change the status of the project then status of the network is also changed.
    Now my requirement is , as soon as the status of the network is changed ,entry should be recorded in to CDHDR.
    I am able to record the changes when description or other things of the nework are changed but facing problem for status change.
    Can we achieve this if yes then how ?

    Hi Pranay,
    Could you please let me know how you could able to resolve this issue? i am facing same kind of problem
    Regards,
    M, Manohar

  • SMD Tool. No change pointers log on table CDHDR nor CDPOS.

    Hi everyone.
    I'm trying to use the SMD tool. I've created my Message Type, and my Change Document Object(Tcode SCDO).
    Priorly, I've tested the ALE Layer configuration, by sending iDocs of my message type directly with the MASTER_IDOC_DISTRIBUTE Function Module, and it works fine. I mean, I have no problem with sending iDocs or the ALE configuration.
    In the transaction SCDO I've logged my Object Type, and I've assigned the table THOC (Public Holiday Calendar), from wich I want to monitoring the field DATUM, wich is flagged as "Copy as Internal Table" and "Doc. for individual fields at delete". Also in this transaction (SCDO), I've created the Update pgm.
    In transaction BD95, I've inserted my ALE Object Type, and I've assigned the table THOC and the field DATUM to my Object. Field DATUM is referenced to the DATUM Data Element. Due that the Data Element DATUM isn't flagged as "Change Document", I've changed the Data Element referenced by the field DATUM for one copy of the Data Element DATUM, wich I've flagged as "Change Document".
    My Message Type is alredy on the following tables:
    Tcode BD50: The checkbox for monitoring Change Pointers is on.
    Tcode BD52: Where I've assigned my ALE Object, the table THOC and the field KEY.
    Tcode BD59: Where I've assigned to it the segment of my Message Type, and the field (same field type) wich corresponds to the field DATUM of table THOC.
    Tcode BD60: The ref. msg. is the same as my Message Type, i've created the function module to create the iDocs containing the delta information (via tcode BD21 I alredy reach this FM that I've created), there's no table nor Object Type Associated (in this step I've tried both cases, with table THOC and my Object Type assigned, and both not assigned), the checkboxes "ID for reducible message type" and "BDCP2 OK" are off.
    The Change Pointers in Tcode BD61 is on.
    After all this configuration steps, I still cannot see logs of my Change Document Type in tables CDHDR nor CDPOS. Besides, when I run Tcode BD21 with my message type, and when  the program reaches my Function Module (Z_MASTERIDOC_CREATE_SMD_xxxxx), the function CHANGE_POINTERS_READ with my ALE Object gets no records. At this step, the same function (CHANGE_POINTERS_READ) with another ALE Object does get records.
    Table BDCPS alredy contains records for my Message Type, and in those records, the "Process" field is empty.
    Am I missing one step or something?
    Can anyone help me please?
    Thanks in advice.
    Regards.

    Hi everyone.
    I'm trying to use the SMD tool. I've created my Message Type, and my Change Document Object(Tcode SCDO).
    Priorly, I've tested the ALE Layer configuration, by sending iDocs of my message type directly with the MASTER_IDOC_DISTRIBUTE Function Module, and it works fine. I mean, I have no problem with sending iDocs or the ALE configuration.
    In the transaction SCDO I've logged my Object Type, and I've assigned the table THOC (Public Holiday Calendar), from wich I want to monitoring the field DATUM, wich is flagged as "Copy as Internal Table" and "Doc. for individual fields at delete". Also in this transaction (SCDO), I've created the Update pgm.
    In transaction BD95, I've inserted my ALE Object Type, and I've assigned the table THOC and the field DATUM to my Object. Field DATUM is referenced to the DATUM Data Element. Due that the Data Element DATUM isn't flagged as "Change Document", I've changed the Data Element referenced by the field DATUM for one copy of the Data Element DATUM, wich I've flagged as "Change Document".
    My Message Type is alredy on the following tables:
    Tcode BD50: The checkbox for monitoring Change Pointers is on.
    Tcode BD52: Where I've assigned my ALE Object, the table THOC and the field KEY.
    Tcode BD59: Where I've assigned to it the segment of my Message Type, and the field (same field type) wich corresponds to the field DATUM of table THOC.
    Tcode BD60: The ref. msg. is the same as my Message Type, i've created the function module to create the iDocs containing the delta information (via tcode BD21 I alredy reach this FM that I've created), there's no table nor Object Type Associated (in this step I've tried both cases, with table THOC and my Object Type assigned, and both not assigned), the checkboxes "ID for reducible message type" and "BDCP2 OK" are off.
    The Change Pointers in Tcode BD61 is on.
    After all this configuration steps, I still cannot see logs of my Change Document Type in tables CDHDR nor CDPOS. Besides, when I run Tcode BD21 with my message type, and when  the program reaches my Function Module (Z_MASTERIDOC_CREATE_SMD_xxxxx), the function CHANGE_POINTERS_READ with my ALE Object gets no records. At this step, the same function (CHANGE_POINTERS_READ) with another ALE Object does get records.
    Table BDCPS alredy contains records for my Message Type, and in those records, the "Process" field is empty.
    Am I missing one step or something?
    Can anyone help me please?
    Thanks in advice.
    Regards.

  • ALE/IDOC Change Pointers for Custom Table

    Hello all,
       There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.
        Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC
      The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

    Hi Raja,
    You can send IDOC based on  table maintenance event
    I think you can code in event 02, to generate IDOC.
    Check below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Regards,
    Nisha Vengal.

  • Change pointers for customizing table

    Hi,
    Requirement is when ever a new entry is created/updated/deleted from the customized table 'ztable' an  IDOC need to be generated.
    Any one can help me out the proper steps to solve this.
    Full points will be rewarded to the correct answer.
    Urgent please !!!
    Regards,
    Suman

    1. In T-Code add all the table and its fields to a message type.
    2. Create a program for triggering a Idoc.
    3. In the program call the functional module 'CHANGE_POINTERS_READ' with the above message type, This FM will return those table fields that are changed to a specific date.
    4. Pass read_not_processed_pointers parameter of the 'CHANGE_POINTERS_READ'   as 'X' to get the latest changes. Ex:
            CALL FUNCTION 'CHANGE_POINTERS_READ'
              EXPORTING
                message_type                = gc_message_type
                creation_date_high          = s_erdat-high
                creation_date_low           = s_erdat-low
                creation_time_high          = gc_time_high
                creation_time_low           = gc_time_low
                read_not_processed_pointers = 'X'
              TABLES
                change_pointers             = lt_chgptrs_tab.
    lt_chgptrs_tab will have all the table fields that are changed .
    5. Trigger a Idoc with those values.
    6. In the triggering is successful call FM 'CHANGE_POINTERS_STATUS_WRITE '  and pass those table fields that are sent through Idoc to write in database that the changes are already sent through Idocs. Ex:
        CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE'
                EXPORTING
                  message_type           = gc_message_type
                TABLES
                  change_pointers_idents = gt_pointer_id.
              COMMIT WORK.
    gt_pointer_id will have all the change pointer if from lt_chgptrs_tab table that are send through Idocs.

  • Activate change pointer to shipment tables

    Hi,
    Is is possible to activate change pointers to shipment tables like VTTK or VTTP? not to message type.
    regards,
    sree

    Hi Friend,
    No it is not possible to maintain change pointer for tables except message type.
    Because message type help to recognize what type fo data SAP should send or receive.
    Regards
    Krishnendu

  • Deleting Change Pointers

    Hi
    Does anyone know the standard application which deletes consumed/processed change pointers from the tables.
    This i want since, it is having lot of entries in change pointers and i want to delete the processed change pointers to improve the performance.
    shylesh

    Hi Sailesh,
    You can use standard program <b>RBDCPCLR</b> (t/code BD22) to delete change pointers.
    For more information on chnage ponter, please check this link.
    http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
    Hope this will help.
    Regards,
    Ferry Lianto

  • Change Pointers are not getting populated in BDCPV table.

    Hi All,
             I am trying to create IDOC for Activity type master - KL02 through change pointers. For that I have done following things.
    Message type - COAMAS
    1. Created Custom message type - WE81 - ZIN_COAMAS_TCSMOBILE
    2. WE82 - Config for Mess Type and Idoc type combination
    3. SCDO - Checked object type LSTAR and have required tables in that object.
    4. BD61 - Activated Change pointers - Generally.
    5. BD50 - Checked Active for ZIN_COAMAS_TCSMOBILE
    6. BD52 - Added fields for I want to create Change pointers
    7. BD60 - Message type and ref Mesage Type and function module config.
    8. BD64 - Created distribution model for my Message type
    After doing all this settings the change pointers are not getting created in BDCP and BDCPV tables.
    Note - The entries are going in CDHDR and CDPOS table for activity which i change through KL02 for class LSTAR
    Can anybody figure out what need to be done in this case?
    Regards,
    Gautam Joshi.

    Hi All,
              Solved the problem myself.
              In BD52 I have given
              LSTAR               CSLA         KOARS
              LSTAR               CSLA         LSTAR
              LSTAR               CSLT          KTEXT
              Here the data of activity are stored in TCLA and TCLT tables. So intially while doing config in BD52 I have given TCLA and TCLT table names.
              But I debugged the KL02 and found that change pointers are not created for TCLA and TCLT table. further looking into CDHDr and CDPOS table I found that for COAMAS message type in these two tables table name was CSLAB.
    CDPOS entry
    LSTAR                        
    3166442                      
    119512890                    
    *CSLAB*                        
    2003166442   2400123120000101
    KTEXT                        
    U                            
    --> BUT CSLAB is structure.
    After putting these entry in BD52 the problem solved.
    LSTAR     CSLAB     KOKRS
    LSTAR     CSLAB     KTEXT
    LSTAR     CSLAB     LSTAR
    Regards,
    Gautam Joshi.

  • IDOC trigger using Z change pointers for standard SAP table

    For IDOC trigger, is using custom change pointers on standard SAP master data tables, a good idea? A seasoned abaper told me "it will mess with the standard" and further told to go with scheduled job.
    So, for example, say that my data for table T001K is updated via transports in PRD and I need to transfer this updated data via IDOC to an external system. Since there is no standard message type for this data, I will create a new one. Further, I will create a new change pointer for table T001K (it already has six fields with their data elements activated for Change Documents). Then I link the message type and the new change pointer. And so on an so forth. I have followed the procedure given here:SAP Tips: A to Z of Custom Change Pointer
    Now, the question is, will this be a good idea to capture data and trigger IDOC? Or a batch program with calls to standard FM to read CDHRD/CDPOS be a more suitable option.
    I need to know if a near instantaneous data transfer (and an effecient one as far as the system performance and reliability is concerned) can be acheived. If there is any other way of doing this, I am not aware of it!
    Any one has any input/experience on this?

    Hi Viktor,
    I think the batch program approach would be a good solution as the by this way you are taking matter into your own hands rather giving control to the SAP framework because you may have to test out the other approach as to how the standard SAP framework is behaving for custom change pointers.
    Thanks,
    Ravi

  • How to create change pointers for IT6 when custom table Z777A changes?

    Situation: We are using custom table Z777A (copied T777A and added fields) to store building locations. Employee's IT6 subtype 92 retrieves valid work address building locations from table Z777A.
    Problem: Whenever there are updates to Z777A, we need to find all IT6 subtype 92 records that use the changed building location from Z777A and create IDOC's The change pointer entry will need to be for the IT6 subtype 92 row that is affected.
    Question: Can anyone give me specific details as to how this can be accomplished? Thanks.

    Hi,
    MASTER DATA CHANGES DISTRIBUTION BY CHANGE POINTER TECHNIQUE:
    Step 1: Creating change document object in SCDO transaction.
    Step 2:Assigning tables to the change document object.
    Step 3:Specifying change document items in transaction BD52.
    Step 4: Activating change pointers for the message type HRMD_ABA in transaction BD50.
    Step 5:Activating change pointers globally.
    Step 6:Executing program RBDMIDOC  in SE38, Specifying message type HRMD_ABA.
    with regards,
    M.Sreeram.

  • Table maintenance generator and Change pointers

    If a Ztable contains table maintenance generator, then the change pointers will not work?

    Hi Saraoja,
    If you want make active your change pointers for your Ztable, then in your Zfields, get into the Data element and click futher Characteristics tab, there you have one check box called  Change document, Check that box and activate your data element again.Now your Zfield changes will reflect in CDHDR and CDPOS.
    Thanks

  • IDOC Change pointers   is table BDCPV still used nowadays

    Hi,
    I got a do something with idoc transfer. I got a document with described what to do.
    One of the things to do was to get Change pointer data out of tale BDCPV. But in that
    table hasn't been written anything last year.
    i have activated changepointers with tx BD61
    i have activated the change pointers for the right invidual meesage types   tx BD50
    i can create the idocs with tx BD21 or program RBDMIDOC.
    i see another table BDCP2 is filled with data. Has there anything changed with Change Pointers last years?

    Hello,
    SAP recommends the usage of the change pointer table BDCP2 instead of BDCP/BDCPS.
    You can get further details in SALE -> Modelling and Implementing Business Processes -> Master Data Distribution -> Replication of Modified Data.
    BR,
    Suhas

  • This is regarding creation of change pointers for a particular table?

    Hi to all,
    Here is my requirement,
    How to create change pointers for a given table.
    i know that change pointers record changes of master data at field level......
    here now i have to create change pointers for a given table..
    how to do this,......\
    regards,
    swami

    Configuration steps :
    BD53 -> create reduced message type (use MATMAS as your reference for material master records). Select tables
    BD52 -> specify fields to track (use fieldname KEY for new entries)
    BD50 -> activate change pointers for new reduced message type
    BD61 -> activate change ponter generally (only if not already done) Make sure if this is not already active that you deselect the default enteries in BD50 for the message types you don't care about
    The view BDCPV will now contain change pointer entries for the master data that has change or been created
    Use function modules
    CHANGE_POINTERS_READ                - read new unprocessed change pointers
    CHANGE_POINTERS_STATUS_WRITE - mark change pointers as processed
    Hope it helps.
    Chang

  • Change Pointers - adding a new field to existing Change Document

    Hi,
    We have a requirement to capture the changes made to the Material object through the transaction C223. The changes to field MKAL-PRFG_F have to be captured.
    There is an exisitng Change Document Object - MATERIAL. This is included in Message Type MATMAS. These are the steps we have done:
    1. In SCDO - added the Z structure to the Change Document Object - Material. [Z structure contains the field MKAL-PRFG_F. Change pointer option is checked for this Data element.
    2. Created a Z Message Type with reference as MATMAS.
    3. In BD52 - we have listed the fields for the new Z Message Type created.
    4. The Change Pointers - reactivated after the steps are done.
    The changes to the field MKAL-PRFG_F through C223 Tcode are not recorded in BDCPV table.
    Have we missed any steps here?
    Thanks,
    Pallavi

    HI,
    I don't think a new zmessage type is required in this case.. is the structure added to MARA table??The change document programs are there which triggers the iodcs... In SCDO transaction code , click on generation info for MATERIAL.. You will find the includes. The FM MATERIAL_WRITE_DOCUMENT creates entries in CDHDR and CDPOS, if we maintain entries in BD52 , the entries wil be written in BDCP and BDCPS tables.
    Try to add your structure in MARA table as append strucre and then you can debug the IDOC from WE19 and use the FM "MASTERIDOC_CREATE_SMD_MATMAS" and then you also need to switch on Update Debugging on, to debug the changes in update FM   MATERIAL_WRITE_DOCUMENT.
    Please see if the change is reflected or not....
    ELSE.
    may be you need to create a new entry in SCDO and do all the ALE configurations for change pointers.
    Please find the link for change pointers and also you can get lot of information on change pointers in SCN.
    http://help.sap.com/saphelp_nw70/helpdata/EN/12/83e03c19758e71e10000000a114084/content.htm
    Regards,
    Nagaraj

  • Change pointers in case of purcahse order

    The scenario is to send data through idoc when i create/change delete certain fields in purchase order.
    I hace used change pointer scenario for it
    can u plz see what i have missed out in my configuration ..
    Here are the steps i followed .
    1) created a logical custom message us we81 .
    2) created custom idoc using we 30
    3) Linked custom mesage and idoc using we 82
    4) Activated my custom message using bd50 .
    5) Assigned fields to message using bd52 ie
    Einkbeleg EKKO waers , EKPO-netpr ..etc
    6) Assigned cutom message and custom function module
    (z...smd_custommsg) via bd60
    7) tried to execute the message using BD21 ..
    Now the issue is that entries are being created in change document table(cdhrd/cdpos)
    but no entry in BDCP/BDCPS..
    please give your valuable inputs to it
    Thanks In advance

    hi,
    You can acheive this by writing a custom program.
    in the program you need to use function module   'CHANGE_POINTERS_READ' for reading the change pointers.
    Give document object class as the object name in bd52 and give read_not_processed_pointers as 'X'.
    Looping at the output table and using function module CHANGE_POINTERS_CREATE_DIRECT you can create an entry in bdcp table for the respective purchase order.
    After this you can use   SUBMIT rbdmidoc WITH mestyp = message_type AND RETURN.
    Regards
    Sridevi S

Maybe you are looking for

  • New P1006 won't feed paper

    My new P1006 laser printer won't feed the paper in....after a paper jam.  I have followed the procedure in the on-line manual.  Any ideas out there?

  • Printing of Correspondence

    Hi SAP Gurus, I am trying to take a print of Vendor Credit Memo using the correspondence type "SAPVD" through the tcodes FB12 - Request & F.64 - Maintain. However the Print Program:Document Extract is giving error that no output could be generated of

  • BAPI_MDPROVIDER_GET_MEMBERS   OPTIONAL_PROPERTIES

    in the Function Call BAPI_MDPROVIDER_GET_MEMBERS (executing this remotely in java via sapjco) there are table params for OPTIONAL_PROPERTIES and SELECTED_PROPERTIES.  i'm assuming these are useful for deriving member properties that are not normally

  • Getting Runtime error R6034

    Received Runtime error R6034 while updating Itunes. Unintalled and installed; rebooted and error box came on. Using windows XP. What wlse can I do?

  • Cannot overwrite Oracle Page after Import

    Hello, I'm trying to import the modified OpptyDetPG.xml in Oracle but the old PG is not being overwritten/updated. Pls advise how to overwrite it. The XMLImporter is saying "Import completed." after issuing this command: adjava oracle.jrad.tools.xml.