<?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 Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685369#M1450226</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;Use Modify statement, it acts both like; update if the entry already exists comparing on the key fields. Append if entry is not exists in the data dictonary;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; modify &amp;lt;dtab&amp;gt; from table &amp;lt;itab&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Mar 2010 04:35:34 GMT</pubDate>
    <dc:creator>praveen_hannu</dc:creator>
    <dc:date>2010-03-22T04:35:34Z</dc:date>
    <item>
      <title>Report Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685366#M1450223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP and i need some help with a report i have to create if possible. I have to obtain Printing documents (OPBEL) from table ERDK and client partner, i have to save this documents in a dictionary table with the next date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Printing document: ERDK-OPBEL&lt;/P&gt;&lt;P&gt;number of printing copies: Check if there are records in the table for that printing document, if there are i have to obtain the highest number and add 1 to it, if there are none i have to assign the value 1.&lt;/P&gt;&lt;P&gt;Receipt class: i dont have to inform it&lt;/P&gt;&lt;P&gt;Interlocutor: ERDK-PARTNER&lt;/P&gt;&lt;P&gt;Creation Date. sy-datum&lt;/P&gt;&lt;P&gt;Re printing date: i dont ahve to inform it&lt;/P&gt;&lt;P&gt;User: sy-uname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about the wierd translations but the tables are edited in spanish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help doing this, cause i dont know how to update the dictionary table with the information i obtain, i cant use work areas , instead i should use field symbols, and i shouldnt use "into corresponding fields of" but i did at some point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to post the code i have some far, any code help i can get would be amazing in order to finish the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 22:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685366#M1450223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T22:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Report Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685367#M1450224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to post the code, here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. There was no need to include all the comments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F_UPDATE TABLE USING  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I AM LOST HERE UPDATING THE TABLE, CAUSE I HAVE TO CHECK IF THE OPBEL I AM ADDING IS IN THE TABLE ALREADY IN ORDER TO UPDATE THE NUMBER OF COPIES, BUT IF THERE IS NO RECORD OF THAT OPBEL I AHVE TO APPEND IT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And please do not use all caps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Mar 21, 2010 6:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 22:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685367#M1450224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T22:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Report Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685368#M1450225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i will repost the code as i posted comments within it.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: ERDK,
        ZBIREIMP_FACT.

SELECT-OPTIONS: s_opbel  FOR ERDK-OPBEL,   "Documento de impresión
                s_partne FOR ERDK-PARTNER. "Interlocutor comercial

DATA: i_zbireimp_fact LIKE STANDARD TABLE OF ZBIREIMP_FACT.

FIELD-SYMBOLS: &amp;lt;fs_zbireimp&amp;gt; TYPE ZBIREIMP_FACT.


START-OF-SELECTION.

  PERFORM F_CLEAR_TABLES.

  PERFORM F_GET_DATA.

END-OF-SELECTION.

FORM F_CLEAR_TABLES.

  REFRESH: I_ZBIREIMP_FACT.

ENDFORM.                    " F_CLEAR_TABLES


FORM F_GET_DATA.

  SELECT  OPBEL
          PARTNER
    FROM  ERDK
    INTO CORRESPONDING FIELDS OF TABLE i_zbireimp_fact
    WHERE OPBEL   EQ s_opbel
      AND PARTNER EQ s_partne.

  IF SY-SUBRC EQ 0.

    PERFORM f_actualizar_tabla.
    
  ELSE.

  ENDIF.

ENDFORM.


FORM F_ACTUALIZAR_TABLA

THIS is where i need more help :P

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please use code tags to format your code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Mar 21, 2010 6:52 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 22:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685368#M1450225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T22:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Report Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685369#M1450226</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;Use Modify statement, it acts both like; update if the entry already exists comparing on the key fields. Append if entry is not exists in the data dictonary;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; modify &amp;lt;dtab&amp;gt; from table &amp;lt;itab&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 04:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/6685369#M1450226</guid>
      <dc:creator>praveen_hannu</dc:creator>
      <dc:date>2010-03-22T04:35:34Z</dc:date>
    </item>
  </channel>
</rss>

