ARCHIV_CONNECTION_INSERT - Name and Created By

Hi,
I am using the function module ARCHIV_CONNECTION_INSERT to create IXOS attachments in a Service Request document. All are working ok except there is no provision to provide the created by. And I am using the parameter DOC_TYPE to insert the name of the document. Here there is a restriction of 20 characters.
Please can you let me know whether there is a provision to change the Name, Description and Created By fields of the attachment?
Thanks
Vinod

Hi,
I am using the function module ARCHIV_CONNECTION_INSERT to create IXOS attachments in a Service Request document. All are working ok except there is no provision to provide the created by. And I am using the parameter DOC_TYPE to insert the name of the document. Here there is a restriction of 20 characters.
Please can you let me know whether there is a provision to change the Name, Description and Created By fields of the attachment?
Thanks
Vinod

Similar Messages

  • How do I dynamically name and create arrays?

    I need to create arrays dynamically based on user's input. For example, if user enters 5, I have to create 5 arrays. Can anyone please tell me how to name and create them?

    So, if you don't know how many arrays to create when you're writing the code, you wouldn't name them. You'd create an ArrayList (or some other collective data structure) and name that, and then put the 5 arrays into that structure.

  • Search multiple folders for files with same name and create single file

     I have a project where I need to search multiple folders for a file name and when found append data from each file to a single input file.
     Example
    root folder to start search
    \\servera\sales
    \\servera\it\salesa\cmmstr.txt
    \\servera\it\salesb\cmmstr.txt
    \\servera\it\salesc\cmmstr.txt
     I need to create a a single cmmstr.txt on the root folder. I would like it to be able to run this with parms to pass in folders to search and file names to search and single file name to create. I'm going to have a least 10 differnt files to
    search for and create output file for. The folders to search
    will somewhat be static.
     Thanks.

    I tested this out on my own seat and I think it should work for you. I wrote it as a function, all you have to do is pass the root folders you want to search and the file your looking for. The function will then search that directory and all sub directories
    for that file name. you will also have to provide it a file to append to, if the file dosen't exists the function will create it. If you run into an issues let me know and the links Mike
    Laughlin posted are a great resource.
    Function Search-Files{
    Param([String[]]$Locations, $SearchFor, $AppendTo)
    Begin
    If(-Not (Test-Path $AppendTo)){New-Item $AppendTo -ItemType File -Force}
    Process
    ForEach($Location in $Locations)
    $Files = Get-ChildItem -Path $Location -Filter $SearchFor -Recurse
    ForEach($File in $Files)
    Get-Content -Path $FIles.FullName | Out-File $AppendTo -Append
    End{}
    Search-Files -Locations "\\Server1\c$\Temp", "\\Server1\c$\Test1" -SearchFor "Install.cmd" -AppendTo "C:\Temp\Search.log"

  • Missing "creator name" and "created time" on attachment list in ordrer

    Hi all,
    When printing an order (in VA01, 02, 03) with storage mode: archive only, and then display the document in "Displ.Originals", the creator and creation time are blank (in Attachment list pop-up).
    How to complete these fields?
    Regards,
    Misha

    This project was left aside for a while... but it's now finished!
    Thank you for the answers. It was helpful.
    Here is a step-by-step of what I did (using Adobe Acrobat 9.5.1):
    Open PDF document in Acrobat
    Select Forms -> Add or Edit Fields
    Add two text fields: one called "Today" for the date and one called "Printer" for the printer name
    Close the form editing
    Select Advanced -> Document Processing -> Set Document Actions...
    Then select Document Will Print and Edit
    Paste the following code:
    var f = this.getField("Today"); f.value = util.printd("dd mmm yyyy - HH:MM", new Date());
    var pp = this.getPrintParams();
    this.getField("Printer").value = pp.printerName;
    Save your PDF
    Enjoy!
    The date and printer name field will be automatically updated when you print the document!

  • Selecting a list of files and creating a list of only the file names?

    Hopefully this is an easy question, one that I can't seem to figure out. I have a folder of photos and I would like to select all their file names and create a text list of just the file names. Every time I try I select the photos themselves and when pasted into my text document all of a sudden I have a lot of images. Any advice on how to do this? Thanks Jeff

    You're part way there. Do this in TextEdit. Open a new document, CMDSHIFTT to put it into plain text format, paste in the contents of your photo folder, and be surprised when only the names get pasted and not the images. If you want them in alphabetical order, change the photo folders view to list and click on the name column before copying.

  • When I use migration assistant it won't let me use my account name that I'm signed in with.  It requires me to select a different user name and then creates a separate account where my files live.  Why can't I select the user name and account name I have?

    I'm trying to migrate my music and pictures over to my new iMac.  When I use the migration assistant it connects to my PC fine but it won't let me use the account name and username that I have created as the admin.  It requires me to create a new user account - so then I have two separate accounts to log in to which i don't want.  How do I get it to let me use the current account that I have to move my files to?
    Thanks!

    Migration Assistant creates a new account and migrates all the information you have requested to that new account. There is no way around that. However once migrated you can move the data to the account you want to. Here are some instructions for doing so:
    Transferring files from one User Account to another.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • HT1386 How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    Yes, I do have multiple devices and it appeared to me that every time I tried to sync or log onto iTunes, the password was incorrect.  Consequently, I was and am constantly changing it.  Wouldn't it be nice if Apple would simply say that you only need one Apple ID and one password regardless of the number of Apple devices you intend to sync via iTunes. 
    Barring the above, how about a way to merge all of the Apple IDs and passwords into one.

  • How can I create a new name and itunes acct

    I want to give my old 2nd generation ipod nano to my son.  Can I create a new device name and itunes for the ipod?

    Yes.  I would suggest creating a separate user account for him on your PC to use to store his own separate iTunes library.  See Method 1 from this Apple support document for more information and assistance.
    How to use multiple iPods, iPads, or iPhones with one computer
    When he connects the iPod to this new iTunes library he'll need to Erase and Sync (or restore) the iPod allowing him to set it up as his own iPod and everything just as if you had just taken it out of the box.
    B-rock

  • How to create list of a View's column names and source

    Using SQL 2005, 2008, and 2012
    How to create list of a View's column names and source. For the following example would like to @Print something like the following.  Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
    at to use this follows the code snippet pattern below.
    DBACCT.[Account Number]
    dbo.ConvertDate(DBACDT). [Boarding Date]
    DBXES.DBXES
    CREATE VIEW [dbo].[v_ods_DBAL]
    AS
    SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
    FROM dbo.ods_DBAL

    The column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
    SELECT c.COLUMN_NAME,c.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS c
    WHERE EXISTS (SELECT 1
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_NAME = c.TABLE_NAME
    AND TABLE_TYPE='VIEW')
    http://technet.microsoft.com/en-us/library/ms188348.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Hello, I would like to create and print a contact sheet in Photoshop elements 13. I have managed to do that but I need desperately to be able to place a title on the contact sheet. Also, each photograph has as name and I need these names to show up on the

    Hello, I would like to create and print a contact sheet in Photoshop elements 13. I have managed to do that but I need desperately to be able to place a title on the contact sheet. Also, each photograph has as name and I need these names to show up on the contact sheet when I print them out. If this is not possible I will just return my product. I have an old old version of Photoshop that will do just that but with this new elements I cannot find it.

    markc
    What computer operating system is your Premiere Elements 13/13.1 running on?
    Assuming Windows 7, 8, or 8.1 64 bit, open the Elements Organizer 13/13.1 and select your media
    for the Contact Sheet.
    Go to File Menu/Print and set up the Print Dialog for Contact Sheet.
    If you used Edit Menu/Add Caption beforehand, I can see how you can get
    Date
    Caption
    Filename
    under the Print dialog's "4" and even a page number if you have more than 1 page. But, I am not seeing
    where you are going to get a title for each of the contact sheets.
    Any questions or need clarification, please do not hesitate to ask.
    You can get into the Elements Organizer 13/13.1 from the Welcome Screen or by clicking on the Organizer Tab
    at the bottom of the Expert workspace in the Premiere Elements 13/13.1 Editor.
    Please let us know if we have targeted your quesiton..
    Thank you.
    ATR

  • Create a customer code using the First letter of a customer name and the last 4 digits of a phone number

    I am trying to create a form where one the customer has input their name and phone number it should grab the first letter of the customer's name and then the last 4 digits of the phone number.
    I am not very good at coding, and have VERY VERY limited background in coding. I understand a little (the basics pretty much).
    I am thinking i am not using the right expression to get what i want. Below is the statement I have write. This is just to find the first letter of the name, have an idea on how to get the phone number but i was trying the use the "left" and "right" functions but they wouldn't work. More specifically the left.
    form1.#subform[0].CustCode::initialize - (JavaScript, client)
    str = CustName;
    var a = str.substr(0, 1);
    any help would be greatly appreciated.
    If more information is needed, please don't hesitate to ask.

    If you switch your language to FormCalc you can use the Left and Right functions, e.g.
    Concat(Left(Name,1) , Right(Phone,4))

  • Creating a report containing Report Names and associated Groups in XIr3.2

    Hi -- Does anyone know if we have the ability to create a report that contains Report Names and their associated Groups (like LDAP groups)? 
    We actually have Groups associated at the Report Level as well as the Folder level. 
    This functionality did not exist in XIr2.

    I'm inferring you want to report on the CMS repository database, specifically UserGroups and which reports are accessible by those UserGroups.
    That would involve Java SDK coding if you're looking for detailed ACL list information.  You'd need to implement Enterprise Java SDK code to retrieve the InfoObject/SecurityInfo2/Principal information, and create adapter classes to make that information consumable via one of the supported reporting connectivities.
    For this, you'd need experience with both Enterprise Java SDK and supported reporting connectivity APIs (such as POJOs or JavaBeans).
    Sincerely,
    Ted Ueda

  • Script to create directory based on current file name and then save the file in that directory

    Hi all,
    I have a need save all my projects in a directory using the name of the main image I am working on.
    Manually these are the steps I used:
    Save As.
    Copy ( press command-c <== the filename is highlighted by default so all I have to do is )
    New Folder ( press the new folder button. Brings up a dialog box)
    Paste ( press command-v. <== Pastes the file name into the "New Folder" dialog box.)
    Save ( press thre save button. Saves the files into the new folder )
    Save As.
    Change format to JPG
    Save
    Change image quality to 12
    I want to assign these actions to a key
    Recording these steps and playing them back does not give me the results I need, snce the original name is hard-coded in the actionlist that was recorded
    What should I be doing instead ?
    Thanks in advance !

    You don’t mention which format the original file is (and figuring that and its current settings out seems too much of a hassle to me) so this would only save the jpgs into the folder (and create one if it does not exist).
    If you want to give it a try, paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS4 or /Applications/Utilities/Adobe Utilities-CS5/ExtendScript Toolkit CS5) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
    After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action, (in CS4 and CS5) be used in a Configurator-Panel or started from ExtendScript Toolkit directly.
    // saves jpg into folder of file’s name next to file;
    // be advised: this  overwrites existing jpgs of the same name without prompting;
    // thanks to xbytor;
    // 2012, use it at your own risk;
    #target photoshop;
    if (app.documents.length > 0) {
    var thedoc = app.activeDocument;
    // getting the name and location;
    var docName = thedoc.name;
    if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
    else {var basename = docName};
    // getting the location, if unsaved save to desktop;
    try {var docPath = thedoc.path}
    catch (e) {var docPath = "~/Desktop"};
    // create folder if it does not exist;
    var folderString = docPath+"/"+basename;
    if (Folder(folderString).exists == false) {new Folder(folderString).create()};
    // jpg options;
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = 12;
    jpegOptions.embedColorProfile = true;
    jpegOptions.matte = MatteType.NONE;
    //save jpg as a copy:
    thedoc.saveAs((new File(folderString+"/"+basename+".jpg")),jpegOptions,true);

  • Move files and create unique name something wrong with my script

    Can you see where I might be going wrong here?
    Just trying to create a unique name if something exists.
    In English.
    Move file to the destinationFolder
    Item exists in destinationFolder > Move file in the destination folder to the fake Trash > If it exists in fakeTrash too then give it a new name an ending of_a.psd then out it in the trash
    Once thats done move start file to the destination folder.
    Currently when the file exists in the destination folder and in the trash, I get the prompt then the error
    error "System Events got an error: Can’t get disk item \"NN_FR10WW06290PK3LE.psd\"." number -1728 from disk item "NN_FR10WW06290PK3LE.psd"
    set fileMatrix to {¬
              {folderName:"BHS", prefixes:{"BH", "SM", "AL"}}, ¬
              {folderName:"Bu", prefixes:{"BU"}}, ¬
              {folderName:"Da", prefixes:{"ES"}}, ¬
              {folderName:"Di", prefixes:{"DV"}}, ¬
              {folderName:"Do", prefixes:{"DJ", "RA"}}, ¬
              {folderName:"In", prefixes:{"GT", "CC"}}, ¬
              {folderName:"Fr", prefixes:{"FR"}}, ¬
              {folderName:"No", prefixes:{"NN"}}, ¬
              {folderName:"Ma", prefixes:{"MA", "MF", "FI", "MC", "MH", "MB"}}, ¬
              {folderName:"Pr", prefixes:{"PR"}}, ¬
              {folderName:"To", prefixes:{"TM15", "TM11", "TM17"}}, ¬
              {folderName:"Wa", prefixes:{"WA"}}, ¬
              {folderName:"Se", prefixes:{"SE"}}}
    tell application "Finder"
              set theHotFolder to folder "Hal 9000:Users:matthew:Pictures:HotFolderDone"
              set foldericon to folder "Hal 9000:Users:matthew:Pictures:Icons:Rejected Folder Done"
              set fakeTrash to folder "Hal 9000:Users:matthew:FakeTrash"
      ---here
              repeat with matrixItem in fileMatrix -- look for folder
                        set destinationFolder to (folders of desktop whose name starts with folderName of matrixItem)
                        if destinationFolder is not {} then -- found one
                                  set destinationFolder to first item of destinationFolder -- only one destination
                                  set theFolderName to name of destinationFolder
                                  repeat with aPrefix in prefixes of matrixItem -- look for files
                                            set theFiles to (files of theHotFolder whose namestarts with aPrefix) as alias list
                                            if theFiles is not {} then repeat with startFile intheFiles -- move files
                                                      try
      move startFile to destinationFolder
                                                      on error
      activate
                                                                display dialog "File “" & (name ofstartFile) & "” already exists in folder “" & theFolderName & "”. Do you want to replace it?"buttons {"Don't replace", "Replace"} default button 2 with icon 1
                                                                if button returned of result is "Stop"then
                                                                          if (count theLastFolder) is 0 thendelete theLastFolder
                                                                          return
                                                                else if button returned of result is"Replace" then
                                                                          set fileName to get name ofstartFile
                                                                          if exists file fileName indestinationFolder then ¬
                                                                                    try
      --next line moves existing file to the faketrash
      move file fileName of destinationFolder to fakeTrash
      move file startFile to destinationFolder
      --if it already exists in fake trash give it a new name then move that file to fake trash
                                                                                    on error errmess numbererrnum -- oops (should probably check for a specific error number)
                                                                                               log "Error " & errnum& " moving file: " &errmess
                                                                                               set newName to mygetUniqueName(fileName,fakeTrash)
                                                                                               set name of fileNameto "this is a unique name"-- or whatever
                                                                                               set name of fileNameto newName
      --Now move the renamed file to the fake trash
      move file fileName to fakeTrash
      --now move the startfile to destination folder
      move file startFile to destinationFolder
                                                                                    end try
                                                                else -- "Don't replace"
                                                                          if not (exists folder "Hal 9000:Users:matthew:Desktop:Rejected Folder Done") then
                                                                                    set theLastFolder toduplicate foldericonto desktop
                                                                          else
                                                                                    set theLastFolder to folder"Hal 9000:Users:matthew:Desktop:Rejected Folder Done"
                                                                          end if
                                                                          delay 0.5
      move startFile to theLastFolder with replacing
                                                                end if
                                                      end try
                                            end repeat
                                  end repeat
                        end if
              end repeat
              try
                        if (count theLastFolder) is 0 then delete theLastFolder
              end try
    end tell
    to getUniqueName(someFile, someFolder)
         check if someFile exists in someFolder, creating a new unique file name (if needed) by adding a suffix
              parameters -          someFile [mixed]: a source file path
                                  someFolder [mixed]: a folder to check
              returns [list]:          a unique file name and extension
              set {counter, suffixes, divider} to {0, "abcdefghijklmnopqrstuvwxyz", "_"}
              set someFile to someFile as text -- System Events will use both Finder and POSIX text
              tell application "System Events" to tell disk item someFile to set{theName, theExtension} to {name, name extension}
              if theExtension is not "" then set theExtension to "." & theExtension
              set theName to text 1 thru -((length of theExtension) + 1) of theName -- just the name part
              set newName to theName & theExtension
              tell application "System Events" to tell (get name of files of folder(someFolder as text))
                        repeat while it contains newName
                                  set counter to counter + 1 -- hopefully there aren't more than 26 duplicates (numbers are easier)
                                  set newName to theName & divider & (item counter ofsuffixes) & theExtension
                        end repeat
              end tell
              return newName
    end getUniqueName

    There are numerous errors in your script, and it's a large script so there might be more, but these are the standouts for me:
    At line 48 you:
                                                                          set fileName to get name of startFile
    which is fair enough - you then use this to see if the file already exists in the destinationFolder. However, if it does the logic about how to deal with that is flawed.
    At line 56 you catch the error:
                                                                                    on error errmess number errnum -- oops (should probably check for a specific error number)
                                                                                              log "Error " & errnum & " moving file: " & errmess
                                                                                              set newName to my getUniqueName(fileName, fakeTrash)
                                                                                              set name of fileName to "this is a unique name" -- or whatever
                                                                                              set name of fileName to newName
      --Now move the renamed file to the fake trash
      move file fileName to fakeTrash
      --now move the startfile to destination folder
      move file startFile to destinationFolder
                                                                                    end try
    so let's focus on that.
    56: catch the error
    57: log the error
    58: generate a new unique filename
    59: change the name of fileName to some other string
    Hang on, wait a minute.... we already ascertained that at line 48 you defined fileName as a string object that indicates the name of the file. This is just a string. It's no longer associated with the original file... it's just a list of characters. Consequently you cannot set the 'name' of a string, hence your script is doomed to fail.
    Instead, what I think you want to do is set the name of the startFile to the unique string. Files have filenames, and therefore you can set the name.
    You have a similar problem on line 64 where you try to 'move file filename to fakeTrash'. fileName is just a string of characters. It isn't enough to identify a file - let's say the file name is 'some.psd'. You're asking AppleScript to move file some.psd to the trash. The question is which some.psd? The one on the desktop? in your home directory? maybe on the root of the volume? or maybe it should search your drive to find any/all files with that name? nope. None of the above. You can't just reference a file by name without identifying where that file is. So you probably want to 'move file fileName of destinationFolder...'
    There may be other problems, but they're likely to be related - all issues with object classes (e.g. files vs. strings), or not being specific about which object you want.
    As I said before, though, I might be way off - you don't say where the error is triggered to make it easy to narrow down the problem. Usually AppleScript will highlight the line that triggered an error. Knowing what that line is would help a lot.

Maybe you are looking for

  • Help comparing objects

    Hi, My java app's purpose is to find out if I must update my simulated framework if the real framework has changed ( interfaces). My app loads two jar files ( real framework and simulated framwork) and use bcel to make an static analysis of the class

  • Help! I deleted my Font Book on my MacBook!

    I deleted my Font Book (apple application) on my MacBook (the first one, it's white) and cannot retrive it. I moved it into the trash and emptied the trash can. Please help. Thank you,    Hannah.

  • Unable to find class

    hii ..when i create a jsp file //apache tomcat and place it in ROOT folder ..it works..on using jsp:userBeans where should i place the java file /.class file (after compling) ...because when i am placing it in ROOT folder i am getting http 500 error.

  • Installing After Effects on headless render nodes

    I'm trying to install After Effects CS5.5 render engine on a set of render nodes that don't have DVD drives (or any optical drive).  I was advised to copy the install files from the DVD to the desktop via flash drive.  I did that and the install star

  • Fiscal year entry should be present year.

    Hi All,            I created one Report in Query designer, input Variable is fiscal year. Info cube data is there up to 2010, When i give input value 2006 - 2010 working fine. if i give 2006-2011 also executing fine, but 2011 fiscal year data is not