2006 Feb 21 7:23 AM
Hi All,
I have added 'Customer Data' Tab in Purchase Oreder Header by using screen exit.(Enhancement->MM06E005, Callling Screen -> SAPLXM06, Scr.no-> 0101). And I wrote the follwing code in the exit 'EXIT_SAPMM06E_006' to make thouse fields input disabled in the transaction ME23N. But it doesn't take effect.
IF SY-TCODE EQ 'ME23N' OR
SY-TCODE EQ 'ME23'.
LOOP AT SCREEN.
IF screen-name EQ 'EKKO-ZREQ_TONS'.
screen-input = 0.
MODIFY screen.
ENDIF.
ENDLOOP.
ENDIF.
Correct me if i am wrong.
Reward guaranteed.
2006 Feb 21 7:57 AM
hi Veera,
are you able to reach up to the loop at screen.
in debugging check that ,it can be found in debugging,
and check your screen name is correct or not.
Regards
Vijay
2006 Feb 21 8:18 AM
Hi Vijay,
Yes I am able to reach up to the screen. and screen name is also correct. But the problem is the loop at screen statement is not getting executed. It is simple skiping loop statement.
Kindly Suggest any solution.
2006 Feb 21 8:28 AM
Hi,
it should take you inside the loop.
i'm not sure why?
try to run it again, keeping a break point..
Regards
vijay
2006 Feb 21 8:04 AM
Hi,
try t find groupname if possible
Since input is char try using ' '
and also screen-active it worked for me.
regards
austin
2006 Feb 21 10:29 AM
Hello Veera,
I am assuming that u have added ZREQ_TONS field in the screen exit. This code will not work as the exit is called in before call to subscreen is given so the fields u have added in the screen will not be available.
do the modification in the PBO of this 0101 screen.
LOOP AT SCREEN.
IF screen-name EQ 'EKKO-ZREQ_TONS'.
screen-input = 0.
screen-output = 0.
MODIFY screen.
ENDIF
2006 Feb 21 1:47 PM
Hi Abhijit Dani,
I placed the same code in PBO of 0101 screen. But the cursor doesn't go into that module while debuging(I hot coded the break-point also in that module).
2006 Apr 25 1:59 PM
Hi Veera
i am facing the same problem. plz let me know the solution for this. plz give ur Yahoo Im or Gmail id so tht we do online chat.
Plz give me solution ASAP. Its urgent
Regards
Ravi