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!

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.

  • How to create GOS view attachment list in ECC6

    Hi,
    I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.
    Thanks in advance.
    Zakir.

    Hi all,
    I've following problem with class CL_GOS_ATTACHMENTS.
    Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.
    Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.
    As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.
    I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??
    Many thanks
    Regards
    m@x

  • Print PDF document with printer's name and date/time of print

    Hi,
    I'm pretty new to this...
    I have a PDF document and when I print it, I want the printer's name and the date/time of print to be showed on the printer's output.
    I have several printers (some local and some on network) and don't necessarly use the default one. I would like the name of the printer used, to be printed on the document.
    With var h = this.getField("Printer"); h.value = app.printerNames; I'm able to get the list of all printers available but I just need the one used.
    For the date/time, using var f = this.getField("Today"); f.value = util.printd("mmm/d/yyyy", new Date()); gives me the date/time of when the document is open, not when the document is printed. (or maybe I'm missing something?)
    I guess the date/time issue is not the major one as there is usually not much difference between the time you open the document and the time you print it.
    I'm more interested in the printer's name.
    I use Acrobat Pro 9 to edit my PDF document.
    Can anyone help me please?
    Thanks!

    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!

  • How to write step name and playback time to an output file?

    In OpenScript for Functional Test, I want to create a csv file with just the step name and the playback time for the step. I don't care to carry all the details in my report file. I see that in the Session folder, there is a csv file with all the playback results. How can I either customize this csv file or create another csv file to report only the step name and the play back time for each iteration?

    Hi
    That line of code should do the trick:
         utilities.getFileService().appendStringToFile("pathToFile", getStepResult().getStepName()+ "," +getStepResult().getFinishTime() +"\n");Hope this helps
    Alex

  • 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

  • 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"

  • RFC - Receiver create Customer (Cannot see created user and created time)

    Hi,
    My scenario is JDBC - XI - RFC to create/change customer master. My problem happens with customer created/changed by RFC. When I look at administrative data of customer master, created by and created date are empty. http://www.imagecross.com/07/image-hosting-view-11.php?id=53673.png My requirement is that log on user which i input in receiver cc of RFC in ID should be used as created user in customer master and created  date should also be updated too.
    Any solution for this? Is there any configuration in XI required or may be a guideline for using ABAP in RFC to do this?
    Thanks,
    Pavin

    Hi
    When u execute form se37 it wud update with the user logged in
    same wud happen when Receiver Adapter RFC wud log in and update r change
    shud update with user wat u have entered in Config
    try to run the RFC from se37
    rgds
    srini

  • I have updated my Mac, Iphone 5 and iPad to iOS 7 successfully - however , the iTunes match will not go from my laptop to my other two devices today_ I bought new songs and created a new play list on my laptop but they don't appear on my iphone or iPad

    I have updated my Laptop, iPhone 5 and iPadto the new ios 7, however since this was installed on all these devices, when i Purchase mucic on my laptop and create a playlist, the  Itunes match is not showing the new music purchases or new playlists on my iphone and ipad- can someone help me out with this?

    I can see a extremely slow download of one at a time of the remaining songs.  Very disappointed in iTunes, should not take 24 hours to retrieve songs!!!

  • Disabling 'Change' and 'Delete' button in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments  ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    Probably you have uncommented the call to super class when you reimplement the method on child class (z class)
    I just implement the same thing now and it worked for me. Take a look:
    1 - Modify the SGOSATTR table by SM30, just write a Z class (in my case CL_GOS_SRV_ATTACHMENT_CREATE) .
    2 - Create/inheridt a subclass (not a copy) in SE24 of the standard class.
    3 - Implement the method CHECK_STATUS in the z class. Note that the call to method on super class came commented. You only uncomment if you want to also execute a standard code in the super class.
    Here is my code:
    method CHECK_STATUS.
    NOTE - In my real implementation I have uncommented the code below because I want do standard code be executed before my own check.
    *CALL METHOD SUPER->CHECK_STATUS
    EXPORTING
       IS_LPORB  = IS_LPORB
       IS_OBJECT = IS_OBJECT
    IMPORTING
       EP_STATUS = EP_STATUS
       EP_ICON   = EP_ICON
      Check for BUS2012 = Bussinnes Object for Purchase Order
      IF IS_LPORB.TYPEID = BUS2012
      Check authorization and disable create attachment item if the user does not have authority...
    IF IS_LPORB-TYPEID = 'BUS2012'.
    AUTHORITY-CHECK OBJECT 'Z_MM001' ID 'ACTVT' FIELD '01'.
      IF sy-subrc <> 0.
        ep_status = mp_status_inactive.
      ENDIF.
    ENDIF.
    endmethod.
    Regards,
    Alexandre

  • Disabling 'Change' and 'Delete' buttons in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    I have solved the issue Alhamdulillah by the foll. method:
    1. Copied CL_GOS_SRV_ATTACHMENT_LIST to ZCL_GOS_SRV_ATTACHMENT_LIST
    2. In ZCL_GOS_SRV_ATTACHMENT_LIST there is a method called: CHECK_STATUS. I overwrote with my check;
    on_mode_changed( 'D' ). --- For display
    on_mode_changed( 'E' ). --- For edit mode.
    3. In SGOS tcode, added VIEW_ATTA to point to ZCL_GOS_SRV_ATTACHMENT_LIST
    Regards,
    Fawaz

  • Creating smartform from attachment list of service object

    Hi,
       How can i create a smartform containing attachment list from generic object services(active workflow Box) in tcode VA02, Also let me know in which table this attachment lists are stored.
    Thanks,
       JP

    I found following Solution:
    I copied the following classes and changed them in some way to fit my requirements:
    1.CL_GOS_ATTACHMENTS
    2.CL_GOS_SRV_ATTACHMENT_LIST
    3.CL_LIST_BROWSER
    Changes to the Classes:
    1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
       Changed method INIT_BROWSER:
    go_browser ?=
        zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
    2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
    3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
    method zcreate_browser.
      case ip_btype.
        when gc_list_browser.
          *create object ro_browser type zcl_list_browser.*
        when gc_tree_browser.
          create object ro_browser type cl_tree_column_browser.
        when others.
          raise exception type cx_sobl_browser
            exporting
              gp_error = cx_sobl_browser=>gc_wrong_type
          exit.
      endcase.
    endmethod.
    Modified the code of method ___DISPLAY to my needs.

  • Delete and Change options in Attachment list to be disabled

    Hi Experts,
    I am working IS-U. In transaction EC20 when we see any print document, there is an icon for attachment at top. According to my customeru2019s requirement, user should only be able to attach the file, the options for Delete and change should be disabled.
    When I do this through transaction SGOS and change the status as inactive of the service u2018VIEW_ATTAu2019, itu2019s deactivate the attachment list as whole .In this case user is not able to see the attachment also.
    Any suggestion regarding this would be appreciated .
    Thanks,
    Vijay

    Hi,
    use FM with Edit functionality enabled for all fields and
    Create one pf-status with some buttons
    if user presses the button the alv output table should be saved and same table can be used to insert /modify /delete the dbtable.
    and check this link
    [alv list|alv list]
    Regards,
    Nandha

  • Read,write and create word document with list data

    Hi,
    My requirement is that I have a custom list called List1 and which has a 4 (suppose XName, location, phone, email)columns and also have a Template document(.dot). If I click on save button , new document has to create from the Template document(.dot) and
    should modify the content depends on list columns.
    For that I need to read the document , find out the text where XName , location,,phone, email and replace with the list item data(user entered data). 
    Can anybody please refer links for read,write and create word document?
    Thanks in advance.

    Yes, you can using Office Open XML. I found it to be a lot more cumbersome and in the end not a money saving approach:
    https://msdn.microsoft.com/en-us/library/office/bb448854.aspx?f=255&MSPPError=-2147217396
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Can you run SQL in the portal and create a drop down list??

    Can anyone tell me if its possible to create a drop down list using sql in the portal?
    Can I create a drop down list of items via sql and then have those same values be used for a discoverer portlet? I am trying to replicate the same concept using parameter values and discoverer worksheets, but through sql. I dont want to have to cut and past lists on the parameter fields. I want to be able to run sql when I post a discoverer worksheet with a parameter and have the values from the sql pass into the worksheet.
    Is that possible???

    I created a lov but i cannot post it on my portlet. When i go to post a portlet, under the db_link, portlet reposistory it does not show.? Also, how do make the connection to the discoverer worsheets to this lov?
    thanks,

Maybe you are looking for

  • Multiple network interface question

    ok so i work for my college as a student worker in network operations. today they did a makeover on the dorm network and added in some traffic shaping. Instead of getting 8mb down im getting 1mb down. Well one of the admins went to lunch and had the

  • Adobe Photoshop Element 10 Program Stops (i.e, Crashes)

    I currently have a large number of photographs stored in Elements 10 (this may be referred to as the catalogue).  When I try to edit a photograph, the program stops working when I close or save the edited photograph and try to go back to the Organize

  • Macbook Air to TV (without HDMI)

    Hi all, I hope you can help on below situation: I have MackBook Air that I want to connect to Television Mitsubishi LCD H32MX5. MackBook Air does not have HDMI cable. Television LCD does not have HDMI cable, it has all other cables (D, RGB, etc.) as

  • Desktop files frozen after Time Machine Backup

    When I get home and plug my Mac Book Pro into the external hard drive time machine starts up and backs up. After time machine is finished I cannot click on any of the icons on my desktop. I have to switch to the login window (i don't actually have to

  • Apple TV 2 + iTunes

    After the Apple TV goes to sleep, it can no longer connect to the iTunes share. I have home sharing enabled on the two Apple TVs, and I have the exact same problem with both of them. I have all of the latest updates on my Apple TV (4.2.2), on my Mac