cancel
Showing results for 
Search instead for 
Did you mean: 

Data entered in the custom field in the SRM portal not getting saved..

Former Member
0 Kudos

Hi Experts,

I have added a custom field in Contract Screen of the SRM portal by adding the field as an append structutre in structure INCL_EEW_PD_HEADER_CSF_CTR.

The custom field now appears in the header (basic data ) of the 'Process contract' screen.

NOw It allows me to enter data in the custom field .

The problem is ..

When I 'CHECK' or "RELEASE' the contract, the value entered in the custom field disappears..

How do i capture the data entered in the custom field ...please HElp!!!

Thanks in Advance.

Vidya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Experts.....

have I missed some step of linking fields defined in structures INCL_EEW_PD_HEADER_CSF_CTR & INCL_EEW_PD_HEADER_CSF..is this the reason for this problem,,,,,,,,,,please Help!!

Edited by: vidya vidya on Apr 27, 2009 7:17 AM

Former Member
0 Kudos

Hi Vidya,

I tried adding a field in the Contract header field by adding it to the follwoing structures:

INCL_EEW_PD_HEADER_CSF_CTR & INCL_EEW_PD_HEADER_CSF.

The field is showing properly and when i enter any value and pressing check or refresh button the value does not disappear.

Please see whether you have followed the steps given in the

OSS Note 672960 - User-defined fields 2

Also go through the blog to see exactly how you need to add the field to the structures:

/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm

If still the problem persist check you BAdI coding.

And the last option is to raise a message with SAP.

Thanks,

Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vidya,

See if these notes are helpful:

Note 797073 - Customer-specific fields in contract items

Note 630955 - CUF error with customer-specific fields of type QUAN

Thanks,

Pradeep

Former Member
0 Kudos

HI Pradeep,

the notes are already implemented

Can we do anything with BADI BBP_CUF_BADI_2. ?

Former Member
0 Kudos

Hi Vidya,

You can try to debug this thing. Try to keep a breakpoint in BBP_DOC_CHECK_BADI and see what exactly is happening in the code.

Also please let us know the SRM version that you are working on.

Thanks,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

Thanks for the reply!!

We have upgraded our SRM system from 3.0 to 5.5

I have added the custom field in structures INCL_EEW_PD_HEADER_CSF_CTR and

INCL_EEW_PD_HEADER_CSF as the field has to appear in the basic data tab of 'Process Contract'.

Regarding debugging:

1. I tried to debug in BBP_DOC_CHECK_BADI by calling the FM BBP_PD_CTR_GETDETAIL. inside the badi and the parameter e_header of the function module contained the custom field but had no value...!!

2. I tried to debug the badi BBP_CUF_BADI_2 method MODIFY_INPUT..

The import variable iv_fieldname contains the field name amd the variable iv_value has the value entered in the custom field .........but another import structure ls_header also contains the custom field but no value....

Method MODIFY_INPUT has only one export parameter ev_value,,,,,,,,,,,,,,,,!!!!!!!!!!!!

Edited by: vidya vidya on Apr 24, 2009 6:06 PM

Former Member
0 Kudos

Hi Experts....

need your help......