Zidoc based on change pointers of Ztable

hi,
i want to generate a zidoc whenver there is a new entry made in a ztable.
FOr this i have done the following steps -
1. created the zidoctype / message type  and attached them
2. activate change pointers for message type
3. wrtiten code to call a zFM to read the chane pointer table and generate the communication idocs
4. attached the ZFM in the tcode bd60
5. I also tried creating change doc object for my ztable....however it does not seem to be working ...
i mean i can see entry in CDHDR and CDPOS but that is only realted to SCDO....I suppose it should show entry related to SE11
as i have created the entry using SE11
6. Also second thing is how do i link the change doc thing to my zmessage type such that whenver a entry is made in ztable it is considered against my Zmesssage type in BDCP

any help?

Similar Messages

  • IDoc generation based on change pointers.

    Hi All,
    I have done below following steps to generate custom IDocs but IDoc is got generated when  I execute BD21 transaction only but my requirement is as soon as they created or change information I need to generate IDoc. How to do this?
    Create first Segment - WE31
    Create IDoc type - WE30
    Create Message type - WE81
    Assign Message type to IDoc type - WE82
    Activate change pointers - BD50
    Link message type to function module - BD60
    Global activation of function modules - BD61
    Create Port - WE21
    Define Partner Profile - WE20
    Thanks & Regards,
    Anil

    Hi,
    You need to schedule the program RBDMIDOC as batch job.
    You can schedule in intervals like every 5mts or 10mts ...etc.
    depends on number of changes occuring.
    This program RBDMIDOC is nothing but BD21. To schedule the job follow below steps.
    Hi,
    Follow below steps.
    1. Goto SM36--Give Your first Job name, Choose Job class
    2. Click on Step, give the Program name and Variant. Come back to main screen.
    3. Click on start Condition then a Popup will be displayed. There click on Date/Time. below you can see Period values there choose hourly.
    4. Then Check and save.
    Regards,
    Ashok

  • Need help On Triggers/Change pointers in SAP

    Hi Experts,
    I Need help On Triggers/Change pointers in SAP.
    I have a requirement  as soon as an entry is created in one of the  Standard SAP  table it should check against my Ztable and update and create the corresponding entry in another Ztable.
    Can some one help me out on this with the syntax and how to do it

    Hi,
    Check whether you have any enhancement option (BADI, user exit, Customer enhancement etc) in the program which is used to save the data in the SAP standard table. If so, then try to write your code in that appropriate enhancement.

  • Query for Outbound Processing through change pointers

    Hi,
    I have a reduced Message type for HRMD_A07, for which change pointers are activated. So whenver the changes are tracked, it sends all the changes into 1 IDOC. My requirement is to send Employee wise single IDOC, rather than collection of all the changes at once.
    Any inputs would be helpful.
    Regards,
    Heena

    Hi
    Since change pointers are specific to the fields based on the change documents for that so i dont think that you may get the Idoc details based on the emplyee.
    1.To get the desired ouput we have to either schedule the program RBDMIDOC for lesser intervals of time so that it can collect the data regularly.
    2.Based on the chages updated in CDHDR or CDPOS we have to update the details in the user exits for the outbound process code.
    3.Else you collect the changes from CDHDR and CDPOS employee wise and manullay populate the idoc.
    Thanks & Regards
    Jyo

  • Change pointers

    HI All,
    Can you guys plz help me on change pointers.
    I have activated change pointers for CREMAS and I am running program RBDMIDOC in background. But it is generating idocs properly when ever vendor is created or changed.
    Change pointer is triggering for all vendors when ever vendor is created or changed.
    Here my problem is that i don't want to generate all  idocs i want to generate idocs for some specifi vendors only (Here we are having different types of vendors depend upon Account group.)
    How can I generate specific venodr Idocs using change pointers.
    Thanks & Regards
    Praveen

    Hi Praveen,
    There are two filtering in IDoc.
    <b>Segment Filtering</b>:
    Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.
    <b>Data Filtering</b>:
    Data filtering can be done in dustribution model where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.
    For your case, you can use <b>segment filter</b> to send only to specific vendor(s). 
    Please check this link for detail information.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Hope this will help.
    Regards,
    Ferry Lianto

  • BATMAS IDocs not gettting generated using Change Pointers

    Hi,
    I have scenario where I am supposed to replicate Batch between R/3 & Ware House Systems. So, for this I am using the standard BAPI to generate IDocs correctly for the batch.
    Now, when I go and change the document flow i.e. make changes to the Batch using transaction MSC2N and saving a new document is getting generated.
    Change Pointers are active globally and also on the message type. Now when I use the transaction BD21 to generate IDocs, they are getting created successfully for the distribution model that is existing. Now, when I add a filter in my distribution model based on Plant IDocs are not getting generated.
    Can any one let me know if I missed out any configuration step or else what needs to be done in order to solve this issue.
    Raghuram.

    Is this thread still valid? If not, please close the thread.
    If so, as no response has been submitted, please rephrase your question and/or provide further information to describe your requirement.
    Thanks
    Jason
    SDN SRM Moderator Team

  • Change pointers and Idoc creation

    Hello,
    I would like to create change pointers for any changes regarding one of our customer infotypes: 9002 (hrp9002)
    I was able to do that, however, I'm struggeling with the details.
    The problem is that I do not want to send any data related to infotype 9002. I just need this change pointer to trigger idoc creation for the related objects.
    Example: Let's assume that infotype 9002 gets created for position S 40001234. Once a night a customer report is executed via a job which reads all unprocessed change pointers (including the one mentioned above) and sends the corresponding object. In this case, an Idoc for the holder of position 40001234 should be created WITHOUT data for infotype 9002.
    The message type is HRMD_A.
    What do I need to do?
    Thank you for your input.

    Hi,
    For Info type 9002 we need to implement Badi HRALE00CHANGE_PTRS using below code.
       LOOP AT  t_changed_objects  INTO   wa_changed_objects .
        CASE  wa_changed_objects-infty.
          WHEN '9002'.
            wa_cp_data-tabname = 'HROBJINFTY'.
            wa_changed_objects-plvar = '01' .
            wa_cp_data-tabkey  = wa_changed_objects .
            wa_cp_data-cdchgid = 'U'.
    *  wa_cp_data-CDOBJCL = 'HRMD_A'.
            APPEND wa_cp_data TO t_cp_data1 .
        ENDCASE.
      ENDLOOP.
      IF t_cp_data1 IS NOT INITIAL .
        CALL FUNCTION 'CHANGE_POINTERS_CREATE_DIRECT'
          EXPORTING
            message_type          = 'HRMD_A'
          TABLES
            t_cp_data             = t_cp_data1
          EXCEPTIONS
            number_range_problems = 1
            OTHERS                = 2.
        IF sy-subrc <> 0.
    * Implement suitable error handling here
        ENDIF.
      ENDIF.
    This code will create entry in BDCP2 table.
    After thsi populating segemnet you need to code for below exit as .
    EXIT_SAPLRHAL_003
       IF PNNNN_NAME = 'P9002' .
    *FIELD-SYMBOLS: <FS_plog> TYPE ANY.   "Field Symbol for dynamic filling of data based on the structure
    *Clearing the SUBRC
    CLEAR SUBRC.
    * fill workarea for infotype with infotype-data
    ASSIGN pnnnn_data TO <FS_plog> CASTING TYPE P9002.
    LS_9002 = <FS_plog>.
    * move fields
    MOVE-CORRESPONDING LS_9002 TO LS_p9002.
    * fill IDoc-data with workarea for segmenttype
    ASSIGN sdata_data TO <FS_plog> CASTING TYPE Z1P9002.
    <FS_plog> = LS_P9002.
    CONVERTED = ZCDP_IF_CONSTANTS_DTIRIS=>GC_CROSS .
    ENDIF.
    It will work fine.
    Thanks
    Anju

  • When transferring HR data from ECC to CRM via change pointers

    When transferring HR data from ECC to CRM via change pointers ,certain data is getting earsed in CRM
    paricularly the last name and first name of BUT000
    Do you have any idea why this could be happening
    Thanks in advance

    Hi Kittu,
    Change pointers. Change pointers are R/3 objects that mark changes to SAP master data. Change pointers are managed by mechanisms in a Shared Master Data (SMD) tool and are based on Change Document (CD) objects. CD objects record the changes occurring to master data at a field level. These changes are stored in tables CDHDR (header table) and CDPOS (detail table). ALE configuration provides a link between CD objects and change pointers. Internal mechanisms update tables BDCP and BDCPS, which host the change pointers. While CD objects are application-data-specific, the processing status of change pointers is message-type-specific. Also, the ALE change pointers are activated first at a general level and then at the message-type level.
    use this links kittu.
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/27bde462848440ba70cf8eb348c86f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/12/83e03c19758e71e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/9d563cf19bcb43e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/27bde462848440ba70cf8eb348c86f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/12/83e03c19758e71e10000000a114084/frameset.htm
    Creating a change pointer and subsequently triggering an IDOC
    thanks
    karthik

  • Idoc and change pointers question.

    Hi everybody,
    How can I create a change pointer automatically for a change document on table JCDS? Becuase I can create change pointers for the change documents on table CDHDR, but I need to catch a technical object status change and create an idoc for the object that changed its status.
    Thanks,

    Hi Fernando,
    I'm trying to accomplish the same thing that you were...   trying to get a change pointer to be created based off the status change of a technical object (functional location or equipment).
    Can you give me any detail on what you did?
    Thanks,
    John

  • 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

  • ALE Change Pointers in source system not active

    Hi All,
    I am trying to load 0COSTELMNT using deltas. The initial load is OK and then i use a delta and it fails and i get the error:
    "ALE Change Pointers in source system not active"
    I have carried out the following steps in an attempt to resolve the problem - but it didnt. Anyone have any advice??
    (1) Checked BD61 – to confirm whether the change pointers are active
    (2) Checked BDCP to confirm the number range is maintained
    (3) Checked SALE (Activate change pointers for message types)  to confirm whether the change pointer has been activated for the type we need:
    COCOKA     Control segment CO object/cost element
    COELEM     Cost element master data
    (4) In transaction snum, Selected number ranges and confirmed the intervals are setup
    No. 01
    FROM: 0000000001
    TO: 0000009999
    (5) Activate transfer structure
    (6) Replicate Datasources
    Thanks,

    If you are transferring master data from source system, the BD61 setting on the source system should be checked.
    Why it has been unchecked - not sure (likely someone did it by mistake).
    It shouldn't have any effect on txnl delta. What will be effected though is that you will have lost delta of the ALE based data sources for the period this setting was unchecked.

  • IDOC_CIMTYPE Empty - Change Pointers

    Hello
    We have developed the user exit ZUE_ZXMGVU03 to send additional material customised field in BD10 when sending idoc from ECC.
    the problem is that before the select statement from MARA table we check the follwing condition
    IF idoc_cimtype = 'ZAFSMATMAS05'
    when I debug the program the value is null
    where is this field custmized ? we activated the change pointers already
    I tried looking in BD52 but I didnt find  it there
    thanks
    Shai Rosenzweig

    Hello Shai,
    just an example, how it's used here:
    DATA: l_edidd    TYPE edidd,
                l_ze1maram TYPE ze1maram.
    CHECK message_type = 'MATMAS'.
    IF segment_name = 'E1MARAM'.
    <Get Values for  L_ze1maram>
      CLEAR l_edidd.
      l_edidd-segnam = 'ZE1MARAM'.
      l_edidd-sdata  = l_ze1maram.
      APPEND l_edidd TO idoc_data.
    ENDIF.
    The ZE1MARAM is an own segment that's just under the E1MARAM-segment in an enhanced Idoc-type .
    The enhanced idoc is based on Matmas04.
    Regards Wolfgang

  • ALE configuration - change pointers

    Hello,
    Iam trying to create idocs whenever there is a change in the customer master i need to trigger an idoc.Iam trying to use change pointer for that.
    I checked in bd61,bd52,bd50 all the settings are ok.
    but still idocs are not created when i change the customer master...
    Do i need to run BD12(RBDMIDOC)...?or am i misssing any other settings...(When i tried to use bd12 to send customers iam able to generate idocs so my model is working...).
    Second question I need to send DUNS number in the idoc which Iam not able to find in DEBMAS/DEBMAS04 how can i send that...?Even if i extend how can i populate it ...I dont find any user exits for MASTERIDOC_CREATE_SMD_DEBMAS which holds the control record....?
    can anyone help....
    Thanks
    Larry

    Hi Joseph,
    The above process is for outbound.
    the tool used behind for the process is SMD tool (Shared Master Data tool)
    based on the configuraution steps as below they work
    BD61 - activates the Change pointers tool (SMD)
    BD50 - is for activating Change pointers specifically that message type
    BD52 - is for activating Change pointers specifically for that message type and specifically to a field in belonging to that message type
    and the CMD (Customer Distribution Model also need to be configured)
    you can come up with furthere questions

  • Restrict IDoc creation by using deactivate change pointers

    Hi Experts,
    I am trying to restrict the creation of IDOCS by deactivate the change pointers from a ztable. if the record in ztable and BDCP table match then i should deactivate the change pointer. And restrict the creation of Idocs.
    pls, suggest me soon... its urgernt.......
    Regards,
    CHK

    Maybe using program RBDCPCLR to delete change pointers you don't want to use?

  • Regd. change pointers and notifications

    Hi,
    The question might sound a little too broad.
    But bear with me...Just give me a brief overview,
    of how do I go about using change pointers....
    Just correct me if I am wrong.
    We create a change document object in the system, or use an existing one. About pointers I am not sure.
    Then, through SPRO and ALE we activate the change pointer for some message type. then....??

    Hi,
    I haven't done this in a while, so please check my answer!
    1) You activate change pointers in general in one transaction (I think it was BD61, but I'm not sure)
    2) Then you activate them for certain master data (i. e. material, customer, ...) in another transaction which I don't recall atm.
    3) Every time one of those master data objects is changed, the system generates a "change pointer", which you can basically just think of as an entry in a transparent table, which includes the type and key of your master data object (such as e. g. the material number).
    4) You plan a background job which will go through those change pointers and which will generate a master IDoc (e. g. MATMASxx) for this data object. The change pointers are then reset (i. e. every item will only be sent once).
    5) Depending on your ALE customization this master IDoc will be sent to a remote system.
    You can refine this scenario using quite a bunch of different techniques. One of them is filtering (e. g. only materials with a certain material group, or based on classification etc.). Other options are reducing the Master IDoc, e. g. sending only relevant data instead of the whole master IDoc. There are even a few customer exits, if that doesn't suffice.
    Hope that helps (please reward me if it does)!
    Regards, Joerg

