<?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: IDOC EXtension in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309078#M1027286</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;Even I'm newbie in idoc extension ..i can share with you some good things...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your requirement..... i guess.. u need to extend the existing idoc structures ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use WE31 to create or change the existing Z-segments for adding/delteing new fields in it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 . Once segment is finalised with the new fields then the data needs to populate as in the same order of the segments... This can be done inside the funtional modules ... which r mentioned there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Use WE30 for checking the idoc extension structures with the list of segmetns and fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 09:28:58 GMT</pubDate>
    <dc:creator>abapdeveloper20</dc:creator>
    <dc:date>2008-08-11T09:28:58Z</dc:date>
    <item>
      <title>IDOC EXtension</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309077#M1027285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gotta requirement in IDOC extension and i m new to this concept.Can anyone help me in doing this task...Full marks would be given...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the requirement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Functionality&lt;/P&gt;&lt;P&gt;Current system has an issue that when product is cut or removed from an order an all that is left are pallets, and an ASN is still processed and eventually sent out to customers.&lt;/P&gt;&lt;P&gt;If the delivery is fully cut in the warehouse ie picking confirmation IDoc comes with Zero quantity and it has only pallet that delivery should not be sent in the ASN to customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Delivery which is fully cut in the warehouse and has only pallet material should be removed from ASN. This is being achieved by sending a flag in the SHPMNT05 IDoc for delivery cut at the delivery level and ASN preprocessor, if find the value of Flag asu201D Y u201Cremoves the delivery from the customer ASN IDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing Logic&lt;/P&gt;&lt;P&gt;Step 1: Modify extension [ZSHPMNT_TNDR] and create NEW field for NO Product ASN FLAG on the DELIVERY HEADER LEVEL under E1EDL20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object	     Type	 Domain	                 Technical Name	                Description	&lt;/P&gt;&lt;P&gt;Data Element  New	 ZDELCUTFLG	ZDELCUT_INDICATOR 	DELIVERY CUT INDICATOR	&lt;/P&gt;&lt;P&gt;POssible Values&lt;/P&gt;&lt;P&gt;Yor Blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2-Create New custom Field DELCUT_INDICATOR under Segment Z1EDLHAD for IDoc Extension : ZSHPMNT_TND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object	Technical Name	Description	         Parent segment	IDoc Extension	&lt;/P&gt;&lt;P&gt;Field	DELCUT_INDICATOR	DELIVERY CUT INDICATOR	Z1EDLHAD	ZSHPMNT_TND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic Type	&lt;/P&gt;&lt;P&gt;SHPMNT05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3: Modify Method PO_ME_1060_Z1EDLHAD in the class ZVXX_CL_FILL_SEGMENTS for populating the DELCUT_INDICATOR in Z1EDLHAD segment for extension IDoc ZSHPMNT_TND.&lt;/P&gt;&lt;P&gt;For Message Type ZSHPMNT_ASN, Check for each delivery segment E1EDL20 and child segments E1EDL24,   if one material in the delivery is found ne Zero ie as soon as it finds in one E1EDL24 segment  Material qty for  Non ZPAL material ne Zero, no further validation required and exit&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if Material quantity for Non ZPAL material eq Zero in all E1EDL24 segments under delivery, the  DELCUT_INDICATOR in Z1EDLHAD Segment should be populated with value u201CYu201D. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pseudo Code in Processing Logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object : Method PO_ME_1060_Z1EDLHAD in the class ZVXX_CL_FILL_SEGMENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For  Message Type ZSHPMNT_ASN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read Idoc Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Segnam E1EDL20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at segnam E1EDL24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if E1EDL24- LFIMG  ne 0 whereas E1EDL26-PSTVY ne ZPAL&lt;/P&gt;&lt;P&gt;Do nothing, stop further validation.&lt;/P&gt;&lt;P&gt;      Else if E1EDL24- LFIMG  eq 0 whereas E1EDL26-PSTVY ne ZPAL&lt;/P&gt;&lt;P&gt;Populate Z1EDLHAD-ZDELCUT  with value   "Y"&lt;/P&gt;&lt;P&gt;      End if&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me in doing  this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 08:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309077#M1027285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T08:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC EXtension</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309078#M1027286</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;Even I'm newbie in idoc extension ..i can share with you some good things...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your requirement..... i guess.. u need to extend the existing idoc structures ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use WE31 to create or change the existing Z-segments for adding/delteing new fields in it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 . Once segment is finalised with the new fields then the data needs to populate as in the same order of the segments... This can be done inside the funtional modules ... which r mentioned there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Use WE30 for checking the idoc extension structures with the list of segmetns and fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 09:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309078#M1027286</guid>
      <dc:creator>abapdeveloper20</dc:creator>
      <dc:date>2008-08-11T09:28:58Z</dc:date>
    </item>
  </channel>
</rss>

