Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 24, 2010 at 01:33 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Sep 04, 2010 at 10:35 AM

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

    Add comment
    10|10000 characters needed characters exceeded