<?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 CIF APO interface: additional customer data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986526#M1605233</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 know this is (primarily) an APO related question but as we have more traffic and readers here and it is a pure development task, I hope for an answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to transfer an additional customer data field for purchase order items to APO by standard CIF interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ERP, we have customer extension CIFPUR01 with component function EXIT-SALMEAP_001. We extendend CIFPUORCUS and added field ZZ_BEZWEG in include CI_PUORCUS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function we create entries in TABLES parameter IT_OUTPUT_CUS accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In APO, we would like to have the data in database table /SAPAPO/MMFIELD. I could not find the MMFIELD structure in any of the available exit functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, if you have an idea, let me know how to get the data to  /SAPAPO/MMFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 08:33:24 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2011-06-28T08:33:24Z</dc:date>
    <item>
      <title>CIF APO interface: additional customer data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986526#M1605233</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 know this is (primarily) an APO related question but as we have more traffic and readers here and it is a pure development task, I hope for an answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to transfer an additional customer data field for purchase order items to APO by standard CIF interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ERP, we have customer extension CIFPUR01 with component function EXIT-SALMEAP_001. We extendend CIFPUORCUS and added field ZZ_BEZWEG in include CI_PUORCUS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function we create entries in TABLES parameter IT_OUTPUT_CUS accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In APO, we would like to have the data in database table /SAPAPO/MMFIELD. I could not find the MMFIELD structure in any of the available exit functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, if you have an idea, let me know how to get the data to  /SAPAPO/MMFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 08:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986526#M1605233</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-06-28T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: CIF APO interface: additional customer data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986527#M1605234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;obviously not really in the focus of many developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, let me share the solution I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found SAP Note 821934 that describes the process we implemented:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned we use EXIT_SAPLMEAP_001 to transfer additinal date in extension CIFPUR01 on the ERP side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is called in the CIF interface for purchase orders, we used SAP Project CIFPUR01 to implement the outbound interface in R/3 retail system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In APO, we created an implementation for the BAdI /SAPAPO/DM_PO_MNTN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the instruction in the SAP note, we extende table /SAPAPO/MM_DOC, included the structure CI_PUORCUS to have the addional field(s) in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAdI interface method CHANGE provides the tables IT_OUTPUT_CUS holding the additional data, CT_MM_DOC for transferred purchase order data and CT_POSMAP. CT_POSMAP provides a link between IT_OUTPUT_CUS and CT_MM_DOC. IT_OUTPUT_CUS has a key with document number, item, and schedule line but CT_MM_DOC has a GUID unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CT_POSMAP has both keys and provides the link between the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming from IT_OUTPUT_CUS we look in CT_POSMAP for the GUID of this document/item, then put the tgransferred field value in CT_MM_DOC record with this GUID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT: Only newly created PO items provide this link in CT_POSMAP. For PO updates we must SELECT the reference from database table /SAPAPO/POSMAPN for R3OBJ = '2'. DELNR and DELPS are PO document and item number, POSID is the GUID in CT_MM_DOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want it more standard but more complex, use function &lt;/P&gt;&lt;P&gt;/SAPAPO/MAP_DELPS_GET_POSID for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea if we are the only system in the world confronting this task &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 11:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986527#M1605234</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-06-29T11:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: CIF APO interface: additional customer data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986528#M1605235</link>
      <description>&lt;P&gt;Hi Clemens.&lt;/P&gt;&lt;P&gt;I have the same issue, not is common.&lt;/P&gt;&lt;P&gt;We are working with the note 821934 and the BADI ME_CHANGE_CHARACTER was extended to add a new field.&lt;/P&gt;&lt;P&gt;Your information is very helpful to understand the BADI /SAPAPO/DM_PO_MNTN, thanks for that.&lt;/P&gt;&lt;P&gt;I'm looking for information or example code to apply the solution specifically about user exit "EXIT_SAPLMEAP_001" to be share with ABAP team because APO is new for them and We are working together to resolved and move forward.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 09:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cif-apo-interface-additional-customer-data/m-p/7986528#M1605235</guid>
      <dc:creator>JNaizir</dc:creator>
      <dc:date>2020-03-23T09:43:03Z</dc:date>
    </item>
  </channel>
</rss>

