<?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: Build Report to trigger data Dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/build-report-to-trigger-data-dynamically/m-p/11015236#M1897545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is indeed a good option, but I reckon it's not very flexible ie you might have to enhance your table if you need to add another field not yet used for any PurchOrg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way you structure your table could be something like this (all fields are key):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PurchaseOrg&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Table&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EBELN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKORG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;BBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKORG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;BBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKGRP&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on. In this case you can keep it dynamically if you add a new field or even a new table. Of course there are other (maybe better) ways to do it, ie using BRF+ to determine which fields for which EKORG etc, but I just want to give you something simple and a bit more flexible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 23:49:50 GMT</pubDate>
    <dc:creator>custodio_deoliveira</dc:creator>
    <dc:date>2015-04-08T23:49:50Z</dc:date>
    <item>
      <title>Build Report to trigger data Dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/build-report-to-trigger-data-dynamically/m-p/11015235#M1897544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to build a global report which sends files (Data) dynamically based on the input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Business Scenario &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example Based on the Purchasing Org entered on my selection screen, I need to send the data (different files) one for each as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/680526" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I will have radio buttons each for Header, item, Accounting, Classification&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to build a global program which should dynamically read the total number of fields based on Purchase org enter and create a dynamic structure and create a dynamic file for the radio button selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;For example&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Purchase Org OKMN should send a file with 14 fields when PO Header is selected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MNBV should send a file with 23 fields for PO header etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Technical Solution&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I have started developing the report, and unable to proceed further as how to fetch these dynamic field information based on my Purchase ORG entered on my selection screen..&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Should I create a table with all the fields for PO header and maintain entries in that custom table with Purchase as key field and all the fields marked as 'X' are required in the final output..&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/680527" width="450" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;or is there any other solution&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Can any one let me know how can I proceed further...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Aditi..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 22:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/build-report-to-trigger-data-dynamically/m-p/11015235#M1897544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-08T22:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build Report to trigger data Dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/build-report-to-trigger-data-dynamically/m-p/11015236#M1897545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is indeed a good option, but I reckon it's not very flexible ie you might have to enhance your table if you need to add another field not yet used for any PurchOrg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way you structure your table could be something like this (all fields are key):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PurchaseOrg&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Table&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EBELN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKORG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;BBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKORG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;BBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKKO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EKGRP&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on. In this case you can keep it dynamically if you add a new field or even a new table. Of course there are other (maybe better) ways to do it, ie using BRF+ to determine which fields for which EKORG etc, but I just want to give you something simple and a bit more flexible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 23:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/build-report-to-trigger-data-dynamically/m-p/11015236#M1897545</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2015-04-08T23:49:50Z</dc:date>
    </item>
  </channel>
</rss>

