Last Deleting in Draft Document

Hi,
I found that last row deleting problem occurred while user try to delete last row of Draft Document.
if we change last row's item, then SBO delete last row.
Can any body provide me solution
Regards,

There is no authorization issue:
I going to write here complete scenario:
Requestee department use "Draft Goods Issue" for as request of  material issuance from store department.Store department issue material and finally add "Draft Goods Issue" documents.   
If requestee department prepared "Draft Goods Issue" for following three items
    Item Description        Request Qty
1. Item A                          10
2. Item B                           15
3. Item C                           20
Store department can delete row no 01 and 02 easily but when try to delete row 03 means last record but to no response.
I found "work around" that if store department change row no 03 Item then row no 03 record can be deleted.
why user store department or even "manager" user can't delete row 03 record easily as row 01 and 02.
Please answered me.
I'm usinG SAP 7 SP 1
Thanks

Similar Messages

  • Adding Period Indicator to New Year after creating draft documents in New Y

    Hi,
    I want to restart the the numbering from 1 in the New Year and so want to attach a new Period Indicator to the New Year. But i am unable to Add Period Indicator to New Year. It was created with Default Period Indicator and is not allowing any change.
    I am in SBO 2005 PL38. Also pleas note, some drafts have been created in the New Year.
    What i tried:
    - I tried deleting the draft documents. No use.
    - I changed server date to March 31(previous Accounting Year). No use.
    Anybody can help?
    Regards
    Manish

    Hi Manish,
    Let me see if i understood your issue;
    You are unable to creat a new period indicator for the new numbering series, did you already creat a new posting period for the new year ?
    The drafts created in the new year are with the default period indicator ? if so can you change it and try to delet those drafts ?
    if you have opportunity please provide more information.
    Regards
    Emanuel

  • Deleting draft documents in draft process

    Hello,
    I've problem with deleting draft AP Invoices documents in draft process (Approval
    Procedure). AP Invoce which i want to delete has status "Rejected"
    According to polish help documentation in order to remove such docs i`ve to:
    1) From Menu: Administration >  Approval Procedures > Approval Status Report - Cancel
    an approval procedure, position the cursor on the row of an approval template in the
    report results and choose Cancel from the Data menu.
    2) Now ,theoretically, i should be able to remove unwanted document from Document
    Drafts Report, position the cursor on the row of in the report results and choose
    Remove from the Data menu.
    Unfortunately after pressing 'Update' i recive 2 contradictory messages:
    1) Operation completed successfully  [Message 200-48]
    2) Cannot delete drafts in approval process   [Message 3612-1]
    Any suggestions ?
    Greetings,
    Jedrzej

    Hello Jedrzej,
    In the current definition of B1, draft documents that were rejected during the Approval Process cannot be deleted fro the Document Draft window. This design is to ensure that the audit trail is kept for all the actions performed on the document (creation -> rejection).
    To suppress the display of drafts in the Document Draft window, you may consider the workaround procedures described in Notes 1111431
    and 791704.
    I hope the above helps.
    Regards,
    Lorna Real

  • Draft documents for Sales return and Goods return

    Morning, Exports,
    I got two questions, pls kindly help!
    1) The draft documents regually if not with approval process, can be removed from draft list, but once it's with approved process, the "approved" draft document can't be removed. How to have it deleted from the list of draft documents?  As there are two many drafts and we need to take them out once its data was adding into system....
    2) Where we can see the serial# that picked for the draft document?
    Thanks!
    Emily

    Here are the answers ---
    1) The draft documents regually if not with approval process, can be removed from draft list, but once it's with approved process, the "approved" draft document can't be removed. --> TRUE
    How to have it deleted from the list of draft documents? --> NOT POSSIBLE FOR DRAFT DOCUMENTS
    As there are two many drafts and we need to take them out once its data was adding into system.... --> USE THE "OPEN ONLY" OPTION TO AVOID THE CLOSED / UNNECESSARY DRAFT DOCS.
    2) Where we can see the serial# that picked for the draft document? -->  GO TO ANY MODULE -> REPORTS -> "Document Drafts Report" --> Document No. [BUT THIS NO. WILL NOT TAKEN IF ANY DOCUMENT IS CREATED AFTER THIS DRAFT OF THE SAME DOCUMENT TYPE. THE FINAL NO. WILL BE THE LAST NO. + 1 OF A PARTICULAR DOCUMENT TYPE]

  • First row is empty in draft document

    I have created a DI addon for posting a draft delivery document.  However, in each document there's a empty blank row.  I know that you only need to invoke the lines.add function for second plus rows so I have already made sure that I am not adding a new line on first add.  Any advice for you would much be appreciated.
    Regards
           Dim retVal As Object
            Dim i As Integer = 0
            Dim oDeliveryDoc As SAPbobsCOM.Documents
            oDeliveryDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
            oDeliveryDoc.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
            oDeliveryDoc.CardCode = selectedBPCode
            oDeliveryDoc.DocDueDate = Today
            Dim row As Object
            While i < CType(DataGrid1.DataSource, DataTable).Rows.Count
                If DataGrid1.IsSelected(i) Then
                    If i > 0 Then
                        oDeliveryDoc.Lines.Add()
                    End If
                    oDeliveryDoc.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                    oDeliveryDoc.Lines.BaseEntry = CInt(DataGrid1.Item(i, 8))
                    oDeliveryDoc.Lines.BaseLine = DataGrid1.Item(i, 9)
                End If
                i = i + 1
            End While
            retVal = oDeliveryDoc.Add
            If retVal <> 0 Then
                oCompany.GetLastError(lErrCode, sErrMsg)
                MsgBox(lErrCode & " " & sErrMsg)
            End If

    Hi Alan,
    The blank row that you are referring to, where is that line? Is it the last line in the document? If so, that is standard SBO practice. I tested your code and did the same in SBO itself. I create a Delivery draft with 3 lines and 4 lines are added to the document. The fourth line is the new line that is created automatically when you press tab. The reason is that you can add more lines to a draft document. As soon as you save that draft as an actual document, the last line gets deleted.
    Hope it helps,
    Adele
    Message was edited by: Adele le Roux
    Didn't read properly... see that it's the first row that's empty... Should your code not read:
    If i > 1 Then

  • Delete Payment Draft report

    Hell All experts,
    Im using sap b1 2005, pl 25.
    In incoming Payement-->Payment Draft Report
    and in Outgoing payment-->Payment Draft Report
    There i can see a large nos of Closed docmuments, hence in view of same can you tell me if i delete those documents is there any complication in the system or not?
    Is there any problem or not?

    Hi,
    I don't thing it would harm your system since draft & documents saved on different table. It's save to be delete, as far as you are not need it anymore..
    Cheers

  • 'Some images are missing because they were deleted from the document'

    Hi,
    I created a document in Pages v5.2 last week and have just opened it and received the following message:
    'Some images are missing because they were deleted from the document'
    When I try and replace the missing images I get the following message:
    'The image "filename" couldn't be inserted.'
    When I try and reimport the original image I get the following message:
    'The image "filename" couldn't be inserted. This image is of an unsupported type.'
    If I try and insert an image that was not in the document before, in the same file format, it goes in fine.
    If I insert the original image into a blank Pages document it goes in no problem.
    I would also like to point out that the data folder still contains lots of versions of images in the document, but does not seem to have any of the ones I am actually using, which I guess is where the problem is. However I have no idea how or why these specific images have been deleted.
    Any light on how this problem has come about, and the best possible way to fix it would be greatly appreciated.
    Alex

    I have Pages v5.2.2 on OS X 10.9.4. I can not reproduce your stated issues with images in this version of Pages. I don't have a solution for you. See my test in the third paragraph. If I were experiencing this behavior, I would perform a Safe Boot to clear out System caches, and try again, before kicking Pages v5+ to the curb.
    The Safe Boot would be pressing and holding the shift key at boot chime, and until a horizontal progress bar shows on the screen. At the eventual login screen, after you type your password — press and hold the shift key — press the right arrow to login, and release the shift key after the Finder menu bar appears. Then reboot normally.
    I have created a new document. Dragged and dropped an image into it and saved. Exited Pages. Reopening worked fine. Deleted the image, and proceeded through the following steps, punctuated by save, exit, reopen, and deliberate image removal. Different .jpg image each time. About mid-way through the following item list, I rebooted the MBA just to throw some "spin" into the process. I did not perform a Safe Boot prior to this series of tests.
    Toolbar > Media insert
    Insert > Choose jpg into document
    Text Box image fill
    Shape image fill

  • Delete a draft email?

    I would like to delete an unsent email. the option is the ... box are: Attach, Format, Importance, Add Bcc, Save. There is no "delete".
    How do I delete the draft?

    Hi and Welcome to the Community!
    Before opening the message, with the list of messages displayed, hold on the item you want to delete. The right-side menu will come in, with the last item being the trash can to delete it.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Save as draft - Document Number

    hi experts,
    Can we reserve a document number for draft document?
    I added a Purchase Order (draft) and then i created another PO but for this PO i want its number to auto-start with 2.
    Document No 1 is reserved for Draft PO.
    Is that possible?
    I do not want to use Manual Numbering.
    Thank you.
    Regards,
    Lim

    Hi
    Its not possible.if u have post one more doc. then system will increment the no. from the last post doc. no. only..
    for ex: last doc no is 100.
    u r saving a doc. as draft it no. will be 101.
    then when u r posting one more doc. the no will be 101 only ...
    now if u posted the draft doc. then no will be 102..
    Giri

  • Deleting a recurring document

    I have a recurring document created in the year 2005 which expires in 2008. However, I want to delete this now. I tried it with the Tcode F.56 in the Test Run mode, but it doesnt pick this document up! I read the info on this transaction adn it says, only documents that have the Deletion flag in the Header can be pciked. Where do I check this deletion flag or simply put, how do I delete this document?
    Thanks,
    Tejas

    Hi Tejas...
    You can only delete recurring entry documents that are flagged for deletion. The recurring entry program automatically flags recurring entry documents for deletion if the next run date determined by the program is after the last scheduled run date. The system thereby indicates that the recurring entry document is not to be used again. You can also set the deletion flag yourself in the recurring entry document.
    When you use a run schedule, the program flags a recurring document for deletion if there is no run date in the schedule which is later than the current run date. In this case the program tells you which recurring document has been flagged for deletion. You can remove the deletion indicator from the document if necessary. This may be the case for example, if you have not yet entered all run dates. Make sure you then complete the run schedule.
    Recurring entry documents which are marked for deletion are no longer used by the recurring entry program.
    And the procedure will be as follow....
    To delete recurring entry documents, proceed as follows:
    Select Document -
    > Reference documents -
    > Recurring document ---> Delete from the General Ledger menu.
    Enter the program specifications.
    If required, you can carry out a test run to give you a list of the documents which can be deleted. You can also print the resulting list. Select the Test run field.
    Once you are sure that you want to delete the selected recurring entry documents, deselect the Test run field.
    Select Program -
    > Execute.
    If u satisfied, assing me points...
    Tahnk you
    Dasharathi

  • How to delete parked FI documents through FV60

    Hi anyone who can help me!
    Got a situation where we're using workflow to send out parked FI documents for approval.
    In certain cases the documents are being rejected and need to be deleted, but the Document > Delete parked document option in FV60 is greyed out.
    Doing SU53s on opening the document is resulting in The last authorization check was successful! so I think we have to rule out auth problems. But now we're at a loss as to why the option is greyed out. I'm starting to think it's related to the workflow but unfortunately I'm not a developer so wouldn't know where to start looking!
    Can anyone help? Thanks in advance!
    Jen

    Thanks Hari / chaituvaleti
    Have since worked out it is definitely workflow related. I think the fact that the document has been either released or rejected via workflow means that it can't be deleted (whereas while it's parked and out for approval, it can still be deleted).
    Ideally what we want is to be able to delete the document straight from the workflow the user gets after it is released or rejected, rather than having to go into another transaction code or sending it to a WF consultant.
    Have asked our workflow developer to investigate the possibility of this - watch this space!

  • Archiving GRPO Draft documents

    Dear Experts,
    Please help or clarify me for the below situation,
    Approval procedure has been set in GRPO Document for Quality inspection. As per system behavior, every GRPO will be stored as a draft.
    Over a period of time, Thousands of Draft document has been stored.
    How to remove those drafts sitting unnecessarily ?
    Even if we right click and remove those documents, system is throwing the error " Cannot delete drafts in approval process   [Message 3612-1]"
    Kindly give some solution to overcome this.
    Regards
    Ravindran Srinivasan

    Dear Ravindran,
    The business process should be re-examined to make sure the documents under approval are really in need. If not, save as draft instead of adding document to approval should be used.
    For current drafts, they must be rejected before removal.
    Thanks,
    Gordon

  • How to remove Draft Documents using DIAPI?

    DIAPI help says that Remove Method is not supported because "SAP Business One does not allow to remove a document object from the database".
    However, in SBO UI, you can remove Draft Documents. Is there another way or workaround in DI API for deleting Draft Documents?
    Juha

    Juha, why do you think so?
    The following snippet shows you how to kill Purchace-draft:
    SAPbobsCOM.Documents oDraft;
    oDraft = (SAPbobsCOM.Documents)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts);
    oDraft.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseInvoices;
    oDraft.GetByKey(<DraftDocEntry>);
    resCmpTo = oDraft.Remove();
    if (resCmpTo != 0)
         pCmp.GetLastError(out errNum, out errStr);
         MessageBox.Show("oDraft.Remove(): " + errNum.ToString() + "n" + errStr);
    HTH

  • Automatically delete old drafts

    Fellow sufferers
    How do I automatically delete all drafts, once there is a new approved version?
    Example. Following versions exist: 0.1, 0.2, 0.3, 0.4, 0.5, 1.0, 1.1, 1.2, 1.3. Only 1.0 is Approved. I want Sharepoint to automatically discard 0.1,,,0.5, because 1.0 was published.
    Thank you, you are great if you can answer this one!!!
    Have a nice day.
    Peter Hansen

    Hi Peter,
    you can use SeleteAllMinorVersions API to delete all minor versions, and you may also use event receivers for validating the versions and you may have to check for each version inside the event receiver. There is no event for versions.
    Alternate would be to use SharePoint designer based workflow, see Delete Drafts action in the below link -
    http://msdn.microsoft.com/en-us/library/office/jj822977.aspx
    see here for reference
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfileversioncollection.deleteallminorversions(v=office.14).aspx
    references -http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9b84d36a-5a21-43a8-adb9-c1d573f62073/delete-version?forum=sharepointdevelopmentlegacy
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b0fae670-b74d-47e8-a83b-ec75082a2db4/event-handler-to-delete-minor-versions-in-document-libraries?forum=sharepointdevelopmentprevious
    http://technet.microsoft.com/en-us/library/cc288968(v=office.12).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • TextEdit won't save draft documents

    Just like the title says; I have a number of draft documents I have started in TextEdit and when I try to save the File menu highlights but it just times out with no save. I also can't  close the window without saving; it does the same thing. I tried deleting preference files and restarting but that didn't help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including your login items.
    Test. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

Maybe you are looking for

  • Need info about the integration Process.

    HI , I would like to know about the different components of Integration Process like about the Receiver etc.. and how do we relate the properties of each component with the container. Thanks in advance

  • How to deploy mobile application

    Hello folks... A few quick basic question... How do you start on deployment of mobile platform for SAP... What are the hardware and software requirements... what is the process... Can someone help...??? Regards, Harshal

  • Read the registry

    Dear Experts, I'm looking for a way to read the registry of my server once connected/at the connection step (trigger). This to be able to be re-directed to a given schema based on the value found in a specific key defined in the registry. Regards, Gu

  • For registration purposes, should I register in Canada or USA. I live on the border and live in both

    For registration purposes, should I register in Canada or USA ?  I live on the border and live in both cities Detroit & Windsor.

  • Odd number (pixel) artboard (CS4) crop issue

    I have been doing some tests and this is a rather odd issue I seem to be getting and I can't believe this is an Adobe oversight as it's a bit major and must be something I am missing. I am going to explain exactly what I am doing to simulate this sim