New error message :duplicate line item

Hi,
We have to add a new error message so that when we try to add a duplicate line item in our qty contract
1.     we should not be allowed
2.     we should get a error message u201Cduplicate line item not allowedu2019
How to achieve this
Thanks
Arun

Search this forum for "USEREXIT_SAVE_DOCUMENT" and "USEREXIT_SAVE_PREPARE".

Similar Messages

  • Error message: Missing line item for CO-PA characteristic line 0000000001

    Hello, when posting is being done in automatic we are getting the following error message RW621 : 'Missing line item for CO-PA characteristic line 0000000001' and the document is not being created. I've filled in correctly the cost center / profit center for the line items. Any idea on why i'm getting this message?

    Hello Prashanth ,
    there are 2 structures I think you should fill
    CRITERIA (ref structure BAPIACKEC9 )
    VALUEFIELD( ref STRUCTURE  BAPIACKEV9) in  BAPi_ACC_DOCUMENT_POST
    hope this helps...

  • To throw error message on line item

    Hi Experts,
      I am using the user exit MV45AFZZ_MOVE_FIELD_TO_VBAP of sale order and it is getting triggered when we press 'ENTER' after filling the line item details of a sale order.
      In my requirement i have to check some conditions on the line items and have to throw error message on that particular item sothat the user can delete that item and can proceed with the remaining.
      But i am not able to throw error message on the particular item.
      Please help me to throw error message on the particular tabstrip corresponds to the item. 
    Thanks in Advance,
    Shaju

    You can try this fm
                    CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
                         EXPORTING
                              textline1    = text-902
                              textline2    = text-903
                              title        = text-901
                              start_column = 25
                              start_row    = 6
                              defaultpos   = 'C'
                         IMPORTING
                              answer       = cancel_rc.
                    CASE cancel_rc.
                      WHEN 'A'.
                      WHEN 'C'.
                        LEAVE PROGRAM.
                      WHEN OTHERS.
                    ENDCASE.
    Based upon user inputs you can handle conditions (CANCEL_RC) accordingly.

  • Error: No Actual Line item were selected (Message No. KB420)

    Hi All,
    I have created order in KO01 and posted the transaction in F-02. And assigned the same order in KH01.
    And, now i am trying to Actual cost of line items for order in KOB1, i am getting below error
    "Error: No Actual Line item were selected (Message No. KB420)"

    HI,
    Thank you for the reply.
    Madce necessary changes internal order and assigned the correct cost element.
    issue got resolved. Thank you

  • FI Archiving - System error: Customer/vendor line item not on OI basis

    While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the root cause of these error message.
    Regards,
    Shailesh

    Hi Adisha,
    This error pertains to the accounting fundamentals and SAP does not have anything to do with this....you ask yourself that if you were not using SAP and simlar problem came your way what would you have done...this has no solution...
    Either you wait for the next invoice with big amount but which seems bit impractical..
    In this we really need to consult the Accounting Standards to see what it could allow.
    Regards,
    Chintan Joshi

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • A new error message when ck11n

    dear all:
    when i make standard cost calculate using ck11n,
    a new error message happened , that is 'costing item 00005 is not assigned to
    a cost component'.
    anyone can tell what should i do to reslove the problem.
    thank you a lot.
    bset regards!

    Hi,
    Please check T.code OKTZ.
    Regards,
    Murali

  • New error message...need help

    I got new error message in my application. it happened to even very simple test code
    like:
    An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: Generic Recordset (NI).
    Statement: UUT_RESULT.
    ODBC driver does not support the requested properties.
    -2147217887; User-defined error code.
    Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'

    Hello,
    I found 2 KnowledgeBase articles that I believe will be helpful in troubleshooting this Citadel ODBC issue:
    http://digital.ni.com/public.nsf/allkb/BD95183884B0F0F086256D3D0077C888?OpenDocument
    http://digital.ni.com/public.nsf/allkb/486B13FA750376A386256E8E0025DECB?OpenDocument  
    Some other things to try:
    It sounds like this has nothing to do with your code module and everything to do with TestStand communicating with the Citadel Database. Have you tried running a sequence with just one step (maybe a pop up) and turning database logging on and see if you get the same error?
    With warm regards,
    David D.

  • Duplicate line item in Statement of account

    Dear All,
    Why there is duplicate line item in Statement of account?

    Hi Ajit,
    In your ECC system follow below path and set Availability check rule to "B" (full delivery).
    SPRO --> SD --> Basic Functions --> Availability Check and TOR --> Availability Check --> Availability Check with ATP Logic or Against Planning --> Define Default Settings
    Select your sales area and set Availability check rule to "B" (full delivery).
    This should fulfill your requirement.
    Rgds
    Sourabh

  • When I turn on my computer I get the following error messages: Insecure Startup Item disabled. "Library/StartupItems/HP IO" has not been started because it does not have the proper security settings. Also for HP Trap Monitor.  How do I fix these?

    When I turn on my computer I get the following error messages:
    Insecure Startup Item disabled. "Library/StartupItems/HP IO" has not been started because it does not have the proper security settings.
    Insecure Startup Item disabled. "Library/StartupItems/HP Trap Monitor" has not been started because it does not have the proper security settings.
    How do I fix these?

    Library/LaunchAgents: com.promethean.activmgr.plist
    Library/LaunchDaemons: com.microsoft.office.licensing.helper.plist, com.promethean.activhardwareservice.plist
    Library/StartupItems: HP IO folder - HP IO, Resources, StartupParameters.plist
    HP Trap Monitor folder - HP Trap Monitor, Resources, StartupParameters.plist
    These are the system extension errors
    "/System/Library/Extensions/AppleGraphicsControl.kext"
    "/System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleMux Control.kext"
    "/System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/ApplePoli cyControl.kext"
    "/System/Library/Extensions/BJUSBLoad.kext"
    "/System/Library/Extensions/EPSONUSBPrintClass.kext"
    I do not know what any of these do or how to fix them.  I have run multiple disk permission repairs & disk repairs.  The startup & system extension errors continue to come up.
    I even followed the directions to move HP IO & HP Trap Monitor to the trash, run disk permissions repair, put back in folder, then restart - and still am getting error message.

  • Message "No Line Items Selected"

    Hi friends,
    I am getting a message "No Line Items were selected" while executing CJI4.
    Or even when in the transaction CJ40/CJ41, I am going thru ....Extra>Line Items.......
    I have even implemented a note but still the same message is coming.
    I couldnot figure out what "Line Items" the system is asking for.
    Pl. help me out.
    Abhra Bose
    9930459159

    Refer to this note if applicable to your SAP pack: Note 1130282 - CJ40/CJ41: Plan line items not displayed.
    1. Check planning profile assigned to your project definition.
    2. Check Primary C.Element Grouping defined in the profile for Hierarchial Cost Planning. (if not defined use T.code CJR2 to build WBS detailed planning)
    3. Check Number Range assignement for Detailed Planning for the controlling area and transactions assignment to intervals.
    4. User Status maintained for WBS elements must allow "write plan items" business transaction.
    Hope it all helps.
    NChakoo
    Edited by: NAKUL CHAKOO on May 27, 2009 9:56 PM

  • New Error Message in PP 2014 on Mac (/ppro801/releases/2014.03/shared/adobe/MediaCore...)

    Have been working on a large project on the same computer system (10.8.4) for months.  This morning, in one of my sequences, I highlighted the entire sequence, and proceeded to move everything down the timeline, as soon as I dropped the elements further down the timeline, a new error message popped up that I have not seen before.
    Nothing has changed on my system to my knowledge.  So far, it only happens in that single sequence.  There are many other sequences in the project functioning normally.
    Any ideas?

    I duplicated the sequence and things appear to be back to normal BUT I am hoping this is not the start of a larger problem with the project!

  • I'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected.  please tell me what to do to enable me to transfer the pics

    i'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected.  please tell me what to do to enable me to transfer the pics

    Are you syncing the photos using Itunes?
    When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
    Look here more detailed instructions
    http://support.apple.com/kb/HT4236

  • When I try to copy pictures to my iphone 4s I get this error message: Cannot copy item. The device has either stopped responding or has been disconnected. Any help?

    When I try to copy a photo from my computer (windows 7) I get this error message: Cannot copy item. The device has either stopped responding or has been disconnected. Any help for this?

    Are you syncing the photos using Itunes?
    When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
    Look here more detailed instructions
    http://support.apple.com/kb/HT4236

  • Remittance challan creating-error no tax line item

    hi
    while creating remitance challan it showing error '' no tax line item exist''
    tax line item showing open item that too i have posted in last month first1.8.2008.to day i am creating challan but it is showing that error
    thank you
    sowmya

    Hi
    I hope you've checked the business place entered in J1INCHLN. If yes, then check what is the recepient type filled in your Vendor masters ? May be the recepient type you are typing in J1INCHLN is different from that of the vendor master
    regards
    Parag  Bhargava

