BAPI_DOCUMENT_SETSTATUS for mass release of documents

Dear Expert,
                  I am using BAPI_DOCUMENT_SETSTATUS for mass release of documents, but when i am trying to release document getting error saying u201CDocument does not exist" but when go to CV03N i can see that document.
Regards
Bhuwan Tiwari
Edited by: tbhuwan.kaar on Mar 4, 2011 8:05 AM

Hi Pradeepkumar,
                           Even the document without original attachment also throwing an error"document does not exist" actually i am using mix number range for document number i don't know whether it is because of using mix number range.
Regards
Bhuwan

Similar Messages

  • For mass upload of documents

    Hi Everybody
    Is there any tools available for mass upload of documents into server? please provide me the information.
    Thanks
    Prasad

    Hi Prasad,
    There are several options that you can explore for mass document upload and see which best fits your requirements and constraints:
    -You can upload documents by using LSMW(Legacy System Migration Workbench). Using this, you can safely upload 1000-1100 documents at one go.
    - Ask your ABAPer to develop a BDC for mass document upload.
    - Use 'DMS Loader' solution from SEALS systems. http://www.sealsystems.de/fileadmin/mediaFiles/Factsheets/DMS_Loader_en.pdf
    Regards,
    Pradeepkumar Haragoldavar
    Edited by: Pradeepkumar  Haragoldavar on Jun 17, 2010 11:09 AM

  • Any upload programe for mass update of documents

    hi
    i just want to know whther there is a process for mass update of documents .....like LSMW .....
    pls suggest me
    Reagards
    s

    Hi Surya,
    Following are the step to upload batch document in LSMW:
    Create the Project, Subproject and Object in the LSMW Transaction (press F8)
    1) Maintain Object Attributes (click on Batch input recording) for ex: Do the recording to create DIR .
    Create recording (t code CV01N
    It will direct us to T code CV01N crate DIR attaché the document then save it.
    2) Maintain Source Structures: from Object overview List
    For easy reference copy the source file to Excel sheet and tabulate it has horizontal format then copy that in .txt .Create source structure save and go back.
    3) Maintain Source Fields:
    Maintain table (for ex: field name: DOKAR, type (should be) :C and length: 3)  save it and go back.
    4) Maintain Structure Relations : create relationship and go back.
    5) Maintain Field Mapping and Conversion Rules
    Go to Extras -> Auto field mapping
    Accept all proposals Continue till Auto file mapping is completed save it and go back.
    6) Maintain Fixed Values, Translations, User-Defined Routines(Optional)
    7) Specify Files
    Specify the input file (which we have saved in .txt file format in step 2) click in Tabular.
    8) Assign files
    9) Read Data:
    Execute the read data step to read the input file data (press F8)
    10) Display Read Data . 
    11) Display and Convert Data:
    The validations will take place when we execute the convert data step. The error records will download to the specified file path if there any and same will be displayed.
    12) Create Batch Input Session (press F8)
    13) Run Batch Input Session (press process-F8)
    Thus continue with this process document can be uploaded with given source file hence will create the specified DIR. hence continue enter...
    Continue till all the DIR created (as per input given in source file).
    Regards,
    Seema Pilankar

  • Separate TCode for Mass Change of documents (For authorization purpose)

    Hi
    We have internal audit function where internal audit chief will remove the payment block of multiple vendor invoices through FBL1N --> Environment --> Mass Change.
    Now problem is that authorization for FBL1N is given to 6 more employees (related to AP Accounting). Hence all these employees can do the mass change. I want to restrict this mass change authorization only to one person i.e. internal audit chief.
    Please tell me how to bring this restriction.

    Hi:
          You should contact your basis guy to do so...In tab authorization first you will have to find this object he system will display it , there you can assign 03 in place of *. 
    Personally i will recommend you should go for creating transaction variant using SHD0 which is an easy way to do so. Please check it will solve your issue. I just did both in test sever both of them are working perfect for me. Mass button is disabled when you set 03 for F_BKPF_KOA. SHD0 meets the subject topic of your post.
    Regards

  • MASS UPLOAD OF DOCUMENTS USING LSMW

    Hello Experts,
    I am experienced in SAP DMS but not in LSMW.
    I would like to use LSMW for Mass Uplaod of Documents and would like to give the input in the below format.
    I was able to create LSMW for Doc Upload using Recording option but it will not give me the original path location.
    I know there is a BAPI too for Document create which is BAPI_DOCUMENT_CREATE but dont know how to use it in LSMW>
    Which option is best to be used in this case. Below find the input format of the file which am looking
    DIR
      Number
    Doc Type
    Doc Part
    Doc Ver
    Description
    Status
    Original File
      Path.
    Appriciate your answers.
    Regards,
    S.Kulkarni

    Dear Shrikanth,
    please note that batch input in Document Management System is not
    supported for Releases higher than 4.5. The batch input technology
    was designed for the transactions CV01 and not for CV01N/02N etc.
    To create
    or change a document info record in background I would recommend you to
    use the BAPIs BAPI_DOCUMENT_CREATE2 or BAPI_DOCUMENT_CHANGE2 to create
    or change a Document info record. Please see SAP note 766277,
    which contains the full documentation of all BAPIs in the DMS area.
    Normally you can use DMS BAPI or API function modules to checkin
    originals into the content server. I would recommend you to use the
    API modules as they are much more flexible then BAPIs. Please see the
    note 504692 which contains further information and some
    sample programs.
    With transaction SXDA you can also create document info records
    in the background but the filepath should not be shortened anymore.
    For further information please check SAP note 817743.
    I hope that this information could be useful for you to setup a
    working scenario to edit document info records successfully in
    background.
    Best regards,
    Christoph

  • Mass release of Physical Samples

    Hi Gurus,
          Is there any T code for Mass release of Physical samples. We are in cutover and for around 1000 Open inspection lots, we need to release the physical Samples. It will  be labourious to release every sample using QPR4.
        Tried LSMW, SHDB but the release is not getting recorded. Is there any other way for releasing physical samples in mass?
    Thanks in Advance.
    regards,
    senthil

    Dear,
    Please check in QPV2. There is one check box. this is determine the automatic sample determine.
    check box is Confirmation req. Please remove this check box.
    -Sandip
    Edited by: Sandipsinh Shaktavat on Mar 6, 2012 12:15 AM

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • Mass release of an order for an existing batch

    UP of previous post
    Gurus,
    At my client we are currently facing an issue on CO05N whenever releasing an order on an SKU for which the production batch already exists.
    Log. General -> Batch Management -> Creation of new batches -> Define batch creation for production order / Process order
    => In our set up production batch is created automatically at PO and batch classification is carried out in background.
    For SKU A we use poduct expiration date as the batch number, for this reason if i happen to plan two production orders on two production lines for the same SKU (say PO#1 will start at 1am on Line 1 and PO#2 will start at 5 am on Line 2). When i launch mass release with CO05N, PO#1 will be released normally but PO#2 will not be released and error message will mention "Batch 2012.04.09 for material 13917 in plant 2401 already exists" (Message no. M7838).
    If i enter CO02 for PO#2 and release from there, the batch from PO#1 is selected and PO is released upon saving.
    Scenario : 2 PO for which GR will be done on the same batch (created at PO release)
    Both PO are released through CO05N
    Step 1 : PO#1 released -> Batch created
    Step 2 : PO#2 release begins -> Error appear since batch ALREADY exists from Step 1.
    This does not happen if you try to release PO#2 from CO02.
    Is there a way to replicate this behaviour on mass release process ?
    If not could you give functional insight on SAP designs on this specific points ?
    Thanks in advance for your feedbacks,
    Olivier

    Hi,
    Sorry it was mistake posting.
    Any way for that (PO) material assign automatic batch determination method and then flag it in material master and then do the GR.
    I hope it helps you.
    Regards,
    Madhu.G

  • Transaction code for mass cancelation of delievry document and sales docume

    Dear All,
    Is there any transaction for mass cancellation of delievry document and sales docume.
    any suggestion
    Thanks with Regards
    Subrat
    Edited by: subu sd on Jul 15, 2009 7:49 AM

    Hi ,
    Adding to Eduarodo's Point, if you dont want to Archive the documents and just wanted to cancel then you can do this by LSMW or eCATT.
    First cancel all the subsequent document and then Sales order . In sales order put Reason for rejection.
    Thanks,
    Raja

  • T. Code for Mass reversal of IV documents

    hi,
    We use the T. Code MR8M for IV document reversal. what is the T. Code for Mass reversal of IV documents.
    Tx

    Hi ,
    MR8M is the only T code for reversal of IV documents.
    You can use LSMW of MR8M for temporary requirement , in case if your frequency of requirement is high then use a BDC programme for the same .
    Hope this helps .
    Regards ,
    Dewang T.

  • Mass Upload of documents for a financial Document

    Dear Friends
    I have created Document Type ZFIINVOICE and assigned it to Object Type BKPF. I am able to link Document to individual FI Document via OAWD.
    I want to mass upload documents related to a person in  Financial Document .
    Is there any BAPI vailable for mass upload.
    Or can LSMW can be used.
    Please advice for the method of upload.
    With Regards
    Mangesh Pande

    Hi,
    You can use the following BAPI for this purpose:-
    BAPI_ACC_DOCUMENT_POST
    Regards,
    Gaurav

  • Mass Upload of documents for a Person

    Dear Friends
    I want to mass upload various kinds of documents related to a person in HR.
    I have cretaed 5 document types ( Employee Photo, caste Certificate, Joining Biodata, Employee Signature, Gratuity Nominations).
    I want to upload Legacy data which in mass to all employees created in SAP HR.
    I have seen many threads related to Upload of employee photo. But I am not getting clear picture how to upload data related to various document types for an employee. I am using Assign and store scenario.(Manual Storing).
    Is there any BAPI  vailable for mass upload.
    Or can LSMW can be used.
    Please advice for the method of upload.
    With Regards
    Mangesh Pande

    Hi Mangesh Pande,
    Currently I have the same requirement like you.
    So can you please post it, how you solved the issue?
    It will be useful for others also in future.
    So please make it asap.
    Thanks in Advance!
    warm regards
    Senthil Kumar

  • Mass Change for PR Release Status

    Hi,
    We want to go for Mass change of PR Release status i.e., cancelling the released PRs
    I have added EBAN-FRGKZ and EBAN-FRGZU, to Object type: BUS2105, through SM30 - MASSFLDLST.
    When I execute MEMASSRQ, for object type : BUS2105, newly added fields are not coming in EBAN table.
    Can any one please suggest the solution for this?
    Thanks in advance.
    Thanks & Regards,
    Gopi Chand

    Dear,
    There are few fields which you add to   Object type: BUS2105, through SM30 - MASSFLDLST...Still it will not reflect in MEMASSRQ...
    For this you can check various SAP notes also.
    The only solution is this to create a LSMW program for it and do the required changes.
    Regards
    Utsav

  • Transaction for Mass Update

    Hi,
    Can anyone List out some Standard SAP transactions that are doing mass update.
    Means Transactions which are updating a range of records in single shot. Instead of doing it one by one.
    I need to create a Mass update for Material. What MM02 do for a single material, I need to do for a range of materials.
    I know some Transactions like XD99, MM17 and MASS. But I need some more names from you.
    Points will be rewarded .
    Regards,
    Paliwal

    hi,
    check these.
    CO44  Mass processing of orders
    F.80  Mass Reversal of Documents
    FOFO  Mass release
    FOVX  Mass Processing of Offers
    IMAM  Mass maintenance of approp.requests
    KE55  Mass Maintenance PrCtr Master Data
    SU10  User Mass Maintenance
    XD99  Customer master mass maintenance
    XK99  Mass maintenance, vendor master.
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 4, 2008 11:26 AM

  • Error while assigning user for release approval path for payment release

    Hi everyone,
         I am trying to assign user for payment release in SPRO. I have defined upto 'Define relevant document types for release for payment', after that while assigning user in terms of position for release and save it, i am getting error 'Program error: ASSIGN with length 0 in program "MP120800" '.Because of it i can t proceed further.
    The data in details below;
    1. Create Workflow Variant for Release for Payment
       1000     SAP
    2. Assign Company Code Workflow Variant for Release for Payment
      1000     1000     SAP
    3. Define Release Approval Groups for Release for Payment
      0001     Vendor A
    0002     vendor B
    0003     Vendor C
    0004     G/L accounts
    4. Define Release Approval Paths for Release for Payment
      0001     Vendor high
    0002     Vendor middle
    0003     Vendor low
    0004     G/L accounts
    0005     Other
    5. Assign Release Approval Paths for Release for Payment
      1000     KZ     0001     0001
    1000     KZ     0002     0002
    1000     KZ     0003     0003
    6. Assign Release Approval Procedure for Release for Payment
    1000     0001     20,000.00     KES     1     WS10000052     WS00400011
    1000     0002     50,000.00     KES     2     WS10000052     WS00400021
    1000     0003     1,000,000.00     KES     3     WS10000052     WS00400022
    7. Define Relevant Document Types for Release for Payment
         1000     KR
    1000     KZ
    8. Define Users with Authorization to Payment Release
    1000     0001     1     20,000.00     KES
    1000     0001     2     50,000.00     KES
    1000     0001     3     100,000.00     KES
    here i have selected the option and tried to create Orgobject, i am getting following error
    Program error: ASSIGN with length 0 in program "MP120800"
    If any corrections in the definitions, Please let me know.
    Thanks in advance!!

    Hello,
    Please start the report RSWOGIND, set also the checkbox "generate all
    ObjTypes from new". This should solve the problem.
    Best regards, Hana

Maybe you are looking for