<?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: Need basic help. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124551#M109925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If UR using CAll transaction then U need to pass &lt;/P&gt;&lt;P&gt;a structure to capture the messages of type BDCMSGCOLL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If U get an error get that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If UR using session method it will be automatically &lt;/P&gt;&lt;P&gt;handled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2006 17:25:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-23T17:25:37Z</dc:date>
    <item>
      <title>Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124550#M109924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;      This is Ram a newly joined forum recently and need some basic help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1) How to handle the errors in the BDC programming.&lt;/P&gt;&lt;P&gt;      For example : One of the fields in between of the flat file(sourse data file) has incorrect format. Where do we handle them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2) In SAPScripts what is the difference between the window and page-window. And i never understand what is the difference between &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: Address&lt;/P&gt;&lt;P&gt;/: Title &amp;amp;Title&amp;amp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;/: EndAddress&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: R1  (any test field)&lt;/P&gt;&lt;P&gt;&amp;amp;kna1-kunnr&amp;amp;&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 in Advance.&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124550#M109924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124551#M109925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If UR using CAll transaction then U need to pass &lt;/P&gt;&lt;P&gt;a structure to capture the messages of type BDCMSGCOLL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If U get an error get that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If UR using session method it will be automatically &lt;/P&gt;&lt;P&gt;handled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124551#M109925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124552#M109926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was a quick response, Thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please give me a sample code for doing that so that i can do some RnD on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124552#M109926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124553#M109927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ram!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) IN sap scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;window is the place where you create all the windows for example header address logo main footer and lots more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you want header address logo in the first page and the main and footer in the second page. there comes the use of page windows.&lt;/P&gt;&lt;P&gt;page windows is the place where you will include the windows in the Page i.e for first page what are all the windows needed then for second page what are all the windows needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is the address block where you will mention the address like number,city,location etc. it is predefiend by SAP just you have to pass the variable.&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;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Harikishore Sreenivasulu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124553#M109927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124554#M109928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in BDC there are two methods Session and cAll transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for session method sap will automatically handle the error by displaying at the end of the BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for call transaction error handling has to be done for ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: T100.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Batch-input data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF G_BDCDATA OCCURS 100.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BDCDATA.&lt;/P&gt;&lt;P&gt;DATA: END OF G_BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: G_MESSAGE(200). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM FILL_BDCDATA.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'FI01'  USING G_BDCDATA  MODE 'N'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;of course it is nicer with a message itab, but this example&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;should also demostrate the use of system variables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT SINGLE * FROM T100 WHERE&lt;/P&gt;&lt;P&gt;                SPRSL = 'E'&lt;/P&gt;&lt;P&gt;            AND ARBGB = SY-MSGID&lt;/P&gt;&lt;P&gt;            AND MSGNR = SY-MSGNO.&lt;/P&gt;&lt;P&gt;G_MESSAGE = T100-TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM REPLACE_PARAMETERS  USING     SY-MSGV1&lt;/P&gt;&lt;P&gt;                                      SY-MSGV2&lt;/P&gt;&lt;P&gt;                                      SY-MSGV3&lt;/P&gt;&lt;P&gt;                                      SY-MSGV4&lt;/P&gt;&lt;P&gt;                            CHANGING  G_MESSAGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'System variables:'.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgty:', SY-MSGTY.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgid:', SY-MSGID.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgno:', SY-MSGNO.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgv1:', SY-MSGV1.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgv2:', SY-MSGV2.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgv3:', SY-MSGV3.&lt;/P&gt;&lt;P&gt;WRITE: / '        Sy-msgv4:', SY-MSGV4.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE: / 'The transaction was called with a wrong country code.'.&lt;/P&gt;&lt;P&gt;WRITE: / 'The error message should be either that or that you have'.&lt;/P&gt;&lt;P&gt;WRITE: / '  no authorisation to execute the transaction'.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE: / 'Message:'.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE: / SY-MSGTY, G_MESSAGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM REPLACE_PARAMETERS  USING    P_PAR_1&lt;/P&gt;&lt;P&gt;                                  P_PAR_2&lt;/P&gt;&lt;P&gt;                                  P_PAR_3&lt;/P&gt;&lt;P&gt;                                  P_PAR_4&lt;/P&gt;&lt;P&gt;                         CHANGING P_MESSAGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;erst mal pruefen, ob numerierte Parameter verwendet wurden&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    REPLACE '&amp;amp;1' WITH P_PAR_1 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    REPLACE '&amp;amp;2' WITH P_PAR_2 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    REPLACE '&amp;amp;3' WITH P_PAR_3 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    REPLACE '&amp;amp;4' WITH P_PAR_4 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;falls keine numerierten Parameter vorh., ersetzen wie gehabt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REPLACE '&amp;amp;' WITH P_PAR_1 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;  CONDENSE P_MESSAGE.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    REPLACE '&amp;amp;' WITH P_PAR_2 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;    CONDENSE P_MESSAGE.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;      REPLACE '&amp;amp;' WITH P_PAR_3 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;      CONDENSE P_MESSAGE.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;        REPLACE '&amp;amp;' WITH P_PAR_4 INTO P_MESSAGE.&lt;/P&gt;&lt;P&gt;        CONDENSE P_MESSAGE.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                               "replace_parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124554#M109928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need basic help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124555#M109929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Hari and Srinivas for your help.&lt;/P&gt;&lt;P&gt;Now I need to do some RnD on these tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave you some reward points to both.&lt;/P&gt;&lt;P&gt;Will ping you tomorror with new questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-basic-help/m-p/1124555#M109929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:57:38Z</dc:date>
    </item>
  </channel>
</rss>

