<?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: custom idoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651646#M879495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; You need to first identify the information needed to be added into the segment.&lt;/P&gt;&lt;P&gt;Now find the corresponding information in the database table.&lt;/P&gt;&lt;P&gt;Create segment with these fields identified from the table.&lt;/P&gt;&lt;P&gt;Add the segments to ur idoc type and write the query to fill these segment fields with values in the corrseponding user exit's include program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; reagards&lt;/P&gt;&lt;P&gt;Priyaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 04:06:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T04:06:20Z</dc:date>
    <item>
      <title>custom idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651643#M879492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MY REQUIREMENT IS To support current min/max programs, this data is sent weekly to the vendor to manage the replenishment stock as necessary.  SAP does not have a standard IDOC that contains gross requirements data for transmission.  A custom IDOC will therefore be created to capture all the data in the transmission.  A custom program will be used to populate the IDOC accordingly and process the transmission.  The system which recieves will reformat the IDOC data as needed for presentation to the supplier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The custom IDOC will capture the gross requirements data that must be sent to the vendor for min/max materials.  A custom program willread the min/max gross requirements in SAP.  The custom processing routine will retrieve all the materials from the MRP type for min/max materials and create the proper IDOC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 14:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651643#M879492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T14:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: custom idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651644#M879493</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;you can create custom idoc as per your requirement using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we81 create message type .&lt;/P&gt;&lt;P&gt;we 81 assign message type &lt;/P&gt;&lt;P&gt;we31 create segments&lt;/P&gt;&lt;P&gt;we30 assign segments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this you can proceed for custom idoc creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please the process in steps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MASTER DATA TRANSFERMATION BETWEEN 2 DIFF CLIENTS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; For this scenario Client 800 is the Sender and 810 is the receiving system&lt;/P&gt;&lt;P&gt;1. Creating Logical Systems&lt;/P&gt;&lt;P&gt;o Login using 800 client&lt;/P&gt;&lt;P&gt;o Go to T. Code SALE&lt;/P&gt;&lt;P&gt;o Expand Sending and Receiving Systems&lt;/P&gt;&lt;P&gt;o Expand Logical Systems&lt;/P&gt;&lt;P&gt;o Click on Define Logical System&lt;/P&gt;&lt;P&gt;o Click on New Entries&lt;/P&gt;&lt;P&gt;o Create STUD_S, STUD_R Logical Systems&lt;/P&gt;&lt;P&gt;o Save and come back&lt;/P&gt;&lt;P&gt;o Assign the STUD_S Logical System to client 800&lt;/P&gt;&lt;P&gt;o Assign the STUD_R Logical System to client 810&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Creating the RFCs&lt;/P&gt;&lt;P&gt;o Go to T. Code SM59&lt;/P&gt;&lt;P&gt;o Expand R/3 Connections&lt;/P&gt;&lt;P&gt;o Enter RFC Name as STUD_S&lt;/P&gt;&lt;P&gt;o Connection Type as 3&lt;/P&gt;&lt;P&gt;o Language as EN&lt;/P&gt;&lt;P&gt;o Client as 800&lt;/P&gt;&lt;P&gt;o User as SAPUSER&lt;/P&gt;&lt;P&gt;o PWD as abap&lt;/P&gt;&lt;P&gt;o Target host as sap&lt;/P&gt;&lt;P&gt;o Click on Remote logon button to test the RFC&lt;/P&gt;&lt;P&gt;o Enter RFC Name as STUD_R&lt;/P&gt;&lt;P&gt;o Connection Type as 3&lt;/P&gt;&lt;P&gt;o Language as EN&lt;/P&gt;&lt;P&gt;o Client as 800&lt;/P&gt;&lt;P&gt;o User as SATISH&lt;/P&gt;&lt;P&gt;o PWD as abap&lt;/P&gt;&lt;P&gt;o Target host as sap&lt;/P&gt;&lt;P&gt;o Click on Remote logon button to test the RFC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Creating the Message Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code WE81&lt;/P&gt;&lt;P&gt;o Click on change, continue&lt;/P&gt;&lt;P&gt;o Click on New Entries button&lt;/P&gt;&lt;P&gt;o Give message type as ZBAPI_STUD_MAS and description&lt;/P&gt;&lt;P&gt;o Save and back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Creating the Segment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code WE31&lt;/P&gt;&lt;P&gt;o Give segment name as ZBAPI_STUD_SEG&lt;/P&gt;&lt;P&gt;o Enter Short Text&lt;/P&gt;&lt;P&gt;o Enter the Field Name and Data Element in the text boxes&lt;/P&gt;&lt;P&gt;o Save, continue,&lt;/P&gt;&lt;P&gt;o Click on Edit -&amp;gt; Set Release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Creating the Basic IDOC Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. code WE30&lt;/P&gt;&lt;P&gt;o Give obj. name as ZBAPI_STUD_IDOC&lt;/P&gt;&lt;P&gt;o Click on create&lt;/P&gt;&lt;P&gt;o Select create new radio button, give description and continue&lt;/P&gt;&lt;P&gt;o Select the IDOC obj name and click on create button&lt;/P&gt;&lt;P&gt;o Enter the segment name which is create earlier&lt;/P&gt;&lt;P&gt;o Select the check box if you want to make the segment mandatory&lt;/P&gt;&lt;P&gt;o Enter 1 in minimum number 99999 in maximum number, continue&lt;/P&gt;&lt;P&gt;o Save and back&lt;/P&gt;&lt;P&gt;o Click on Edit -&amp;gt; Set Release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Creating Customer Distribution Model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code BD64&lt;/P&gt;&lt;P&gt;o Click on change and Create model view button&lt;/P&gt;&lt;P&gt;o Enter the short text and Technical name as ZSTUDENT&lt;/P&gt;&lt;P&gt;o Select the model and click on Add Message Type Button &lt;/P&gt;&lt;P&gt;o Give the Sender as STUD_S, &lt;/P&gt;&lt;P&gt;o Receiver as STUD_R, &lt;/P&gt;&lt;P&gt;o Message Type as ZBAPI_STUD_MAS&lt;/P&gt;&lt;P&gt;o Select the model view &amp;amp; click on Environment -&amp;gt; Generate Partner Profiles&lt;/P&gt;&lt;P&gt;o Select Transfer IDOC Immediately and Trigger Immediately radio buttons&lt;/P&gt;&lt;P&gt;o Click on Execute&lt;/P&gt;&lt;P&gt;o You should get a list in green color which means it executed successfully.&lt;/P&gt;&lt;P&gt;o Back to main screen, select the model view&lt;/P&gt;&lt;P&gt;o Click Edit-&amp;gt;Model view-&amp;gt;Distribute&lt;/P&gt;&lt;P&gt;o Click on continue&lt;/P&gt;&lt;P&gt;o You should get a list saying model view is distributed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Checking the Port&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code WE21&lt;/P&gt;&lt;P&gt;o Expand Transactional RFC&lt;/P&gt;&lt;P&gt;o Find the port from the list which is created using BD64 for STUD_R (Receiving system) RFC Destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Checking the Partner Profiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code WE20&lt;/P&gt;&lt;P&gt;o Expand Partner Type LS&lt;/P&gt;&lt;P&gt;o Select the Partner profile STUD_R&lt;/P&gt;&lt;P&gt;o Double click on Message Type ZBAPI_STUD_MAS in Outbound parmtrs.&lt;/P&gt;&lt;P&gt;o Check Receiver Port is assigned correctly&lt;/P&gt;&lt;P&gt;o Check the Basic type as your Basic IDOC object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Assigning the Message Type to Basic IDOC Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o Go to T. Code WE82&lt;/P&gt;&lt;P&gt;o Click on Change &amp;amp; continue, New Entries button&lt;/P&gt;&lt;P&gt;o Give the Message type as ZBAPI_STUD_MAS &lt;/P&gt;&lt;P&gt;o Give Basic Type as ZBAPI_STUD_IDOC&lt;/P&gt;&lt;P&gt;o Release as 46C&lt;/P&gt;&lt;P&gt;o Save and back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do like this.&lt;/P&gt;&lt;P&gt;after same procedure .&lt;/P&gt;&lt;P&gt;reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 03:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651644#M879493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T03:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: custom idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651645#M879494</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;Create a custom idoc using the fallowing tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE31 to create segment.&lt;/P&gt;&lt;P&gt;WE30 to create IDoc type.&lt;/P&gt;&lt;P&gt;WE81 to create message type.&lt;/P&gt;&lt;P&gt;WE82 link this message type to the Idoc type.&lt;/P&gt;&lt;P&gt;WE20 for partner profile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the function module&lt;/P&gt;&lt;P&gt;'MASTER_IDOC_DISTRIBUTE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;populate the control record and data record (whatever data you want to send) tables and pass it to the this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing this program run the WE14 transaction code to get the status 03 from 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this statuses from WE05 tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 04:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651645#M879494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T04:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: custom idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651646#M879495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; You need to first identify the information needed to be added into the segment.&lt;/P&gt;&lt;P&gt;Now find the corresponding information in the database table.&lt;/P&gt;&lt;P&gt;Create segment with these fields identified from the table.&lt;/P&gt;&lt;P&gt;Add the segments to ur idoc type and write the query to fill these segment fields with values in the corrseponding user exit's include program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; reagards&lt;/P&gt;&lt;P&gt;Priyaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 04:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idoc/m-p/3651646#M879495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T04:06:20Z</dc:date>
    </item>
  </channel>
</rss>

