Change Pointer to create IDoc

I wrote report program to create outbound IDoc. In the report, to capture create/ change I used table 'CDHDR'. Now I require below clarifications:
1.     Clarify the process of u2018Change pointeru2019 regarding IDoc.
2.     Is it recommended to use u2018Change pointeru2019 to create Outbound IDoc?
a.     If yes, then why do we write report or function module?
b.     Can we use custom message type in this process or only standard message types will work?

Hi
Change Pointer IDOC..??
Regards
pavan

Similar Messages

  • Change Pointer Program for IDOC creation..??

    To All
    Where does the message type is assigned, which allow that type of IDOC getting created in WPMU...??
    Can COND_A be created in Change pointer Program...??
    If possible ..How...??
    Thanks
    Sumeet

    3)
    RBDMOIND to confirm whether idocs have been successfully
    dispatched to the receiver..and v can also use this program to change the status of idoc from 3 to 12....
    RSNATED is the program used for triggering IDOC for the output type..where the output medium is 6.
    And the subroutine that triggers the IDOC in the program is EDI_PROCESSING.
    RSNASTED itself determines the associated IDoc outbound function module, executes it to fill the EDIDx tables and passes the prepared IDoc to the port.
    You can call the standard processing routines from any ABAP, by executing the following call to the routine. You only have to make sure that the structure NAST is declared with the tables statement in the calling routine and that you fill the at least the key part and the routing information before.
    TABLES NAST.
    NAST-MANDT = SY-MANDT.
    NAST-KSCHL = 'ZEDIK'.
    NAST-KAPPL = 'V1'.
    NAST-OBJKY = '0012345678'.
    NAST-PARNR = 'D012345678'.
    PERFORM einzelnachricht_screen(RSNAST00).
    Calling einzelnachricht_screen determines how the message is processed. If you want to force the IDoc-processing you can call it directly:
    TNAPR-PROGN = ''.
    TNAPR-ROUTN = 'ENTRY'.
    PERFORM edi_processing(RSNASTED).
    ~~Guduri

  • What is the use of change pointer technique in IDOC

    hi
    could anybody suggest me
    what is the use of change pointer technique and how to use it
    thank you
    kalyan.

    Change pointers are used for changes to the master data objects are flagged for distribution by SMD Tool.i.e.shared Master Data.
    You need change pointers to distribute changes with the ALE SMD tool. If you do not use this tool, you do not need to write change pointers.
    You can deactivate change pointers and activate them again with the transaction BD61
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    You can increase the rate of processing by using the Analyze Change Pointer and Reorganize Change Pointer functions.

  • Change pointer for Extended IDOC

    Hi guys,
    I have Extended a standard IDOC MATMAS and added few additional fields into it.
    Now i have make Change pointers enabled for this IDOC extension.
    Is it possible?
    Can some one guide me as to how can i create Change pointers for EXTENDED IDOC?
    any extra steps required?
    Sahil

    Hi,
    you can use BD52 transaction to add the extended idoc fields inorder to activite the change pointers for them.
    Please note that the fields in the extended idoc should have chnage entry in CDHDR whenever you change the field in MM02 transaction. if not change pointer will not work.
    If these fields are not marked in change entry in MM02 transaction you can use user exit while saving MM02 and then create the change document for them by coding inside those user exit.
    Hope it helps,
    Shanmugavel chandrasekaran.

  • Customization for Change Pointer Mechanism in IDOC Programming?

    Hi,
    Can anyone suggest me that
        We want to Maintain Master and Transactional Data in Different SAP Servers.I want to Send the Master Data to the other Server but before IDOC Creation i need to Display all Created or Changed Master Data then Our endusers will select Specific Master Data then only IDOC will create for that Master Data and Created IDOCs will send to the other SAP Server where Transactional Data is Maintained.
       In Change Poinetr Mechanism it is not possible to see the Created or Changed Master Data before IDOC is going to be Created.But i need to Display the Master Data.
    Please give me an idea to solve this or if you have any solution then send me.

    Hi,
    When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention.  If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen.  Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
    Thanks,
    Mahesh.

  • Change pointer  method in IDOC.

    hi,
    Plz tell me necessary steps for data  transfer using change pointer method . after
    Activate change pointers   ,De-activate change pointers. run of program RBDMIDOC ,RBDCPCLR   , what other programs we  need to execute related to this change pointer method . I thin I m missing 2 more steps for this method..
    Thanks.

    Hello sranjna ,
    These are the steps for change pointer :
    1. BD61 :Activate change pointer generally .
    2. BD50 :Activate change pointer for message type.
    3. BD21 :Create IDOC type from change pointers.
    4.Save the content : create a variant .
    5.For automatically process:go to SM36  :Create a job with the program "RBDMIDOC " and the variant you created.
    Also see the link if you want :
    [http://help.sap.com/saphelp_nw04/helpdata/EN/12/83e03c19758e71e10000000a114084/frameset.htm]
    Good Luck,
    Boaz

  • Disable Change Pointer to send Idocs to a specific destination

    Hello All,
    We are sending several Master data idocs to a couple of SAP systems. For one destination, we need to enable change pointers for those messages and send updates of any changes/ new data created.
    However for the other destination, the ALE transfer is one time and is going to be scheduled on 'as needed' basis only. Since the change pointers are enabled, Idocs are going to be sent to both destinations and we dont want that.
    Pls note that there are BADI like Idoc_Creation_check where we can disable Idoc creation based on destination, but that would mean that when the one time load is scheduled, no idocs will be sent. So we dont want to go that route. We can take off the partner profile config/ ALE model and configure it as required, but that would not be a good approach as well.
    Please adivse if there is a method where we can disable Idocs (that are created due to change pointers alone !!) to a specific receiver.
    Thanks for your help in advance!
    Liz

    Hello Liz,
    ... However for the other destination, the ALE transfer is one time and is going to be scheduled on 'as needed' basis only ...
    I feel you can use the "Collect IDocs" output mode for this particular partner profile. (can be configured via WE20)
    "As needed" you can process the collected IDocs by scheduling the program RSEOUT00.
    Do you think there is a problem in this approach? If yes, please elaborate!
    BR,
    Suhas

  • Change pointer technique for idocs

    I have to generate idoc whenever some fields of the sales order changes (Transaction VA02)
    I thought of doing this using change documents. There is a standard change document object VERKBELEG   for sales order.
    In transaction BD52 for the message type ORDRSP I have mentioned the fields names as below (my idea is to generate the idoc when these fields of the sales order changes).
    VERKBELEG          VBAP          ABGRU
    VERKBELEG          VBAP          KWMENG
    VERKBELEG          VBAP          KZWI1
    VERKBELEG          VBAP          KZWI2     
    VERKBELEG          VBAP          MATNR
    VERKBELEG          VBAP          PRCTR
    VERKBELEG          VBEP          WMENG
    VERKBELEG          VBKD          KDKG3
    VERKBELEG          VBPA          PARNR
    It seems that the report RBDMIDOC will not support for transaction data.
    When I tried to execute the report RBDMIDOC by giving message type    ORDRSP in the selection-screen it gave the following error
    Message type ORDRSP cannot be sent with change pointers
    Message no. B1157
    Diagnosis
    You attempted to send message tyoe ORDRSP. Unfortunately you cannot choose data for this message type using change pointers.
    System Response
    The system does not carry out the action.
    Procedure
    If message type ORDRSP is for master data, it can be sent directly. If it is for transaction data, the message tyoe is sent automatically via the transaction.
    is there a way to generate idoc via the transaction VA02 (sales order change)  instead of executing the report
    RBDMIDOC

    Hi Srinivas,
    This can be done but some development would be required.
    If you know about requirement routines ( transaction VOFM ) you can create your own requiremnet routine for application V1. For reference see routine 002 for V1 .
    ( program  LV61B002 ). You can create your own req routine say 901 for V1 and then assign it in output procedure in NACE for BA00. Output will be generated only when you pass a SY-SUBRC = 0 from the custom routine that you will create .
    But another problem would be how to determine whether the field values you have mentioned has changed or not.
    You can use user exit MV5AFZZ , subroutine SAVE_DOCUMENT_PREPARE , to analyze your fields .
    Here you have XVBAP[] table with ( user ) changed values in current transaction , YVBAP[] with current database state at runtime. ( same is true for XVBKD & YVBKD ) . You can analyze the values and then set a flag here to say that "Generate Output" or "Supress Output" . This single caharacter flag "X" or space you can pass to ABAP memory , which you can read ( import ) in requirement routine ( VOFM ) and then set SY-SUBRC = 4 or 0 depending on this flag value.
    Above solution will not mean any modification to SAP .
    Otherwise you can also look at OSS note 395569 wherein its a modification but you can achieve desired results.
    ( You can use the code given here as refernce and put this same code with the solution I have proposed above with some additional checks. )
    If answers were helpful reward and close.
    Cheers.

  • Suppress Non Changed Fields in change pointer triggered IDOC

    I have a requirement to clone message type MATMAS as ZMATMAS. This ZMATMAS is the message type I used to create change pointer triggering outbound idoc for change/create of materials.
    When i change a material, all fields are sent instead of the fields only changed(of course key fields should be sent as well). Is there a way via configuration that I can suppress fields which are not changed? Or do i need to clone FM MASTERIDOC_CREATE_SMD_MATMAS and suppress the fields via program
    Thanks in Advance!

    i'll clarify the requirement again.
    Let say i changed a field BRGEW in the material master.
    Currently, all the segements which contains BRGEW is sent, but these segements contains other data which are not changed in the material master.
    How do i suppress it?
    Thanks,

  • Material Master Change Pointer IDOCs not generated for Moving Avg Price GR

    No IDOC is created or distributed when the moving average price
    changes. Each time a Goods Receipt is performed, the material master
    moving average price (MBEW-VERPR) changes but the change is not
    distributed. No change pointer is created in the tables. Why?
    We need to send the moving average price each time it changes. In our
    case, each time a Inbound Delivery has been Post Goods Receipt this
    value changes for that material + plant combination and the value
    should be sent.
    The field MBEW-VERPR is included in BD52 as a field relevant for change
    pointers for the message type.
    Please advise.

    Hello,
      SAP will not generate change pointers (and no IDOCs) for Moving Average Price (MAP) changes. This is because MAP updates are not really Master Data changes and they are driven by transactions such as Goods Receipts, Revaluations etc. For these transactions, SAP will generate respective accouting documents for traceability.
    Thanks,
    Venu

  • Change pointer in IDOC message-type ARTMAS, for field MARA-LVORM

    Hi,
    When changing the description of a material in MM02 I am able to sent an idoc using BD21. As this relevant for a change pointer. But when field MARA-LVORM (deletion flag at client level) is chosen, I can not sent an idoc with bd21. How can I make this happen?
    thanks.

    Hi,
    Sorry I interpreted your question in wrong way. Solution I gave was for following requirement.
    Every time a material is created or changed a change pointer is created, which serves as a signal for generating IDocs to dependent systems. However, change of material type creates a change pointer that doesn't trigger an IDoc.The purpose is to create the change pointers and send the idocs. Eg. Material type field. As per your reply above I guess change pointer created for LVORM is enough to send the idocs.
    KR Jaideep,

  • ALE change pointer

    Hi all ,
    Can anyone suggest any link where i get step by step / complete procedure to create change documnet and change pointer to trigger IDOC for changed master data?
    thanks & regards
    Sheetal

    Hi,
    Please go through SAP Technical sites for details. You can check this [Link Also.|http://wiki.sdn.sap.com/wiki/display/ABAP/ALEChangePointers]
    [Check This also|http://articles.techrepublic.com.com/5100-10878_11-1048973.html]
    thanks,
    Abhijit
    Edited by: Abhijit Mandal on Feb 15, 2010 6:54 PM

  • Change Pointer problem

    Hi All
    I am working on COND_A idoc. I activated change pointer for this idoc.I added my own zsegment in this via extension of this idoc.I am filling this Zsegment in customer-exit while creation of Idoc .I am not created any zfield for this in any standard table related to pricing.
    Now problem is that while running the Change Pointer Program  RBDMIDOC for COND_a. Its giving Internal error: Program read table idoc_structure,
    command data_select_for_block, argument Z1MATNR_GRP
    any idea to resolve this problem??
    Best Regards
    Subham

    forgot to code in CIM_TYPE = 'EXTENSION'.

  • 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^

  • Deactivate change pointer in particular article type

    Dear all expert
    We are using IDOC type Wp_plu02 for outbound article processing we also activate change pointer setting on IDOC type wp_plu02 but now we want to do deactivate change pointer in particular article type (project articles) how we can do it
    Thanks
    Amit Shivhare

    Dear Vinodh Balakrishnan
    thanks For quick reply
    but we dont want to deleate change pointer
    i want to do my projects type articles not flow in outbound
    so i want restruction on prticulay article type
    Thanks
    Amit Shivhare

Maybe you are looking for