<?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: EXIT_SAPLV56B_001 Function exit implementation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232217#M1524985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give any sample code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because&lt;/P&gt;&lt;P&gt;when i am trying the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF C_SCREEN-NAME = 'VTTK-TDLNR'.
  E_SCREEN_MODIFIED = 'X'.
C_SCREEN-REQUIRED = '1'.
MODIFY SCREEN.
C_SCREEN = SCREEN.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the exit is not triggered (that vttk-tdlnr is not getting obligatory)&lt;/P&gt;&lt;P&gt;so can you please suggest me ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;kool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2011 07:05:44 GMT</pubDate>
    <dc:creator>koolspy_ultimate</dc:creator>
    <dc:date>2011-07-07T07:05:44Z</dc:date>
    <item>
      <title>EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232209#M1524977</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 want to mak mandatory fields in the VT01n and VT02n. I found the function exit EXIT_SAPLV56B_001 and i am not able to implement this exit. if ou have any sample code to make mandatory fields in VT01n and VT02n,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 07:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232209#M1524977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232210#M1524978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break point inside the function module.This FM is called up in the PBO for each single screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So check the contents of C_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example C_SCREEN-name = 'Field name'(here you must find out which field you have to make mandatory, go to screen lay out , you can find the field name.&lt;/P&gt;&lt;P&gt;so if c_scrren-name  = 'FIELD name'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_screen-input = 0 or 1 this is the way to do it.#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the documentation of this function module below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If, for example, the input readiness of a field has been removed, only the field "Input" in the transfer structure c_screen needs to be set to zero. The field name of the current field can be derived from the field "name" of the transfer structure c-screen. If the structure c_screen was changed, the parameter e_screen_modified must be changed to X (not equal " ").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;The options of the structure c_screen are activated using the value 1 and deactivated with the value 0, for example c_screen-input = 1. Important: if the structure c_screen has been change d, the parameter e_screen_modified must be set to X (not equal ' ').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Antony Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 09:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232210#M1524978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T09:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232211#M1524979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomos,&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 put break point (static, dynamic and system debugging and update debugging all) but it is not stopping to check.&lt;/P&gt;&lt;P&gt;I maintained following code in side.based on screen. please check the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SCREEN-NAME = 'VTTK-TDLNR' OR&lt;/P&gt;&lt;P&gt;     SCREEN-NAME = 'VTTK-ROUTE' OR&lt;/P&gt;&lt;P&gt;     SCREEN-NAME = 'VTTK-VSART' OR&lt;/P&gt;&lt;P&gt;     SCREEN-NAME = 'VTTK-DPTBZ' OR&lt;/P&gt;&lt;P&gt;     SCREEN-NAME = 'VTTK-DPTEN'.&lt;/P&gt;&lt;P&gt;    E_SCREEN_MODIFIED = 'X'.&lt;/P&gt;&lt;P&gt;    SCREEN-REQUIRED = '1'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    C_SCREEN = SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check and correct me if i am wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 22:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232211#M1524979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T22:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232212#M1524980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever find an answer for this?  I have the opposite problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a Z error in VT01N when field VTTK-ADD01 is not filled, I want to disable it, but can not find it in program SAPMV56A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232212#M1524980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T18:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232213#M1524981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Antony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am trying the following code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

IF C_SCREEN-NAME = 'VTTK-TDLNR'.
  E_SCREEN_MODIFIED = 'X'.
C_SCREEN-REQUIRED = '1'.
MODIFY SCREEN.
C_SCREEN = SCREEN.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; the exit is not triggered (that vttk-tdlnr is not getting obligatory)&lt;/P&gt;&lt;P&gt;so can you please suggest me ,&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;kool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 11:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232213#M1524981</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-07-04T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232214#M1524982</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 it with BADI_LE_SHIPMENT. See  Note 617793 - Documentation on Business Add-In BADI_LE_SHIPMENT for further info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 16:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232214#M1524982</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-07-04T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232215#M1524983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narareddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Eduardo told check  badi BADI_LE_SHIPMENT. Try to use the method At_save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 03:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232215#M1524983</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-07-05T03:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232216#M1524984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you be more specific.&lt;/P&gt;&lt;P&gt;can you please explain in detail regarding that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 05:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232216#M1524984</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-07-05T05:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232217#M1524985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give any sample code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because&lt;/P&gt;&lt;P&gt;when i am trying the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF C_SCREEN-NAME = 'VTTK-TDLNR'.
  E_SCREEN_MODIFIED = 'X'.
C_SCREEN-REQUIRED = '1'.
MODIFY SCREEN.
C_SCREEN = SCREEN.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the exit is not triggered (that vttk-tdlnr is not getting obligatory)&lt;/P&gt;&lt;P&gt;so can you please suggest me ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;kool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 07:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232217#M1524985</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-07-07T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT_SAPLV56B_001 Function exit implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232218#M1524986</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;See Note 617793 - Documentation on Business Add-In BADI_LE_SHIPMENT. As note says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Checking the data of the shipment document on completeness or 
consistency with output of a message, if necessary

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for method AT_SAVE. So, if the check is not OK, raise an error with ERROR_WITH_MESSAGE, ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
              RAISING error_with_message.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD: I forgot it. See  Note 849243 - Add or Remove delivery from shipments already assigned. You have a coding for this badi and method with a complex coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: E_Hinojosa on Jul 7, 2011 9:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 07:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-saplv56b-001-function-exit-implementation/m-p/7232218#M1524986</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-07-07T07:28:10Z</dc:date>
    </item>
  </channel>
</rss>

