cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create a custom field in SRM_MDM shopping cart preview screen

Former Member
0 Kudos

Hi

I on SRM 5.0 MDM 2.0.

Requirement is 'temp labor'. i have a price form a speciific supplier for specific service is $80 in SRM_MDM catalog.

But i talked to supplier and they have agreed on a new price of $75. After I select this catalog item, and view the shopping cart preview screen i see "Price information and total price". I want to add a custom field to the shopping cart preview screen called "new price" to enter $75 as the new price and click recalculate to recalulate the new total price and send this to SRM for follow on functions...

is there standard functionality in SRM7 for this requirement?

cheers

alex

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

First of all this is not possible in SRM MDM side.

Reason : if you add a new custome field then..

1.This fiels will not be editavble field because if customer add any custom filed then that will be display purpose.

2.recalculate function works on standard price field not the custome field.

One way to achieve this to use Eform functionality of catalog .In this way you can change yr existing price for that item and also use recalculate functionality as this functionality will change the existing price.

In this way there is no need to add another field and you can achieve yr requirement.

if its not possible for use eform then you can achieve this fromSRM side but i think this is better approach.

My question is why you want to do this in MDM side whose purpose is to store Master data that will not change for particular demand.

This can be easily achieved in srm side as this on special request fpr particular delievey.

why dont us concept of blanket purchase order which ahs validity period and amount limit for each item that is atmost amount that you can purchase for that validity period.

There is no price specified in PO and its all on mutual understanding basis as happening on yr case.

@shiv ; how you can extend yr oci structure if u used all custom fields.I did not get yr point.

According to my knowledge this is standard interface to interact with catalog .how can customer extend this one as this sap standrad OCI structure

Thanks,

Sudhanshu

Edited by: Sudhanshu Agarwal on Jul 25, 2010 12:33 AM

Edited by: Sudhanshu Agarwal on Jul 25, 2010 12:36 AM

former_member206388
Contributor
0 Kudos

Hi Alex.

I totally agree with Sudhanshu's comments. If you create a custom specific field it will always be a read-only. you can also use EForm for such usecases. Also in case of SRM-MDM Scenario, the price information field holds a standard behaviour which can't be manipulate for custom specific fields.

But if you want to achive this through the exisitng repository schema and the BADI. then you can follow the steps given below:

1. If you want to hold the value for the new price, you can create a new custom field (New Price)of type "Text" in the repository and store the price information in that field.

2. In the configuration screen, you can add the "New Price" to all the views(Result Set, Shopping Cart Preview etc).

3. In the "Shopping Cart Preview", now you can view the existing standard price information column and the newly created "New Price" column. Now you can change the quantity based on your need. Now when you click "Recalculate" button the standard price column will change and not the "New Price" column.

4. Now you can map this newly created field to any of the custom fields which were provided by default. (like NEW_ITEM-CUSTFIELD1).

5. You can make use of the BADI BBP_CATALOG_TRANSFER to perform the remaining calculations.

6. The BADI will hold all the catalog related data in its OCI structure. Before transferring the data to shopping cart you can modify it by multiplying the quantity with the "New Price" value and send the updated price in the OCI standard structure "NEW_ITEM_PRICE".

Now SRM shopping cart will hold the updated "New Price" for the item shopped through catalog.

Let me know in case you need more information.

Regards

Bala

Former Member
0 Kudos

Hiiiiiii Bala,

welcome to MDM forum..

I think alex requirement is to add the price at Catalog UI not to use stored price or to store new price.

So for thius adding a new field will not work.

I think eform is the only option.

Please correct me if i am wrong.

Thanks,

Sudhanshu

former_member206388
Contributor
0 Kudos

Hi Sudhanshu

Thanks for the wishes.

I agree that Alex is expecting a editable field in the catalog UI from where he can mention the new price so that he can transfer

it back to SRM, which is not possible in SRM MDM Catalog scenario. Of course in that case EForm is the best option to achieve this.

