<?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: Standard script problem (medruck) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405635#M195794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kishan thnks for replying but i dont need mold shop adress i need ship to adress instead of that iam geting mold shop adress and idint getwhat the function addr_search is returning value .&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2006 05:19:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-22T05:19:21Z</dc:date>
    <item>
      <title>Standard script problem (medruck)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405633#M195792</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;iam doing a standard script debugging of P.O.&lt;/P&gt;&lt;P&gt;ME23N --when i print for particular p.o instead of delivery adress&lt;/P&gt;&lt;P&gt;i get mold shop adress in my print preview ..i trying to debug the program &lt;/P&gt;&lt;P&gt;zm06pf04.... which has follwoing code and i didnt get what the function is returining &lt;/P&gt;&lt;P&gt;in the following code .&lt;/P&gt;&lt;P&gt;i will be thankfull if anybody advice me &lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;farukh&lt;/P&gt;&lt;P&gt;FORM WERKSANSCHRIFT_WH1 USING WAN_WERKS. "CETJF1 05/22/00&lt;/P&gt;&lt;P&gt;DATA: ADDRESS_SELECTION LIKE ADDR1_SEL. "aem110801&lt;/P&gt;&lt;P&gt;CLEAR SADR.&lt;/P&gt;&lt;P&gt;CHECK WAN_WERKS NE SPACE.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM T001W WHERE WERKS EQ WAN_WERKS.&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;CLEAR SADR.&lt;/P&gt;&lt;P&gt;IF T001W-ADRNR NE SPACE.&lt;/P&gt;&lt;P&gt;ADDRESS_SELECTION-ADDRNUMBER = T001W-ADRNR. "aem110801&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ADDR_GET' "aem110801&lt;/P&gt;&lt;P&gt;EXPORTING "aem110801&lt;/P&gt;&lt;P&gt;ADDRESS_SELECTION = ADDRESS_SELECTION "aem110801&lt;/P&gt;&lt;P&gt;IMPORTING "aem110801&lt;/P&gt;&lt;P&gt;SADR = SADR "aem110801&lt;/P&gt;&lt;P&gt;EXCEPTIONS "aem110801&lt;/P&gt;&lt;P&gt;OTHERS = 1. "aem110801&lt;/P&gt;&lt;P&gt;Endif. "aem110801&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0 or "aem110801&lt;/P&gt;&lt;P&gt;t001w-adrnr is initial. "aem110801&lt;/P&gt;&lt;P&gt;SADR-NAME1 = T001W-NAME1.&lt;/P&gt;&lt;P&gt;SADR-NAME2 = T001W-NAME2.&lt;/P&gt;&lt;P&gt;SADR-STRAS = T001W-STRAS.&lt;/P&gt;&lt;P&gt;SADR-PFACH = T001W-PFACH.&lt;/P&gt;&lt;P&gt;SADR-PSTLZ = T001W-PSTLZ.&lt;/P&gt;&lt;P&gt;SADR-ORT01 = T001W-ORT01.&lt;/P&gt;&lt;P&gt;SADR-LAND1 = T001W-LAND1.&lt;/P&gt;&lt;P&gt;SADR-REGIO = T001W-REGIO.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;pur grps L18 L19 L20 get Mold Shop address using function "aem110801&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF EKKO-EKGRP = 'L18' "CETJF1 05/22/00&lt;/P&gt;&lt;P&gt;OR EKKO-EKGRP = 'L19' "CETJF1 05/22/00&lt;/P&gt;&lt;P&gt;OR EKKO-EKGRP = 'L20'. "CETJF1 05/22/00&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;**** start of change **** "aem110801&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;refresh: addr_srch, addr_grps, srch_found.&lt;/P&gt;&lt;P&gt;clear: addr_grps, addr_srch, srch_found.&lt;/P&gt;&lt;P&gt;move 'ME01' to addr_grps-addr_group.&lt;/P&gt;&lt;P&gt;append addr_grps.&lt;/P&gt;&lt;P&gt;move 'NEW MOLD SHOP' to addr_srch-sort1.&lt;/P&gt;&lt;P&gt;clear addr_srch-sort2.&lt;/P&gt;&lt;P&gt;append addr_srch.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ADDR_SEARCH'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;SEARCH_FOR = addr_srch&lt;/P&gt;&lt;P&gt;UP_TO_ROWS = 1&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;ADDRESSES_FOUND_COUNT = addr_cnt&lt;/P&gt;&lt;P&gt;RETURNCODE = returncode&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;ADDRESS_GROUPS = addr_grps&lt;/P&gt;&lt;P&gt;SEARCH_RESULT = srch_found&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;clear sadr.&lt;/P&gt;&lt;P&gt;read table srch_found index 1.&lt;/P&gt;&lt;P&gt;sadr-ANRED = srch_found-TITLE.&lt;/P&gt;&lt;P&gt;sadr-name1 = srch_found-name1.&lt;/P&gt;&lt;P&gt;sadr-name2 = srch_found-name2.&lt;/P&gt;&lt;P&gt;sadr-STRAS = srch_found-STREET.&lt;/P&gt;&lt;P&gt;sadr-ORT01 = srch_found-CITY1.&lt;/P&gt;&lt;P&gt;sadr-PSTLZ = srch_found-POST_CODE1.&lt;/P&gt;&lt;P&gt;sadr-LAND1 = srch_found-COUNTRY.&lt;/P&gt;&lt;P&gt;sadr-REGIO = srch_found-REGION.&lt;/P&gt;&lt;P&gt;sadr-TELF1 = srch_found-TEL_NUMBER.&lt;/P&gt;&lt;P&gt;sadr-TELFX = srch_found-FAX_NUMBER.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endform&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 04:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405633#M195792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T04:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Standard script problem (medruck)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405634#M195793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;**** start of change **** "aem110801&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;refresh: addr_srch, addr_grps, srch_found.&lt;/P&gt;&lt;P&gt;clear: addr_grps, addr_srch, srch_found.&lt;/P&gt;&lt;P&gt;move 'ME01' to addr_grps-addr_group.&lt;/P&gt;&lt;P&gt;append addr_grps.&lt;/P&gt;&lt;P&gt;move 'NEW MOLD SHOP' to addr_srch-sort1.&lt;/P&gt;&lt;P&gt;clear addr_srch-sort2.&lt;/P&gt;&lt;P&gt;append addr_srch.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUST COMMENT  THIS  PART due  to this part in output u get MOLD SHOP ADDRESS&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>Thu, 22 Jun 2006 05:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405634#M195793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T05:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Standard script problem (medruck)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405635#M195794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kishan thnks for replying but i dont need mold shop adress i need ship to adress instead of that iam geting mold shop adress and idint getwhat the function addr_search is returning value .&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 05:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-script-problem-medruck/m-p/1405635#M195794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T05:19:21Z</dc:date>
    </item>
  </channel>
</rss>

