How to generate Voucher Codes in CRM 7 EHP1

Hallo all,
we have currently set up a CRM7 EHP1 system to check out the latest functions. I try to get the new voucher functions working. I customized the voucher stuff as described in the documentation (http://help.sap.com/saphelp_crm700_ehp01/helpdata/EN/f1/7eb3ccd1ba4a27a8f2ecc07664f7e6/frameset.htm)
I defined the voucher code variants, a number range for my vouchers and I implemented the BAdI.
My question now is: how and when are the voucher codes generated? I created a campaign of my voucher type and assigned a simple segment. Then I changed the status to 'released' but nothing happened. Even after explicitly executing the campaign, nothing happened, the number range interval still starts with 0 so no codes were generated. My BAdI implementation is supposed to write the generated code into some db table but that table is empty.
Does anyone have a clue how I get the codes to be generated?
Thanks and best regards,
Martin

Have you created the mail form and attached the mail form to the campaign you created?
In the mail form, you have to insert the coupon code attribute in the mail form. you can found that in
mail form-> Text Element section, click on attribute button -> Attribute Category to be selected as Campaigns.
The coupon code will be generated when you execute the campaign and the segment receives email.
Hope this helps.
Regards,
Harsh

Similar Messages

  • How to generate GUI code from parsed XML file?

    hai,
    I have to generate GUI code after parsing any configuration XML file as input.Now i have parsed my XML file and got its attributed and i want to get some idea of how to map the parsed XML attributes to the java code to build GUI code.

    Hello,
    1. I like to create data type from a XML file structure, which contains the data structure ?
    XML fields will need to be taken note of to see which is repeating or not. You can also load the XML into a third-party tool such as Altova XML Spy and then generate an XSD from there. You will need to import the XSDs into PI under external definitions. However, this does not guarantee business interoperability, as such, it is always best to ask the provider for the XSDs or WSDL. It will also save you a lot of time from guessing which fields are needed or not.
    2. How to create custom node function in graphical mapping editor ?
    In your graphical mapping editor, on the lowest left corner, there is an icon there that says Create New Function. You must take into account their return types:
    1. Single Values = String
    2. Queue/Context (no return type) thus resultList is used.
    Hope this helps,
    Mark

  • How to generate QR Codes and link then to web site

    I need help generating QR Codes with Adobe Photoshop Elements 12; please

    Thanks for reply, would visual studio professional allow me to generate
    dynamic QR Codes or which software do you recommend

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

  • How to generate a code?

    How can i generate an automatic code like '0001'

    Hello,
    Sorry, but your requierement is not clear enough for me.
    Could you provide more details ?
    Francois

  • How to generate item codes automatically

    Hi,
    My customer wants that the inventory item code be generated automatically based on its description. The code should have:
    - 3 first characters of the description
    - A sequential increased number, to make the code unique.
    e.g. the item called "Petrol" should have the code "pet004".
    To achieve this, I have created a database procedure. So the user that works in "Item Master" form, will fill out "description" field and the "Item" field should be automatically populated based on the return value of this procedure.
    Is there any way how to achieve this through personalization?
    Or, is there any standard way that Oracle offers for automatic generation of item codes?
    Thank youl

    Hi,
    You have to do it using forms personalization.
    Thanks,
    PS.

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • How to generate a Code 39 barcode?

    We want to print our Service Order Numbers as a Code 39 bar-code.
    I read that you can print the bar-code in the report (as a graphic) by downloading a Code 39 barcode font.
    But first I have to convert our SO Number to a Code 39 barcode.
    Is there is a Oracle PL/SQL function to do this?

    Hello,
    http://www.idautomation.com/fonts/tools/oracle/
    Oracle Reports Barcode Font Tutorial & Integration Guide
    This IDAutomation tutorial is designed for implementing barcodes in Oracle Reports with the IDAutomation PL/SQL Barcode Library and IDAutomation barcode fonts. The barcode library is a PLL file that formats data from fields in the report to the barcode fonts, to create a correct barcode. The library contains functions for Code 128, Code 39, GS1, Codabar, UCC/EAN 128, Interleaved 2 of 5, UPC and EAN barcodes.
    Regards

  • How to generate Bar codes from Crystal Report

    I understand that Bar Codes can be genrated from Crystal reports. I am using CR 2008 and trying to convert my Inventory items to bar codes. it does convert it and I can see the bar codes but it looks like; just a garbage and scanner does not recognze it plus the numners are missing @ the bottom.
    Anybody has ever tried this and have some simple instructions to start with.
    Any help will  be appreciated highly.
    Regards,

    Hi,
    What barcode are you using and what barcode font? 
    If you are using Code39 or Postnet then you need to make sure your values are formatted properly by creating a formula and using the barcode functions. 
    Have a search in the forum for barcodes.  It's been talked about a lot and you should find your solution. 
    Good luck,
    Brian

  • How to generate CSS code

    I am working in Illustrator CS6 there is no option to generate CSS or CSS preferences. Is there a free download for this filter somewhere. I can't update to CSS because we are a school system.

    Hi,
    when you create a new report using the wizard you can create both paper and web layout.
    After that, if you update the paper layout it won't change the web layout too.
    You have to modify it by hand.
    Bye
    Raffy

  • How to get MixRadio voucher code?

    Sir how to create voucher code for nokia Lumia 525 for nokia mix radio app.
    Moderator's note: We amended the title of this post as we moved it to the most appropriate board.

    To the moderator(s)
    I'm based in India and have faced problems with MixRadio subscription renewal recently - from my knowledge/experience, it seems to be due to the MS acquisition. The online recharge link on oxicash.in gives a 404 error, and I visited a Nokia Care franchisee outlet who used to, but don't sell vouchers anymore and whose manager knew nothing.
    I've learnt that MixRadio will be spun off into a separate company to go cross-platform and Xbox Music may replace it on WP, can't say.
    This is extremely disappointing for me - I'm a MS/WP/Nokia evangelist, but now boot-strapped wrt the great benefits of MixRadio I've enjoyed till now. I've scanned & downloaded so much music through Shazam's integration with MixRadio. I'll now have to join the plebs who download music on desktops and sideload it to their handsets. Woe is me - till MS resolves this of course, as I hope and expect they will.
    Thanks
    Mehboob
    Moderator's note: This post is edited. Publishing of any personal information is not allowed in the forum.

  • How to generate a java class source code?

    I want to generate the code of a java class programatically based on this template:
    Public class glue{
    public void setMethod1(){
    public void setMethod2(){
    }in which the names and the code of setMethod1() and setMethod2() are not constant.
    My problem is that I don't know how to generate the code of a .java class programatically . can you help me?
    Edited by: elebal on May 4, 2009 1:45 AM

    codingMonkey wrote:
    elebal wrote:
    I want to create a file called glue.java for which the method names and parameters are read from an XML file.
    At run time I read the XML file and get the data, now I want to create this .java file based on variables i have from XML file.Why would you want to "write" your Java code in XML then convert it to Java? Seems pretty pointless to me.I can think of several scenarios, but none that someone who doesn't know how to handle this should even remotely consider suitable for his or her level of expertise to try and tackle.

  • How do I generate redemption code for creative cloud?

    how do I generate redemption code for creative cloud?

    On October 27th 2014, you have purchased two CC (one complete &one photography) under the same Adobe ID. That is the reason you are being asked for a code because under one Adobe ID only one CC can be activated(twice).
    Please contact Adobe Support or you can inbox me privately the CC order number  that you would like to cancel.
    You can also check if the host file has Adobe entry or not as if Adobe entries are there then also CC can ask for serial number. You can check the host by the followinh method.
    Creative cloud do not need a serial number. it will be using your Adobe ID on which you have purchased the creative cloud membership.
    So you need to login with your Adobe ID and password to activate the cloud membership.
    Log out & log back in of the CC Desktop App.
    In case it is not signing in successfully please try the following:
    I don't know which operating system you are working on so i am giving you some steps windows and MAC OS:
       Windows:
       In windows 7 navigate to following location:
         /windows/system32/drivers/etc
       1. look out for "Hosts" file
       2. Open it with notepad
       3. Check if you have any entry for Adobe
       4. Remove the entries and try again launching any product from CC
      Mac:
       1. Please click on "Go" and navigate to /private/etc
       2. Open "hosts" file and check out for any entries for Adobe.com
       3. Remove the entries and save the file
       4.  try again launching any product from CC
      Please refer to Creative Cloud applications ask for serial number
    Hope it helps you.
    Regards
    Rajshree
    Cannot license Illustrator CC after buying subscription

  • How to generate Billing Request Items in SAP CRM

    Hi Folks,
    We have requirements to create BRIs for Service contracts. Each BRI will create a Debit Memo Request in SAP ECC.
    All Billing activities happens in ECC.
    I did the following configuration:
    1. Synchronization of master data (SAP CRM and SAP ECC)
    2. Synchronization of pricing conditions (SAP CRM and SAP ECC)
    Conditions are identical in both systems.
    3. Customizing of service transactions in SAP CRM
    You have set the External Billing indicator for the relevant item categories. You do this in Customizing for Customer Relationship Management, by choosing Billing Define Billing Relevance of Item Categories.
    4. Customizing of controlling objects in SAP ECC
    You have defined CRM controlling objects to which costs and revenue generated by external billing can be automatically assigned. You do this in Customizing, by choosingIntegration with Other SAP Components Customer Relationship Management Settings for Service Processing Controlling Integration
    5. Controlling integration: Customizing: Integration with Other mySAP.com ComponentsCustomer Relationship Management Settings for Service Processing Billing Integration Map Transaction Types and Item Categories.
    When i release the Contract items, I dont see any BRI created. I am not sure where should i check, if BRIs are created.
    I have following questions:
    1- Where to check if BRI is created for contract
    2- How to generate BRI.
    3- Can i debug the process of BRI creation? Is there any FM which gets called or BADI?
    4. what am i missing in above config.
    Any help, material will be helpful.
    Regards,
    Shastri.

    Hi Naresh,
    You need to use Billing Plans for Service Contracts Scenario to create BRI items.
    In the Billing Plan - you can assign whether it is a Periodic Billing or Milestone Billing. Then you need to assign this billing plan to item categories. So based on the period (monthly,quarterly,yearly) - the BRI items will be generated.
    So Please try using Billing Plans for your scenario. As you mentioned earlier, you are using ECC for all Billing purposes. So the system will create one Debit Memo Request document per Contract and it will each line item for each of the BRI's in Service Contract. System will not generate one DMR per BRI item.
    You can check the BRI items generated at the item level --> Billing Plan Tab page (Assignment Block in Web UI).
    Hope this helps.
    Regards,
    Siraj

  • How to generate new perner number using Abap Code in pa0002. what is the fu

    how to generate new perner number using Abap Code in pa0002. what is the function Module used.

    hi
    define internal number ranges for ur implementation then when u run PA 40  do not input any employee number , system will generate the employee number automatically.
    Regards
    sameer

Maybe you are looking for