Add document to record

Dear, all.
Excuse me for my english.
I want to add document to record in scase.Document is a BUS2042. If i want to create it - i use method createFromData of this BO, but method uses operators like SWC_GET_ELEMENT CONTAINER and because of this i see errors.
Can anybody tells me the steps to create document . How i can use container in  scase?
data that needed for creating document i can take from header data of record, but i dont know how to do it.
Thanks for help.

I knew about the comment possibility, but as you have said...users would need instruction.  This is intended for a controlled environment where I know that everyone will have a device with a microphone.  However, the users of the form would have very little experience as this is meant for patients.

Similar Messages

  • Variable number of document info record parameters

    Hi guys,
    I have a question about adding additional information to document info record.
    The situation is following:
    Our customer wants us to link original purchase order (PDF file) with it's document info record in SAP. The document itself is stored in another document management system and we have succeeded in linking this object with it's document info record in SAP.
    He also wants to have some description data stored in document info record (date, description, name, etc). One odd requirement is copying information about cost centers and costs per each cost center from fields in document management system to some fields in document info record.
    The problem is that each purchase order can have various number of cost centers and costs per each cost center!
    So, is there any possibility to define some fields in document info record to which I can store variable number of parameters (for example in one case 3 fields, and maybe in another case 1 field)?
    Any kind of information will be valuable for me!
    Thanks for help!

    Hi,
    But my next question is how can I know how much cost centers will be for some document? If I need to define number of cost centers in advance, then this solution is not very flexible. The best solution would be if I could add values to classification flexibly (for example: one time 3 values and the other time 1 value).
    :-Check box additional values in values tab of char. that will allow to enter flexible number of values any time
    The other question is about values of parameters. For each cost center I need to enter two values (cost center number, and costs for that cost center). So, for each cost center I need to add 2 values. Is that possible using classification?
    :-Create classification with chara. cost center, cost center value and check box additional values as above that will allow you to add values for cost center and cost center value.
    Anirudh.

  • Version Document Info Record and File Management

    Hi all!
    want to edit DMS document info records (as in cv04n - add, del files) without deleting original DIR -> Version management of DIRs.
    I use the following BAPI scenario:
    - BAPI_DOCUMENT_GETACTVERSION (get the highest version of a DIR)
    - BAPI_DOCUMENT_GETDETAIL2 (to get the object links of the DIR)
    - BAPI_DOCUMENT_CREATENEWVRS2 (create a new version of the DIR, copyoriginals = X, object links are copied as well)
    - again BAPI_DOCUMENT_GETACTVERSION (get this new version number)
    - again BAPI_DOCUMENT_GETDETAIL2 to get the files of the new version DIR)
    - to delete single files, i change the file record of the files table ( set deletevalue = X).
    - then BAPI_DOCUMENT_CHANGE2  as suggested in a nother thread of mine by 2 community members.
    the latest step runs for version = 00, but when having a version gt 00, the bapi_document_change2 returns : "original is already checked in and stored".
    also i checked the ph_objid and lo_objid (the ids are the same for Version n and n+1), which might be the reason for the error mentioned above.
    i can't find any solution.
    thanks for replies in advance,
    Christoph

    Hi all!
    got the solution: - finally !!!
    Problem:
    you want to edit Document info records - using a new version of this DIR. in the new version it is possible to add and delete files.
    Solution:
    - CALL FUNCTION 'BAPI_DOCUMENT_GETACTVERSION'
    and get the actual hightest version of the DIR
    - ls_objtype-OBJECTTYPE = '*'.
    append ls_objtype to myobjectlinks. to be able to copy all the objectlinks of the DIR.
    - lv_dokvr_new = lv_dokvr_ref + 1. - increment the DIR version number
    - CALL FUNCTION 'BAPI_DOCUMENT_CREATENEWVRS2 to create a new version of the DIR.
    - * get again the actual version
    CALL FUNCTION 'BAPI_DOCUMENT_GETACTVERSION'
    - * get files of the new version
    CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
    - * set the delete flag for those you want to delete in the table documentfiles.
    - CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
    IMPORTANT ***
    !!! transfer O N L Y the files you want to delete O R transfer all files but C L E A R the STORAGE_CATEGORY field !!!
    any questions? feel free to ask...

  • Document Info Record and Archivelink

    Dear all,
    Can any expert help to distinguish Document Info Record (e.g. CV04N) and Archivelink (e.g. OAER)?
    When should we use these two document management systems?
    We're now using ArchiveLink but we it is hard for us to search for specific document since there're no business custom attributes or characteristics to describe the document. Can we add custom attributes to ArchiveLink document?
    Document Info Record support characteristics seem can solve the problem. But how do we upload the document by using BAPI rather than attach it manually by CV01N.

    Hi Karlo,
             As you mentioned, object links could be linked to Purchase order items. In customisation you maintain these entries under the node SPRO > Cross Application Components> Document Management--> Control Data --> Define Document Types --> Define Object Links.
    There are many links in the standard system (possible entries).
    The system automatically determines the screen number (dialog box) where the key data for the object is maintained for document maintenance.
    You can check the screens when the screen entry is missing or contains errors by doing the following:
    Start the Object Navigator and display the objects for the development class  CV.
    Expand the function group 130. The structure nodescreens lista all screens that can be used for object links.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
    The processing logic must follow that of screen 1204 in program SAPLVC130.
    Create function module OBJECT_CHECK_XXXX (XXXX = object name)
    If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Hope the above instruction helps in solving your problem,
    Sojan
    Note : Award points if you find the information useful

  • Records Management - automaticaly add element to record

    Hello,
    I try to add an element to a record using the bapi "bapi_record_addelement", but I get an error-message that the number of poid-parameters is not equal to those in the registry information.
    My ABAP-Code is the following:
    *& Report  Z_RECORD_ADDELEMENT
    REPORT  Z_RECORD_ADDELEMENT.
    *{   INSERT         I50K900139                                        1
    data:
    wa_ELEMENT_SP_POID     type      BAPIPROPTB,
    wa_ELEMENT_PROPERTIES  type      BAPIPROPTB,
    wa_ELEMENT_VISIBILITY  type      BAPIPROPTB,
    element_sp_poid type standard table of BAPIPROPTB,
    element_properties type standard table of BAPIPROPTB,
    wa_insertion_by_modelid type BAPISRMREC_MODELIDINS,
    return like BAPIRET2.
    * Fill SP POID table
    start-of-selection.
    CLEAR element_sp_poid.
    wa_element_sp_poid-NAME  = 'DOC_ID'.
    wa_element_sp_poid-VALUE = '03F65C4630552864E1000000AC15C293'.
    APPEND wa_element_sp_poid TO element_sp_poid.
    wa_element_sp_poid-NAME  = 'VARIANT'.
    wa_element_sp_poid-VALUE = '0'.
    APPEND wa_element_sp_poid TO element_sp_poid.
    wa_element_sp_poid-NAME  = 'VERSION'.
    wa_element_sp_poid-VALUE = '2'.
    APPEND wa_element_sp_poid TO element_sp_poid.
    wa_insertion_by_modelid-MODEL_ID = 'D7F85C462E55770CE1000000AC15C293'.
    wa_insertion_by_modelid-PARENT_NODE_ID = '3'.
    ** add element
    CALL FUNCTION 'BAPI_RECORD_ADDELEMENT'
            EXPORTING
              objectid = 'E1A55C462F0C790CE1000000AC15C293'
              DocumentClass = 'ZRMSR04'
              sps_id = 'Z_RM_MIETAKT'
              anchor = 'Schriftverkehr'
              description = 'Testdokument eingefügt mit ABAP'
             IMPORTING
              return        = return.
    write: return-message,
           return-type.
    *}   INSERT
    I hope someone can help me because I am trying for one week.
    hootzter

    Hey...
    Good information.
    I get an error in trying to add element to record, van you help me out.
    The error reads the following:
    Source: CL_SRM_GENERIC_SP0============CP , CL_SRM_GENERIC_SP0============CM002 ,       102
    General error: Could not connect to repository.
    This is the code Iam using
    *& Report  ZTESTPRG
    REPORT  ZTESTPRG.
    Definition of local data types for DOC_ID
      types: begin of ty_doc_id,
                docclass type bapisrmdoc-docclass,
                objectid type bapisrmdoc-guid,
             end of ty_doc_id.
    Structure of the correct Document-ID
      data: ls_doc_id type ty_doc_id,
            lt_sp_poid type standard table of bapiproptb,
            ls_sp_poid type bapiproptb,
            ls_return like bapiret2,
            ls_insertion_by_anchor type bapisrmrec_anchorins.
        clear: lt_sp_poid, ls_doc_id, ls_doc_id.
        ls_doc_id-docclass = 'ZSNG09'.                    
      Document Class des einzufügenden Dokumentes
        ls_doc_id-objectid = '466E6A24DED600A100000000AC10A015'.     
       Objektid des einzufügenden Dokumentes
        clear: ls_sp_poid. " clear weg und ls_sp_poid clearen
        ls_sp_poid-name  = 'DOC_ID'.
        ls_sp_poid-value = ls_doc_id.                    
       Document Class und Objektid als Struktur des Dokumentes
        append ls_sp_poid to lt_sp_poid.
        clear: ls_doc_id.
        ls_sp_poid-name  = 'VARIANT'.
        ls_sp_poid-value = '0'.
        append ls_sp_poid to lt_sp_poid.
        clear: ls_doc_id.
        ls_sp_poid-name  = 'VERSION'.
        ls_sp_poid-value = '0'.
        append ls_sp_poid to lt_sp_poid.
        clear: ls_insertion_by_anchor.
        ls_insertion_by_anchor-parent_node_id = '5'.
        call function 'BAPI_RECORD_ADDELEMENT'
          exporting
            objectid        = '466E9223F887013A00000000AC10A015'     
           Objectid der Akte
            documentclass   = 'ZSNG08'                    
           Document Class der Akte
            sps_id          = 'ZSCMG_SPS_NUCLEAR_PROCEDURE'               
           Einzufügende Elementart
            anchor          = 'NP02'                    
           Im Aktenmodell hinterlegt beim Modellknoten
            description     = 'Test Document'     
           Beschreibung des Dokumentes in der Akte
            element_type    = 'I'                         
           Instanz
          importing
            return          = ls_return
          tables
            element_sp_poid = lt_sp_poid.
            write: ls_return-message,
                   ls_return-type.

  • Documents of Records

    Hi,
    Requirement to save the scanned documents for employees, as we are not implementing SSHR, so Documents of Records can't be used.
    I tried to add the document of records as taskflow but it is not working.
    Please let us know, if any other alternate to save the scanned documents apart from people form attachment icon, which stores the documents in FND tables.
    Thanks

    Documents of Records is functionality that is available with Core HRMS also.
    Using this, Admin can upload a N number of documents for any employee.
    SSHR is not mandatory for "Document of Record" Functionality.
    Thanks

  • Documents Of Record / Images

    Does anyone know of a method to bulk load images into the Documents of Record? The APIs that exist seem to only create a "record" of a Document of Record, but doesn't actually allow the uploading of a file? We were initially going to store our images as attachments on different forms but since the attachments option was taken away from the new SSHR salary form, this is no longer possible(which is super by the way).
    Any help would be greatly appreciated.

    are you sure you cannot personalize the salary web page so that the attachments show up, or add an attachment item?

  • How can I add a new record in an Access table.

    How can I add a new record in access with LabView, using activex, without using the database connectivity tools.
    Message Edited by Noawena on 05-16-2008 09:25 AM

    Much easier with a toolkit but you could use ADO objects,
    get connection, make a SQL object "INSERT record INTO table where  ...." 
    Execute the parameterized query
    Free up record sets data
    close connection when done.
    This is a very simplified version
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Document Info Record

    Hi All,
    A PDF file is attached to SAP Document Info Record. While opening that PDF file through CV03N getting a messege like -
    "Error while executing C:\DOCUME~1\.................."
    What can be the reason for this & how it can be soleved?
    Regards
    MHP

    Hi Manish,
    You need to define application type in DC30.
    Kindly put suffix as .pdf and mime type as "application/pdf". This will activate the application pdf in the sap dms.
    if you found problem with other files do same and fill mime types properly. Aslo tick the start authorization field in same screeen.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Add a new record to table control

    Dear all,
    How to add a new  blank record to a table control?
    Following code is not working for adding  a new blank record to a table control
    MODULE USER_COMMAND_0100 INPUT.
        SAVE_OK = OK_CODE.
        CLEAR OK_CODE.
        CASE SAVE_OK.
          WHEN 'EXIT'.
            LEAVE PROGRAM.
          WHEN 'APND'.             " A button "Add" to add a new record to table control
            REFRESH IT_KNA1.
            CLEAR IT_KNA1.
            APPEND IT_KNA1.
        ENDCASE.
    ENDMODULE.        
    Thanks you

    Hope you have done all table control specific coding
    refer this example program
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm

  • Additional field in the 'Add document' subscreen while creating a Solar doc

    Hi Forum members,
    I need to add additional fields in the 'Add Document' sub-screen that appears when I create documents in SOLAR01.
    The subscreen currently has 'Title', 'Documentation Type', 'Status' and 5 radio buttons for 'Object type'.
    Please advise.

    Hi,
    I doubt if we have any option to add additional fields in that screen.
    What additional fields are you planning to add?

  • 0 down vote favorite        I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording t

    0 down vote  favorite  
    I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording to a video file? Thanks in advance

    Well,
    I tried the "Internet Recovery" option and finally saw Mac OS X Mountain Lion's install page but after waiting 7 hours when I just thought its going to start installing, I got another progress bar with 36 hours remining time to download "Additional Components" then after progressing 2-3 hours, it shows "Unable to write installation something..., Contact Apple Care"
    Then I accidently rebooted the machine and now it seems Internet Recovery don't work anymore, it shows "support.apple.com - 40 something!" error, and finally when I tried to reboot using Recovery HD, I found it's gone as-well!
    To be honest, I don't know what to do now, I am and dissapointed... also I do not have any Apple Store nearby, there is an authorized country reseller almost 650/km far away from my residents and they even charges too high (like $250) for doing such repairs (as per phone conversation)
    If anyone have any idea or anything to help me with, please do share- I'd be eternally grateful!

  • Linking document info record and purchase order

    Hi all,
    I hope that someone can help me because I'm having a problem with creating links between document info records and purchase orders.
    By default in SAP I can create links between document info record and purchase order ITEMS! When I create that link, I can see it in document info record under Object links tab, but when I double click on the number of purchase order nothing happens (I expected that this purchase order will open).
    Why is that so?
    Why can't I access purchase order from document info record even though the link exists?
    The other question is about creating object links to purchase orders, not purchase order items! Is it possible to link document info record with purchase order?
    I would appreciate quick answer because we're in the middle of a project and we're stuck with that problem.
    Thanks!

    Hi Karlo,
             As you mentioned, object links could be linked to Purchase order items. In customisation you maintain these entries under the node SPRO > Cross Application Components> Document Management--> Control Data --> Define Document Types --> Define Object Links.
    There are many links in the standard system (possible entries).
    The system automatically determines the screen number (dialog box) where the key data for the object is maintained for document maintenance.
    You can check the screens when the screen entry is missing or contains errors by doing the following:
    Start the Object Navigator and display the objects for the development class  CV.
    Expand the function group 130. The structure nodescreens lista all screens that can be used for object links.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
    The processing logic must follow that of screen 1204 in program SAPLVC130.
    Create function module OBJECT_CHECK_XXXX (XXXX = object name)
    If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Hope the above instruction helps in solving your problem,
    Sojan
    Note : Award points if you find the information useful

  • How to add Document group  in t code S_ALR_87012082 for dynamic selection.

    Hi Gurus,
    I Need to add  Document group  in t code S_ALR_87012082  for dynamic selection.
    Currently here two groups are showing , Vender and Comp Code. i need to add Document group  there. Kindly guide me in this.
    Thanks in advance.

    Hi
    Pls follow below report
    *S_ALR_87012103 - List of Vendor Line Items *
    In dynamic selections you can find Document number, there you can give the range
    Reg
    Vishnu

  • Web Service to Create a Document Info Record with attachments (e.g. PDF)

    Hello guys,
    we are looking forward to create a Web Service that should be able to create a Document Info Record on SAP ERP Application Server. As we don't have installed the SAP Standard Web Services on our SAP ERP ECC 6.0 system we will manually create a Web Service with the help of the standard BAPI_DOCUMENT_CREATE2.
    The current problem is that the Web Service based on the Standard BAPI can not upload Files (PDF or Word files) from the Users Client PC to the Application Server.
    Is there a possibility to Create a Web Service that can handle files and create DIRs on application server?
    Thanks a lot!!
    Regards,
    Christian

    Hello Natallia,
    Well, in this case you don't really need the CV01N transaction. This represents the user interface (UI), and you only need an interface (that is, an API), which in SAP is represented by a BAPI
    I'm not familiar with CRM, but I assume that at some point when saving a Service Contract, you have a BAdI, where you can check the status and insert some custom code.
    So, all you have to do is call BAPI_DOCUMENT_CREATE or BAPI_DOCUMENT_CREATE2 (if available on your installed version), with the required attributes (this can be master data, classification, custom data...). After this function is called successfully, you should receive the document key (DOKAR, DOKNR, DOKVR, and DOKTL). Which you can also save in the Attachments tab.
    Hope this helps,
    Tudor

Maybe you are looking for

  • How To Change the Tempo of Just One Track?

    I want to change the tempo of just one track of a song, but when I change the tempo of one track, the tempo of the whole song changes and gets messed up. Does anyone know how to just change the tempo of just one track of the whole song.

  • Can a execute the job in parallel.?

    Please find below my DBMS_SHEDULER job: BEGIN DBMS_SCHEDULER.CREATE_JOB (job_name => 'job1', job_type => 'PLSQL_BLOCK', job_action => 'BEGIN pk_dt_auto.pr_fire_process(''764''); END;' start_date => SYSDATE, repeat_interval =>'FREQ = Minutely; INTERVA

  • How to transport variant?

    hi, can anyone tell how to transport variant?

  • Loading images from an Array generated from XML

    OK, this is my first day trying to use AS3 and I'm kind of confused on how to load an image onto the screen and then be able to resize it, scale it, etc.. I'm loading up to 5 images in from an XML file that will be generated on a server. (right now I

  • How do we contact a real person regarding billing errors?

    How do we contact a real person regarding billing errors on our itunes account?