<?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: Any wrong with my code? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236413#M1381460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the dump saying?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess if you get a short dump, there definitely is something wrong with your code, don't you think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Not a very meaning full Subject title (forum rules!!).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2009 06:23:27 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2009-10-15T06:23:27Z</dc:date>
    <item>
      <title>Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236412#M1381459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have following code in order to update customer field in EBAN, but it shows ABAP dump. Anything is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: it_extension TYPE STANDARD TABLE OF bapiparex.
DATA: wa_extension TYPE bapiparex.
DATA: wa_bapi_te_mereqitem TYPE bapi_te_mereqitem.
wa_bapi_te_mereqitem-preq_item = '00010'.
wa_bapi_te_mereqitem-zpernr = '12345678'.

MOVE:
wa_bapi_te_mereqitem-preq_item TO wa_extension-valuepart1+0(5),
wa_bapi_te_mereqitem-zpernr    TO wa_extension-valuepart1+5(8).

MOVE 'BAPI_TE_MEREQITEM ' TO wa_extension-structure.
APPEND wa_extension TO it_extension.
CALL FUNCTION 'BAPI_PR_CHANGE'
  EXPORTING
    prnumber                    = '0010012923'
 TABLES
   extensionin                 = it_extension      .
COMMIT WORK AND WAIT .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Oct 15, 2009 10:50 AM - added  tags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236412#M1381459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T06:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236413#M1381460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the dump saying?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess if you get a short dump, there definitely is something wrong with your code, don't you think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Not a very meaning full Subject title (forum rules!!).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236413#M1381460</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-10-15T06:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236414#M1381461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NoW, in another system, there is no abap dump, but the field is not updated in table EBAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236414#M1381461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T06:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236415#M1381462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this BAPI have a return table of type BAPIRET2? If so, after executing the BAPI retrieve the (error) message in this structure (table) and see if anything is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: You should never do COMMIT WORK AND WAIT, without evaluating the return code (return table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236415#M1381462</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-10-15T06:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236416#M1381463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             Kindely tell the error analysis in dump error .&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;Shrikant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236416#M1381463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T06:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236417#M1381464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please pass the parameter RETURN in tables and see what is it filled with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will let you know if some error has occureed or what.In case nothing happens please let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nabheet Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236417#M1381464</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2009-10-15T06:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236418#M1381465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its impossible to suggest a solution without dump details !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236418#M1381465</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-15T06:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236419#M1381466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the bapi field to which u r passing the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like 'prnumber'     in my sytem it is not 'prnumber' .....it is 'number' only.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have copied the code or bapi ...then please call the bapi again freshly in ur code and check.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because i copied ur code and it gave me dump....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i called bapi freshly asn i found this difference....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that may be the problem.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rahul Keshav on Oct 15, 2009 12:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236419#M1381466</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-10-15T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236420#M1381467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry my question is not ABAP dump now, maybe it's the system problem. In another system, there is no ABAP dump, but the field is not updated in the table EBAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236420#M1381467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236421#M1381468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the bapi...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 06:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236421#M1381468</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-10-15T06:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236422#M1381469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you have missed this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;also mark process extension as true in your BAPI import parameter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE abap_true TO   ls_processextension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:gc_structure      TYPE        te_struc VALUE 'ZBAPI_TE_CMS_EQUIPMENT'.&lt;/P&gt;&lt;P&gt;data:ls_exten_value    TYPE 	   zbapi_str_cms_equipment.&lt;/P&gt;&lt;P&gt;DATA:lt_extensionin   TYPE STANDARD TABLE OF bapiparex.&lt;/P&gt;&lt;P&gt;DATA:ls_extensionin LIKE LINE OF lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The custom structure consists of fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOV_GUID&lt;/P&gt;&lt;P&gt;ZZEQUIP_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case create a zstructure with fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prnumber &lt;/P&gt;&lt;P&gt;preq_item&lt;/P&gt;&lt;P&gt;zpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	move:&lt;/P&gt;&lt;P&gt; 	gc_structure TO ls_extensionin-structure,&lt;/P&gt;&lt;P&gt;                     ps_header-zzequip_status TO ls_exten_value-zzequip_status,&lt;/P&gt;&lt;P&gt;                      ls_exten_value  TO ls_extensionin-valuepart1.&lt;/P&gt;&lt;P&gt;  	APPEND ls_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE abap_true TO   ls_processextension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshu Thekkillam on Oct 15, 2009 12:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 07:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236422#M1381469</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-15T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236423#M1381470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no process extension parameter in BAPI_PR_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried CALL FUNCTION 'BAPI_TRANSACTION_COMMIT', but it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 07:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236423#M1381470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T07:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236424#M1381471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RUTURN saying the BAPI is called successfully, but the field is not updated, does anyone know how to use this BAPI_PR_CHANGE to update the customer field in EBAN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236424#M1381471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236425#M1381472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must also implement the Business Addin for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these links will help you a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="746889"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://help.sap.com/saphelp_nw04/Helpdata/EN/c3/4099ac8b8911d396b70004ac96334b/content.htm]&lt;/P&gt;&lt;P&gt;link:[http://help.sap.com/saphelp_46c/helpdata/en/c3/4099a68b8911d396b70004ac96334b/content.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 07:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236425#M1381472</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-15T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236426#M1381473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the following parameters also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRHEADERX &lt;STRONG&gt;( This is for header data if you want to change.)&lt;/STRONG&gt;&lt;STRONG&gt;BAPIMEREQHEADERX Change Parameter for Enjoy Purchase Requisition - Header&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PREQ_NO	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;PR_TYPE	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;CTRL_IND	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;GENERAL_RELEASE	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;CREATE_IND	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;ITEM_INTVL	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;LAST_ITEM	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;AUTO_SOURCE	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;MEMORY	BAPIUPDATE	CHAR	1	0	Updated information in related user data field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will set the parameter and update the header data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use PRITEMX parameter in tables to update the item level data&lt;/STRONG&gt; &lt;STRONG&gt;BAPIMEREQITEMX Change Parameter for Enjoy Purchase Requisition - Item Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Nabheet Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 07:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236426#M1381473</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2009-10-15T07:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236427#M1381474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this link too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="933058"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 08:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236427#M1381474</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-15T08:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Any wrong with my code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236428#M1381475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use FM 'ME_UPDATE_REQUISITION'  to update the field in EBAN, why it doesn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

