10-18-2006 8:14 AM
hi,
i'm trying to add custom fields in XD01.. we have 6 tabs in the second screen in XD01.. it should come as 7th tab..
for this in the PREPARE MODIFICATION-FREE ENHANCEMENT OF CUSTOMER MASTER RECORD in SPRO, i have created one screen group 'Z1' and inside that screen group i have passed parameters NUMBER : 7, and FCODE : ZNEW
and i have implemented the method 'CHECK_ADD_ON_ACTIVE' in the badi 'CUSTOMER_ADD_DATA' writing the following code :
IF I_SCREEN_GROUP = 'Z1'.
E_ADD_ON_ACTIVE = 'X'.
ENDIF.
but in the second screen in XD01, i found that tab is not getting displayed.. wht could be the problem..
thanks
10-18-2006 9:09 AM
HI,
IF I_SCREEN_GROUP = 'Z1'. i think it should be Z1 without codes.
E_ADD_ON_ACTIVE = 'X'.
ENDIF.
HERE remove the codes for Z1
hpoe it will help you.
regads,
10-18-2006 9:33 AM
it will give error if i don't include z1 in quotes
any other suggestions...
10-18-2006 1:24 PM
Hi mahesh,
Please put a break point in IF condition & check the value stored in i_screen...
Please verify the project created in CMOD has been activated with all components.
Please reward according to the satisfaction.
regards
Prem