FM to associate price to object - CRM
Hi Gurus,
Does anybody knows any FM which allows me to give price to an object, in CRM.
I thought that was CRMXIF_PRODUCT_INDOBJ_SAVE, but at the end, didn't work.
Thanks in advance.
Regards
Luis, it has worked!!
Thank you very mux.
At the end I inserted the below records into the table variable_fields
code:
ls_var_fie-fieldname = 'PRODUCT_ID'.
ls_var_fie-fieldvalue = product_id.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'SALES_ORG_SHORT'.
ls_var_fie-fieldvalue = sales_org_short.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'DIS_CHANNEL'.
ls_var_fie-fieldvalue = dis_channel.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
CLEAR: ls_var_fie.
ls_var_fie-fieldname = 'MNT_RATE'.
ls_var_fie-fieldvalue = price.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'COND_CURRENCY'.
ls_var_fie-fieldvalue = currency.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'DATE_FROM'.
ls_var_fie-fieldvalue = date_from.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'DATE_TO'.
ls_var_fie-fieldvalue = date_to.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
CLEAR: ls_var_fie.
ls_var_fie-fieldname = 'MEINS'.
ls_var_fie-fieldvalue = unit.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
ls_var_fie-fieldname = 'PRODUCT_OBJECT_FAMILY'.
ls_var_fie-fieldvalue = family.
APPEND ls_var_fie TO ls_datasal-cond_record-variable_fields.
Regards
Similar Messages
-
No Prices in ISA CRM 6.0
Hi Experts!!
I have just configured ISA for CRM 6.0. I have also the IPC up and running.
When I entered my Shop I see the prices on the products, but when I create an order I do not see any price on it!!Both on the item
Total Price
Unit Price
0,00 EUR
0,00 EUR / 0
and on the total count
Total Net Price: 0,00 EUR
Freight: 0,00 EUR
Taxes: 0,00 EUR
Total Gross Price: 0,00 EUR
The XCM is set on IPCDEFAULT.
Can you please come back asap with a support?
Reward points promised -Hello Andrea,
Have you setup your shop to accept IPC pricing? Are you able to see prices in CRMD_ORDER? -
Special Prices DI Object in 2005 SP1 PL4
Hi all, I've been trying to use DI Object's Special Prices to add a new record. I'm using SAP B1 2005 SP01 PL4. I've heard that this Special Price bug revolving Invalid Date Range was fixed in this patch, but I've tried many times to no avail.
Here is my code:
Private Sub InsertSpecialPrices()
Try
Dim oSpecialPrices As SpecialPrices = oCompany.GetBusinessObject(BoObjectTypes.oSpecialPrices)
' SpecialPrices settings
oSpecialPrices.ItemCode = "A1000"
oSpecialPrices.CardCode = "C1000"
oSpecialPrices.AutoUpdate = BoYesNoEnum.tYES
oSpecialPrices.PriceListNum = 3
oSpecialPrices.DiscountPercent = 50
START -
' SpecialPricesDataAreas settings
oSpecialPrices.SpecialPricesDataAreas.SetCurrentLine(0)
oSpecialPrices.SpecialPricesDataAreas.DateFrom = "2006-06-13"
oSpecialPrices.SpecialPricesDataAreas.Dateto = "2006-06-20"
oSpecialPrices.SpecialPricesDataAreas.AutoUpdate = BoYesNoEnum.tYES
oSpecialPrices.SpecialPricesDataAreas.Discount = 15
oSpecialPrices.SpecialPricesDataAreas.PriceListNo = oSpecialPrices.PriceListNum
oSpecialPrices.SpecialPricesDataAreas.PriceCurrency = "GBP"
oSpecialPrices.SpecialPricesDataAreas.Add()
END -
oSpecialPrices.Add()
oCompany.GetLastError(lErrCode, sErrMsg)
If lErrCode <> 0 Then
MsgBox(lErrCode & ": " & sErrMsg)
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
I always get the message "Invalid Date Range", unless I comment out the region between START and END as shown above.
I've even tried other forms of dates like "new Date(2006, 06, 15)", "20060516", "2006-05-16", etc. Can someone tell me if there is anything wrong?
Thanks for assisting,
Keith LeowHi Jose,
Yes this error is from SAP, specifically from the oCompany.GetLastError method.
I've tried all sorts of Date format, and using both String and Date type, and in all cases I still get the Invalid Date Range error.
I'm pretty sure this is not about the date input format, because incorrect date format would have thrown me an exception on SQL's expression error. This error is more likely that SAP treats my input to be of incorrect RANGE.
I've made sure that my DateFrom is definitely earlier than my DateTo field. So now I'm at a total lost about what to do.
Perhaps I should ditch the Special Prices object and directly manipulate the data from OSPP and SPP1? -
Price Update in CRM Transactions
Hi,
We are using CRM 2007 with ECC6 integration, and R/3 Pricing.I have
performed initial load of Pricing condition objects(DNL_CUST_CNDALL,
DNL_CUST_CND,DNL_CUST_PRC,DNL_CUST_CND_PR,DNLCUST_FGD)and have
performed Pricing procedure determination for transactions.
When I create a transaction, pricing procedure is determined correctly.
However, condition types do not appear in the "Conditions" tab. If I
try to maintain the condition type manually, system displays error
message as "Condition type does not exist in Pricing procedure".
However, this condition type is maintained in the pricing procedure.
I have refreshed the IPC Buffer in SM53->Cache Info->State->Delete and
executed function module "IPC_DET_CLEAR_CUST_BUFFER" as well. However,
this does not help. IPC does not refresh even if we wait for days together
Anybody has got clue on this issue?
Regards
John CYou need to check if the customising download is allowed in your existing client... usually if it is production environment, the client independent chnages are not allowed to be donwloaded from ECC to CRM...
solution is that you need to ask basis to open the client and then download all customising chnages from ECC to CRM..then run the IPC_Det--- function module to clear the biffer after the download is done..
rgds,
Venkat -
What are the query types,Objects CRM provides for third party
What are the query types,Objects provided by the CRM so that it can be called by third party for integartion pupose.
First, that statement - and those materials - refer to the "legacy" StreamInsight query/adapter model. They do not refer to how things work with the Reactive model introduced in version 2.1. Specifically, it talks about Dynamic Query Composition (DQC).
You cannot use a deployed Observable in another instance of StreamInsight. You may be able to use them across applications in the same instance - off the top of my head, I'm not sure. I'm getting ready to get on a plane but will take a look at it later.
Typically, however, applications act as containers (comparable to .NET AppDomains) so I don't think that you'd be able to do this easily. That said, the code and assemblies
can be reused across multiple instances/applications. You would have separate instances of the classes involved but you would be able to reuse the query logic. That's a common use case.
Can you be more specific about your use case and what you are trying to accomplish here? It's possible that there are alternative ways to do what you are trying to do.
DevBiker (aka J Sawyer)
Microsoft MVP - Sql Server (StreamInsight)
If I answered your question, please mark as answer.
If my post was helpful, please mark as helpful. -
Please help with customizing price calculation in CRM 7 !!!
Hi, Experts!
I have a problem with customizing price calculation for product. Product is a bank's credit. I want to fill credit's data (percentage rate, pay term, monthly comission and other conditions) in condition record and after pricing procedure done i could saw results in WebUI (monthly fee, total rpice of product and etc.). 1) How to do that? Can i change or insert some fields (i mean columns) in product area (for example when i want to create opportunity)? 2) How can i change or insert calculation rule? 3) Can i insert formula in calsulation? Help me please step by step.
Thank for your help.
Regards,
faraviper.Hello Faraviper
I think you have not installed PME component correctly. Please use the following path to see the help documentation for that.
http://service.sap.com/crm-inst
or
http://service.sap.com/instguides
Also check out this OSS note, though it is for an older release it may throw some important pointers.
857969 - Installing PME for CRM 5.0
Hope this helps. -
Extracting product price conditions from CRM
Hi,
Is there a business content extractor available to extract product price conditions from product master records in CRM to BW?
Thanks very much.
RuiHallo
Please have a look
http://help.sap.com/saphelp_nw04/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm
I hope this can help you
Mike -
Possibility to download price from mySAP CRM (quotation) to ERP (PR00)
Dear all,
Price conditions (such as PR00) can be downloaded from ERP (R3) to CRM (mySAP CRM) but I would like to know if there is any way to download price from CRM (as quotation) to ERP (as PR00 condition). The goal is to reduce workload by avoiding double price creation in both systems.
Thanks for your answers.
Best Regards,
Rémi TracolHy Remy,
can you please confirm me that there´s no way of having CRM opportunity prices downloaded in ERP quotations for CRM 2007?
I find it incredible.
If you can help me.... -
Associate eDir user object with GroupWise account
After moving a user form secondary domain (GW802) to a new primary
domain (GW2012) the association of edir object and GW account was lost.
The user move state showed "completed" and i can see the user's db in
the /ofuser directory. If i try to associate the GW account it is not
listed in the po. I tried validation of the po and domain but i got no
errors.
Can i manually assign the userdb to the eDir object ?maxx,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
HI ,
We are in a process of exploring the possibilities of creating price list out of the box in CRM , we are using CRM 4.0. Can any one have an idea how to configure the price list ? I mean if I want to add the condition types ( z conditions ) in the output of the price list ? i suppose the sub totals can be passed to price list , but how ? Do any one have the documentation on Price list in CRM ?
NDIt doesn't bring back the entire list so don't be fooled!
You have to type a letter in the search window and if your appointment doesn't have that letter in it, it won't show up!
I want my list view BACK!!! -
Help to associate drop down menu choices with prices in another field
Hello. : (
I am not really a programmer.. but I have written code before.
(Certainly never written in JavaScript..)
I am working for some non-profit and they asked me to fix their PDF to associate prices with items..
I thought that this would be relatively simple in LiveCycle.. but not for me, anyway..
I have some fields called Description0, Description1, etc.. that are a DROP DOWN menu that lets you select some option.
I want the option to associate with a price field and update depending on the item selected in the drop down menu.
I am totally failing though, it would seem..
Any tips would be appreciated. : )
I wrote something like this:
function descriptionChange(newDescription){
switch(newDescription){
case "Lifepak CR Plus Charge Pak (one set of electrodes and one battery)":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "80";
break;
case "Lifepak CR Plus Charge Pak (two sets of electrodes and one battery)":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "107";
break;
case "Lifepak CR Plus Pedi Pad Starter Kit":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "139";
break;
case "Lifepak CR Plus replacement pedi pads":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "99";
break;
case "Philips HeartStart FRx Battery":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "153";
break;
case "Philips HeartStart FRx Adult Pads (1 Set)":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "50";
break;
case "Philips HeartStart FRx Infant/Child Key":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "98";
break;
case "Zoll Type 123 Lithium Batteries, (10) lasts 5 years":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "75";
break;
case "Zoll CPR-D Padz, five year year shelf-life":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "169";
break;
case "Zoll Stat Pads II, Two (2) piece pads, 2 year shelf-life":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "59";
break;
case "Cardiac Science G3 Plus Battery":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "395";
break;
case "Cardiac Science G# plus Pads (1 set)":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "49.95";
break;
case "Wall Cabinet":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "200";
break;
case "AED Wall Sign-3D":
this.resolveNode("UnitPrice.UnitPrice").rawValue = "15";
break;
}//end switch
}//end function
and then for each Description0,1... I put in like this:
var newDescription = this.boundItem(xfa.event.newText);
DescriptionChange.descriptionChange(newDescription);
Help please? : )
Sorry if my question is too simple.. or I am just too much of a failure..Thank you!!!
That is a really nice trick. : )
I ended up referencing the values with JavaScript actually..
but I imagine it is effectively the same.
They are referenced like this if anyone is curious in the future...
UnitPrice.rawValue = Description.rawValue;
I also thought I might have a problem in the future if each price associated was not unique -- but that also doesn't matter... super great. : )
Thank you very much. -
My trace file is pasted below.
[[NEW SEND]]
SMTP>220-elasmtp-junco.atl.sa.earthlink.net ESMTP Exim 4.34 #1 Wed, 27 Feb 2008 16:51:07 -0500
220-NO UCE. EarthLink does not authorize the use of its computers or network
220 equipment to accept, transmit, or distribute unsolicited e-mail.
LK>HELO basinenglt
SMTP>250 elasmtp-junco.atl.sa.earthlink.net Hello basinenglt [65.60.113.243]
LK>MAIL FROM:<[email protected]>
SMTP>250 OK
LK>RCPT TO:<[email protected]>
SMTP>550 Please configure your mail client to use authentication.
In visual basic, I'm able to send an email with this code:
Dim Email As New System.Net.Mail.MailMessage()
Email.From = New System.Net.Mail.MailAddress("[email protected]m")
Email.To.Add("[email protected]")
Email.Subject = "This is a test"
Email.Body = "Body of email goes here"
Email.IsBodyHtml = True
Dim x As New System.Net.Mail.SmtpClient("smtpauth.earthlink.net")
Dim net As New System.Net.NetworkCredential("[email protected]et", "supersecretpassword")
x.Credentials = net
x.Port = 587
x.Send(Email)
Is there some way to use this code in Lookout or is there some Mailer datamember I don't know about that I can setup to provide the right credentials? I'm at a loss for what to do and how to do it. If I can't figure it out, I'll have to use the Run object in Lookout to call a program that I'll have to make in VB that'll send out an email. In that case, I've got to install .Net on 60 computers in the field and then I'll have to make a series of exe files for each alarm condition and associate individual Run objects with each. Sheesh. Well, anything you all can do to help would really be appreciated. Thanks for taking the time to answer me.
SteveLookout mailer object doesn't support authentication. We are considering adding this feature, but not yet.
Another option for you is to use other Mail Server. There are some free Mail Server softwares which don't do authentication.
Ryan Shi
National Instruments -
Error message when deleting Business transaction: Activity in CRM
Hi All,
I am trying to delete a couple of Activities from CRM (Production system) and encounter two error message: "Enter a Business Partner" and "Administration header not found."
I have tried three ways to delete/archive the activity numbers in the system:
1) Using T code: CRMD_ORDER and then while in change mode - trying to delete the activities. When I tried this I get a warning message: "Enter a Business Partner" after I hit enter the warning: "Administration header not found." comes up and then takes you to the Easy access Menu after hitting enter.
2) I used T code SE38 to open program: "CRM_Order_Delete", here I entered the activity #s that I want to delete, the Activity Transaction type, select check box "Parallel" and then execute. I see a job log which says "Number of archived records = 3", the log shows that no records were deleted.
3) I have also tried archiving using T code SARA. But this also didn't seem to work. Here, I entered the Archiving object: CRM ACTON, then click on Preprocessing. I created a variant with the transaction type and activity numbers then set the start time to immediate and executed (F8) it. Even then I was not able to archive these activities. I did set the activities to status Complete.
Am I missing something? Appreciate your help.
Regards,
Ramesh
Edited by: Ramesh Nallabelli on Oct 9, 2008 9:55 AMReceived response from SAP support partner:
Please verify first if the issue is caused by badi implementation
of ORDER_SAVE badi. Please check method prepare and check_before_save.
Maybe inside your implementation the function crm_order_read is called
but that is not possible in case of deleting a document as document is
not available anymore.
If that doesn't work try this one:
Please check to see if you have a badi ORDER_SAVE method
CHANGE_BEFORE_UPDATE. Please deactiviate the ORDER_SAVE Badi and retestthe deletion.
This is how we resovled our issue - hope this helps someone else:
Check using T Code: SE80 to look for a BADI implementation which used BADI: ORDER_SAVE:
SE80-> Package: Z* (look for custom packages) -> Look under enhancements for any BADI Implementations which have used ORDER_SAVE (double click implementation and in the right pane look under Definition name).
Click 'Change' and deactivate this implementaiton. Now try to delete the CRM transaction. The error msg should not pop up now. Once deletion is completed reactivate this implementation.
This is just a work around. The problem lies in the code and the code within the implementation should be debugged and fixed so that this error message does not come up again. -
Javascript needed for multiple lines of the same calculations: price x quantity = total
I have received some help already but I need more details - like exactly where to place the code - and - do I place the code before using "Place Multiple Fields? Also, does the first Total1.0 field need any calculation in it or does the area under the "Calculate" tab need to be blank?
The fields in the example below were placed using "Place Multiple Fields". Instead of going into the Total fields one at a time and telling it to pick up the correct field names for Price and Qty for that row, I'd love a formula that was able to figure out the totals for each row. The only thing is that when you use "Place Multiple Fields" the field names change (e.g. Price1.0, Price1.1, Price1.2, etc.)
I really need this spelled out step by step for me, if someone has time time.
Thank you x 1,000,000.With Hierarchical field names one can create an array of the lower field objects below a one of the levels in the hierarchy.
// Custom JavaSCript for the subtotal field;
var oHFieldTotal = this.getField("Total1");
var aHFieldTotal = oHField.getArray(); // Total field objects in an array;
var aHFieldPrice = this.getField("Price1").getArray(); // Price field objects in an array;
var aHFieldQty = this.getField("Qty1").getArray(); // Qty field objects in an array;
var nSum = 0; // sum of extended price * qty;
// process each row of fields;
for(i = 0; i < aHField.length; i++) {
aHFieldTotal[i].value = aHFieldPrice[i].value * aHFieldQty[i].value; // compute the extended value;
nSum += aHFieldTotal[i].value; // add the extended value to the running sum;
} // end for loop;
event.value = nSum; // set the field value to the running sum; -
Data objects supported in the BPM Process Composer by Activity ?
Hi,
In BPMN 2.0 normalization, data objects are artefacts which show the reader which data is required or produced in an activity.
How is the data objects supported in the BPM Process Composer?
Thanks,
Grégoire.Select the activity and then select the Data Associations button. You can associate existing data objects and create new ones.
Heidi.
Maybe you are looking for
-
So I'm messing around with my phone, and open my app store. At the very top u see the "purchased" option and I select, cool it shows me all the apps I have. Now I'm done and I wanna go back to the way it was..... What do I do??? I don't like it this
-
Sudden playback problems in Premiere Pro CS 5.5.2 Mac - audio but no video
This is happening on my 12-core Xeon Mac Pro with 16gb of RAM (Lion 10.7.3), nVIDIA GeForce GTX 285 card, so it is probably not an insufficient-hardware issue... plus nothing has changed in the system that would explain this issue. I was working on a
-
Windows Media Player requests a licence.
Playing a ripped CD in Widows Media Player, requests that I download a licence, but returns the following Error: your Netscape browser does not have "Microsoft® Windows Media Services" plug-ins installed. How can I resolve this?
-
No license when the laptop is in battery operation
Hello I have got a problem with the new license since LabVIEW 8.0. I activated the license when the laptop was in mains operation. When I try to start LabVIEW when the laptop is in battery operation, there is an error because of changed hardware. Whe
-
Hi , I have coded an error message for my form by using below syntax. MESSAGE ID 'Z0' TYPE 'E' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for' wa_zmas-matnr . It worked fine when i try to display the form with an error message in tcod : v