<?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: Table maintenace generator validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881069#M1478556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just use the event 5 for this. I think at that time ur purpose will be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 09:58:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-04T09:58:32Z</dc:date>
    <item>
      <title>Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881061#M1478548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do validation in Table maintenacne generator but i am not getting the value in the fields that are used in validation,I am not getting the value into the fields which i gave as input through SM30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the coding below.I am not geeting the values which were indicated in BOLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE MATNR&lt;/P&gt;&lt;P&gt;                WERKS&lt;/P&gt;&lt;P&gt;                LVORM&lt;/P&gt;&lt;P&gt;    FROM MARC&lt;/P&gt;&lt;P&gt;    INTO E_MARC&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;WHERE MATNR = ZCXXPT0529CTRL-MATNR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;AND WERKS = ZCXXPT0529CTRL-WERKS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  IF  SY-SUBRC EQ 0&lt;/P&gt;&lt;P&gt;  AND E_MARC-MATNR IS NOT INITIAL&lt;/P&gt;&lt;P&gt;  AND E_MARC-WERKS IS NOT INITIAL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881061#M1478548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881062#M1478549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you just have MARC declared as checktable for your field? no reason to validate manually yourself then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881062#M1478549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881063#M1478550</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;This thing u needs to be done in the Events of the table mantaince generator. There are many events avilable for doing the various purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In se11 goto Utilities - table maintenance generator and in that environment and events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside that enter the form name and create a include in the fgr and create the form in that include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this way u can do the validation and at the same time u will get the values too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881063#M1478550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881064#M1478551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumodh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the code in the events part of Table maintence generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code as given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BEFORE_SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES: MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES: BEGIN OF Y_STRUCT_MARC,&lt;/P&gt;&lt;P&gt;           MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;           WERKS TYPE WERKS_D,&lt;/P&gt;&lt;P&gt;           LVORM TYPE LVOWK,&lt;/P&gt;&lt;P&gt;         END OF Y_STRUCT_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: E_MARC TYPE Y_STRUCT_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS:C_X(1) TYPE C VALUE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE MATNR&lt;/P&gt;&lt;P&gt;                WERKS&lt;/P&gt;&lt;P&gt;                LVORM&lt;/P&gt;&lt;P&gt;    FROM MARC&lt;/P&gt;&lt;P&gt;    INTO E_MARC&lt;/P&gt;&lt;P&gt;   WHERE MATNR = ZCXXPT0529CTRL-MATNR&lt;/P&gt;&lt;P&gt;     AND WERKS = ZCXXPT0529CTRL-WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF  SY-SUBRC EQ 0&lt;/P&gt;&lt;P&gt;  AND E_MARC-MATNR IS NOT INITIAL&lt;/P&gt;&lt;P&gt;  AND E_MARC-WERKS IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF E_MARC-LVORM EQ C_X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MESSAGE E999(ZC) WITH 'Inserted material-plant combination is marked for deletion'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     SET SCREEN 0001.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     EXIT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE E999(ZC) WITH 'Inserted material-plant combination deos not exists'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SET SCREEN 0001.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXIT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "before_save&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881064#M1478551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881065#M1478552</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;Here in the select query u r not able to get the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881065#M1478552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881066#M1478553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And still this is a simple MARC existence check, thats exactly what you would gain when using a check table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881066#M1478553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881067#M1478554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumodh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes in the select query the value that i gave in Table maintenace using SM30 does not eixsts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCXXPT0529CTRL-MATNR &lt;STRONG&gt;is blank.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCXXPT0529CTRL-WERKS &lt;STRONG&gt;is blank.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881067#M1478554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881068#M1478555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which event are you using for this validation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to use the TOTAL and / or EXTRACT internal tables to make the selection from MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to this online documentation for details: [http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Florian:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;And still this is a simple MARC existence check, thats exactly what you would gain when using a check table&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OP needs to validate the deletion-indicator is checked for the material-plant combo as well. A check table wouldn't check this, right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on May 4, 2010 3:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881068#M1478555</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-05-04T09:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881069#M1478556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just use the event 5 for this. I think at that time ur purpose will be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881069#M1478556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T09:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881070#M1478557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If its only to check the existence of material with plant , then the best solution is already given by Florian &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also mark the check box &lt;STRONG&gt;foreign key check&lt;/STRONG&gt; in screen attributes of the field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 09:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881070#M1478557</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-05-04T09:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881071#M1478558</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;You must be doing your validation in PAI of the table maintainance screen. Before your subroutine, in between LOOP and ENDLOOP, add the field statment for the field you are using in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanweer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tanweer Zaki on May 4, 2010 3:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 10:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881071#M1478558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T10:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881072#M1478559</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;You must be doing your validation in PAI of the table maintainance screen. Before your subroutine, in between LOOP and ENDLOOP, add the field statment for the field you are using in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanweer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 10:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881072#M1478559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T10:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881073#M1478560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumodh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 10:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881073#M1478560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T10:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenace generator validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881074#M1478561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So i understand you are validating for new entries creation only. What about the entry being changed, in that case your validation will not trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 10:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenace-generator-validation/m-p/6881074#M1478561</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-05-04T10:35:01Z</dc:date>
    </item>
  </channel>
</rss>

