DIR creation in easyDMS through template

Hi,
Is there anyway to create DIR in easyDMS through template.
Thanks.
Anirudh,

Hi Freddie,
as the folder structure in EasyDMS means to be a document BOM in the backend SAP system, you can enhance this structure in transaction CV12 in the backend too. So in this backend transaction you can choose the head folder document under which you want to add additional documents or folders and then just insert the document info records. Based on your description I did further tests and debugging in our internal test system. By debugging the folder creation process out of EasyDMS I found out that the correct sequence of function modules is:
- BAPI_DOCUMENT_CREATE2
- CSAP_DOC_BOM_CREATE
- BAPI_DOCUMENT_GETDETAIL2
- BAPI_DOCUMENT_CHANGE2
1. BAPI_DOCUMENT_CREATE2
Here the new document info record is created. This document should be the new folder at the end. Therefore the following data needs to be handed over:
table DOCUMENTDATA
DOCUMENTTYPE FOL (this should be the folder document type)
DOCUMENTNUMBER * 
DOCUMENTVERSION * 
DOCUMENTPART 000
DESCRIPTION  (= sample description)
USERNAME HOPFC
STATUSEXTERN
STATUSINTERN AA 
STATUSLOG 
LABORATORY 
ECNUMBER
VALIDFROMDATE 00000000
2. CSAP_DOC_BOM_CREATE
After the new document info record (DIR) is created this document data needs to be handed over to the function module CSAP_DOC_BOM_CREATE which is responsible for making a document BOM header out of it. Here just fill in the following data:
DOCUMENT  10000043129 (number generated by CREATE2)
DOC_TYPE  FOL 
DOC_PART  000 
DOC_VERS  00 
3. BAPI_DOCUMENT_GETDETAIL2
This BAPI is necessary to read the current existing data for the superior folder (e.g. private folder) and its structure. Because the existing document structure needs to be handed over to the BAPI_DOCUMENT_CHANGE2 to grant a correct update of the document BOM. So please use this BAPI to get the whole document data and hand it over to the BAPI_DOCUMENT_CHANGE2 then.
4. BAPI_DOCUMENT_CHANGE2
Now the newly created folder needs to be added to a header folder and therefore this BAPI is used. Therefore please fill in the following data in table DOCUMENTDATA and DOCUMENTSTRUCTURE:
DOCUMENTDATA 
DOCUMENTTYPE  FOL
DOCUMENTNUMBER HOPFC (= superior folder like private one)
DOCUMENTVERSION - 
DOCUMENTPART  000
DESCRIPTION 
USERNAME
STATUSEXTERN
STATUSINTERN
STATUSLOG
LABORATORY
ECNUMBER
VALIDFROMDATE 00000000
REVLEVEL
DOCUMENTSTRUCTURE
DH1 10000003980 000 00 1.000
FOL 10000043129 000 00 1.000(new folder)