Maybe you are looking for

  • IPhone 4S will not charge or connect to iTunes

    For the last week or so, my iPhone has been dying very quickly, I end up having to charge it 4 to 5 times a day, and when it does charger, it always overheats. Suddenly, my iPhone has stopped charging and it will not connect to iTunes. I have tried r

  • Pls help in this code

    Hi All, please let me know, if this code is right ?? I want to select data and move to ind fields, data : w_post_code1 like adrc-post_code1,        w_post_code2 like adrc-post_code2. SELECT single POST_CODE1 POST_CODE2  INTO ( w_post_code1 w_post_cod

  • Change the Business Graphic Y-axis from decimal scale value to integer

    Hi, I am trying to get rid of the decimal points of the Y axis scale to integer. The scale value is currently showing like below: 13.86 10.395 6.93 3.465 (This actual data set is currently fall between 3.xxxx to 12.xxxx) I want the scale label to dis

  • Help:pdf file convert to word

    When I try to convert pdf file to word,I get a error message:"bad PDF; error in processing fonts; cannot find CMap resource file",how to solve it?

  • Default file format

    Hi there. My forum search did not have an answer to this question... I just upgraded to PSE4 from 3. I have been reading to save my edits as PSD or TIF rather than Jpeg. My camera uses jpeg not RAW. Is there a way to make PSE do this when auto correc