<?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: Field Checking while Pressing Save button in ME51N in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177407#M1372773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood ur meaning, in fact i already put the field as Mandatory.&lt;/P&gt;&lt;P&gt;But there is scenario where the user Enter T-code ME51N, and they nvr navigate the subscreen 0111, system will nvr prompt user to enter the mandatory field when they press Save button, and PR created successfully...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tat is my problem bro...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 08:06:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-01T08:06:59Z</dc:date>
    <item>
      <title>Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177403#M1372769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have successfully implemented Screen Exit for MEREQ001 and add new customer field in CI_EBANDB.&lt;/P&gt;&lt;P&gt;everything is working fine but i need a extra checking when user press the save button to save the PR in ME51N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ME51N should prompt user to enter a mandatory field added in CI_EBANDB without click on Screen 0111.&lt;/P&gt;&lt;P&gt;Is there any suitable Enchanment spot or user exit to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177403#M1372769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T06:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177404#M1372770</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;Try to use the exit EXIT_SAPLMEREQ_008 (belongs to enhancement MEREQ001you're using)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 07:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177404#M1372770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T07:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177405#M1372771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply&lt;/P&gt;&lt;P&gt;i added following codes to EXIT_SAPLMEREQ_008&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: wa_eban TYPE ueban.

LOOP AT im_eban_changes INTO wa_eban.
  IF wa_eban-zreason IS INITIAL.
    MESSAGE e000(0k) WITH 'Please Enter Request Reason'.
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it does prompt me for the field checking message, but it will nvr allow me to go to the screen to put in the value&lt;/P&gt;&lt;P&gt;is like a endless prompt message, what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 07:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177405#M1372771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177406#M1372772</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;  Well if the field is on the customer subscreen why dont you make that field mandatory so the user would not be able to navigate away from the screen unless the field is filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to check customer data you should be using EXIT_SAPLMEREQ_010- Check Customer's Own PReq Data (General)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 07:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177406#M1372772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T07:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177407#M1372773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood ur meaning, in fact i already put the field as Mandatory.&lt;/P&gt;&lt;P&gt;But there is scenario where the user Enter T-code ME51N, and they nvr navigate the subscreen 0111, system will nvr prompt user to enter the mandatory field when they press Save button, and PR created successfully...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tat is my problem bro...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 08:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177407#M1372773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T08:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177408#M1372774</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;Try to raise the exception FAILED, u can also try to use the exit 010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit 008 is triggered just before posting the document so perhaps it's too late to do the control, u can try to use the exit 010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 08:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177408#M1372774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T08:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177409#M1372775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u Pls Provide the code which you have implemented in the enhancement MEREQ001. That will  help me a lot. As i have the same requirement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 07:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177409#M1372775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-02T07:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Field Checking while Pressing Save button in ME51N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177410#M1372776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the badi ME_PROCESS_REQ_CUST.&lt;/P&gt;&lt;P&gt;In this badi u implement the badi and use the method check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u can say the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_item_list type mmpur_requisition_items,&lt;/P&gt;&lt;P&gt;        l_item type mmpur_requisition_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ls_header type mereq_header,&lt;/P&gt;&lt;P&gt;        l_item_akt type mereq_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   l_item_list = im_header-&amp;gt;get_items( ).&lt;/P&gt;&lt;P&gt;  loop at l_item_list into l_item.&lt;/P&gt;&lt;P&gt;    " Get Items &lt;/P&gt;&lt;P&gt;    l_item_akt = l_item-item-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;    if l_item_akt-zzusr01 is initial.&lt;/P&gt;&lt;P&gt;      message 'Please enter your enhanced field u can give here in your enhanced tab u can give ' type 'E'.&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;Note : Here zzusr01 is the filed wht u extended in the eban .&lt;/P&gt;&lt;P&gt;Then wht system will do when they save or check the  PR , One popup will come with the error  as u write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 08:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-checking-while-pressing-save-button-in-me51n/m-p/6177410#M1372776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-05T08:00:49Z</dc:date>
    </item>
  </channel>
</rss>