data: xeban LIKE TABLE OF  ueban WITH HEADER LINE,
xebkn LIKE TABLE OF uebkn WITH HEADER LINE,
yeban LIKE TABLE OF  ueban WITH HEADER LINE,
yebkn LIKE TABLE OF  uebkn WITH HEADER LINE.

PARAMETERS p_prno TYPE eban-banfn.
SELECT * INTO CORRESPONDING FIELDS OF TABLE xeban
FROM eban WHERE banfn = p_prno.

SELECT * INTO CORRESPONDING FIELDS OF TABLE xebkn
FROM ebkn WHERE banfn = p_prno.

yeban = xeban.
yebkn = xebkn.

LOOP AT xeban .
 xeban-kz = 'U'.
  xeban-zpernr = '99990712'.
  MODIFY xeban.
ENDLOOP.

CALL FUNCTION 'ME_UPDATE_REQUISITION'
  TABLES
    xeban = xeban
    xebkn = xebkn
    yeban = yeban
    yebkn = yebkn.

CALL FUNCTION 'ME_UPDATE_REQUISITION_CHNGDOC'
  TABLES
    xeban = xeban
    xebkn = xebkn
    yeban = yeban
    yebkn = yebkn.


CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: yu huali on Oct 16, 2009 7:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 08:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-wrong-with-my-code/m-p/6236428#M1381475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T08:46:45Z</dc:date>
    </item>
  </channel>
</rss>

