<?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: BAPI and report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794148#M1679438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 09:08:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-11T09:08:59Z</dc:date>
    <item>
      <title>BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794147#M1679437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have selected the data in z report , then now I have passed this data in to BAPI , through exporting parameter .&lt;/P&gt;&lt;P&gt;Now I am executing this BAPI but I am no able to see the data at run time .Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Rihan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794147#M1679437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-11T09:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794148#M1679438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794148#M1679438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-11T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794149#M1679439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rihan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What BAPI you are using . Display your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sudhir S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794149#M1679439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-11T09:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794150#M1679440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;but I am no able to see the data at run time&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can you explain (Do you want to trace the execution, to see the result ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794150#M1679440</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-11T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794151#M1679441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Exporting" from which point of view, report or BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide more technical information in your initial posts to reduce the number of return questions, saving everybody's time in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794151#M1679441</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-06-11T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794152#M1679442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mr reports program is , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : KNA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM KNA1 INTO CORRESPONDING FIELDS OF ITAB1 WHERE KUNNR EQ '0000010063'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ITAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I have execute the BAPI : ZCUSTOMER_TEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared ITAB in table option , now I have execute the BAPI , &lt;/P&gt;&lt;P&gt;so at run time i did not find the value in ITAB .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 10:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794152#M1679442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-11T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794153#M1679443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;You are missing the word "TABLE" between "OF" and "ITAB1" in your SELECT statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This does not make sense, SELECT SINGLE into the work area of an internal table, then passing this as a table parameter. Rather use a work area and pass it via EXPORTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that internal tables with header lines and TABLES parameter for function module calls are obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. question status removed due to basic nature&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 11:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794153#M1679443</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-06-11T11:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794154#M1679444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hye Mr Thomas , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per you suggested&amp;nbsp; , I have done that, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB1 OCCURS 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KUNNR LIKE KNA1-KUNNR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME1 LIKE KNA1-NAME1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; * FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE ITAB1 WHERE KUNNR EQ '0000010063'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KUNNR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ITAB1-KUNNR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ITAB1-NAME1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I am executing the BAPI ZCUSTOMER_TEST, but i am not able to find the &lt;/P&gt;&lt;P&gt;data in the parameter KUNNR AND NAME1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I see the data in kuunr and name1 when I execute my BAPI and the &lt;/P&gt;&lt;P&gt;data in kunnr and name is passed by report program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;Rihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 11:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794154#M1679444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-11T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794155#M1679445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please solve my query , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently involved in project which involves integration of JAVA portal intergration with SAP. So Any interaction made on portal can be updated to SAP databse with use of BAPI only as the ERP connector is the middle ware. So can any one throw light on whether BAPI can be used to fetch data generated from REPORTS on to the portal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like add one more constrain on this requirment i.e. --&amp;gt; on the portal side we have some input paramter i.e in form of date, customer no or Sales Order and on the basis of these parameter, can reports be fetched from SAP and displyed on portal ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far i know reports are nothing but customs or Standard programs. So can BAPI execute these program and display the value on portal ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;rihan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 06:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794155#M1679445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T06:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794156#M1679446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- First time you put the data in the header of the internal table, and pass the internal table (empty) to the FM&lt;/P&gt;&lt;P&gt;- Second time you put the data in the internal table and pass the header data (initial) to the FM&lt;/P&gt;&lt;P&gt;- Now read &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPLOOP_AT_ITAB.htm"&gt;LOOP AT statement&lt;/A&gt; documentation and either use it before calling FM with values for on record, or in FM if called with an internal table type parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 06:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794156#M1679446</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-12T06:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794157#M1679447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mr Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide some code reference for that, how can I declare the &lt;/P&gt;&lt;P&gt;FM and how the fields are to be passed to the FM and vice versa&lt;/P&gt;&lt;P&gt;Please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 06:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794157#M1679447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T06:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794158#M1679448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either&lt;/P&gt;&lt;P&gt;- declare FM parameter with an import internal table type parameter, call it with the internal tabkle filled in caller program and process every record in a loop in the FM&lt;/P&gt;&lt;P&gt;- declare FM parameter with some fields or a structure and call the FM for each record in a loop of the caller program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 06:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794158#M1679448</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-12T06:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794159#M1679449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raymond, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it as you said, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all I have selected the data from table and put it in to internal table &lt;/P&gt;&lt;P&gt;in report : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM KNA1&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; INTO CORRESPONDING FIELDS OF TABLE IKNA1&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; WHERE KUNNR&amp;nbsp;&amp;nbsp; EQ&amp;nbsp; '0000010063' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I have called a FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt;&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; CCC_CODE = IKNA1-KUNNR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CCC_NAME = IKNA1-NAME1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp; = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the field CCC_CODE, and CCC_NAME in import parameter of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here I have passed the data from internal table to FM, &lt;/P&gt;&lt;P&gt;now when i execute the FM through se37 , so I should get the &lt;/P&gt;&lt;P&gt;data on execution , But I am not getting the data , &lt;/P&gt;&lt;P&gt;So where I am wrong and this is the requirement, &lt;/P&gt;&lt;P&gt;Hope you have got me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 07:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794159#M1679449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794160#M1679450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- You forgot the LOOP/ENDLOOP wrapping the FM call.&lt;/P&gt;&lt;P&gt;- Why do you use an internal table if you want only one record ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 07:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794160#M1679450</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-12T07:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794161#M1679451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used loop/end loop statement , but still when I am executing the FM &lt;/P&gt;&lt;P&gt;then I am not able to see the data in run time of FM, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide me some code , Please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 08:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794161#M1679451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794162#M1679452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rihan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the first snippet of code you posted, firstly it looks odd that you are selecting a single record into a table; why not select straight into a structure. Secondly, when you parse a table with a header line you need to ensure you refer to the table of data rather than the header e.g. ITAB1[]. Parsing ITAB1 will send a structure containing the current record which is probably what you want to do but you are passing it to a table rather than a structure. what you want is either:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/SPAN&gt; EXPORTING&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITAB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = itab1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the second code snippet you posted where you are passing the individual fields there was the comment about not having the LOOP / ENDLOOP. I trust you have specified the table IKNA1 with a header line... if so the loop/endloop and function call should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IKNA1.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CCC_CODE = IKNA1-KUNNR&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CCC_NAME = IKNA1-NAME1&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp; = 1.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, have you tried running the report in debug mode and checked the values in the tables and other variables as the code progresses? When you get to the function call you should see the values you want in the parameters being passed to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 08:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794162#M1679452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794163#M1679453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To close the thread&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;TYPES : BEGIN OF lcl_kna1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kunnr TYPE kna1-kunnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name1 TYPE kna1-name1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF lcl_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_kna1 TYPE TABLE OF lcl_kna1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_kna1 LIKE LINE OF gt_kna1. " or TYOE lcl_kna1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS so_kunnr FOR ls_kna1-kunnr DEFAULT '0000010063'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT&amp;nbsp; * INTO CORRESPONDING FIELDS OF TABLE gt_kna1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM kna1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE kunnr IN so_kunnr.&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE e196(63).&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT gt_kna1 INTO ls_kna1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt;&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; kunnr = ls_kna1-kunnr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name1 = ls_kna1-name1.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But take a look at &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-10457"&gt;Introduction to ABAP Development &lt;/A&gt;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 08:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794163#M1679453</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-12T08:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794164#M1679454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mr John , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; * FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE ITAB1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt; ITAB = ITAB1[]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I have tried this also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZCUSTOMER_TEST'&lt;/P&gt;&lt;P&gt;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt; ITAB = ITAB1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM (ZCUSTOMER_TEST) i have declared &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB in table parameter like, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB LIKE KNA1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND in second case I have declared itab in import parameter like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB LIKE KNA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the data in debuging mode in report that the &lt;/P&gt;&lt;P&gt;data is coming to the internal table itab1 , but &lt;/P&gt;&lt;P&gt;when I am executing my FM through se37 then the data is not coming &lt;/P&gt;&lt;P&gt;in the field itab .This is my query &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where I am wrong in the code, I have checked everything Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rihan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 09:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794164#M1679454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T09:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794165#M1679455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raymond, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for providing me the code , i have run this &lt;/P&gt;&lt;P&gt;code and the data is coming ls_kna1 in this internal table in debugging &lt;/P&gt;&lt;P&gt;mode , but dear when I am executing this FM( ZCUSTOMER_TEST) through&lt;/P&gt;&lt;P&gt;se37 then data is not showing in the fields KUNNR and NAME1 &lt;/P&gt;&lt;P&gt;that is my question ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more clearance I have declared the ZCUSTOMER_TEST through se37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In importing parameter , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KUNNR LIKE KNA1-KUNNR&amp;nbsp; and tick on pass value.&lt;/P&gt;&lt;P&gt;NAME1 LIKE KNA1-NAME1 and tick on pass value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am executing this by F8 then data is not coming in the fields&lt;/P&gt;&lt;P&gt;KUNNR AND NAME1 which data you have passed through &lt;STRONG&gt;ls_kna1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i&lt;/STRONG&gt;nternal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where I am wrong and how can see the values in the fields of FM (ZCUSTOMER_TEST)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 09:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-and-report/m-p/8794165#M1679455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-12T09:37:20Z</dc:date>
    </item>
  </channel>
</rss>

