cancel
Showing results for 
Search instead for 
Did you mean: 

Editing of catalog transfered item in SC

Former Member
0 Kudos

Hi,

We are working with SRM7.0, SP09. I have confirgured the system for extended classic scenario with catalong integration. We have a requirement to make the free text catalog item editable which we acheived by making fields CATALOGID and CATALOGITEM blank.

The problem here is that this enhancement is also removing the vendor and price information of the catalog item, which we don't want to.

Can anyone suggest a way to retain this information in a free text catalog item while keeping it editable? Your solutions and suggestions will be highly regarded.

Thanks & Regards,

Prashant

Edited by: Prashant Sarjerao Rahane on Oct 17, 2011 6:39 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prashant ,

To make the free text catalog item editable and removing the vendor and price information of the catalog item

no need to make fields CATALOGID and CATALOGITEM blank

you need to create the enhancement for the class /SAPSRM/CL_PDO_DYN_MDF_IT_SC

in post method of description you need to add this code

IF ( is_item-catalogid IS NOT INITIAL OR

is_item-catalogitem IS NOT INITIAL OR

is_item-subtype EQ /sapsrm/if_pdo_obj_types_c=>gc_subtype_i_dp ).

cs_metadata-visible = abap_true.

cs_metadata-enabled = abap_true.

cs_metadata-required = abap_false.

for price , you need to create the enhancement an add this code

IF ( NOT is_item-catalogid IS INITIAL AND

is_item-gross_price IS INITIAL AND

is_item-ctr_hdr_number IS INITIAL ) OR

( is_item-catalogid IS NOT INITIAL AND

is_item-price_origin NE /sapsrm/if_pdo_price_calc_c=>gc_priceorig_found AND

is_item-ctr_hdr_number IS INITIAL ) .

cs_metadata-visible = abap_false.

cs_metadata-enabled = abap_false.

cs_metadata-required = abap_false.

.

ELSE.

cs_metadata-visible = abap_false.

cs_metadata-enabled = abap_false.

cs_metadata-required = abap_false.

ENDIF.

Thanks & Regards

Pradeep Kumar Dondeti

Former Member
0 Kudos

Thanks Pradeep... Really appreciate your help..

Former Member
0 Kudos

Hi Pradeep,

This solution helped to make the free text catalog item editable in SC for the requester.

I observed that once SC is submitted and send for completion approval, the approver is no longer able to edit the free text of the catalog item. We want to allow the purchaser to edit the free text description, product category and price.

Can you pls also suggest for this requirement?

Thanks & Regards,

Prashant

Edited by: Prashant Sarjerao Rahane on Oct 18, 2011 9:25 AM

Former Member
0 Kudos

Hi Prashant ,

To make the filed editable you need set the meta data in completion workflow

you need set the meta data for field .

Thanks & Regards

Pradeep Kumar Dondeti

Former Member
0 Kudos

Hi Pradeep,

Can you pls suggest how can we do it? We are using process controlled wf.

Regards,

Prashant

Former Member
0 Kudos

Thanks for all your responses