<?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 WPUBON problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919457#M1598582</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;I am have a similar problem. While investigating and seeing the suggestions made in this post, I tried to pass the TAX condition in E1WPB03 instead of E1WPB04. (i did this by manually editing an existing IDOC).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this I was able to pass the TAX Amount and the pricing procedure in the POS Inbound in SAP ERP was able to accept it. The only challenge here is that once you use the E1WPB03, the ERP system treats TAX as a normal condition like tender or discount and it does not execute the tax code determination in ERP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Issam : Could you share the code you used ?&lt;/P&gt;&lt;P&gt;Isn't there a BADI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dheeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 15:12:11 GMT</pubDate>
    <dc:creator>dheeraj_gupta</dc:creator>
    <dc:date>2016-05-05T15:12:11Z</dc:date>
    <item>
      <title>IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919450#M1598575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, We are using WPUBON idoc type for Sales Inbound Posting. Previously we are not recieving the TAX and system was calculating  the tax maintained in sap. Now we need to add TAX on article level so we have populated segment E1WPB04 which is meant for Tax. But even though the TAX is coming with the Idoc properly system is considering  the default tax only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 10:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919450#M1598575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T10:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919451#M1598576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Could you solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the same issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 19:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919451#M1598576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-05T19:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919452#M1598577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tulika, Jesus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want can not be achieved by segment E1WPB04, as a workaround you can consider one of the following suggestions,&lt;/P&gt;&lt;P&gt;- use header taxes with E1WPB07 (TAXCODE, TAXVALUE)&lt;/P&gt;&lt;P&gt;- use E1WPB03 and enter tax amount as condition item&lt;/P&gt;&lt;P&gt;- use WPUUMS IDoc type instead of WPUBON, if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;Lalio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 08:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919452#M1598577</guid>
      <dc:creator>former_member230742</dc:creator>
      <dc:date>2015-11-09T08:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919453#M1598578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Lalio!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM /POSDW/CREATE_TRANSACTIONS_EXT and when filling out RETAILLINEITEM - TAX, &lt;SPAN style="color: #333333; font-size: 12px;"&gt;E1WPB04 &lt;/SPAN&gt;is automaticaly populated and taxes are being ignored at level item.&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN style="color: #333333; font-size: 12px;"&gt;E1WPB03 by using WE19 and it worked well and conditions are created at level item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I have to change some user exit to make &lt;SPAN style="font-size: 13.3333px;"&gt;RETAILLINEITEM - TAX populate &lt;SPAN style="color: #333333; font-size: 12px;"&gt;E1WPB03 instead of &lt;SPAN style="color: #333333; font-size: 12px;"&gt;E1WPB04? Is there any customization to change this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Issam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 19:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919453#M1598578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-02T19:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919454#M1598579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Issam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this issue by passing taxes at transaction level using table TRANSACTIONTAX on FM /POSDW/BAPI_POSTR_CREATE. Then, IDOC WPUBON will export tax information on segment &lt;SPAN style="color: #333333; font-size: 12px;"&gt;E1WPB07&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 15:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919454#M1598579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-07T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919455#M1598580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jesus. Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I'm not wrong, for item level we need to use E1WPB03 for populating taxes and E1WPB07 would populate conditions at header level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Did you solve this issue for both header and item levels by using E1WPB07 segment?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919455#M1598580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-08T20:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919456#M1598581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this issue by creating a new Z FM of /POSDW/IDOC_OUTPUT_WPUBON, form&amp;nbsp; map_e1wpb02. In the section (map taxes), I changed the structure from E1WPB04 to E1WPB03.&lt;/P&gt;&lt;P&gt;It works well and solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Issam Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 21:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919456#M1598581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-17T21:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919457#M1598582</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;I am have a similar problem. While investigating and seeing the suggestions made in this post, I tried to pass the TAX condition in E1WPB03 instead of E1WPB04. (i did this by manually editing an existing IDOC).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this I was able to pass the TAX Amount and the pricing procedure in the POS Inbound in SAP ERP was able to accept it. The only challenge here is that once you use the E1WPB03, the ERP system treats TAX as a normal condition like tender or discount and it does not execute the tax code determination in ERP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Issam : Could you share the code you used ?&lt;/P&gt;&lt;P&gt;Isn't there a BADI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dheeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 15:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919457#M1598582</guid>
      <dc:creator>dheeraj_gupta</dc:creator>
      <dc:date>2016-05-05T15:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919458#M1598583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dheeraj!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;/POSDW/IDOC_OUTPUT_WPUBON (form &lt;SPAN style="color: #333333; font-size: 12px;"&gt;map_e1wpb02). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;In the section (map taxes), I changed the structure from E1WPB04 to E1WPB03.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Follow my abap code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *map taxes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT lw_retaillineitem-tax INTO lw_item_tax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND INITIAL LINE TO pet_edidd ASSIGNING &amp;lt;fs_edidd&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;fs_edidd&amp;gt;-segnam = 'E1WPB03'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR ls_e1wpb03.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_e1wpb03-kondition =&amp;nbsp;&amp;nbsp; lw_item_tax-taxtypecode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF l_return_item = '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MULTIPLY lw_item_tax-taxamount BY -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION '/POSDW/CURRENCY_DECIMALS_OUT'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pi_amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lw_item_tax-taxamount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pi_retailstoreid&amp;nbsp;&amp;nbsp; = pis_transaction-retailstoreid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pi_businessdaydate = pis_transaction-businessdaydate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pi_transindex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = pis_transaction-transindex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pe_amount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_kondvalue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHANGING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pc_currency&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_currency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHIFT l_kondvalue LEFT DELETING LEADING '0 '.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_e1wpb03-kondvalue&amp;nbsp;&amp;nbsp; =&amp;nbsp; l_kondvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE ls_e1wpb03 TO &amp;lt;fs_edidd&amp;gt;-sdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 12:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919458#M1598583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-06T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC WPUBON problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919459#M1598584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super.Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-wpubon-problem/m-p/7919459#M1598584</guid>
      <dc:creator>dheeraj_gupta</dc:creator>
      <dc:date>2016-05-06T14:24:27Z</dc:date>
    </item>
  </channel>
</rss>

