Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding custom fields to Equipment master General tab ?

Former Member
0 Likes
4,142

Hi Gurus,

I have requirement where in I need to add two custom fields in IE02/IE03.

Completed part :

1. The new fields are added in the EQUI table in CI_EQUI structure.

2. Created a project in CMOD and linked enhancement ITOB0001 to it .

3. Activated the User exits EXIT_SAPLITO0_001 and EXIT_SAPLITO0_002.

4. Logic in EXIT_SAPLITO0_001

E_SUBSCREEN_NUMBER = '1020'.

I_OBJECT_TYPE = '02'.

I_ACTIVITY_TYPE = '3'.

EQUI-zfld1 = I_DATA_EQUI-
zfld1.
EQUI-
zfld2 = I_DATA_EQUI-zfld2.


Logic in EXIT_SAPLITO0_002

E_UPDATE_DATA_EQ-zfld1 = EQUI-zfld1.
E_UPDATE_FLAGS_EQ-
zfld1= 'X'.
E_UPDATE_DATA_EQ-
zfld2 = EQUI-zfld2.
E_UPDATE_FLAGS_EQ-
zfld2 = 'X'.


Now the place where I got stuck is do I need to create a subscreen to add these new fields in SAPLITO0 , 1020 screen ?

Do I need to create a Function group ? If yes how do I link these.

I think I need access to Edit from SE51.


I have browsed many threads but no luck.


Thanks

Navya.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,624

No, just

  • Read carefully the SMOD enhancement documentation
  • During CMOD execution, double-click on one of the Customer-exit dynpro (first time, choice the first one, the other dynpros will be used later for other objects)
  • In EXIT_SAPLITO0_001, pass the dynpro number in export parameter (e.g. 1000 for first one)
    NB: In this exit you receive I_OBJECT_TYPE  as imported parameter to identify Object Type: '1' = F/L '2' = EQU '3' = SER (do not try to change it ) so include may start with a CASE I_OBJECT_TYPE. WHEN 'EQU'. E_SUBSCREEN_NUMBER = '1000'... ENDCASE.

Regards,

Raymond

Hi Gurus,

I have requirement where in I need to add two custom fields in IE02/IE03.

Completed part :

1. The new fields are added in the EQUI table in CI_EQUI structure.

2. Created a project in CMOD and linked enhancement ITOB0001 to it .

3. Activated the User exits EXIT_SAPLITO0_001 and EXIT_SAPLITO0_002.

4. Logic in EXIT_SAPLITO0_001

E_SUBSCREEN_NUMBER = '1020'.

I_OBJECT_TYPE = '02'.

I_ACTIVITY_TYPE = '3'.

EQUI-zfld1 = I_DATA_EQUI-
zfld1.
EQUI-
zfld2 = I_DATA_EQUI-zfld2.


Logic in EXIT_SAPLITO0_002

E_UPDATE_DATA_EQ-zfld1 = EQUI-zfld1.
E_UPDATE_FLAGS_EQ-
zfld1= 'X'.
E_UPDATE_DATA_EQ-
zfld2 = EQUI-zfld2.
E_UPDATE_FLAGS_EQ-
zfld2 = 'X'.


Now the place where I got stuck is do I need to create a subscreen to add these new fields in SAPLITO0 , 1020 screen ?

Do I need to create a Function group ? If yes how do I link these.

I think I need access to Edit from SE51.


I have browsed many threads but no luck.


Thanks

Navya.

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,625

No, just

  • Read carefully the SMOD enhancement documentation
  • During CMOD execution, double-click on one of the Customer-exit dynpro (first time, choice the first one, the other dynpros will be used later for other objects)
  • In EXIT_SAPLITO0_001, pass the dynpro number in export parameter (e.g. 1000 for first one)
    NB: In this exit you receive I_OBJECT_TYPE  as imported parameter to identify Object Type: '1' = F/L '2' = EQU '3' = SER (do not try to change it ) so include may start with a CASE I_OBJECT_TYPE. WHEN 'EQU'. E_SUBSCREEN_NUMBER = '1000'... ENDCASE.

Regards,

Raymond

Read only

0 Likes
1,490

Hello sir,

I wrote the below logic in exits. I enter the values in custom fields and save. but My values are not saved in table EQUI table. Kindly help me sir.

Advance thanks sir.

EXIT_SAPLITO0_001

TABLESEQUI.
E_SUBSCREEN_NUMBER '1000'.
I_OBJECT_TYPE '02' .
I_ACTIVITY_TYPE '3' .
EQUI-ZZITO_AIRPRES I_DATA_EQUI-ZZITO_AIRPRES.
EQUI-ZZITO_CFM I_DATA_EQUI-ZZITO_CFM.
EQUI-ZZITO_CLOAD I_DATA_EQUI-ZZITO_CLOAD.
EQUI-ZZITO_RLOAD I_DATA_EQUI-ZZITO_RLOAD.
EQUI-ZZITO_PLOAD I_DATA_EQUI-ZZITO_PLOAD.

EXIT_SAPLITO0_002

DATAZEQUI TYPE EQUI.

 E_UPDATE_DATA_EQ-ZZITO_AIRPRES ZEQUI-ZZITO_AIRPRES.
 E_UPDATE_DATA_EQ-ZZITO_CFM ZEQUI-ZZITO_CFM.
 E_UPDATE_DATA_EQ-ZZITO_CLOAD ZEQUI-ZZITO_CLOAD.
 E_UPDATE_DATA_EQ-ZZITO_RLOAD ZEQUI-ZZITO_RLOAD.
 E_UPDATE_DATA_EQ-ZZITO_PLOAD ZEQUI-ZZITO_PLOAD.

E_UPDATE_FLAGS_EQ-ZZITO_AIRPRES 'X'.
E_UPDATE_FLAGS_EQ-ZZITO_CFM 'X'.
E_UPDATE_FLAGS_EQ-ZZITO_CLOAD 'X'.
E_UPDATE_FLAGS_EQ-ZZITO_RLOAD 'X'.
E_UPDATE_FLAGS_EQ-ZZITO_PLOAD 'X'.