DI : Transform Lead to Customer

Hi all,
I want to transform a Lead to a Customer via DI.
When i try to do this, i have this following error :
[CRD3.AcctCode][line: 0], 'Field  cannot be updated (ODBC - 1029)'
Sometime, this transformation works well.
How can i resolve this problem ?
Thanks for your response.
Best regards
Michael

Hi All,
I solve my problem but i have a new Error.
When i transform my Lead to a Customer with DI, i change the CardCode and i have an error when i update the BP :
"This entry already exist (ODBC -2035)."
But the new cardcode don't exist in the database (i'm sure).
Why i have this error ? How can solve it.
To solve it i do this method :
bool ret = oBP.GetByKey(oEdit.Value.ToString());
                                bool retL = oLead.GetByKey(oEdit.Value.ToString());
                                if (ret == true)
                                   //Type de partenaire
                                    typeBP = oBP.CardType;
                                    if (typeBP == SAPbobsCOM.BoCardTypes.cLid)
                                        oBP.CardType = SAPbobsCOM.BoCardTypes.cCustomer;
                                        string cardCode = "000000" + getLastCardCode().ToString();
                                        oBP.CardCode = "C" + cardCode.Substring(cardCode.Length - 6, 6);
                                        int retUpd = oBP.Add();
                                        if (retUpd != 0)
                                             //Error Message
                                        int retRem = oLead.Remove();
i don't if it's good method but it's only the one i find.
If somebody has an another idea ??
Thanks.
Michael
Edited by: Michael LECLERCQ on Jun 12, 2008 10:17 AM

