Error in Sales Quotation UDF Editing

Dear ALL,
                 I have created a Sales quotation and saved it to it there is a UDF (Text 64000 character field) which contains data.
                 If I delete some data from the field it lets me edit and save it.
                On adding even a single caracter in  the field system Hangs and closes down.
Please advice
Thanks in advance.

Hi Aslam.......
Is Same thing happening in server also?
I doubt this might be the issue of PC config.
What is the memory space?
Clear the temp files and try disconnecting addon if any just for the sake of checking.
If again same problem happens then try reinstalling DI API and SDK.
Regards,
Rahul

Similar Messages

  • Auto OpprId in Sales Quote UDF

    Hi,
    When I create a new Sales Quotation through the Sales Opportunityu2019s Stages tab, I would like to auto insert the OpprId value into a UDF field I created on the Sales Quote. Thus creating a reference on the Sales Quote, pointing to the relevant Sales Opportunity.
    Currently we either manually enter the OpprId value into the SQ UDF, or use a formatted search that creates a list of all the latest OpprId in the system and then select the correct Opportunity No.. Using this though does not show the current Sales Opportunity one is busy with; it must obviously be added first before it will show in the formatted search list.
    So is there a query that will automatically insert the related OpprId to the relevant Sales Quotation UDF?
    Thanks.

    Thanks Senthil,
    That creates a list of OpprId for that Business Partner in the UDF on the Sales Quote. They can get the latest as long as they added the Sales opportunity to the system before they run the FMS in the Sales Quote.
    It is certainly going to help.
    Would have loved it if the value of the OpprId was auto imported to the UDF on the Sales Quote, but this is already an improvement.
    Thanks!

  • Error Code -5002 when updating Sales Quotation

    Our Sales Quotation documents have 3 UDF: Contract Status, Approver1, Approver2.
    when a user updates the Sales Quotation in SAP, our addon resets these fields by DI to 'Pending', "", "" , so the document needs to be approved again.
    Here is the code called in AfterDataFormUpdate:
    Me.oDoc.UserFields.Fields.Item("U_XX_Ap1U").Value = ""
    Me.oDoc.UserFields.Fields.Item("U_XX_Ap2U").Value = ""
    Me.oDoc.UserFields.Fields.Item("U_XX_ConSta").Value = "P"
    fncRetVal.retCode = Me.oDoc.Update()
    If fncRetVal.retCode <> AddonVars.enumReturnCodes.Success Then
                    oDiCompany.GetLastError(lErrCode, sErrMsg)
    End If
    I'm getting a retCode = -5002, and ErrMsg = "Cannot insert value in the 'Folio Number' field "
    Has anyone seen this before? Any input is appreciated.
    thanks,
    Grace

    i read once in another thread about this.
    its an sap bug in sap 2007.
    [Error Documents Obj. -5002,Cannot insert value in the 'Folio Number' fiel|Error Documents Obj. -5002,Cannot insert value in the 'Folio Number' fiel]

  • Sales quotation without unit price & total shows a error invalid total INR

    Dear All,
    According to my clients requirement,iam creating a sales quotation without unit price and total .
    Now when iam copying it to a sales order,it is showing me a error "Invalid Total INR".
    I could not understand why and how it is happening.
    Can anyone help me out.
    Regards,
    Meghana

    sir,
    i tried removing FMS still it is coming.........
    The surprise thg is in certain sales quotation without unit price and total there is no such error and it is converted into order, but the issues is wiyth certain old sales quotations.
    Regards,
    Meghana
    Edited by: MEGHSHILPK on Nov 8, 2010 12:11 PM

  • Error while creating quotation in sales order verion ?

    Dear All,
    while creating an quotation in sales order version management getting an error.
    Sales Doc. MsgType Message Class        Msg.No. Message text
               E       AM                        53 Specify either address number or address
               W       V1                       555 The sales document is not yet complete:
               E       V4                       219 Sales document  was not changed
    thanks
    vincent

    Dear Vincent
    May be this is related ABAP Issue please check with them because i found same issue
    "BAPI_SALESORDER_CREATEFROMDAT2" - getting error while executing in se37.
    "Specify either address number or address handle " BAPI_SALESORDER_CREATEFR

  • ERROR IN SALES ORDER AND QUOTATIONS

    Hi All,
    " An Error has occured in the system RQ13000LS while copying the Document " , This is an Error displaying in Quotation to follow up Sales Order and while Saving Sales order - This error populates....hope many of them faced this instances , Pls provide the solution and steps. Thanks in Advance.
    Regards,
    Abhi

    Hi Abhi
    This error occurs while replication of the order to the backend R/3 system. Click on the long text button ('?' button) and see whether it gives any details or not.
    Also you can go to SMW01 and check the error logs. This will guide you as to what configuration is missing on the CRM or R/3 side.
    Also check whether the settings for Quotation replication have been maintained properly or not.
    Hope it helps.
    Plz reward points if helpful!!
    Regards
    Debolina

  • Log In Error in Internet Sales R/3 Edition

    Hi,
    I´m working with Internet Sales R/3 edition, not CRM.
    I´ve created a contact (Ej.'1') assign to a customer.
    I´ve created an internet user (tx SU05) with the same contact code ('1').
    When I try to access to the web, I enter '1' in the user name and the SU05 password but I get this error message:
    "Runtime error. Contact the administrator".
    Is there some customizing missing??
    Can somebody give me a hint?
    Thanks in advance,
                      Valle.

    Hi Valle:
    First, have you configure your ISA R/3 via XCM? Third, is your user is set as SU05 user which you can verify fom IMG? Third, did you try to create an user via using internet user administration, a web version?  If you tried them all and you still have the same problem, enable your ABAP debuger then you should be able to find out the root problem.
    good luck,
    Chao-sheng

  • How to assign values to UDf of sales quotation at Doc level using UIAPI

    HI,
    I have a custom form, viz. Sales feedback.
    When the user clicks button "Copy to sales quotation" of this form,
    I create an instance of Sales quotation form and open it in SAPB1.
    I have to populate all sales feedback data to this form(Sales quotation form's UPAPI).
    What is the simpest way to do this?
    Also, How can I assign UDF values to sales quotation from sales feedback.
    Regards
    Trupti Mahurkar

    Hi Trupti,
    for assign UDF values, trying with:
    Dim oTargetDoc,oSourceDoc As SAPbobsCOM.Documents
                oTargetDoc.UserFields.Fields.Item("myUDF").Value=  oSourceDoc.UserFields.Fields.Item("myUDF").Value()

  • Sales order costing error found in quotation 2 order line items created in

    Sales order costing error found in quotation 2 order line items created in quotation 5000562
    1st line item with third party
    2nd line item with PTO
    Purchase price was entered in the configuration screen
    1st item : 2,000 EUR
    2nd item: 1,200 EUR
    Purchasing info record was created with variant condition for EUR
    Error in sales order costing:-
    System does not take the purchase price in the configuration screen to
    calculate sales order costing. It incorrectly took 1 EUR from variant
    condition in sales order costing for both items.
    By right, it should take purchase price from configuration screen.
    Pls advise
    Thanks

    no replies and my thread was dead.

  • Error when Creating Sales Quotation

    Hi,
    I am trying to add SalesQuotation through DIAPI. I got the error code -5002 that "Item no. is missing [OQUT.ObjType]". I don't understand why because the item code is defined and the docnum value is also defined. Can anyone enlighten me on what I have done wrong?
    Below is my C# Code:
    public static void CreateSalesQuotation(B1DataConnection conn){
                   string cardCode = "1903";
                   SAPbobsCOM.Documents salesQuote = (SAPbobsCOM.Documents)conn.InternalConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oQuotations);
                   salesQuote.DocNum = 1030;
                   salesQuote.Address="123 Warehouse";
                   salesQuote.CardCode = cardCode;
                   salesQuote.CardName = "Norm Thompson";
                   salesQuote.ContactPersonCode = 702;
                   salesQuote.DiscountPercent = 15;
                   salesQuote.DocCurrency = "USD";
                   salesQuote.DocDate = DateTime.Today;
                   salesQuote.DocDueDate = DateTime.Today.AddMonths(1);
                   salesQuote.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items;
                   salesQuote.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO;
                   salesQuote.JournalMemo = string.Format("Quotation : {0}",cardCode);
                   salesQuote.PaymentMethod = "Checks";
                   salesQuote.SalesPersonCode = 4;
                   salesQuote.Lines.ItemCode = "A00004";
                   salesQuote.Lines.ItemDescription = "IBM Inforprint 1222";
                   salesQuote.Lines.Quantity = 50;
                   salesQuote.Lines.Price = 300;
                   salesQuote.Lines.WarehouseCode = "035";
                   salesQuote.Lines.TaxCode = "NY";
                   salesQuote.Lines.SerialNum = "25412671345";
                   salesQuote.Lines.Currency = "USD";
                   salesQuote.Lines.Add();
                   int returnVal = salesQuote.Add();
                   int errCode;
                   string errMsg;
                        if(returnVal !=0){
                             conn.InternalConnection.GetLastError(out errCode, out errMsg);
                             string mesg = string.Format("Error Code: {0}; Error Message: ", errCode, errMsg);
                             Console.WriteLine(mesg);
                             return;
                   Console.WriteLine("Successfully insert the sales Quotation!");
    Thank you in advance,
    Sunny

    Hi sansanee
    I assume the syntax is correct, don't know c#.
    The main reason it is not working is because you said "salesQuote.Lines.Add();" when you only have one line. You only add the line if you have more than one line on your sales quote. The last line is added and taken care of when you say "salesQuote.Add();". So basicaly i'm saying that if you have 4 lines in the quote you'll have three "salesQuote.Lines.Add();" to do the first three lines then the last will be taken care of when you add the invoice.
    It gives you that error because the second line has no item code because it thinks there is a second line.
    Another tip, only fill in what is neccaserry, the rest it will use the defaults of the system.
    Hope this helps

  • Query On Sales Quotation

    Hi All,
             I have made an UDF at title level named priority and set values as High, Medium and Low. When we make a sales order, we set the priority as well. Now the customer wants a query where he can get the details of number of sales quotations made within a week and two weeks range and that too based on the priority i.e the report should show the Highest priority Sales quotation first and so on. I have come up with an SQL but i dont know how to get the date range i.e week range and how to set the report according to the priority level. Can anyone please suggest how to correct this query;
    SELECT T0.[CardCode], T0.[CardName], T1.[CntctPrsn], T0.[DocDate], T0.[DocDueDate], T0.[DocNum], T0.[U_Priority] FROM OQUT T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    Thanks in advance,
    Joseph
    Edited by: Joseph Antony on Mar 5, 2009 11:32 AM

    You can try this first:
    SELECT T0.CardCode ' Code' , T0.CardName 'Name' , T0.CntctCode, T0.DocDate, T0.DocDueDate 'Valid Untill' , T0.DocNum, T0.U_Priority
    FROM DBO.OQUT T0
    WHERE DateDiff(ww,T0.DocDate,GetDate())< 3
    Order By T0.U_Priority
    Thanks,
    Gordon

  • Copying valid until date from sales quotation to sales order

    Dear all,
    is it possible to copy the Valid Until Date of a sales quotation to the Delivery Date of a Sales Order, when I use the "Copy To Sales Order" button of a sales quotation?
    Is there a way to do this?
    Can someone help me, please?
    Regards
       Emanuele
    Edited by: Emanuele Croci on Oct 19, 2009 11:49 AM

    The problem is that the FS will not fire using the Copy To button without any data changing.
    (I would consider it an error, but it works that way.)
    If you use the next FS, connected to the Remarks field, you can use it on the order with the Copy From button, or manually activated after a Copy To.
    declare @c nvarchar(254)
    declare @p int
    set @c=$[$16.1]
    set @p=charindex('Quotations',@c)
    set @c=substring(@c,@p+10,20)
    set @p=charindex('.',@c)
    Select OQUT.DocDueDate
    From OQUT
    Where OQUT.DocNum=cast(substring(@c,1,@p-1) as int)

  • Sales Quotation - Currency  issue

    Respected Sir,
             In Sales Quotation, General Area,when we select Currency as "BP Currency" besides that we will get another drown down list of some cuurency list like USD,EUR etc. My issue is when end user must select first currency,if they didn't select that end user cannot go for contents tab.It must show an Error or Warning.
    Edited by: Maithili on Mar 8, 2012 11:23 AM

    Hi Maithili......
    Again This question would go to SDK Forum as it is not possible in standard not even through SP Transnotification.......
    Regards,
    Rahul........

  • Copy closed or cancelled sales quotation to sales order

    2007A SP0 PL49
    It is possible to copy a closed/cancelled sales quotation to a sales order. It is also possible to copy to sales order several times. What is the reason for this? Has this always been the way it works?

    Yes it's possible and been around since we started with SAP 2005A. We use sales quotes extensively and treat them like standing orders.  We have customers that order the same items over and over daily/weekly, and rather than have to key in those sales orders over and over we use the document generation wizard to copy sales quotes to sales orders based on UDF we have added.
    If you want closed sales quotes to be blocked from adding to a subsequent document I am sure this can be done with stored procedures.

  • Attachments(matrix) in Sales Quotation

    Hi All,
                  In my sales quotation i want to add an attachemnt tab,in that matrix will be there.i want to browse from dialog box & add 'n' no.of items to the matrix folder & save it.can anybody tell me some sample coding to add multiple items in matrix & add....same like in sales oppurtunities i want to add attachments in sales quotation.
    thanks
    dileep

    hi
    I think you got confused with document and draft no on Approval documents.
    Ofcourse many user,got this confusion.
    The Document number wont be generated in Sales Quotation till you add it(i.e when waiting for approval)
    The document number which is shown in  that document when pending for the approval, is not the finalised number.
    Its just the next number of sales quotaion which wont get stored in sales quotation,rather it will store in Draft table ODRF.
    when you have too many documents which is waiting for approval,you can notice that document number will be same for all the other documents.
    So you note down the Draft Number which is UNIQUE.
    For Ex:
    you are creating sales quotation which has the document number as '335'.
    so when you sending it for approval the draft number will be staored as '211'.
    after getting the approval,when you add it,document number will be generated as '337' because two documents were posted when the draft no:211 is waiting for approval.
    revert me for any clarification.
    Edited by: kambadasan on Feb 23, 2012 1:41 PM

Maybe you are looking for