But my reply for this question is, if in case there is a new price if customer would like to maintain it and display in the catalog and transfer back to SRM is also possible in the way which I mentioned above. (forgot to mention this point in my reply

Regards

Bala

former_member205403
Active Contributor
0 Kudos

Hi Guys,

I feel there is some confusion. I suggested the same method as Chander. Yes, of course Alex can not edit this filed and can not use recalculate function. Instead he has to create a new Field in the repository.

@ Sudhanshu

Please follow this link for extending OCI.

http://wiki.sdn.sap.com/wiki/display/SAPMDM/OpenCatalogInterfaceinSRMMDMCatalog+2.0

Best Regards,

Shiv

Former Member
0 Kudos

Hi Bala, Shiv, Chandra, Sudhanshu

Thanks for your input, I value your ideas that are inline with my design. I just needed to make sure it can get done. I am alittle confused by the different ideas that suggest it can not get done.. PS. Is there a url link for information on eform?

This is a crazy requirement. Let me just elaborate.. I understand that there is the Price into and total price. The uniqueness of my requirement is that this is for a service. I search in my catalog for a Java person I get 3 suppliers that have this person between price $80-90. I select one supplier X at $85. I called the supplier and plead to give me this person at $82 coz of my budget and he agrees so thatu2019s where this u201CNew Priceu201D field would come in handy if I can enter this new price and have my total recalculatedu2026u2026I am not interested in showing the u201Cold priceu201D on the follow on documents in SRM.

NOW this Price change happens %50 of the time there will be days when I donu2019t change the price and will not enter anything in this new price field. I just needed a way to capture this new change in price and have this info sent to SRM for follow on documents.

Former Member
0 Kudos

Hi Bala, Shiv, Chandra, Sudhanshu

Thanks for your input, I value your ideas that are inline with my design. I just needed to make sure it can get done. I am alittle confused by the different ideas that suggest it can not get done.. PS. Is there a url link for information on eform?

This is a crazy requirement. Let me just elaborate.. I understand that there is the Price into and total price. The uniqueness of my requirement is that this is for a service. I search in my catalog for a Java person I get 3 suppliers that have this person between price $80-90. I select one supplier X at $85. I called the supplier and plead to give me this person at $82 coz of my budget and he agrees so thatu2019s where this u201CNew Priceu201D field would come in handy if I can enter this new price and have my total recalculatedu2026u2026I am not interested in showing the u201Cold priceu201D on the follow on documents in SRM.

NOW this Price change happens %50 of the time there will be days when I donu2019t change the price and will not enter anything in this new price field. I just needed a way to capture this new change in price and have this info sent to SRM for follow on documents.

cheers

alex

Former Member
0 Kudos

Hi Bala, Shiv, Chandra, Sudhanshu

Thanks for your input, I value your ideas that are inline with my design. I just needed to make sure it can get done. I am alittle confused by the different ideas that suggest it can not get done.. PS. Is there a url link for information on eform?

This is a crazy requirement. Let me just elaborate.. I understand that there is the Price into and total price. The uniqueness of my requirement is that this is for a service. I search in my catalog for a Java person I get 3 suppliers that have this person between price $80-90. I select one supplier X at $85. I called the supplier and plead to give me this person at $82 coz of my budget and he agrees so thatu2019s where this u201CNew Priceu201D field would come in handy if I can enter this new price and have my total recalculatedu2026u2026I am not interested in showing the u201Cold priceu201D on the follow on documents in SRM.

NOW this Price change happens %50 of the time there will be days when I donu2019t change the price and will not enter anything in this new price field. I just needed a way to capture this new change in price and have this info sent to SRM for follow on documents.

Former Member
0 Kudos

Hi alex ,

You can refer sap note 1114371 for Eform.

As far as i know Beneering is a company who provide such eform application.

If you have tim you can also create eform application that communicates on basic OCI structure.

By using Eform there is no need to introduce new field it will chnage the existinh price info field at the UI level.

NOTE : Through EFORM you cannot change the data in mdm data manager

Hope it help you to get yr solution.

Thanks,

Sudhanshu

Former Member
0 Kudos

Hi Masa

With your approach are you suggesting that my requirement and be achieved without the use of E-forms (dynamic web forms) in SRM_MDM?

From my other research eforms seems to be the solution of choice that will give me a u2018pop-upu2019 to change the price which then recalculates the price information and total price, the user will be able to see this new price on the shopping cart preview screen in mdm and then the shopping cart is u201Ctransferredu201D over to SRM to order the shopping cart in srm and follow on documentsu2026.

Cheers

alex

Former Member
0 Kudos

Hi Alex,

I didnot get yr last reply.

please update us abt yr status.

Thanks,

Sudhanshu

Former Member
0 Kudos

Hi Sudhanshu

I want to develop the eform application instead of buying the consulting note from SAP, or beneering..eforms use Webdynpro right!

I saw bala's comments that did not propose eforms...so from the other posting discussion it seems that eform is the only way to achieve my requirement since i want to update the new price and show it on the shopping cart preview screen then transfer this info to SRM for processing and follow on documents. ........to achieve this i will need eforms

your assistance is appreciated...i will update this posting when i develop my solution.

cheers

alex

Former Member
0 Kudos

Hi Shiv

My developer will be using a DWF Dynamic web form -web dynpro.

A user will search the catalog for my items, user selects one particular line item to change the price on it.

To do so I need to click on a link to launch my DWF / eform.

Where do we declair this link? in the SRM_MDM_UI application (OCI links available) or use a BADI link BBP_CAT_CALL_ENRICH?

cheers

alex

Former Member
0 Kudos

Hi Alex,

There is a field hyperlink in maintable in srm_mdm.In this field select type eform and put your link there.

when you launch your catalog (make sure in configuration ui "Enable Use of Electronic Forms" flag will be true)

in SC preview you will get link with text that you aminatin in url description field in mdm.

Hope it helps .

Thanks,

Sudhanshu

Answers (1)

Answers (1)

former_member205403
Active Contributor
0 Kudos

Hi,

I think you should update update the Price information field with the new Price.

But just in case your business requirement is to display both the price fields, then you can achieve this. You have to create an additional Field in Repository with the Name "New Price".

Now Configure Catalog UI to display this new field in the various views like Shopping cart preview, List view etc.

You also need to update OCI mapping so that this new field value is transferred to SRM system. In the OCI mapping you will find some Customer Specific Fields. You can map your new price field to any one of this customer specific Field.

In case you have also utilized all customer specific fields, then you can extend OCI. There is a very well document on MDM wiki on "How to extending OCI for SRM-MDM Catalog".

Once you get this new field value in SRM, You can implement BADI to work as per your requirement. for More information on which Badi to implement, you can check on SRM-MDM Catalog Forum.

Please revert if you need any more information.

Best Regards,

Shiv

Former Member
0 Kudos

Hi Shiv

Thanks for your comments. Could you elaborate more on your comment "once you get this new field value in SRM you can implement BADI to work as per requirement,, for more on which BADI to implement....."

I was thinking that since i already have the price info and total price in MDM catalog, it may be easier to create this custom field in SRM "new price" and recalculate with this 'total new price". May need to implement BADI..

Just trying to look for easier solution to create this changes. it looks as though theres more validation and work if i make changes on SRM-MDM side. From your experience is it less of a hassel and maintanance to make changes on SRM side?

cheers

Former Member
0 Kudos

Hi Bala, Shiv, Chandra, Sudhanshu

Thanks for your input, I value your ideas that are inline with my design. I just needed to make sure it can get done. I am alittle confused by the different ideas that suggest it can not get done.. PS. Is there a url link for information on eform?

This is a crazy requirement. Let me just elaborate.. I understand that there is the Price into and total price. The uniqueness of my requirement is that this is for a service. I search in my catalog for a Java person I get 3 suppliers that have this person between price $80-90. I select one supplier X at $85. I called the supplier and plead to give me this person at $82 coz of my budget and he agrees so thatu2019s where this u201CNew Priceu201D field would come in handy if I can enter this new price and have my total recalculatedu2026u2026I am not interested in showing the u201Cold priceu201D on the follow on documents in SRM.

NOW this Price change happens %50 of the time there will be days when I donu2019t change the price and will not enter anything in this new price field. I just needed a way to capture this new change in price and have this info sent to SRM for follow on documents.

cheers

alex