<?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: Report Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128071#M1188916</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;There is lot of help available on the syntax of these statements and you can obtain codes by searching for DEMO* in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this link for [keywords|http://help.sap.com/abapdocu/en/ABENABAP_STATEMENTS_OVERVIEW.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &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;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2009 06:17:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-30T06:17:18Z</dc:date>
    <item>
      <title>Report Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128068#M1188913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abap Gurus,&lt;/P&gt;&lt;P&gt;I am very new to ABAP.This is my first report program.I am giving the details.Please help me in coding it keeping in mind the best possible coding standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select VBELN KUNNR VKORG from LIKP based on selection criteria.&lt;/P&gt;&lt;P&gt;Select MATNR ARKTX VTWEG MATKL from LIPS for all entries selected above.&lt;/P&gt;&lt;P&gt;Select EAN11 (UPC code) from MEAN where HPEAN = u2018Xu2019 and EANTP = u2018UCu2019 or u2018IEu2019 and matnr = LIPS MATNR.(added by Asish dash)&lt;/P&gt;&lt;P&gt;Call FM FRE_ART_SITE_SALES_PRICE_READ with below parameters to get the retail price for the article/site combination.&lt;/P&gt;&lt;P&gt;Ip_matnr = material number(matnr).&lt;/P&gt;&lt;P&gt;Ip_werks = site name(werks).&lt;/P&gt;&lt;P&gt;Ip_date_from = current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select additional text (makt-maktx) for all materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the function module MERCHANDISE_GROUP_HIER_ART_SEL and the merchandise category, the sub dept (MATKL+0(2)) is determined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table WTADDI for all the additional articles (WTADDI-ADDIMAT) for the material sales organisation and distribution channel combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the colour and size characteristic for the article/accessories. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Note: To support the cut over/new article number transition process, the legacy article number will be printed on the sku tag. This will be stored in SAP as a UPC code with a category (EANTP) u2013 ZS (for sunglass hut). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For above note select (EAN11) UPS from MEAN table where EANTP = u201CZSu201D for given material. If select is successful replace the material number with this (MEAN-EAN11) UPC code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If MARC-MMSTA = u2018Mu2019 (markdown) for the material the retrieve retail price on or before that date. Call FRE_ART_SITE_SALES_PRICE_READ for getting the price on or before that date&lt;/P&gt;&lt;P&gt;(Marked down prices are maintained as retail price changes). The condition for retail prices is VKP0. This will be used on the tag as u201CWAS $XXX.XXu201D as shown below and the current retail will be entered as u201CNOW $XXX.XXu201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have format the data in the smartform based on the article number or the additional article. Layouts for both the article and additional article are given below. If the article is an additional article we have to print additional articles as accessories.  Fetching data for accessories will be same as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every site leading and lagging tags are to be printed each for article and accessories. Samples of both are given in the attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow will be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at all the article&lt;/P&gt;&lt;P&gt;  Print SKU tags for the material&lt;/P&gt;&lt;P&gt;If article is markdown&lt;/P&gt;&lt;P&gt;       Print markdown tag for the article    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If material has additional article (entries in WTADDI) for the article.&lt;/P&gt;&lt;P&gt;Print tags accessories tag for all the additional articles&lt;/P&gt;&lt;P&gt;If additional article is markdown&lt;/P&gt;&lt;P&gt;       Print markdown accessories tags for additional article      .&lt;/P&gt;&lt;P&gt;End.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jan 30, 2009 3:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 05:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128068#M1188913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T05:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Report Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128069#M1188914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devashis  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do by urself, you must be not aware of Rules of engagement with SDN.&lt;/P&gt;&lt;P&gt;So read those first and then post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you you face any difficulty then you can post and i am sure you will get the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REPORTED TO MODERATOR&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 05:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128069#M1188914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T05:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Report Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128070#M1188915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devashis,&lt;/P&gt;&lt;P&gt;I understand that you are new to abap, but posting the whole requirement is against &lt;/P&gt;&lt;P&gt;rules of SCN. Just try to do yourself, then when you face problem try search in SCN.&lt;/P&gt;&lt;P&gt;Even then if you don't get the answer ask in SCN for any logic, but not for whole code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 05:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128070#M1188915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Report Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128071#M1188916</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;There is lot of help available on the syntax of these statements and you can obtain codes by searching for DEMO* in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this link for [keywords|http://help.sap.com/abapdocu/en/ABENABAP_STATEMENTS_OVERVIEW.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &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;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 06:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-program/m-p/5128071#M1188916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T06:17:18Z</dc:date>
    </item>
  </channel>
</rss>

