11-07-2013 4:38 AM
Hi,
I have created a custome tab in me21n at header level.Every thing is working fine expect edit/display mode.
My custome tab should be edit/display along with standard screen.
I am not getting,how to do thid.
I created this tab using screen exit 'MM06E005'.
Regrds
Neeraj
11-07-2013 4:48 AM
Hi
You can hide the tab dynamically or you can enable disabled the elements in the custom tab by using
LOOP AT SCREEN.
iF SCREEN-NAME EQ 'ABC'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Nabheet
11-07-2013 4:46 AM
Hi Neeraja,
Create a Group(name - test) for those fields Modulepool.
Code in PBO
\
Case sy-ucomm.
when 'ME21'.
Loop at screen.
IF screen-group1 EQ 'test'.
screen-active = 1. ->change as per your requirement/standard screen
ENDIF.
endloop.
When 'Me22'.
Loop at screen.
IF screen-group1 EQ 'test'.
screen-active = 1. ->change as per your requirement/standard screen
ENDIF.
endloop.
When 'Me23'.
Loop at screen.
IF screen-group1 EQ 'test'.
screen-active = 1. ->change as per your requirement/standard screen
ENDIF.
endloop.
endcase.
11-07-2013 4:48 AM
Hi
You can hide the tab dynamically or you can enable disabled the elements in the custom tab by using
LOOP AT SCREEN.
iF SCREEN-NAME EQ 'ABC'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Nabheet
11-07-2013 6:19 AM
Hi Nabheet,
I already tried all this, some time it works fine but not all scenario.
IN Me22n there is a button change/Display, according to that button my tab my tab should get display or change along with other standard tab.
Regards
Neeraj
11-07-2013 6:22 AM
Yes you must be doing it based on tcode right now. So you need to move that check based on I_TRTYP/ I_AKTYP. This will have the values based on create/change/display
AKTYP = 'H' - create PO
AKTYP = 'V' - change PO
AKTYP = 'A - Display PO
11-07-2013 7:02 AM
Thanks Nabheet you saved me again.
I have on more problem.
when i created project in cmod, it is working fine.
But i get a message:
The project contains inactive include tables:
CI_EKPODB
what should i do to activate it.
Regards
Neeraj
11-07-2013 7:06 AM
You must have added some field in this include. Go to SE11 and activate it
11-07-2013 7:15 AM
No i did not add any field in this structure and when i go to SE11 to activate it.
it says:
I also adjust the database.but still the thing is happening.
Regards
Neeraj
11-07-2013 7:18 AM
If you have to add soome custom fields at items level it should be added in this include. First you need to got se11 enter table EKPO scrooll down you will this include name double click to create and add fields. Save and activate
11-07-2013 7:24 AM
I do not have to add any field in this inclue, cause i did not created any thig at item level.
11-07-2013 4:57 AM
Hi Neeraj,
For all the screen elements, maintain Group ID as G1 for example.
In PBO of your screen, write
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'G1'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.