Maybe you are looking for

  • Integrating XI 3.0 with PI 7.1 directly

    Hi    We have a need to directly integrate XI 3.0 ( SP23 ) with another Pi 7.1 ( SP7 ). Can we use XI adapter type to do this communication - has anybody out there done this and not faced issue using XI adapters to do this  owing to this version diff

  • What is asant and how to run it

    Im studying j2ee now. Stuck in how to use jdbc within j2ee. I read the tutorial chapter 3/ Defining a Data Source in the J2EE Server. There is a sentence saying "2. Run asant create-jdbc-connection-pool_common. This asant task runs an asadmin command

  • Upgrading to a Nvidia 8800GT Using my PC card

    I have a Mac Pro 2.66 Xeon with Nvidia 7300GT, great machine. I also have my PC with a Nvidia 8800GT that i rarely use now. Can i take the card fro the PC and put it into the Mac Pro? There is a massive cost difference between Mac and PC versions.

  • Transferri​ng data from a DOS 5.0 (Win 3.1) Computer to a Windows XP Computer - Using Labview

    In 1992 my lab purchased a Particle Size Analyzer (Microtrac series 9200) that came with a Compaq computer (DOS 5.0, Win3.1) and a printer.  Due to proprietary software restrictions I currently need to keep the analyzer software operating on the DOS

  • Excessive AD login attempts

    We have a UCS system configured for LDAP authentication against Active Directory. Everything is working as expected, but on the DCs we are seeing excessive failed login attempts originating from the fabric interconnect IPs against an invalid domain a