<?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: Disabling custom fields when Equipment type is M in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070822#M94703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both ways but its not working.Kindly help.&lt;/P&gt;&lt;P&gt;When I try to debug the control not reaching to the module.&lt;/P&gt;&lt;P&gt;Once again thanks alot for spending your valuable time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sai Chand Pullepu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2005 07:24:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-03T07:24:15Z</dc:date>
    <item>
      <title>Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070813#M94694</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 modified the IE02 transaction by adding 5 custom fields&lt;/P&gt;&lt;P&gt;to the screen SAPLITO0 1050.&lt;/P&gt;&lt;P&gt;Now i have the requirement to disable these fields when eqtyp is 'M'.&lt;/P&gt;&lt;P&gt;Is there any userexit available for this purpose or i have to modify the PBO module of the screen.&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 08:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070813#M94694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T08:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070814#M94695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandu,&lt;/P&gt;&lt;P&gt; you have to write a simple code under at user-command, in abap editor. if xxxxxx = ' '&lt;/P&gt;&lt;P&gt;                  disabap&lt;/P&gt;&lt;P&gt;elseif xxxx 'x'&lt;/P&gt;&lt;P&gt;            enable.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;and you have to uncomment in PAI.&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;VIVEK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 08:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070814#M94695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T08:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070815#M94696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Its a predefined program and for the screen i have a lot of PBO and PAI modules.And where I Should insert the code.&lt;/P&gt;&lt;P&gt;Is there any user exit available?&lt;/P&gt;&lt;P&gt;Could you please more eloberate.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 08:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070815#M94696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070816#M94697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please anybody help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 10:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070816#M94697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T10:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070817#M94698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can code in PBO Module DYNPRO_INIT_1050 of the screen 1050. Take a look at subroutine DYNPRO_FIELD_1050 in the module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the screen modifications take place here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign a screen group (Group2) to all 5 custom fields that you have added and then can call subroutine DYNPRO_FIELD_MOD_GROUP2 some what like the following,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM DYNPRO_FIELD_MOD_GROUP2 &lt;/P&gt;&lt;P&gt;USING ITO0C_SCREEN_GROUP-INACTIVE  "Replace this with &lt;/P&gt;&lt;P&gt;                                   "your screen group name&lt;/P&gt;&lt;P&gt;      ITO0C_SCREEN_FIELD-INACTIVE  "To disable fields&lt;/P&gt;&lt;P&gt;      ITOB_BOOL-FALSE.  "This is alway false otherwise &lt;/P&gt;&lt;P&gt;                        "it will make all other fields &lt;/P&gt;&lt;P&gt;                        "inactive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF &amp;lt;your condition&amp;gt; EQ 'M'.&lt;/P&gt;&lt;P&gt;    PERFORM DYNPRO_FIELD_MOD_GROUP2 &lt;/P&gt;&lt;P&gt;      USING &amp;lt;your screen group2&amp;gt;        &lt;/P&gt;&lt;P&gt;            ITO0C_SCREEN_FIELD-INACTIVE "Keep this&lt;/P&gt;&lt;P&gt;            ITOB_BOOL-FALSE.            "Keep this&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 10:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070817#M94698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T10:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070818#M94699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot for your valuable reply.&lt;/P&gt;&lt;P&gt;I have one small doubt.&lt;/P&gt;&lt;P&gt;My condition here is ITOB-eqtyp = 'M'.&lt;/P&gt;&lt;P&gt;Can i specify directly in the module DYNPRO_FIELD_1050 or I should create new one some thing like.&lt;/P&gt;&lt;P&gt;PERFORM DYNPRO_FIELD_1050 USING ITOB-EQTYP." new module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM DYNPRO_FIELD_1050&lt;/P&gt;&lt;P&gt;  USING&lt;/P&gt;&lt;P&gt;     VALUE(I_EQTYP)        LIKE ITOB-EQTYP.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;if I_EQTYP = 'M'.&lt;/P&gt;&lt;P&gt;PERFORM DYNPRO_FIELD_MOD_GROUP2 USING ITO0C_SCREEN_GROUP-DISABLE " My group2 for all 5 fields                                            ITO0C_SCREEN_FIELD-INACTIVE                                            ITOB_BOOL-FALSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me.&lt;/P&gt;&lt;P&gt;Thanks alot for ur help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 10:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070818#M94699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T10:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070819#M94700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is just based on EQTYP = 'M' and then just a routine call like the following,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ITOB-EQTYP EQ 'M'.&lt;/P&gt;&lt;P&gt;    PERFORM DYNPRO_FIELD_MOD_GROUP2....&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I suggest you specify it directly in the module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to write it in your own subroutine then you have to declare an include (because while creating the subroutine it will prompt you for an include) so dont go for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise create an include with your namespace (Z/Y/Other) and write the above code directly inside the include. No subroutine, just include the new include in the Module. In this case, you can name the include as ZLITO0O05 for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 11:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070819#M94700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T11:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070820#M94701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for screen SAPLITO0 1050 the logic you gave me its worked.&lt;/P&gt;&lt;P&gt;But for screen SAPLITO0 1022 there is no specific dynpro setting module  like MODULE DYNPRO_INIT_1022.If i want to disable fields for this screen 1022 then where I should insert the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your valuable reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Chandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2005 15:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070820#M94701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-02T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070821#M94702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For screen 1022, You can do one of the following two things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One - Place your logic inside module DYNPRO_INIT_SUB_ALL with an IF condition around sy-dynnr like,&lt;/P&gt;&lt;P&gt;  IF sy-dynnr EQ '1022'.&lt;/P&gt;&lt;P&gt;****Your screen modification logic here &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two - Create a new Module DYNPRO_INIT_1022 in the screen 1022 itself (double click and create it in the include LITO0O01) and then place your screen modification here. This way you do not have to worry about SY-DYNNR. I suggest this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 05:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070821#M94702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T05:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070822#M94703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both ways but its not working.Kindly help.&lt;/P&gt;&lt;P&gt;When I try to debug the control not reaching to the module.&lt;/P&gt;&lt;P&gt;Once again thanks alot for spending your valuable time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sai Chand Pullepu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 07:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070822#M94703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T07:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070823#M94704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you place your PBO module in the screen 1022's flow &lt;/P&gt;&lt;P&gt;logic? The PBO logic should some what like following,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;general dynpro settings&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MODULE DYNPRO_INIT_SUB_ALL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;specific dynpro settings&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MODULE DYNPRO_INIT_1022.   "This is your module here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;restore active cursor position and set it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MODULE DYNPRO_CURSOR_SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the PBO Module DYNPRO_INIT_1022 (which I assume is created in the include LIO0O01),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE DYNPRO_INIT_1022 OUTPUT.&lt;/P&gt;&lt;P&gt;****Your screen modification logic here..&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;Also did you activate/generate both the screen and program? &lt;/P&gt;&lt;P&gt;Please check that as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you debug put a break-point in your PBO module and see whether the control goes there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if possible could you give me the detailed steps that you have followed? (In case it doesnt workout after checking every thing)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 08:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070823#M94704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T08:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling custom fields when Equipment type is M</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070824#M94705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its worked The problem is i didnt activate properly.&lt;/P&gt;&lt;P&gt;Thanks once again fo your valuable help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 08:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-custom-fields-when-equipment-type-is-m/m-p/1070824#M94705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-03T08:24:51Z</dc:date>
    </item>
  </channel>
</rss>

