on 2005 Jul 29 8:18 AM
Hi all,
I modifeid the equipment application ie02 by adding 3 new fields.
Now the problem is for equipment type 'M' these 3 fields are not to be shown.
Is it possible? if possible please give me some hint.
regards,
sai chand pullepu
Hello,
normally it's a purpose you could use enhancement ITOB0001. And add in that enhancement a customer-specific subscreen. ( SAPLXTOB 1000 / 1001 / 1002 /1003 / 1004).
Since you get in that exit the Equipment data ( structures equi / eqkt / equz ), you could decide to process a subscreen with your own fields or without.
Anyway, the construction with 'Loop at screen' is always necessary, because the same screen are processed in IE01, IE02 and IE03.
And in IE03 there should be no fields a user could change.
Regards Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks alot.I know itob0001 is the user exit for custom fields in ie02 appln.If i use that user exit then the fields come in other tab of equipment application.But my PM functional consultant insisted me to add the fields in the Location tab in equipment master application only.Thats why i used modification.
Now i got the problem with deactivation of fields if equipment type is 'M'.
thanks once again,
sai chand pullepu.
Hello,
In screen SAPLITO0 / 1050 you have fields of structure ITOB. Field ITOB-EQTYP should be filled at PBO time.
So, the logic of giving your own fields a special modification group and then the 'LOOP AT SCREEN' construction would be possible.
Check the form DYNPRO_FIELD_1050.
Regards Wolfgang
When you say you added three fields, was it using some SAP exit, or is it a modification?
If the fields you mention is on a screen where you already know whether the equipment type is M [ie it is on the detail screen and you already know the equipment no to get the type], then you can loop through the itab SCREEN to disable these fields in the PBO of the screen you modified [set screen-invisible = 'X' for these fields and it shall do. ]
cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know what those subroutines are. Since this is the first thing that shall be done, you can probably add it in the very first (or add a subroutine for this work).
In your screen editor, you can assign some value in the property of the three screen fields you added : attribute GROUPS. Let us say, you assigned 999 in GROUP1 for these three fields.
In your PBO, try the following logic
select data from db to get the equipment type.
if eq_type = 'M'.
loop at screen where group1 = '999'.
screen-invisible = 'X'.
modify screen.
endloop.
endif.
This will make these fields invisible on this screem if equipment type is 'M'.
cheers,
User | Count |
---|---|
67 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.