Similar Messages

  • How to save the instance in standard lead from custom business object

    Hi Experts,
              I am unable to save the instance(Record) in standard Lead business object from custom business object.
    Steps:
    created one custom business object with mandatory fields for creating instance in standard lead.
    in quick create screen i bind  data elements to standard lead business object elements.
    issue:
    when i click on preview i am getting exception as Arguments not found
    can you please tell me that How to save the instance in standard lead from custom business object with step by step .

    Hi Vijay,
    Please refer this link under that mentioned that how to create lead using ABSL code
    Web 2 Lead in SAP Cloud for Customer, step by step - Part 1 - myCloudDoor myCloudDoor
    Under the "Action-CreateLead.absl" mentioned how to create lead
    the above link for convert web 2 lead functionality and under they create lead using web data from ABSL code.
    Regards,
    Mithun

  • Covert the business partner cardtype from lead to customer

    hi
    i have created on BP as Lead type ,i have created one sales oppertunity for lead BP ,then when i create sales order for that BPartner he should covert automaticaly cardtype from lead to customer.  can we change the card type?,is it possible?
    regards
    anvar

    hi
          can u tell me the way how to convert that .

  • Leads and its associations with Custom Objects 4-15

    I have been trying to create a Real time report with Lead associating with Custom Objects 3 and 5. But the report does not show up any data. I know that we cannot associate Custom objects 1,2 and 3 with Lead. I wanted to know if we can associate Lead with Custom Objects 4-15 or not ?

    Yes. You have to define them in CO5 Layout.
    You should see Name, Contact and Custom Object 04 (you may have renamed it). Not the Id field.
    Then when you add THE CO5 layout to Contact Related section, you can add new association between Contact and CO4.
    Don't forgot to enable the Access Profiles in Contact, CO4 and CO5.

  • What are the steps to make it seamless for a customer to use the install program and then use the installed program?

    I wrote an install program (.exe) that is downloaded from a website.  When run, it 1) leads a customer to browse to a directory, and 2) copies files (.exe, .dll, etc.) from a website to that directory.  When I run, the installed program works.
    What are the steps to make it seamless for a customer to use the install program and then use the installed program? 
    bhs67

    This site https://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.110%29.aspx provides a basic description of the Visual Studio Windows Installer. 
    Near the bottom of the page is "You can unlock all the features of InstallShield by paying to upgrade to the full version of InstallShield."  Where do I find info that describes the differences between the "free" and the "full"
    versions?
    bhs67
    Hello,
    The default feature does support the task for your requirement, so there is no need to pay for the other features unless you want to use some feature which is not free.
    In addition, as this thread
    InstallShield LE not available with VS 2012 RTM? shared, even through there is a link to InstallShield LE in the New Project dialog under Deployment solutions, but it belongs to third-party that I would recommend you consider posting this issue
    at the following forum to get supports about InstallShield.
    http://community.flexerasoftware.com/forumdisplay.php?133-InstallShield
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Ship to Party in Prospective Customer

    Hi All
    I am facing problem with Prospective Customer. In account group 0005 there is no Ship to, Bill to and Payer as partner.
    which is logical in this scenario.
    But when I create a sales document it asks for a Ship to party in the initial screen and does not let me go further.
    My doubt is how would I bring Ship to party here for this Propective customer.
    Regards,
    Neeraj Srivastava

    Hi neeraj,
    as i told u earlier, u cannot do inquiry or quotation or order with prospective customer..u only can do Sales Activity with him..
    This is a special feature available in SD which is similar to Lead Management in CRM. Lead (Prospective Customer) make a phone call or mail you. If he agrees to do business with you, then you can treat him as a Regular Customer.
    Use: By following this process, you can create a sales activity called Computer Aided Selling.
    Procedure: To define a Sales Activity you should follow the below mentioned SAP Menu path.
    1. Create Customer under u201CProspective Customeru201D Account Group (Account Group-0005) by using Transaction Code XD01
    2. Create a Contact Person for this customer by using Transaction Code VAP1
    3. Go to Sales Activity screen by using Transaction Code VC01N
    4. Enter type of Sales Activity
    5. Enter your Prospective Customer, Contact Person, Sales Summary and other details.
    IF THE CUSTOMER AGREES TO DO BUSINESS WITH US,THEN U HAVE TO CONVERT HIM AS A REGULAR CUSTOMER. then u can raise inquiry,quotation  or sales order from that sales activity itself (from VC01N)..then u can see the sales summary of that customer also..
    hope it helps..
    reward points if helpful..
    regards..
    yogi...

  • Transformation activation problem

    Hello All,
    after saving a transformation it results a failure of the system.
    No errors are displayed but something goes wrong: after saving the transformation, it looks like it is saved successfully (as I can read on the left bottom) while simultaneosly I see that the transformation is still not saved (as I can read under Version).
    Moreover even if I try to delete a Rule it still remains on the screen.
    Saving one more time the transformation leads to the same result.
    No further updates are saved even if the system replies with "Transformation saved successfully".
    Thanks for any help.

    Hi,
          Actually this is a Patch related problem. May be you are using patch SAP_BW at level 15 or less. I have faced the similar problem there is a SAP note delivered. Refer this Note and Apply 1085318.
    Regards
    Karthik

  • Upload XSD and CALL TRANSFORMATION

    Hi expert,
    i have need help for to call the transformation into the custom program.
    I have the XSD file.
    How do i upload in SAP the XSD file and, after, call the transformation for generate a XML file?
    thanks in advance,
    AI

    hi Jan,
    Check out the link
    http://www.topxml.com/code/default.asp?p=3&id=v20031025170911&ms=20&l=xsl&sw=categ
    This link contains a file that contains an importable xslt stylesheet with two templates. The first is a text wrap template that breaks texts at carriage returns. You need to modify the xslt.
    [code]<xsl:template name="text.wrap">
            <xsl:param name="texttowrap"/>
            <xsl:variable name="textlength" select="string-length($texttowrap)"/>
            <!-- don't waste time if no text supplied or remaining from recursion-->
            <xsl:if test="$textlength > 0">
                <xsl:choose>
                    <xsl:when test="contains($texttowrap,$CR)">
                        <!-- get the text before the first instance of a carriage return character-->
                        <xsl:variable name="<span  style="background-color:yellow;color:red;font-weight:bold;">line</span>beforefirst<span  style="background-color:yellow;color:red;font-weight:bold;">break</span>" select="substring-before($texttowrap,$CR)"/>
    .................[/code]
    Hope this helps.
    Regards,
    Richa

  • Deletion of generated transformation programm

    Hi
    We have implemented includes in the expert routines in our transformation. After we have deleted a transformation with an customer include, we wanted to delete the customer include. This is not possible as the include is still used in a programm generated by SAP (program class RSTRAN_MASTER_TMPL_X / Generated Runtime for Transformations).  I believe that this program should have been deleted when we have deleted the transformation. Does anybody know how we can delete this generated programm?
    Thanks for helping.
    Reto

    Hi Reto,
    Just to share some tasks I do when I encountered this similar incident.
    Would you still recall the technical name of your transformation?
    You can try to search this in RSA1 as sometimes this is not yet completely deleted and can still be seen by the system. So in case there was a search result, you can delete it from there.
    Can you try using a where use in your INCLUDE as this may also be inserted in a different transformation. Normally a system generated program for a transformation starts with a GP***
    Then in case there is a search result you can display this generated program and you can see the technical name of this other transformation. You can verify this transformation if you still need this or you can delete so you can delete your include.
    In case the transformation is in the system you can try to activate it first just to "clean" up things first related to your transformation then from there try deleting again your transformation.
    Hope this helps.
    Cheers,
    Jeff

  • API for insert Lead into telesales

    How can Insert lead for customer using API in Telesales

    Hi,
    Currently, I believe there are no api's to populate the pa_transaction_control table.
    If this is a new implementation and you are converting the projects from your legacy system for the first time, you should be able to directly insert date into these tables. This table does not have many FK relationships. Mainly depending on the transaction control is set at the Project or the Task level, you can set the values for Project id /Task id.
    I would also suggest that you confirm with Oracle by creating a Tar that there is no API currently available.
    - Vasu -

  • BPC NW 7.5 and BW ETL transformations

    Hello everybody,
    This is a simple question: did anyone face any kind of problem building BW transformations to load BPC infocubes?
    I read it in BPC mannuals, as a valid practice to load transactional data into BPC infocubes, using BW functionality. It's able to use transformations to load transactional data into any BPC infocubes, from RSA1.
    Recently, we have upgraded from BPC NW 7.0 to 7.5, and all transformations that we built on BPC infocube do not let us to optimize the corresponding BPC application. Even SAP suggest us to erase them, but i don't undestand why should i do it.
    Any help will be appreciate.
    Best regards.

    Hi Luisma,
    I really don't think this has ever been an officially SAP-recommended approach for loading transactional data to or from BPC cubes - I believe that this is what Nilanjan is talking about. Of course, SAP has a lot of people working for them and it's definitely possible that someone recommended this, but I'm pretty sure that this has always been talked about as a possibility that is not recommended and not supported by SAP.
    You mention How To guides, and there is definitely a How To guide for loading master data using transformations and a custom program that is informally supported by SAP on this forum. But master data and transactional data objects behave very differently in BPC. In the 7.5 version, I think it is recommended to switch from using the How To guide approach for master data loads and instead use the built-in functionality in the 7.5 version. Is this what you are talking about? In this case it is InfoObjects and not InfoCubes being loaded, so maybe it is just a terminology problem.
    Ethan

  • Getting Error Message while creating transformations

    While creating transformation for char customer no in the rule type for constant , getting an error message source parameter 0001 is not being used.

    Hello Bharati,
             you need to give the value of the constant by selecting from the source parameter.Hope this answer helps you.
    Assigning Points = Thanks in SDN
    Thanks & Regards
       Jai

  • Master Datasource Update for custom fields

    I have a standard master data source for 0customer, I need some custom fields that are enhanced in the same SoURCE TABLE KNA1. please let me know if
    1.  i can create the generic data source Z_DS_CUSTOMER for custom fields only from KNA1
    2. Create transformation 1 to Map the data source Z_DS_CUSTOMER to Ocustomer to load the custom fields only and set no transformation for other standard fields
    3. Create transformation 2 to Map the data source 0customer_attr to same Ocustomer to load the standard fields.set no transformation for other custom fields
    4. Then Load via DTP Standard fields first via transformation 2
    5. Then Load via DTP custom fields first via transformation 1
    Will the above will work fine, and I can avoid any enhancement to master datasource 0customer_attr
    please help me with solution.
    Regards
    Soniya
    null

    Hi all my dear friends,
    I have seen the recommendation by my SAP collegue and Anil
    1. infoobject as Target and
    2. in between Standard DSO
    1 transformations as you mentioned from 1 IS
    3. Common Info source
    2 transformations as you mentioned from 2DS
    4. Datasources (2no's ) as source to splly to data to DSO
    <b>Please tell me what is the need to do all the above why can't I feed directly the Infoobject with the below PLEASE tell me what will be the bad impact on design if I do the below</b>.since my client is asking<b> justification for build of each BI object</b>
    1. infoobject as Target and
    1 transformations as  mentioned from 1 IS
    2. Common Info source
    2 transformations as mentioned from 2DS
    3. Datasources (2no's ) as source to splly to data to DSO
    I am not going for enhancement since it is not populating the datasource in rsa3. if you can correct that it would be great.
    I have the same code for all custom fields none of them is working no records are pulled in RSA3 For custom field ZZSTAT.
    Please help me with this
    Thanks
    Soniya Kapoor
    *data: l_BIW_KNA1_S like BIW_KNA1_S
    *case i_datasource.
    *WHEN ' 0CUSTOMER_ATTR'.
    *loop at C_t_data into l_BIW_KNA1_S
    *l_tabix = sy-tabix.
    *clear  I_KNA1.
    *select single * from KNA1 into i_KNA1 where kunnr = l_BIW_KNA1_S-kunnr.
    *if sy-subrc = 0.
    *l_BIW_KNA1-ZZSTAT = I_KNA1-ZINSTAT.
    *modify C_t_data from l_BIW_KNA1 index l_tabix.
    *endif.
    *endloop.
    *endcase.

  • Inbound ECC, ADRMAS/DEBMAS Processing with Customer # Assignment

    I am looking for someone with recommendations on how we can get ADRMAS and DEBMAS IDocs transformed with new customer number and processed in proper order in ECC.  The IDocs are being sent from a hub MDG system with a hub customer number in them.  They get sent over via ALE to the destination ECC system and we have them set to not process immediate.  We plan to process them via a program that needs to look up the next available customer number on the ECC (using internal number assignment) and process both IDocs with the new ECC customer number.
    We need to coordinate the ADRMAS processing before its' respective DEBMAS.
    Any suggestions are appreciated.
    Thank you,
    Keith

    Hi Keith,
    You might want to consider using "Serialization by Message Type" in the receiving system.
    Please refer to below link which has more information :
    Serialization of Messages - ABAP Development - SCN Wiki
    Also, if you have internal number assignment for the customer, the system will propose a new available customer number.
    Thanks,
    Kumaran

  • Different lead times

    hi, we are having different times for shipping lead time, customes lead time, delivery lead time etc. how to map these type of lead time for materials to plan properly. as i know we have only pland delivery time, gr processing time,in-house prod time, pr processing time in mat masters.pls advise how tomap above said lead times for roh materials?

    Shipping, delivery and customer lead times are not maintained in PP master data.
    Check with your MM/SD Concerned guys to check where they are maintained.
    Regards
    Ratan

Maybe you are looking for