<?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: ALE IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998019#M955209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;That problem is solved, now i am facing one other problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating IDoc from P.O. there is a segment E1EDKA1 AG , which has field PARTN. Some value is appearing in it but I am not able to find out,from where this value comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Brijesh Soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 14:58:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T14:58:00Z</dc:date>
    <item>
      <title>ALE IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998015#M955205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I am sending P.O. from one system to other,using message  type ORDERS and basic type ORDERS05 .&lt;/P&gt;&lt;P&gt;On receiving system I am using inbound process code ORDE.&lt;/P&gt;&lt;P&gt;Sending is successful but on receiving side its giving me error, VKORG, VTWEG, SPART cannot be determined for customer 0000000001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please suggest me some solution on this ,, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proper points will be rewarded to helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brijesh........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998015#M955205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALE IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998016#M955206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In your case order is getting posted at receiver side. before creating/posting order it check the sales group,customer,materials you are using to create are exists in system or not.&lt;/P&gt;&lt;P&gt;Prior to posting the transactional data we should ensure that all the required master data available are not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First maintain the masterdata .. then try..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if find useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998016#M955206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALE IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998017#M955207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brijesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I faced the same problem in IDOCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to main the entries in transaction VOE2 . the IDOC will pick up the sales area from this transaction .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u are not maintaing this transaction then u need to write an exit to get the sales area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to code in Function module IDOC_INPUT_ORDERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this function module u find PERFORM check_idoc_orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this perform u have CALL CUSTOMER-FUNCTION '007'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 007 u have a include INCLUDE ZXVEDU09.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this include u need to write the code to populate the sales are in the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF wa_salesarea,
          vkorg TYPE vkorg,
          vtweg TYPE vtweg,
          spart TYPE spart,
        END OF wa_salesarea.

  DATA: fs_dxvbadr LIKE LINE OF xvbadr,
         t_dxvbadr LIKE
          STANDARD TABLE
                OF fs_dxvbadr.

  DATA: xyvbak TYPE vbak.

  t_dxvbadr = dxvbadr[].

  READ TABLE t_dxvbadr INTO fs_dxvbadr WITH KEY posnr = '000000'
                                                parvw = 'AG'.

  IF sy-subrc EQ 0.
    SELECT SINGLE vkorg
                  vtweg
                  spart
             INTO wa_salesarea
             FROM knvv
            WHERE kunnr = fs_dxvbadr-kunnr
              AND loevm NE 'X'.

    IF NOT wa_salesarea IS INITIAL.
      xyvbak = dxvbak.
      xyvbak-vkorg = wa_salesarea-vkorg .
      xyvbak-vtweg = wa_salesarea-vtweg.
      xyvbak-spart = wa_salesarea-spart.

      MOVE-CORRESPONDING xyvbak TO dxvbak.

    ENDIF.                             " IF NOT wa_salesarea...
  ENDIF.                               " IF SY-SUBRC EQ 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 09:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998017#M955207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T09:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: ALE IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998018#M955208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maintain sales organization , divsion, distribution channel in target system &lt;/P&gt;&lt;P&gt;and check the master data once.&lt;/P&gt;&lt;P&gt;then ur problem will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: srikanth vipparla on Jun 24, 2008 11:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 09:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998018#M955208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALE IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998019#M955209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;That problem is solved, now i am facing one other problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating IDoc from P.O. there is a segment E1EDKA1 AG , which has field PARTN. Some value is appearing in it but I am not able to find out,from where this value comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Brijesh Soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 14:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-idoc/m-p/3998019#M955209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T14:58:00Z</dc:date>
    </item>
  </channel>
</rss>

