Triggering the idoc COND_A02

Hi,
Any t.code to trigger the idoc COND_A02, to send the condition records.
My requirement is to send the condition records created in VK11, the following fields:
Condition Record
Article(Material)
Site(Plant)
Tax Code
Tax Percentage
pls suggest hw to trigger this standard idoc.
Regards,
Balaji

HI Balaji,
Go throgh the link
Re: COND_A Master Data Distribution
Regards
Sridhar Goli

Similar Messages

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

  • 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

  • Transaction Code to VIEW the IDOC's in XI

    Hi Guys,
    I had configured the Partner Profile in R/3 and triggered the IDOC's to XI. I havent configured the scenario in IR or ID yet. Since i had triggered the IDOC's from R/3 and they show successful,which transaction should i use in XI to check whether the IDOC's had reached the XI system Succesfully or not.
    Thanks,
    KC.

    Hi Kittu
    Have a look at this blog, it has all TCodes.
    /people/morten.wittrock/blog/2006/03/23/getting-started-with-xi-part-1-xi-30-cheat-sheet
    Here it goes~
    SXMB_IFR-- launch integration builder/ Repository/configuration/SLD ( XI HomePage)
    Proxy Generation
    SPROXY--Proxy generation
    Monitering features:
    SXMB_MONI-- monitering of messages
    SXI_MONITOR - monitoring Processed Messages
    SXMB_MONI_BPE--Business process monitering
    Alerts:
    ALRTCATDEF- To configure Alert Category
    Adminsitration of XI
    sxmb_adm-- Administration
    QUEUE MONITORING
    SMQ1 Outbound queue
    SMQ2 Inbound Queue
    IDoc's& RFC's related
    IDX1- Port Configuration
    IDX2 - for IDoc meta data
    SM58--RFC error Log
    SM59 - RFC Destination
    IDX5 - Idoc Monitor
    Others
    SWELS---Event trace switching on and off.
    SXI_MAPPING_TEST To test mappings
    SXI_CACHE To check directory cache
    To get the cache information For Adapters- go to SXI_CACHE
    Hope this helps
    Thanks
    Abhishek

  • ME28 triggering an IDOC

    Hi Experts,
    I have a required of sending ORDERS idoc on release of purchase order by ME28. There will be four different types of orders having different document type and vendors. Now we have configured four different ouput type for document type + storage location + vendor.
    In this case we are maintaining four different vendor partner profiles in WE20.
    But our requirement is to have only one partner profile that should be LS type. But while triggering the IDOC it should have some thing in header to identify which document type it belongs to. We were thinking to use message function in partner profiles.
    Can somebody suggest what will be the best way of achiving it. Make sure there should not be any coding involved.
    Thanks very much. If you need any input please let me know.
    Thanks
    Neha.

    My suggestion is to have different output types in message control parameters of the outbound partner you configure

  • How to find out the Idoc number triggered for any material transfer frm SAP

    Hi Folks,
    Can any body let me know How to find out the Idoc number triggered for any material transfer frm SAP?
    Do we have any navigation for that in MM03?
    Thanks,
    SPMD.

    Hi Shabbirmdpasha,
    If you know the user name then you can find the idoc numbers created by that user. But the problem here is it not only gives the material it gives all the idocs created by that user. Go to SE16 --> table name EDIDS --> here you can fill the approximate date and in UNAME give the userid and execute. This will give all the idocs created by that user. I know it is only a partial solution.
    Also would suggest to post the same in abap forums for more answers:
    ABAP Development
    Regards,
    ---Satish

  • For the new delivery type created the Idoc is not getting triggered

    Hi All,
    I am facing the following problem:
    For every outbound delivery getting created we have an Idoc which creates the file(sending the outbound delivery details), this file is sent to a system where the picking & packing of the goods happen. This process seems to be working fine for all the existing delivery types, but now we created a new delivery type for which the Idoc is not getting triggered.
    Would like to understand what setting are we missing because of which the Idoc is not getting created for the new delivery type.
    The Idoc being used is:   DESADV01
    Message type :DESADV
    Thanks,
    Geeta

    I believe your existing idocs are created through a output type on the delivery ? if yes, probably you need to configure an existing output type / create a new output type for your new delivery type...

  • Triggering outbound idoc from the transaction VL01N

    Hi,
    I have requirement where in which i need to create outbound idoc of sales and delivery data as soon as VL01n transaction is saved,Pls let me know how we can achived this , the Idoc needs to be triggered immediatly after saving VL01n transaction.
    Thanks
    Ravi

    >
    Sujatha Reddy wrote:
    > Hi Ravi,
    >
    > Goto t-code NACE, select Shipping and press push button 'Output Types', now you will get the output type for delivery and you can configure you own output meduim in this screen.
    > select the meduim & assign the require parameters.
    >
    > and goto VL01N and create a delivery and now you can goto extrats-> delivery out put-> header, here you can assign the output type that has been confugured perviously.
    >
    > -hope this helps
    You could of instead told them to search the forum like I did. Instead you chose to give him the answer, even though it is not the full answer. After they have done what you ask, what result would you expect form the output record on the delivery. I will tell you, it will not process, why, because you have not mentioned anything about partner profiles and the output control.
    But I hope you get the points for you reponse and you sleep well.

  • Whenever the idoc triggers its contains two lines of record,

    Hi Experts,
    In my IDOC INFREC.INFRECMASS01 has two segments E1E1NAM and E1E1NEM.Both the Segments has some fields.In that E1E1NEM segment-WERKS contains two valuse, First its coming with 1010. Second its coming with 1014.So its Second line.So whenever the idoc triggers its contains two lines of record, Each i need to update in JDBC At same time.How? Even i tried SplitByValue with ValueChange its not working.... please help....
    Advance Thanks
    Arun

    We are working on IDOC to JDBC scenario.
    In my IDOC INFREC.INFRECMASS01 has one  segment E1E1NAM( parent segment), inside this parent segment we have one  child segment E1E1NEM containing two lines. On the basis of one field WERKS, the child segments should get repeated in the target  but in the target side we are getting only one of the values of WERKS .
    We have used SPLIT BY VALUE(each value) on WERKS but still only one of the values are coming on the target side .
    We are attaching the source xml and the target xml generated from RWB
    *Source XML  from SXMBMONI :*_
      <?xml version="1.0" encoding="UTF-8" ?>
    - <INFRECMASS01>
    - <IDOC BEGIN="1">
    + <EDI_DC40 SEGMENT="1">
    - <E1EINAM SEGMENT="1">
      <MSGFN>005</MSGFN>
      <INFNR>5300000074</INFNR>
      <MATNR>000000000000103260</MATNR>
      <LIFNR>0000009000</LIFNR>
      <ERDAT>20091116</ERDAT>
      <ERNAM>KAPIL</ERNAM>
      <MEINS>PK</MEINS>
      <UMREZ>10</UMREZ>
      <UMREN>1</UMREN>
      <TELF1>011-64612814</TELF1>
      <MAHN1>0</MAHN1>
      <MAHN2>0</MAHN2>
      <MAHN3>0</MAHN3>
      <URZDT>00000000</URZDT>
      <URZLA>IN</URZLA>
      <LMEIN>ST</LMEIN>
      <REGIO>30</REGIO>
      <VABME>1</VABME>
      <LTSSF>00000</LTSSF>
      <LIFAB>00000000</LIFAB>
      <LIFBI>00000000</LIFBI>
      <ANZPU>0.000</ANZPU>
      <RELIF>X</RELIF>
    - <E1EINEM SEGMENT="1">
      <MSGFN>005</MSGFN>
      <EKORG>1000</EKORG>
      <ESOKZ>0</ESOKZ>
      <WERKS>1010</WERKS>
      <ERDAT>20091116</ERDAT>
      <ERNAM>KAPIL</ERNAM>
      <EKGRP>101</EKGRP>
      <WAERS>INR</WAERS>
      <MINBM>0.000</MINBM>
      <NORBM>1.000</NORBM>
      <APLFZ>0</APLFZ>
      <UEBTO>0.0</UEBTO>
      <UNTTO>0.0</UNTTO>
      <ANGDT>00000000</ANGDT>
      <NETPR>0.00</NETPR>
      <PEINH>1</PEINH>
      <BPRME>PK</BPRME>
      <PRDAT>00000000</PRDAT>
      <BPUMZ>1</BPUMZ>
      <BPUMN>1</BPUMN>
      <WEBRE>X</WEBRE>
      <EFFPR>0.00</EFFPR>
      <MHDRZ>2</MHDRZ>
      <BSTMA>0.000</BSTMA>
      <STAGING_TIME>0</STAGING_TIME>
      </E1EINEM>
    - <E1EINEM SEGMENT="1">
      <MSGFN>005</MSGFN>
      <EKORG>1000</EKORG>
      <ESOKZ>0</ESOKZ>
      <WERKS>1014</WERKS>
      <ERDAT>20091116</ERDAT>
      <ERNAM>KAPIL</ERNAM>
      <EKGRP>101</EKGRP>
      <WAERS>INR</WAERS>
      <MINBM>0.000</MINBM>
      <NORBM>1.000</NORBM>
      <APLFZ>0</APLFZ>
      <UEBTO>0.0</UEBTO>
      <UNTTO>0.0</UNTTO>
      <ANGDT>00000000</ANGDT>
      <NETPR>0.00</NETPR>
      <PEINH>1</PEINH>
      <BPRME>PK</BPRME>
      <PRDAT>00000000</PRDAT>
      <BPUMZ>1</BPUMZ>
      <BPUMN>1</BPUMN>
      <WEBRE>X</WEBRE>
      <EFFPR>0.00</EFFPR>
      <MHDRZ>2</MHDRZ>
      <BSTMA>0.000</BSTMA>
      <STAGING_TIME>0</STAGING_TIME>
      </E1EINEM>
      </E1EINAM>
      </IDOC>
      </INFRECMASS01>
    TARGET XML FROM RWB:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_IB_VENDORISL xmlns:ns0="http://VENDORITEMSITELINK_NS">
    - <STATEMENTNAME>
    - <si_sku_vendor_link ACTION="INSERT">
    - <ACCESS>
      <Sku_Code>000000000000103260</Sku_Code>
      <Location_Code>1010</Location_Code>
      <Vendor_Code>0000009000</Vendor_Code>
      <Lead_Time>0</Lead_Time>
      <Pref_Vendor_Flag>Y</Pref_Vendor_Flag>
      <Active_Ind>Y</Active_Ind>
      </ACCESS>
      </si_sku_vendor_link>
      </STATEMENTNAME>
      </ns0:MT_IB_VENDORISL>

  • How to find the Program that triggered the outbound idoc

    Hi,
    I need to find the program that triggers a particular Outbound IDoc.
    I have the IDoc number/segment/message type.
    We need to Debug the Outbound IDoc but we do not know from where the IDoc got triggered.
    Is there a way we can find which program triggered it?
    Thanks!

    Hi Suresh,
    Go to tcode WE20, select ur partner profile type, which configured in output type for EDI documents.
    On right side, double click on the Message type in outbound parameters.
    go to message control Tab, double click on process code variable to see FM triggers for the IDOC.
    same as for Inbound also.
    Regards
    Syed A

  • How workflow will be triggered from the Idoc partner profiles

    Hi,
         We have scenario like, We are doing business with the same vendor in different countries. When ever we receive the Idoc from that vendor, Agent will be notified based on the agent details, which is mentioned in the Inbound partner profiles for that vendor. Now they like to enhance the scenario like different agents should be notified for different countries, based on the company code from the same vendor. I came to know that its possible through workflow, can you please let me know the step by step procedure to achieve this scenario. Since this is very important issue, need your help as soon as possible.
    Thanks
    Satyasuresh

    Hi,
    In Tx. WE42, Select the process code for the corresponding partner and bind your workflow / task inplace of the function module with the process code. Now, this will enable the idoc to get placed in the agents(identified by that workflow)inbox.
    But to design the workflow, you`ll have to use tx. swdd and prior to that get some basic understanding of Business Workflow from SAP Library.
    Hope the info. is helpful and reward points if so.
    Regards

  • Triggering Outbound IDoc, when doing the Goods Receipt in MIGO

    Hi All,
    I want to create an idoc(outbound), when i do the Goods Receipt(MIGO, Movement type 101).
    1. Can we trigger the IDoc through output Determination.(I have configured for VL01n -outbound delivery & VL31n-inbound Delivey.It works... But is there any same way for MIGO)
    2. Is there any other way to trigger the IDoc when document saves in MIGO.
    Please Help On this.
    I m eagerly awaiting for Solution.

    Hi,
    Go through the following link:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=waytotriggertheIDocwhendocumentsavesin+MIGO&cat=sdn_all
    It might help you.
    Thanks
    Rajesh Kumar

  • Issue with DEBMAS IDoc,not all fields are reflected in the IDoc Seg E1KNB1M

    For IDoc type DEBMAS, there is a segment E1KNB1M. This segment is relate to the customer correspondence details (XD02 -> company code data -> Correspondence).
    For any change to the customer master a DEBMAS IDoc is triggered which has data in segments including the E1KNB1M.
    In my case for few customers, the not all fields in the segment E1KNB1M contain data. Few fields contain data but the rest are filled with u2018\u2019. This is happening only in the production system, for the same customer in the quality system the data is there as required.
    I checked in debugging, and found that the data is correctly passed to the segment in program SAPLVV01 Include LVV01F01. And the segment contains data till the IDoc is triggered.  I.e. the fields are not getting cleared at any point.
    Can anyone suggest what is happening and how to fix this? Please note that the issue is only in the production system and not in the quality system ( for the same customer).

    BTT... Need some help on the above

  • View the Idocs in Source System

    Hello
    I have triggered a ino package load to BI. Now the job is just hanging and is not bringing in any data. Please can someone tell me where can i view these idocs in the source system.
    Thanks

    Hi
    IDocs at Source system --BD87 / WE19/WE20/WE30/WE02  are the Tcodes for IDOCs
    Till42 Outbound Idocs after 50 Inbound Status Idocs.
    You can even see the Idocs at Info Package -- Monitoring -- Environment - Idocs at Source system.
    Check your RFC at SM58/SM59 -- If the Queue Stuck -- Execute LUWs Manually.
    When the IDOCs are Taking time to process it is always better to Make the yellow request to Red and Delte the Request and Go for Repeat .
    Hope it helps

  • How to see the IDOC structure in XML format

    Hi, I am ver new to MII. I configured connection between SAPand SAP MII and IDOC is triggering in SAP MII. I can see the idoc triggered in Message monitor.
    Now my query is how to see the IDOC structure in XML format? I written a transaction where I am assigning transaction.xml to my Local.xml and trying to display with message action block. When I display the message I am getting message as below
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    There is no data in the xml, but in SAP side i seen data and segment which sent to MII as a IDOC. Please help me how to resolve this issue.

    Hi, Thanks for quick response.
    In Message monitor I seen the IDOC list after executing POIT transaction code in SAP.
    But the display button is disabled always in message monitor screen. I want to take this IDOC and save it in my SQL database. So I want to see this IDOC structure in XML format. Where i can see this structure?

Maybe you are looking for

  • BPM and database interaction

    I am writing my thesis on processes and use the OBPM product. I need to connect it to an external database. I managed to make some steps towards this goal, but the big picture is missing. Can anyone show me a documentation on this topic or help me di

  • My Adobe CC desktop app appears blank and has done so since installation. I cannot download any programs. Help?

    This is what I see every time I open the Adobe CC app and/or try to install any software from the Adobe CC website. Any help on why this is happening or how to fix it or preferably both would be greatly appreciated!

  • SQL Developer - Adding a column comment via SQL

    When I add a comment in SQL*Plus via SQL, such as COMMENT ON COLUMN "MY_OWNER"."MY_TABLE"."MY_COLUMN" IS 'column comment' it works fine. When I try the same thing in SQL Developer I receive a message "No SQL statement entered". I realize this can be

  • How do I re-orient the column browser in Itunes 11

    So I just updated to Itunes 11 and my view is messed up.  I had column browsers for albums and artist placed side by side, running from the top to the bottom of the screen, with the list of songs beside it.  Now the column brownsers are both at the t

  • JOptionPane on Full Screen

    Greetings: I'm sure that this is not a new issue around this forums; yet, I've not been able to find the precise answer (including goggling it); I came here to take a little bit of your time for a hint :) My question is: how can I display a decorated