cancel
Showing results for 
Search instead for 
Did you mean: 

SRM ship to address field control / error handling

Former Member
0 Kudos

Dear experts,

I am searchingout for the available option to to make few fields of SRM ship to addresses as an optional entries.

Eg. Telephone number, Email id are the some of the mandatory entry fields in created address screen (comes under company address data tab).

In our case we don't need these fields as mandatory entries.

Tried to check the metada control via SPRO field control, but didn't find any specific application area / object for these fields to make as an optional entry.

Also explored the options to customize the error message to warning message, I am not usre what to input the object type in BBPC_PDMSG,

Example:

Message class: /SAPSRM/PDO_BP_UTILS

Message no: 019

Message short text: Specify an e-mail address for address no. &

Kindly suggest, what is the best way to make the above fields (telephone number & Email id) as an optional entry.

Thanks in advance, any help in this regard will be highly appreciated and rewarded with the points.

Kind regards,

Govardhan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Govardhan,

Exactly when your getting this error.

Your working on SRM 7.0 right?

Please specify the component name in which this fields exist.

Regards,

Neelima

Former Member
0 Kudos

Hi Neelima,

Thanks for your reply, I am trying to add address data from NW portal under SRM administration for a purchasing compnay. I am unable to save without entering telephone number & Email address. I want to make those filed as optional entry.

Please find the relevant component info for telephone number below:

Technical Information for UI Element
General Information About the Application and Component
/SAPSRM/WDA_L_FPM_OIF
/SAPSRM/WDC_DODC_AD_TELE
IV_L_FPC_CA_DETAILS
V_PS_OIF_TELE_NUMS
1D911DA6B0A6A2CD4097F5A6E4173A23
Information on Field
_C2
MATRIX_DATA
STANDARD

Attributes of UI Element
Attribute Name

Value

Context Path

Type

CELL_BACKGROUND_DESIGNtransparent (00)
CELL_DESIGNpadless (04)
COL_SPAN1
HEIGHT
H_ALIGNbeginOfLine (08)
V_ALIGNmiddle (02)
V_GUTTERnone (00)
WIDTH100%
VALUE_HELP_KIND
VALUE_HELP
Former Member
0 Kudos

Hello,

please check below class and method

/SAPSRM/CL_CH_WD_MODM_COMP_DATCP in method GET_AO_PURORG_COMP_DATA in line 219 there are setting the state . try to enchance it and check.

Regards,

Neelima