<?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 IDOC EXtension in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309702#M1027382</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- Data element&lt;/P&gt;&lt;P&gt;Domain--ZDELCUTFLG&lt;/P&gt;&lt;P&gt;Tech name--ZDELCUT_INDICATOR &lt;/P&gt;&lt;P&gt;Desc-DELIVERY CUT INDICATOR&lt;/P&gt;&lt;P&gt;Possible value--Y or 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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object--Filed.&lt;/P&gt;&lt;P&gt;Tech name---DELCUT_INDICATOR&lt;/P&gt;&lt;P&gt;Descrp--DELIVERY CUT INDICATOR&lt;/P&gt;&lt;P&gt;Parent Segment--Z1EDLHAD&lt;/P&gt;&lt;P&gt;Idoc Extension--ZSHPMNT_TND&lt;/P&gt;&lt;P&gt;Basic Type--SHPMNT05&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2008 08:23:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-04T08:23:45Z</dc:date>
    <item>
      <title>IDOC EXtension</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309702#M1027382</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- Data element&lt;/P&gt;&lt;P&gt;Domain--ZDELCUTFLG&lt;/P&gt;&lt;P&gt;Tech name--ZDELCUT_INDICATOR &lt;/P&gt;&lt;P&gt;Desc-DELIVERY CUT INDICATOR&lt;/P&gt;&lt;P&gt;Possible value--Y or 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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object--Filed.&lt;/P&gt;&lt;P&gt;Tech name---DELCUT_INDICATOR&lt;/P&gt;&lt;P&gt;Descrp--DELIVERY CUT INDICATOR&lt;/P&gt;&lt;P&gt;Parent Segment--Z1EDLHAD&lt;/P&gt;&lt;P&gt;Idoc Extension--ZSHPMNT_TND&lt;/P&gt;&lt;P&gt;Basic Type--SHPMNT05&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 08:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309702#M1027382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-04T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC EXtension</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309703#M1027383</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;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="906706"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2008 08:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-extension/m-p/4309703#M1027383</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-08-04T08:40:39Z</dc:date>
    </item>
  </channel>
</rss>