Similar Messages

  • New DIR creation using template

    Hi,
      Can somebody help me for step by step procedure for Original attachment using template while DIR creation.
    Prasanna

    Hi Prassana,
    you need the following customzing: SPRO -> Cross application components -> general data -> define workstation application -> select the workstation application you want to use (like doc) -> define templates for original files -> define document type, application file source.
    Afterwards you can create a new document with document type you defined in customizing -> Push create original button at the bottom -> define workstation application -> Push button cretae with template (3rd button from left).
    You can find additional information in the help portal: <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/c1/1c27dd43c711d1893e0000e8323c4f/content.htm">Help</a>
    It should wor this way.
    Best regards,
    Daniel

  • Auto PO creation from PR through ME58 problem.

    Hi experts.
    We are providing facility to our client  auto po creation from PR through Me58 transaction code.
    I am facing amazing problem is that it is working fine in development client , not working in Quality and  Production client , exactly  problem is that ME58 u2013 Ordering Assigned Purchase requisition  & Process Assignment  Create PO , Purchase order cannot be created, PR  shift in document overview , it means user want to drag and drop in purchase order then system create PO , this problem I am facing in Quality & Production , but it is working fine in development server there is no need to drag and drop , immediately after Process assignment Create PO , system directly convert PR into PO  just only need to check and save PO. I compare everything with development & quality data including material master , source list and everything still I am unable to understand where is the problem , is there any customization settings related to auto po ?  pls. suggest any solution to solve this issue.
    Kumar

    Hi,
    Config setting.
    Settings for Automatic PO creation is:
    1. Select the Automatic PO check box/option in Purchasing view of material master
    2. Select the Automatic PO option in the purchasing data view of Vendor master
    3. Maintain Purchase info record
    4. ME56- Assign the vendors to PR's
    5. ME58- Create PO via assignment list(PR-> PO)
    6. ME57- Assign and process PR's
    7. ME59N - Create PO automatically via PR
    Above step by step procedure is involved in the Automatic PO creation.
    SAM

  • New Document button to create/open document in Office Web Apps rather than through Template.doc in client's MS Word

    Greetings all,
    We have a particular campus with exceptionally limited access on their machines -- essentially, they can browse the web (access our Intranet) but not write information to drives or update their MS Word to read the new DocX format (or install plugins, etc,
    to do so).
    The new Web Apps seems to provide some potential for alleviating their issue -- but ideally, they would be able to originate (create) new documents right in Sharepoint by clicking on New -> Document and having the new document open in Office Web Apps
    rather than downloading / creating through Template.Doc (standard method in Sharepoint).
    Any ideas about how to make this kind of functionality happen?
    THanks!
    ---Dave

    When you mention "web apps" I assume you're referring to the new "Office web apps" in SharePoint 2010, so I'm not sure why this question is in a pre-sharepoint 2010 forum...  My answer entails how to go about doing this in 2010 only.
    In the document library's settings, go to advanced settings, and choose for the files to be forced to be opened in the browser, instead of the client software. 
    By default, you're only going to have a new word document for your "new" button.  You'll need to create content types for all the other document types you want them to be able to create.  So create a blank spreadsheet, and save it on your desktop,
    and create a blank powerpoint too. 
    Then create new content types at the top level of the site collection.  One called Excel Template, and one called PowerPoint template.  For each content type, click on the advanced settings and upload that blank file that you created. 
    In your document library, go to the library's advanced settings and change "allow mgmt of content types" to YES.  Then, in the content types section add those 2 new content types you created. 
    Now, when people click the "new" drop-down, they will have choices of a word document, excel and powerpoint, and they will open in the browser.
    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    Beginning SharePoint 2010: Building Business Solutions with SharePoint

  • Creation of campaign from template through program in web ui

    Hi,
    We have requirement to send notifications to customers.We are using campaign framework to send notifications.Need to create a new campaign from an existing campaign template  and release the campaign through a program in web ui. Please suggest me to achieve this requirement.
    Regards,
    Brahmaji

    We have created camapign element  by passing parent campaign guid and assigned the target group
    LV_OBJECT is an Object of Class cl_crm_mktpl_appl_base.
      CALL METHOD LV_OBJECT->ELEMENT_CREATE
        EXPORTING
        IM_MKTELEMENT_GUID         =
          IM_OBJECT_TYPE             = lv_object_type
          IM_ATTRIBUTES              = ls_attribute
          IV_USE_EXTERNAL_ATTRIBUTES = 'X'
        IM_TEXTS                   =
          IM_PARENT                  = lv_campaign_guid_16
        IM_CHECK_ATTRIBUTES        =
        RECEIVING
          RV_NEW_GUID                = lv_campaign_guid_new
        CALL METHOD LV_OBJECT->TGGR_ASSIGN_CREATE
          EXPORTING
            IM_MKTELEMENT_GUID = lv_campaign_guid_new
            IT_TGRP            = lt_tgrp
    Regards,
    Brahmaji

  • DIR creation using a template, but template file is not in content Server

    HI Sap Gurus,
    We have a scenario where in we are planning to maintain a different template Files /documents in SAP DMS,
    The user will use this templates to update his details and save the filled in details back accordingly.
    so i have uploaded few files / templates in DC30 for a particular Workstation Application to be used as templates,
    but this templates are not stored in the content server for the client wide access, so if i have uploaded the file from my system only i can access or work with the template,
    why is it so, why is the template not stored in a content server so that every user can access this,
    is there any other better way of maintaining the templates in SAP DMS. please let me know.
    Points Awaiting
    Thanks and regards
    Sathish

    Hi
    There are two options to store templates
    1) Source File :- Where you give the File path in ur PC
    2) Source Document :- It takes the template from a DIR stored - the orginal may be stored in the content server
    Now you have used option 1)..
    Go for 2 ) and store the original in the content server. This will help all users to access the template
    Regards
    Aby

  • TREX Full Search via CV04N Displays DIR Hits While EasyDMS Search Shows All

    Hello All,
    I've searched for information on this and have not yet located an answer so I hope this has not already been addressed even though I think it is somewhat basic.  We have recently installed EasyDMS and TREX to enhance our existing DMS capabilities.  In our testing, we have found that EasyDMS's Full Text capability through TREX is reporting and displaying hits at the document file level whereas DMS CV04N Full Text capability is only showing hits at the document info record level.  Is there something that we have missed for the DMS CV04N capability to not display in the same fashion as the EasyDMS search capability?  For those users using CV04N, they will be disappointed to only find that the hit was at the DIR level and forcing them to find the document file that really contains the hit if multiple files exist in a DIR.
    Thanks - RIchard.

    Hi Richard,
    Please check whether you have done these configurations or not.
    For text search you have activate TREX Server follow the steps
    Set TREX
    A:- Transaction: SRMO
    Install TREX , and create RFC destination to connect to
    TREX.
    B:- Transaction: SKPR06
    Check the flag to Document Area "DMS" to utilize this document area for
    document search.
    For Indexing
    A: Transaction: SE38
    Run the report program "RSTIRIDX_REINDEX" to create Index.
    Also, run the report program "RSTIRIDX" to create Index.
    Set mime type for the text search
    A: SPRO --
    Cross-Application Components > Document Management System > General
    Data > Settings for Storage Systems > Create MIME types for full
    text search,
    Enter MIME type like
    "application/msword",
    "application/pdf".
    Retrive document via Test Search
    A: Then, test retrieval document search using
    Transaction: SKPR07.
    Enter Document Class "DMS_PCD1", Language "EN", Document Class "DMS",
    and try "TEST search".
    Regards,
    Deepak Kori

  • Problem in creation of HUs through FM HU_REPACK and HU_POST

    Hi Experts
    This is regarding the problem in creation of HUs with function modules HU_REPACK and HU_POST.
    I am sending two Unique Sources HUs with single destination HU for the same material and batch into HU_REPACK and it shows that it is successfully repacked and soon as the HU_REPACK function module passess I have called HU_POST without any parameters except messages..As the data will be picked up auomatically from the internal memory as these function module are related same function group.
    Even the HU_POST FM passes successfully and also it creates a Transfer order but the problem is that THe HU is created with the MULTIPLE LINE ITEMS for the same material and Batch which should not be done at all .
    Please find the example of the HU created in the system
    0 10020000038479 S-DISP 1 EA S DISPNSARY
    1 0024632192 000004 810062 0.250 KG L0533A4172 Lactose
    1 0024632192 000004 810062 24.900 KG L0533A4172 Lactose
    Material is 810062
    Batch is L0533A4172
    Can you please assist me how to acheive single line item HU when we are trying to repack the data for same material and batch as it does while you create the HU through Manual processing i.e HU02 etc

    Hi Sailaja,
    I have similar requirements like this before with HU_PACKING_AND_UNPACKING FM. It was a tough debugging before I came up with the right solution. Unfortunately, I was not able to document that code..
    But here is what I have been doing.
    Youre on track with the solution below, never use BDC as it will only limit the Handling units that you wish to put into.
    The function modules that starts with V5_ plays important role as you need to initialize the global variables and table of this function group with values before calling HU_PACKING_AND_UNPACKING FM
    Debug inside the Function module, and look for the FM that returns SY-SUBRC <> 0 then set a breakpoint.
    Restart the program then debug inside that FM again (and I do not want to go further on the details, I give you the presumption of literacy)
    You will find some items that has no value, try to initialize everything by utilizing the FM for this function group V51S.
    Happy Debugging.

  • Change Purchase Order type ,price before auto creation of PO through MIGO?

    Hi ,
    I have reuirement  infront of me.
    We are creating return Purchase order through MIGO for Non-ordered items.
    Purchase Order is created automatically by SAP.
    I need to change its Purchase Order type  , Net Price , Order Price Unit .
    Is it possible to modify the content before the creation of this PO.
    Please help me .
    Regards,
    Amit

    We are not using BPA ; is there any solution involving ASL and/or Sourcing Rule which can be used to meet the User requirement.There certainly is. It involves using either Blanket Purchase Aggreement (which you don't have) or using Quotes.
    Once you have created either of those, simply create an ASL entry for the item(s), attach the Quote or BPA to the ASL entry; create a sourcing rule.
    Once these setups are done, when a requisition is created and approved, it will get converted into a PO automatically.
    And depending upon the value you enter in the "Release method" field on the ASL screen (and your PO workflow attributes), the PO will be created in incomplete status or it can be automatically submitted for approval.
    Hope this answers your question,
    Sandeep Gandhi
    Independent Techno-functional consultant

  • Issues in auto creation of tasks using templates/attributes in FS

    Hi,
    We have a requirement to auto-create one or more tasks when a SR is created in Field Service module. Additionally, task owner should be auto-populated during the task creation (task owner would a CRM group which is dependent on the task type as per company defined business rules). There can be one or more task types associated with a SR type. Tasks within a SR type can or cannot be dependent on one or more tasks within the same SR type e.g. I can have 3 task types A, B and C under a SR type and C is dependent on B, so we set up the dependency as needed.
    We were thinking of following the task template group approach. We created the task templates per SR type and associated the template with the SR type. Issue here is - we cannot assign the task owner value to the task type (I couldn't see a placeholder to define the task owner). Does anyone have pointers on defining the task owner while creating task group templates?
    Another issue is - whenever there is a dependency between tasks, we cannot define the parent task id value. When you navigate to the tasks screen and select the dependent task, you get the error "field must be entered" for parent task id. Any thoughts on defining dependencies with parent task id populated when the tasks are created?
    Second approach we tried is creating SR/Task attribute mapping configuration. Here we can define the task owner as well but the issue is we cannot define the dependencies between the tasks. Also we are getting the error "Attribute CUG_TASK_DEP_ID doesnot exist for item JTFTASK" and tasks are not getting created.
    Any pointers on resolving these issues would be greatly appreciated.
    Thanks
    Shreevatsa

    Hi,
    Today Auto Task creation can be based on the following:
    Task Template Mapping => Based on SR Type, Product Category/Product, Problem Code mapping. For this mapping, Territories need to be setup to determine the Task Owner. If Territories are not setup, the application will not auto create Tasks.
    Task Type Attribute Configuration => Based on SR Type <=> CIC Attributes mapping. In this mapping definition, the Task Owner field is required to be setup. Whenever Tasks are auto created, the Task Owner setup in the definition is used.
    For Task Dependency - what is the requirement? For a SR Type if three Tasks A, B, and C need to be auto created - are you looking for functionality to first create only Task A and when Task A is closed to create only Task B and when Task B is closed to create Task C?
    Thanks,
    Denzil

  • Creation of  File through Scheduled Batch Job

    Hi Friends.
    How to create a file through scheduled batch job .ie data has to be sent in particular file which should be stored in SAP so that The file is expected to provide quick reconciliation when data in SAP gets archived .
    With thanks and regarsds
    Uma

    Which part? The creation of the file?  Since running in background, you would need to create the file using DATASET statements on the appliation server.  You will not be able to put the file on any frontend PC or server, only on the application server where you program is running.
    Regards,
    Rich Heilman

  • Access Policy is not getting trigggered after creation of user through GTC

    Hi,
    I have an access policy for ALL USER role and that provision users to an RO after getting created in oim. I have a trusted source flat file reconciliation GTC for user creation. I am facing issue when user is getting created through GTC, access policy is not getting triggered. But while creating an user through web console the same access policy is working fine and user is getting provisioned with RO.
    If anybody have any idea how to resolve this, please help me in this regards.
    Regards,
    Avijit

    Hi ,
    its good to know that its working. As per my experience it works for once (through reconciliation) but then stops working. Now to confirm try to revoke the user by changing the group member-ship through reconciliation and see if the resource is revoked or not (repeat it for 2 -3 times). Note that don't do it form within IDM web admin console, do it through reconciliation.
    do post your results.......
    Regards.

  • DIR creation from routing

    Hello All,
    I have a requirement to generate a document in SAP DMS (CV01N) for the assembly instruction using the process steps from routing(CA01).This would include inserting an assembly picture (JPEG) into original file which would reside in DMS and would link back to routing using the object link. The request for this process was to avoid the manual creation of the worksheet from routing. The series of steps in routing would be pulled into a excel document inside a DIR at click of a button from the routing screen. Updating the routing from the DIR screen should be blocked wit an error message.
    Please let me know if you guys have come across such requirements and what could be the possible solutions.
    Thanks in advance,
    P-

    Hi Paddy,
    For this requirement a z-develipment needs to be done with help of respective screen exits. You need to consult with Abap'r. In standard environment it's not feasible.
    Hope this will help.
    Regards,
    Ravindra

  • Creation of file through batch job scheduling

    Hi friends,
    I have a situation where I need to select vendor / customer and after that I need to select one of the option between invoice or payments when User select vendor then it should create a file through schedule batch job .
    I am not getting how to do it .
    Please help me if any one knows about it.
    Thanks in advance.
    Gaurav

    Which part? The creation of the file?  Since running in background, you would need to create the file using DATASET statements on the appliation server.  You will not be able to put the file on any frontend PC or server, only on the application server where you program is running.
    Regards,
    Rich Heilman

  • Creation of iview, through code, in Bulk

    Hi,.
    I have a requirement where in we need to create a lot of iViews, and creation of iView manually is a tedious and repetitive process. Is there any means through which we can automate the creation?
    Please assist.

    I haven't tried this yet, but I feel that [Generic iview component tool|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/554762b4-0801-0010-b890-bf9996cc5648] would have been a better solution for me back then,
    Thanks!
    Best Regards,
    Vinay

Maybe you are looking for

  • How can I search on a page like 'control find' does in FF on my Windows XP?

    I want to search a web page in FF for a specific word. FF allows "control F" to do this in Windows KP

  • Adobe Reader X Issues

    A user's computer with Adobe Reader X isntalled (when viewing a PDF file) gets blocked at the top and on  the left side. It appears that there are multiple toolbars at the top that are now just blank and a side bar on the left that stretches from the

  • Define multiple cookie paths in web-j2ee-engine.xml

    Hello, Is it possible to define more than one path JSESSIONID cookie is sent to? Something like <web-j2ee-engine> <cookie-config> <cookie> <type>SESSION</type> <path>/irj;/login</path> <domain>siemens.de</domain> </cookie> </cookie-config> </web-j2ee

  • [Solved] List AUR packages installed and only AUR packages.

    Here's a good one.  Thought this would be easy but thought it over and then looked around a bit and haven't found anything.  There's might just be an easy way to do this that will make me *bonk* my head in the morning but I haven't found it yet.  I'm

  • How to put Two condition at once

    Dear all I am combining two file here for the calculation, but the proble is that i have given a condition when colulm 4 of file-1 and column -2 of file are same then make calculation,,  But i want put a condition when column 4 of file -1 is identica