Reg : change pointer mechanism for triggering the IDOC for delivery note

Hi ,
I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that  we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
Thanks !
Regards,
Kiran

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.

Similar Messages

  • Issue with ALE configuration for creating the idoc for Purchase orders

    Hello,
            I am trying to send the purchase order through message type configuration using ALE.
    I am using idoc ORDERS05, message ORDERS, Process Code in Partner profile ME10.
    In NACE transaction for the Application EF, Output Type NEU the ALE Configuration is done for Program RSNASTED Form ALE_PROCESSING.
    I have done ALE distribution using BD64.
    Now the problem is that when an order is created or changed in the message output of the PO I am seeing the status as yellow i.e.not processed.
    In NAST table, the entry is there but on executing RSNAST00 nothing happens.
    Please provide me the pointers to solve the given problem.
    Regards,
    Mayank

    Hi,
    Guess it looks like the output is getting proposed but its not getting processed. Check the output type configuration. Check the TIme Settings in the output type configuration.
    It is possible to set the Time when the output must be processed. Is it on SAVE or is it set to other settings. If its set to via background job then the background job must be run to process the output types.
    Check and let me know if all is fine at the output type configuration.
    Cheers
    VJ

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

  • TRIGGERING THE IDOC

    Hi
        I have one Zxxx table.. that contain some master data  details... now  i want to send these details to external systems... i created one custom IDoc and  Message type.. every thing... 
      but for triggering the idoc what we need to do.. for  example..  for predefined data we have option   like BD10, BD12, BD14...  these executable programs.. or  Chnage pointers(RBDMIDOC) we can trigger the idoc for predifined data..
    but for user defind  data tables.. what can we do for triggering the idocs..
    thanks
    BABU

    Hi,
    check the below sample code for triggering the idoc..The same thing u can do for ur requirement..slect all then data from ur custom table and finally call the FM
    "MASTER_IDOC_DISTRIBUTE".
    *& Report ZZ_Program_To_Create_Idoc
    report zz_program_to_create_idoc .
    tables: ekko,ekpo.
    selection-screen skip 3.
    selection-screen begin of block b1 with frame title titl.
    selection-screen skip.
    select-options s_ebeln for ekko-ebeln.
    selection-screen skip.
    selection-screen end of block b1.
    data: header_segment_name like edidd-segnam value 'Z1EKKO',
    item_segment_name like edidd-segnam value 'Z1EKPO',
    idoc_name like edidc-idoctp value 'Z19838IDOC1'.
    data: header_segment_data like z1ekko,
    item_segment_data like z1ekpo.
    data: control_record like edidc.
    data: messagetyp like edmsg-msgtyp value 'ZZ9838MESG1'.
    data: i_communication like edidc occurs 0 with header line,
    i_data like edidd occurs 0 with header line.
    data: begin of i_ekko occurs 0,
    ebeln like ekko-ebeln,
    aedat like ekko-aedat,
    bukrs like ekko-bukrs,
    bsart like ekko-bsart,
    lifnr like ekko-lifnr,
    end of i_ekko.
    data: begin of i_ekpo occurs 0,
    ebelp like ekpo-ebelp,
    matnr like ekpo-matnr,
    menge like ekpo-menge,
    meins like ekpo-meins,
    netpr like ekpo-netpr,
    end of i_ekpo.
    start-of-selection.
    select ebeln aedat bukrs bsart lifnr from ekko
    into table i_ekko where ebeln in s_ebeln.
    select ebelp
    matnr
    menge
    meins
    netpr
    from ekpo
    into table i_ekpo
    where ebeln in s_ebeln.
    control_record-mestyp = messagetyp.
    control_record-rcvprt = 'LS'.
    control_record-idoctp = idoc_name.
    control_record-rcvprn = '0MART800'.
    loop at i_ekko.
    header_segment_data-ebeln = i_ekko-ebeln.
    header_segment_data-aedat = i_ekko-aedat.
    header_segment_data-bukrs = i_ekko-bukrs.
    header_segment_data-bsart = i_ekko-bsart.
    header_segment_data-lifnr = i_ekko-lifnr.
    i_data-segnam = header_segment_name.
    i_data-sdata = header_segment_data.
    append i_data.
    select ebelp
    matnr
    menge
    meins
    netpr
    from ekpo
    into table i_ekpo
    where ebeln = i_ekko-ebeln.
    loop at i_ekpo.
    item_segment_data-ebelp = i_ekpo-ebelp.
    item_segment_data-matnr = i_ekpo-matnr.
    item_segment_data-menge = i_ekpo-menge.
    item_segment_data-meins = i_ekpo-meins.
    item_segment_data-netpr = i_ekpo-netpr.
    i_data-segnam = item_segment_name.
    i_data-sdata = item_segment_data.
    append i_data.
    endloop.
    clear i_ekpo.
    refresh i_ekpo.
    endloop.
    call function 'MASTER_IDOC_DISTRIBUTE'
    exporting
    master_idoc_control = control_record
    OBJ_TYPE = ''
    CHNUM = ''
    tables
    communication_idoc_control = i_communication
    master_idoc_data = i_data
    exceptions
    error_in_idoc_control = 1
    error_writing_idoc_status = 2
    error_in_idoc_data = 3
    sending_logical_system_unknown = 4
    others = 5
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
    loop at i_communication.
    write: 'IDOC GENERATED', i_communication-docnum.
    endloop.
    commit work.
    endif.
    initialization.
    titl = 'ENTER THE PURCHASE ORDER NUMBER'.
    Reward if hlpful.
    Regards,
    Nagaraj

  • Reg; change pointer

    hi gurus,
    i am facing one issue for outbound. when i am replicating the  master data zdebmas. Using zca1o002, idocs are succefuly genarated no issues.
    but whan i do changes in master data.,those changes  are rplicationg RBDMIDOC, idocs are genarated and changes are stored in BDCP2 . And my probelumm is some segmets are missing when i am replicating the changes.
    is there any config issue or anything  kinldy help me for to resolve this issue.

    Hi Raghav,
    I have a few suggestions to make with regard to this isssue:
    - Firsly please review note 328355.
    - Some general information on txn BD22 which you may find useful:
    << Moderator message - Cut and paste response from http://www.se80.co.uk/sapreports/r/rbdc/rbdcpclr.htm removed. Plagiarism is not allowed in SCN >>
    Consider executing BD22 each night to alleviate this problem as a fix should the above notes not resolve this issue.
    In relation to the size of the BDCP tables and the amount of change pointers generated please review the following information:
    It is recommended that these tables be kept as small as is possible by scheduling report RBDCPCLR to run at regular intervals. Please schedule this report to run regularly and you should not encounter this problem again.
    Please gothrough the below notes on this topic:
    513454     REP: High-performance operation with change pointer
    420562     REP: Reducing the scope of data for change pointers
    As you will see these notes deal both with how best to handle obsolete change pointers in these tables but also how to ensure that your system is configured so that un-necessary change pointers are not generated in the first place. This latter point is of course of great releavance also.
    Review these notes carefully together with your online help files. Please ensure that you implement the above notes and recommendations and see then if this problem persists.
    Thanks & Best Regards,
    Mohammed Hussain.
    Edited by: Rob Burbank on Oct 19, 2011 10:43 AM

  • What is the IDOC for Final Approval of PO

    Hi,
    Can any one tell me ..
    1. what is the IDOC for Final Approval of Purchase Order?
    2. Is there any Separate IDOCs for GRN(Goods Receipts
    Note) in Transaction MIGO. Like Creation of GRN,
    Changing of GRN, Cancelling of GRN, Transfering materials to Scrap or Cost center (Changing of Movement types in MIGO).
    regards,
    Khaja.

    Khaja,
    1. There is no separate IDOC for final approval of a PO. IF you have configured a release stratgey for a PO, the PO IDOC will be transmitted only upon the final apporval of the PO.
    2. Yes there should be a IDOC for Goods Receipt.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Some segments are missing in the idocs for master data zdebmas

    hi guru's,
    can any one hlep me here we facing the probelumm
    some segments are missing in the idocs for master data zdebmas
    , there is some issue on the generation of the Site Master IDoc (Message type: ZDEBMAS, Basic type: DEBMAS06).
    This is using the SAP standard program (RBDMIDOC) which reads the Site master change pointers.
    There is  some segments below is missing in the IDoc:
    how to chcek this probelumm...

    hi
    i got the function module. it is  triggerig whne i do changepointer running.
    what ever changes i made only that segments are onlycomming in to the idoc. but remaing segments are not comming.
    my req is to show all segments  even if i do changes in one segmet fields  dont change theay have send to the interfece all athe segments.i ahve to do some enhancemetns for that
    can u plse help me the login  or any function module which will fill the alla the segmetns .

  • Missing items in the IDoc for the delivery

    Hi to all,
    Sorry if not posting in the right forum.
    In my customer's scenario, an IDoc is created against a delivery (via the delivery output), and sent via ALE to a distant warehouse system, for picking and GI posting (basic type SHPMNT03).
    For some times, the IDoc created against deliveries including BOMs is missing the main item of the BOM (though the BOM main item is in the delivery).
    Consequently, the integration in the distant system is failing, because the higher-level item referenced in the BOM sub-items is missing.
    Surprisingly, re-triggering the delivery output does re-generate a complete IDoc, where the segment for the main item is back.
    I looked almost everywhere, did many searches in OSS (on SHPMNT03, on HIPOS, on E1ELD24 - segment name in the IDoc -, on "Missing items in the IDoc for the delivery", etc...), I even simply googled the web, but I can't even figure out what is the cause for this (I imagined it could be caused by a missing commit in the program generating the IDoc, but don't know whether this make sense).
    Any help would be highly appreciated.
    Thanks in advance and best regards
    Yan
    Edited by: Yan Loiseau on Jul 8, 2010 12:52 PM
    Edited by: Yan Loiseau on Jul 8, 2010 12:56 PM

    Hello Yan
    Jelena is right, you are better off taking it up with SAP. I also did not find any relevant OSS notes.
    However the issue, according to my reading, is in the following areas:
    1) LV56KF05: INCLUDE LV56KF62 .  " FILL_E1EDL24"
    This fills the EIEDL24 segment, may be the main item is filled  initially and overwritten later.
    2) Function Module: IDOC_OUTPUT_DELVRY
    You can look at the following OSS notes (though not fully relevant)  for some clues:
    810981 - Reference data missing in DESADV IDoc from decentralized WMS
    537470 - BOM + batch split in decentralized WMS, confirmation fails
    752921 - VL563: Higher-level item does not exist
    705086 - Higher-level item does not refer to existing item
    Hope this helps. Good luck.

  • Generating the IDocs for some particular segments only......

    Hi Gurus,
    I have activates the change Pointers for generating the IDocs whenever the master dtaa is changed.
    Is there any technique so that I can recive the IDocs containing only those segment's data which is relevant for me.
    Abhi....

    The question I have asked is not related to Inbound I Docs processing.
    Actually I am sending the IDocs to Non-SAP system whenever any change is made to the master data, using the Change Pointers.
    Now, the situation is that the file that is getting generated contains the data corresponding to many segments. So, is it possible to restrict the segments/fields for which the data is generated.
    Thanks In Advance.......
    Abhi.,,

  • How do i generate the idoc for the custom infotype?

    Hi Experts,
        I have a requirement to create the custom infotype and generate the idoc for the custom infotype
        whenever the user change or crate the data by PA30, PA40 transaction .
    so please give some help to write a logic for generate the idoc?
    Thanks in advance.
    Venkat

    I have just found out from the Archives, it is not possible to generate a formula line (trend line) in Numbers_08.
    I am currently upgrading to Numbers_09.

  • Do you know the idoc for master recipe?

    Hi all.
    Do you know the idoc for maintain master recipe?
    I am looking for the idoc.
    I would like to create, update and delete master recipe with idoc.
    I have investigated about idoc,but can't find suitable idoc.
    (I did find it for BOM, but for recipe is nothing.)
    Thank you in advance..
    Satoru

    Hello,
    As far as I can see there are no BAPI's or IDOC's available to upload Master Recipe data.
    A suggestion would be to use the batch input technique to upload the master recipe master data. You find the documentation of the batch input recorder etc. via the menu path System -> Services -> Batch input -> Recorder
    I hope it helps,
    Regards,
    Marcelo

  • Issue with the configuration of http xml port for sending the idoc

    Hello,
          I am planning to send multiple idocs in a single file using http xml port.
    Presently I am trying to send a single idoc, but am having the issue.
    I am trying to create a RFC for HTTP XML port of type H i.e. HTTP Connection to ABAP System
    In the how to guide for - How Tou2026 Send Multiple IDocs Within One XI Message
    ( https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b )
    the following parameters are defined for the path prefix -
    RFC destination of type H (HTTP Connection to R/3 System).
    Specify the path prefix as follows:
    /sap/xi/adapter_plain/
    ?namespace=< your namespace>
    &interface=<IDoc_Type>
    &service=<Sender System>
    &qos=EO (or EOIO).
    I am trying to use the following prefix -
    /sap/xi/adapter_plain/
    ?namespace=urn:sap-com:document:sap:idoc:messages ( this is the standard namespace of SAP for all the idocs)
    &interface=DEBMAS05 (Idoc type )
    &service=SNDLS100 ( ECC system name )
    &qos=EOIO
    On testing the RFC connection, I am getting the error of page not found.
    Can anyone please give me pointers for the issue.
    Regards,
    Mayank

    Thanks Barry!!!
    Now I am getting a different message.
    In RFC...it is giving me the following message ->
    Status HTTP Response     204
    Status Text     Body is empty
    In case of Idoc, the status is till 02...
    the error description for the idoc is --
    "When transferring the IDoc by HTTP, the return code with the message '500<SAP:Error><SAP:Category>XIServer</SAP:Category><S' has occurred.
    The target address was: http://emgeccsnd1:8001/sap/xi/adapter_plain/?namespace=urn:sap-com:document:sap:idoc:messages&interf
    Check whether the IDoc can be sent again.
    It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards"
    I am still not able to resolve the issue.
    Regards,
    Mayank

  • How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.

    How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.

    The following example was one of dozens that showed up on a simple Google search of.....
    monitor Internet data use on a Mac
    Watch your Internet usage with NetUse Monitor | Macworld
    Most service providers have an application for their users as well.

  • Desing requriment for processing the IDOC in real time

    hi Gurus,
    we have a requirement to design for processing the IDOC in real time i.e.all the IDOC must be store and process for give time line with out using BPPM tool.we have suggested to use cache storage or storing the files in file adapter.
    please suggested good process with out compromising the Performance of PI.
    regards
    shankar

    hi Raj,
    Please find the example below for your reference
    let say
    System A-->PI--
    >system B
    system A sends multiple files based on time(daily or weekly) and real time( as an when the record created) to systerm B (CRM) in the form of IDOC Via. PI
    we needs to club the real time files and send it to system B.How best we can do without using BPM.
    regards
    shankar

  • Customize the changes in pricing as per the SAP for Domestic and  Import

    HI FRIENDS ,
         To customize the changes in pricing as per the SAP  for Domestic and Import Material cycle
    how to handle it ,
    thanks
    samal

    Hi,
    Two template pricing procedures (one for domestic and another for import) are available as part of standard.
    you need to tailor them to your needs.
    Hope this helps.

Maybe you are looking for