<?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: Sy-subrc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591439#M593249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the field in screen painter has the conversion exit specified as ALPHA and it has a length of 10.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So go to screen painter, and double click on your field,  in the dialog box, click on the tabs at the bottom to find the Conversion Routine field, enter ALPHA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 15:34:20 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-30T15:34:20Z</dc:date>
    <item>
      <title>Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591437#M593247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;           I have written a module program which have 2 screens one accept purchase order num and the other displays the pruchase order details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is after i hav written my first select statement im going for sy-subrc check but though i m providing valid purchase order number why still its throwing error that no data found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;frnds i m below providing my code.&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt; REPORT  Z_50835_TRANS_ASSIGN56 MESSAGE-ID Zmsg12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; tables : ekko,ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ok_code type sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok like ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of git_ekko occurs 0,&lt;/P&gt;&lt;P&gt;       ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;       bukrs like ekko-bukrs,&lt;/P&gt;&lt;P&gt;       bedat like ekko-bedat,&lt;/P&gt;&lt;P&gt;       end of git_ekko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       begin of git_ekpo occurs 0,&lt;/P&gt;&lt;P&gt;       ebeln like ekpo-ebeln,&lt;/P&gt;&lt;P&gt;       ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;       statu like ekpo-statu,&lt;/P&gt;&lt;P&gt;       aedat like ekpo-aedat,&lt;/P&gt;&lt;P&gt;       end of git_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_ebeln like ekko-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 0499.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS TABLE1 TYPE TABLEVIEW USING SCREEN '0502'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0499 output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0499 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK_CODE = SY-UCOMM.&lt;/P&gt;&lt;P&gt;SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'GET'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA_EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA_EKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 502.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0499  INPUT&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;Form get_data_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*clear git_ekko[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ebeln&lt;/P&gt;&lt;P&gt;       bukrs&lt;/P&gt;&lt;P&gt;       bedat&lt;/P&gt;&lt;P&gt;        into corresponding fields of table GIT_EKKO from ekko where ebeln = v_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt; MESSAGE e000(zmsg12) with 'no ekko data found'.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;append GIT_EKKO.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear git_ekpo[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not git_ekko[] is initial.&lt;/P&gt;&lt;P&gt;sort git_ekko by ebeln.&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;       ebeln&lt;/P&gt;&lt;P&gt;       ebelp&lt;/P&gt;&lt;P&gt;       statu&lt;/P&gt;&lt;P&gt;       aedat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      from ekpo  into  table ( git_ekpo-ebeln, git_ekpo-ebelp, git_ekpo-statu, git_ekpo-aedat )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       from ekpo into corresponding fields of table git_ekpo&lt;/P&gt;&lt;P&gt;       for all entries in git_ekko&lt;/P&gt;&lt;P&gt;       where ebeln = git_ekko-ebeln.&lt;/P&gt;&lt;P&gt;       if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;       message e000 with 'no data found'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endform.&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sanjay jaju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sanjay jaju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sanjay jaju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591437#M593247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591438#M593248</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;  This could be due to the format of v_ebeln.&lt;/P&gt;&lt;P&gt;  Convert the V_ebeln into internal format and then check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Conversion_exit_alpha_input.&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;       input = v_ebeln&lt;/P&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;P&gt;      output = v_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;select ebeln bukrs bedat into corresponding fields of table GIT_EKKO from ekko where ebeln = v_ebeln. if sy-subrc NE 0. MESSAGE  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591438#M593248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591439#M593249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the field in screen painter has the conversion exit specified as ALPHA and it has a length of 10.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So go to screen painter, and double click on your field,  in the dialog box, click on the tabs at the bottom to find the Conversion Routine field, enter ALPHA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591439#M593249</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-30T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591440#M593250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you check with your sy-subrc value,check in the debug mode that what value sy-subrc is retruning at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591440#M593250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591441#M593251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No frnd,&lt;/P&gt;&lt;P&gt;            still its saying that no data found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   can u help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591441#M593251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591442#M593252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its always returning 4 why i dont know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 15:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591442#M593252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591443#M593253</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;&lt;/P&gt;&lt;P&gt;1)  Check the table if you have those entries&lt;/P&gt;&lt;P&gt;2) check the value of v_ebeln during runtime.&lt;/P&gt;&lt;P&gt;3) Use the conversion exit function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are the only possibilites that could happen for not finding the vaalues..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try using select * and see if it works insted of some fields (Just for test purpose)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591443#M593253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T16:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591444#M593254</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;         I have done small change in the code but still i m getting three item details related to one header details i.e purchase order number but with that i m still getting a dummy data i.e one more purchase order details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e suppose i hav entered 3000 , so i m getting 3 item with that i m gettig one more item  i.e 6000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my changed code for which i m getting problem is&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt; REPORT  Z_50835_TRANS_ASSIGN56 MESSAGE-ID Zmsg12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; tables : ekko,ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ok_code type sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok like ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of git_ekko occurs 0,&lt;/P&gt;&lt;P&gt;       ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;       bukrs like ekko-bukrs,&lt;/P&gt;&lt;P&gt;       bedat like ekko-bedat,&lt;/P&gt;&lt;P&gt;       end of git_ekko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       begin of git_ekpo occurs 0,&lt;/P&gt;&lt;P&gt;       ebeln like ekpo-ebeln,&lt;/P&gt;&lt;P&gt;       ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;       statu like ekpo-statu,&lt;/P&gt;&lt;P&gt;       aedat like ekpo-aedat,&lt;/P&gt;&lt;P&gt;       end of git_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_ebeln like ekko-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 0499.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS TABLE1 TYPE TABLEVIEW USING SCREEN '0502'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0499 output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0499 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK_CODE = SY-UCOMM.&lt;/P&gt;&lt;P&gt;SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'GET'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA_EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA_EKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 502.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0499  INPUT&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;Form get_data_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*clear git_ekko[].&lt;/P&gt;&lt;P&gt;*Conversion_exit_alpha_input.&lt;/P&gt;&lt;P&gt;*exporting&lt;/P&gt;&lt;P&gt;*input = v_vbeln&lt;/P&gt;&lt;P&gt;*importing&lt;/P&gt;&lt;P&gt;*output = v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select ebeln from ekko into v_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INPUT         = v_ebeln&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT        = v_ebeln.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select ebeln&lt;/P&gt;&lt;P&gt;       bukrs&lt;/P&gt;&lt;P&gt;       bedat&lt;/P&gt;&lt;P&gt;        into corresponding fields of table GIT_EKKO from ekko where ebeln = v_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt; MESSAGE e000(zmsg12) with 'no ekko data found'.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;append GIT_EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear git_ekpo[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not git_ekko[] is initial.&lt;/P&gt;&lt;P&gt;sort git_ekko by ebeln.&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;       ebeln&lt;/P&gt;&lt;P&gt;       ebelp&lt;/P&gt;&lt;P&gt;       statu&lt;/P&gt;&lt;P&gt;       aedat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      from ekpo  into  table ( git_ekpo-ebeln, git_ekpo-ebelp, git_ekpo-statu, git_ekpo-aedat )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       from ekpo into corresponding fields of table git_ekpo&lt;/P&gt;&lt;P&gt;       for all entries in git_ekko&lt;/P&gt;&lt;P&gt;       where ebeln = git_ekko-ebeln.&lt;/P&gt;&lt;P&gt;       if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;       message e000 with 'no data found'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endform. &amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591444#M593254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T16:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591445#M593255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suggestion frnds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591445#M593255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sy-subrc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591446#M593256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Check the hilighted part&lt;/P&gt;&lt;P&gt;select ebeln&lt;/P&gt;&lt;P&gt;bukrs&lt;/P&gt;&lt;P&gt;bedat&lt;/P&gt;&lt;P&gt;into corresponding fields of table GIT_EKKO from ekko where ebeln = v_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e000(zmsg12) with 'no ekko data found'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;append GIT_EKKO.&amp;lt;/b&amp;gt;  " You dont need this remove and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-subrc/m-p/2591446#M593256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T16:46:54Z</dc:date>
    </item>
  </channel>
</rss>

