cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SRM 7.0 Addition of z field on SOS tab of SC

Kloud_Nilesh
Participant
0 Kudos
372

Hii,

I need to add a z field on source of supply tab in SC. in Which structure/ include we need to this z field ?

Please help.

Regards,

Nilesh

View Entire Topic
lisa_sheil
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nilesh,

You will need to maintain the customizing at SPRO:

SAP Supplier Relationship Management - SRM Server - Cross-Application Basic Settings - Extensions and Field Control (Personalization) - Configure Customer Fields

There is documentation available beside the menu options, kindly read this also.

As well please review this SAP note 1115579. And also consult the following link:

http://service.sap.com/rkt-srm -> SAP SRM 2007 -> Technology Consultant

-> webdynpro & portal -> WebDynpro - Metadata, Customer Fields, Enhancem

More Info:

Custom extension fields can be added either as display-only or as database persistent fields. Display-only fields (at header level) can be filled via implementations of BAdI "/SAPSRM/BD_PDO_FE_FILL_HEADER".

The values of the database persistent ones can be changed via the "BBP_DOC_CHANGE_BADI" BAdI. When a document is created, initial values can be set in the BADI for those fields.

Please be aware that for the BAdI on header level you need to define a display-only field in structure

INCL_EEW_PD_HEADER_CSD_<object type>

that does not exist with the same name in

INCL_EEW_PD_HEADER_CSF.

Please use this field as a filter criteria for FIELD_NAME in the implemenation of BAdI /SAPSRM/BD_PDO_FE_FILL_HEADER.

In the BAdI implementation you can also overwrite other fields, that exist in the object independant structure. If you do not

want to display the display-only field on the UI just do not provide metadata for it. Please do not deactivate it by using view

/SAPSRM/V_WD_FLD, as this leads to the situation that the BAdI is not called.

Everything said about the header is also true for the item. Here you need to create a field in structure

INCL_EEW_PD_ITEM_CSD_<object type>, but not in

INCL_EEW_PD_ITEM_CSF and implement BAdI /SAPSRM/BD_PDO_FE_FILL_ITEM.

Therefore, please evaluate whether you want these fields to be display-only or database persistent. You can then proceed with the corresponding BADI implementation.

There is alot of information here, I hope it helps,

Kind Regards,

Lisa

Kloud_Nilesh
Participant
0 Kudos

Hi Lisa,

Thanks for your reply.

I am still not clear , how to proceed further. Before that I have few more information to give you.

We are adding a database persistent fields on shopping cart source of supply tab, these two fields needs to be further moved to backend PR or PO.

We have already added 2 z fields in SC item details tab , which we just included in structure INCL_EEW_PD_ITEM_CSF_SC & INCL_EEW_PD_ITEM_CSF , And added in SPRO->SRM Server->Cross-Application Basic Settings->Extensions and Field Control (Personalization)->Configure Field Control item level. Which is working fine and getting saved in SC etc,

Now, as I told in SOS tab i have added 2 fields for preferred supplier fax and mail , which i included in INCL_EEW_PD_PARTNER_CSF, and created z input fields on view /SAPSRM/WDC_DODC_SC_I_SOS -> V_DODC_SC_I_SOS.

Also added entry in view /SAPSRM/V_MDFSBC with set type SYPAR . Still fields are not gating saved at database level.

Once we close SC screen , it gets cleared next time when we open SC.

Please suggest if its the right way

Regards,

Nilesh