on 2011 Jul 08 9:30 AM
Hello All,
We have Upgrading the SRM system to 7.0. and we ahve one requirement to add few fields on Source Of Supplier' of shopping cart also we need to transfer this data from SRm to ECC system.
I did following changes till now,
Added new fields in following path of SPRO:
1. Under Configure control fields --> Define customer fields on Item level --> Append for Customer Fields on Shopping Cart Item
2. Under Configure control fields --> Define customer fields on Item level --> Append for Customer Cross-Document Item Database Fields
3. Under Configure field control --> Configure control for Fields on Item Level --> Default Metadata for Fields in Items that do not (yet) Exist --> Added new fields for OBj Type BUS2121 (SC) and BUS2201 (PO)
Changes in Webdynpro:
Webdynpro: /SAPSRM/WDC_DODC_SC_I_SOS
View: V_DODC_SC_I_VENDOR
1. Created new enhancement
2. New fields added under context SUP--> ITEM_BASIC_DATA where as type for each field refered to structure /SAPSRM/S_CLL_WD_SC_I_BD
3. Added fields in Layout
4. bind these layout fields to new context elements
Problem:
I'm able to view these fields on SRm 'SOS' screen, when I enter vallues in these fields and click on any other Tab values are not retained and get refreshed. That is all values are set to BLANK value.
Is there any step which I'm missing?
I have searched lot of forums for this, and followed above steps but no sucess.
Please help me to resolve this ASAP.
Thanks in advance.
Regards,
Yogesh
Request clarification before answering.
Hi,
Make sure the custom fields you added in structure /sapsrm/s_cll_wd_sc_i_bd also available in structure "bbpt_pd_sc_item_icu".
then only the custom field svalues moves into item structure and it will update the Update the items .
Debug the below method :
class : /SAPSRM/CL_CH_WD_DODM_SC_I_BD method /SAPSRM/IF_CLL_MAPPER~UPDATE
Regards,
Devi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Devi Prasad,
Thanks for reply!
I checked the given method in debug mode.
This method is getting called before assiging supplier. I can see that all custom fields are available in the internal table at the time of debug.
Now the process is, when I enter any supplier between range 000-999 and click on asisgn supplier button, my custom fields will appear on the SOS tab. Now when I enter any value in these fields and click on any other Tab or Order the shopping cart all custom fields value get cleared and does not store values in it.
My requirement is to hold these values in custom fields till I order the shopiing cart and after Order these values should be stored in the database.
Regards,
Yogesh
Please reply as soon as possible...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.