cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.0 -Adding Custom fields in Contract Item screen at particular positn

Former Member
0 Kudos

Hi,

We have a requirement to add new custom fields in the Contract Item screen at required position, in Left and right side container.

We have tried the following methods but have not been able to achieve the same. Kindly help!

1) Added new field in Context through enhancemnt in the Details screen View of Contract , Binded the field to the field in structure INCL_EEW_PD_ITEM_CSF_CTR and add the field to teh Layout - Using this method, The field is not saved to the table.

2) Added the field to meta data table /SAPSRM/V_MDF_IC - This is positionng the field on teh right container at the bottom. We want to position it on left side.

Kindly help to understand where we are going wrong.

Thanks in advance,

Regards

Prasuna.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

We have decided to Use Meata Data to resolve the issue.

devrajsinghr
Active Participant
0 Kudos

Hi Prasuna,

Can you tell wat exact steps you have followed.

Thanks

Dev

Former Member
0 Kudos

Hi Prasuna,

Include/Append the structure 'INCL_EEW_PD_ITEM_CSF_CTR' in the struct '/SAPSRM/S_CTR_IT_BD' which is used in WDC , transfer the new fields in the context and bind them accordingly. Do not bind them directly to the fields in the struct INCL_EEW_PD_ITEM_CSF_CTR as this may not be the strcture used while saving the contract data .

Hope this helps.

Regards

Lavanya

Former Member
0 Kudos

Hi lavanya,

Thank you for the suggestion.

Currently the mapping of the custom field is to the Structure /SAPSRM/S_CLL_CTR_ITEM. We have checked the structure /SAPSRM/S_CTR_IT_BD, This structure does not ahve the Include structure INCL_EEW_PD_ITEM_CSF_CTR.

Please advise this structure is relevant for SRM7.0 SP level 0006.

Thank you,

Regards

Prasuna.

Former Member
0 Kudos

Hi Prasuna,

Sorry ..You are right..I was looking at some other WDC related to contract data..It you map the CUFs to /SAPSRM/S_CLL_CTR_ITEM which has the include structure INCL_EEW_PD_ITEM_CSF_CTR then it should work fine.

If you do this, are you able to view the new fields on the screen?

you mentioned that you are not able to save the data to the table.

Include your fields in INCL_EEW_PD_ITEM_CSF as well because if you add CUF to any of those doc types, you also have to add those CUF to the global structure for CUF documents.

Also Check if you fields are there in structures BBPS_CTR_CUF_ITEM,BBPS_CTR_UI_ITEM and BBPS_CTR_ITEM.

Check whether you have implemented the BADI's like BBP_DOC_CHECK_BADI ,BBP_DOC_CHANGE_BADI and BBP_DOC_SAVE_BADI . check out the structures (whether they having the CUFS) used in those if you have implemented any of them .

Regards

Lavanya

Edited by: LAVANYA CHAVA on Aug 25, 2010 10:10 AM