<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IDOCS Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179394#M125323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOC CONTAINS 3 TYPES OF RECORDS..&lt;/P&gt;&lt;P&gt;1) CONTROL RECORD( SHOULD BE ONE) [ EDIDC]&lt;/P&gt;&lt;P&gt;2) DATA RECORDS( CAN BE MANY)  [ EDIDD/EDID4]&lt;/P&gt;&lt;P&gt;3) STATUS RECORDS( CAN BE MANY) [EDIDS]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF U WANT TO CREATE UR OWN TYPES,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;A)IN WE31, U CREATE AN SEGMENT WHICH IS NOTHING BUT A COLLECTION OF FIELDS.&lt;/P&gt;&lt;P&gt;B)IN WE30, CREATE AN IDOC TYPE, SELECT BASIC TYPE OR EXTENSION, AND ASSIGN THE SEGMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO IDOC TYPE IS NOTHING BUT STRUCTURE CONTAINING FIELDS&lt;/P&gt;&lt;P&gt;OF SEGEMENT!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C) GO TO WE81 , CREATE A MESSAGE TYPE, MESSAGE TYPE GIVES THE MEANING OF THE IDOC (EX MATMAS FOR MATERIAL MASTER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D) GO TO WE82, ASSIGN MESSAGE TYPE TO IDOC TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) GO TO SALE, CONFIGURE ALL THE STEPS (HOPE U KNOW)&lt;/P&gt;&lt;P&gt;WITH THE TYPES U CREATED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) NOW WRITE A &amp;lt;b&amp;gt;PROGRAM&amp;lt;/b&amp;gt; WITH THE LOGIC TO POST IDCOS TO PARTNER SYSTEM.&lt;/P&gt;&lt;P&gt;  SO ITS LOGIC SHOULD BE AS FOLLOWS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  FOR EVERY CONTROL RECORD, DATA RECORDS SHOULD BE MAPPED.&lt;/P&gt;&lt;P&gt;  CONTROL RECORD CONTAINS DATA LIKE PARTNER LS, PARTNER TYPE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create structures like EDIDC, EDIDD.&lt;/P&gt;&lt;P&gt;  and pass parameters into the structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  now , for every control record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at data record,&lt;/P&gt;&lt;P&gt;  caLL fn module 'MASTER_IDOC_DISTRIBUTE'&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;PURPOSE OF FN MODULE&amp;lt;/u&amp;gt; : THERE CAN BE MANY PARTNERS FOR A SINGLE SENDER.&lt;/P&gt;&lt;P&gt;SO, THIS FN MODULE GENERATES COMMUNICATION IDOCS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;IDOCS : MASTER IDOC, COMMUNICATION IDOCS, APPLICATION IDCOS.&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EVERY MASTER IDOC , THERE CAN BE MANY COMMUNICATION IDOCS DEPENDING UPON THE NUMBER OF RECEIVERS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2006 05:07:39 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-02-10T05:07:39Z</dc:date>
    <item>
      <title>IDOCS Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179391#M125320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been studying and practising IDOC creation. I have a few doubts , Plz help me clear  those:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I want that whenever transaction F-02 is used for posting a G/L A/C, the Idoc should be generated. For this i know that we need to set the output type , media, partner profile. But I am confused as to how the system knows/maps that for F-02 transaction '&amp;lt;b&amp;gt;xyz&amp;lt;/b&amp;gt;' is the idoc to be created with '&amp;lt;b&amp;gt;xx&amp;lt;/b&amp;gt;' message type?(what settings make this happen)and I am not clear as to how the IDOC gets created actually , Which is the program that creates IDOC and how can i check the status of generated idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I have studied that for custom IDOCS we need to create our own programs or FM with message control?&lt;/P&gt;&lt;P&gt; If its a standalone program then how to link this program to process my IDOC(ex for F-02  Idoc type :xyz and mess type xx)..i mean what settings to do to ensure that this program is linked to the idoc i want to process. &lt;/P&gt;&lt;P&gt;If i write a fm with message control then also how it is linked to handle my Idoc and mess type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) what is the meaning of process code in partner profiles setting ? and in realtime , how to check the status of the idoc and resolve the error if any??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am under a great state of confusion and unclarity. Plzz help me come out of this ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shills&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 21:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179391#M125320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-09T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCS Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179392#M125321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3. Go to transaction we02/we05 and check out the status &lt;/P&gt;&lt;P&gt;   of your IDoc.Then check out for the meaning of the &lt;/P&gt;&lt;P&gt;   status in we47 and correct accordingly.&lt;/P&gt;&lt;P&gt;   Process Code - The message type of your IDoc is &lt;/P&gt;&lt;P&gt;                  associated to a process code which is&lt;/P&gt;&lt;P&gt;                  linked to the function module that &lt;/P&gt;&lt;P&gt;                  posts data at the receiver's end. &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;2. You can link message type to the custom process code  &lt;/P&gt;&lt;P&gt;   using transaction we20.You can actually link the  &lt;/P&gt;&lt;P&gt;   process code to the custom FM developed by you using &lt;/P&gt;&lt;P&gt;   transaction we42.         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to table 'EDIMSG' from se16.There you get all the &lt;/P&gt;&lt;P&gt;   message types and idoc types associated.Say you are &lt;/P&gt;&lt;P&gt;   transferring material master,then the corrsponding &lt;/P&gt;&lt;P&gt;   message type is MATMAS.You choose it as your message &lt;/P&gt;&lt;P&gt;   type,pick corresponding IDoc type and create &lt;/P&gt;&lt;P&gt;   IDoc.Thus the system will know what you intend to &lt;/P&gt;&lt;P&gt;   do.To check the status of your IDoc,go to transaction &lt;/P&gt;&lt;P&gt;   we02/we05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I was able to answer your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil Phani Polepally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 22:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179392#M125321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-09T22:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCS Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179393#M125322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your quick and detailed answer.&lt;/P&gt;&lt;P&gt;I still have few queries from what i culd understand ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)That means if i develop a new idoc and a new message type , i create a relation between the two using we82. Now that i have my own type and custom idoc , I will need to write a program/function module to post/process the data.&lt;/P&gt;&lt;P&gt;Correct me if i m wrong here ?&lt;/P&gt;&lt;P&gt;If this is the case then what i understand is that i will have to create a process code--&amp;gt;FM/Program i create link in we42.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)I am still no clear on this::&lt;/P&gt;&lt;P&gt;For a specific transaction eg va01, what do we do to let the system know that whenever  a sales order is created automatically idoc orders01 with mess type xx is to created. How that is linked? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)What is supposedly the last step in Idoc process in live environment. ? segments, ,  creating idoc,  messtype,linking to fm , triggering and testing ..am i rt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)If we create our own idoc and mess type, then is it necessary to create a fm to process it ? i want to know that whn actually comes the requirement to create own FM(filling the idoc / calling master_idoc_distribute).?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very thankful to your response &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shills&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 00:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179393#M125322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T00:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCS Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179394#M125323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDOC CONTAINS 3 TYPES OF RECORDS..&lt;/P&gt;&lt;P&gt;1) CONTROL RECORD( SHOULD BE ONE) [ EDIDC]&lt;/P&gt;&lt;P&gt;2) DATA RECORDS( CAN BE MANY)  [ EDIDD/EDID4]&lt;/P&gt;&lt;P&gt;3) STATUS RECORDS( CAN BE MANY) [EDIDS]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF U WANT TO CREATE UR OWN TYPES,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;A)IN WE31, U CREATE AN SEGMENT WHICH IS NOTHING BUT A COLLECTION OF FIELDS.&lt;/P&gt;&lt;P&gt;B)IN WE30, CREATE AN IDOC TYPE, SELECT BASIC TYPE OR EXTENSION, AND ASSIGN THE SEGMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO IDOC TYPE IS NOTHING BUT STRUCTURE CONTAINING FIELDS&lt;/P&gt;&lt;P&gt;OF SEGEMENT!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C) GO TO WE81 , CREATE A MESSAGE TYPE, MESSAGE TYPE GIVES THE MEANING OF THE IDOC (EX MATMAS FOR MATERIAL MASTER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D) GO TO WE82, ASSIGN MESSAGE TYPE TO IDOC TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) GO TO SALE, CONFIGURE ALL THE STEPS (HOPE U KNOW)&lt;/P&gt;&lt;P&gt;WITH THE TYPES U CREATED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) NOW WRITE A &amp;lt;b&amp;gt;PROGRAM&amp;lt;/b&amp;gt; WITH THE LOGIC TO POST IDCOS TO PARTNER SYSTEM.&lt;/P&gt;&lt;P&gt;  SO ITS LOGIC SHOULD BE AS FOLLOWS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  FOR EVERY CONTROL RECORD, DATA RECORDS SHOULD BE MAPPED.&lt;/P&gt;&lt;P&gt;  CONTROL RECORD CONTAINS DATA LIKE PARTNER LS, PARTNER TYPE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create structures like EDIDC, EDIDD.&lt;/P&gt;&lt;P&gt;  and pass parameters into the structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  now , for every control record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at data record,&lt;/P&gt;&lt;P&gt;  caLL fn module 'MASTER_IDOC_DISTRIBUTE'&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;PURPOSE OF FN MODULE&amp;lt;/u&amp;gt; : THERE CAN BE MANY PARTNERS FOR A SINGLE SENDER.&lt;/P&gt;&lt;P&gt;SO, THIS FN MODULE GENERATES COMMUNICATION IDOCS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;IDOCS : MASTER IDOC, COMMUNICATION IDOCS, APPLICATION IDCOS.&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EVERY MASTER IDOC , THERE CAN BE MANY COMMUNICATION IDOCS DEPENDING UPON THE NUMBER OF RECEIVERS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 05:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179394#M125323</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-02-10T05:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCS Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179395#M125324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shilpi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Idocs are not specific to transactions.&lt;/P&gt;&lt;P&gt;A single Idoc can serve to more functionaliteis.&lt;/P&gt;&lt;P&gt;For example message type ORDERS belong to Ssles Order, Purchase order etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Idocs are related to the functionality not to a specific transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As u have written u know that u need to set partner profile but also the message contril if u want the transaction to trigger Idoc for u.&lt;/P&gt;&lt;P&gt;This meesage control is also needss to be defined in partner profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need not create a new message type or Idoc type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 05:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-query/m-p/1179395#M125324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T05:47:20Z</dc:date>
    </item>
  </channel>
</rss>

