Find Author name of a FM using ABAP

Hi Everyone,
given a function name, I want to find out the author name using ABAP code.
Thanks
Misbah

Misbah - You should go to TFDIR table to get the FM name and Prog. name and then go to TRDIR table and enter the prog.name. That will give you the person who created and who last changed the program  and also created date and changed date.
Hope this helps.

Similar Messages

  • Need to know how to find the name of the classes for ABAP Objects

    Hi Experts,
    I am new in ABAP Objects. I do not now the best way to find the class which I want to use. Shall I search it using F4 search help, but many of the classes does not have a description with them.
    I want to create a text field on my splitter container. Can anybody please tell me the class-name for the text field.
    Regards,
    Saurabh A. Buksh

    Hi,
    Thank you for the helping me. But, I actually want something which we call a Text Box. I do not require a Text Edit Control.
    Please tell me if you know any classes related to it and the parameters that I need to pass into it.
    Thanks & Regards,
    Saurabh A. Buksh

  • How to find the names of Function Module used in the program

    Hi all,
    can you people help me with this issue.I want to the names of all the Function Module used in the program  along with their parameters into an internal table.It will be helpful for your suggestions.
    Kind Regards,
    Edited by: Prasenjit Sengupta on Nov 20, 2008 7:39 AM

    Take structure of internal table as
    TYPES : BEGIN OF TY_FM,
            FUNCNAME TYPE RS38L_FNAM,  "Name of Function Module
            PARAMETER TYPE RS38L_PAR_, "Parameter name
            PARAMTYPE TYPE RS38L_KIND, " Parameter type
            R3STATE TYPE R3STATE,      "ABAP: Program Status (Active, Saved, Transported...)
            STRUCTURE TYPE RS38L_TYP,  "Associated Type of an Interface Parameter
            DEFAULTVAL TYPE RS38L_DEFO,"Default value for import parameter
            REFERENCE TYPE RS38L_REFE, "Call by reference
            OPTIONAL TYPE RS38L_OPTI,  "Optional parameters
            TYPE TYPE RS38L_TYPE,      "Reference Structure is an ABAP/4 Type
            END OF TY_FM.
    DATA : IT_FM TYPE TABLE OF TY_FM WITH HEADER LINE.

  • Define attachment name for PDF document using ABAP class CL_BCS

    Hi,
    I am using the ABAP class CL_BCS to send an email with a PDF attachment. The issue I have is that although I am specifying the attchment name when receiving the email the attachment is called 'MESSAGE'PDF'.
    I can view the attachment in SOST and the correct attachment name appears.
    I need to use this class as I am sending multiple attachments, whereas the FM only allows 1 attachment .
    Has anyone had this issue before with a PDF attachment.
    Thanks
    Martin

    Hi Hasan,
    I have similar requirement. I see your post is pretty old and hope you would have found the solution at that time.
    Could you please share it with me?
    Thanks
    Puneet

  • Find host name and port number using query

    Hi,
    How do find the system_name, host_name and port no
    using sql query or data dictionary.
    plz

    SELECT i.instance_name, i.host_name, f.release_name RELEASE, i.version, k.patch_level FROM
    v$instance i, fnd_product_groups f, fnd_product_installations k WHERE
    UPPER(SUBSTR(i.instance_name, 1, 4)) = UPPER(SUBSTR(f.applications_system_name, 1, 4)) AND
    k.application_id = '200';

  • How to find currently editing transaction code details using ABAP code

    Hi,
      if some user is using VA02 tcode.i want to know for which sales order(i.e Sales order number)he is making changes.
    i want ABAP code sample for this scenario.
    Cheers,
    Jag

    Hi,
                  For this you need to create Lock Object from se11 .It will automatically crate Two Function modules for enque and deque.
    In you case If you want to see the Details for Va02 use.
        CALL FUNCTION 'ENQUEUE_EVVBAKE'
             EXPORTING
                  VBELN          = VBELN
             EXCEPTIONS
                  FOREIGN_LOCK   = 1
                  SYSTEM_FAILURE = 2.
        CASE SY-SUBRC.
          WHEN 1.
            MESSAGE E042(V1) WITH vbeln RAISING ERROR_IN_COPY.
        ENDCASE.
    Regds,

  • Name the infotypes we uplode using abap programs

    Hi,
    can anyboby let me know, Name the infotypes we uplode using abap programs?
    Thanks

    IT0008
    IT0045
    IT0589  ETC
    some of them can be made through LSMW also but we use BDC . the main reason is we wont find Feilds to upload those data in templates

  • Need To Find Query Name Used In A Bookmark

    Hi,
    I have a bookmark that is not based off a web template.  It was created by running the query on the web and then saving the bookmark from there.  We have since forgotten the query technical name.  How can I find it out?
    (I have tried looking at table RSZWBOOKMARK but it doesn't have any info about the query.  And the web template id field is blank since we didn't create the bookmark that way.)
    Thanks,
    Audrey

    Audrey,
    We had a similar need recently to report on bookmarks in the BW system by user, query, InfoProvider, etc.  We ended up having a custom ABAP developed here to piece some of the information together for a report.  In our scenario, the bookmark links were actually being stored in the BW user's favorites, so it took additional linkage to go from there as well.
    You may want to look at some of the same tables we had to access here.  Try looking at data in the RSZWOBJ table -- the keys to this table would be OBJID (use the RSZWBOOKMARK-BOOKMARKID) and OBJVERS ('A').  Because of the way the data is stored with this, you may have to use ABAP code similar to the one below to get Bookmark info.  I took a few snippets of code out of a program to help show this -- here the field WS_INFOPROVIDERID is getting filled with the query name behind the bookmark.
    sample working storage below -
    DATA:
    l_s_id_objvers TYPE rszw_s_id_objvers,
    l_s_rszwobj    TYPE rszwobj,
    l_sx_bookmark  TYPE rszw_sx_bookmark,
    WS_DP_LIST     TYPE line of rszw_sx_bookmark-DP_LIST,
    WS_INFOPROVIDERID TYPE rszwobj-OBJID.
    sample logic for reading RSZWOBJ table ---
    l_s_id_objvers-objid   = <wherever you store BOOKMARKID>.
    l_s_id_objvers-objvers = 'A'.
    IMPORT bookmark = l_sx_bookmark
      FROM DATABASE RSZWOBJ(bm)
          ID l_s_id_objvers
          TO l_s_rszwobj.
    IF SY-SUBRC = 0.
      LOOP AT l_sx_bookmark-DP_LIST into WS_DP_LIST
          WHERE VALUE = 'DP'.
        WS_INFOPROVIDERID = WS_DP_LIST-NAME.
        EXIT.
      ENDLOOP.
    ENDIF.
    Hope this helps...  Jody

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • Change Prg name in classes using abap code

    Hello Experts,
    I'm having following req:-
    I need to change program name using abap code .
    I have prepared report which changing prg name & also it is replecting target name into T-code & Programes where source prg name is being used.
    My next req is i want to replace sorce prg name in Classes usinf abap coding.
    <Priority normalized by moderator>
    Thanxs in Advance.
    Moderator message : Requirements dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Feb 7, 2012 12:32 PM

    The application name is not necessarily uniqueue! Customers may create two applications with same name in different systems/clients and transport them into the same target system/client!
    You do the mapping with the query:
    CL_FDT_FACTORY=>GET_INSTANCE( )->GET_QUERY()->...
    There are two methods. One for mapping ID to name and one for name to ID.
    There is also a sample report in package SFDT_DEMO_OBJECTS.

  • Unallowed RFC-XML Tag (SOAP_EINVALDOC) - Web Service using ABAP Proxy

    Hi there
    I am trying to consume a Web Service using ABAP Proxies.  I have done the following in the system:
    I configured the HTTP and HTTPS Proxy settings. 
    I created a package with package interfaces SAI_TOOLS and SAPPINT included under the Use Access tab.
    I created the proxy classes by using the WSDL provided by the system I'm trying to interface with. 
    I created my HTTP destination RFC via SM59. 
    I configured a logical port for the proxy. 
    I developed the ABAP code for calling the proxy. 
    In the code the exception CX_AI_SYSTEM_FAULT gets raised with error message <b>"Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b> when I call the method for passing data to the destination system in the proxy class.
    I had a look at SM21 and the following message was written in the log:
    <b>"SOAP Runtime: SOAP Runtime exception: 111 occurred in method XP_READ_TAG of class CL_SOAP_XP at position 1
    SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b>.  I also looked at SAP Note 919886 which states that it can be dumps in the system, missing configuration or the path prefix of the RFC destination that is incorrect.  I cannot find any ST22 entries.  The trace file looks as follows:
    SAP System ID: DGH
    Client: 009
    User: COLESKG
    System time: 072910
    System date: 20070531
    SAP Release: 700
    Host: hd307c
    Operating system: AIX
    DB System: ORACLE
    Program: ZUK_IPA00003
    Processing State: 0
    Location: Client
    Transport Binding: http://schemas.xmlsoap.org/soap/http
    SOAP Application: urn:sap-com:soap:runtime:application:client
    SOAP Runtime Protocol: http://www.sap.com/webas/630/soap
    /runtime/protocol
    SOAP Protocols: <initial>
    Request Message: <initial>
    Response Message: <initial>
    Fault: <initial>
    Registry: <initial>
    SOAP Roles: <initial>
    Trace Level: 3
    Logging Level: 2
    Monitoring Level: 0
    Security Profile: <initial>
    WS Security Protocol: <initial>
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to create client application for Proxyclass:
    ZES_CO_PROCESS_EMPLOYEE_BATCH LP name: DEFAULT
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application created
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to initialize client application
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Try to initialize application
    urn:sap-com:soap:runtime:application:client
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new runtime CL_SOAP_RUNTIME_CLIENT
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Try to register application
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Application registered
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Read type of transport binding from
    configuration
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new transport binding type
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() Try to initialize
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() http://schemas.xmlsoap
    .org/soap/http initialized
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Try to create request message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Request message created
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Try to create response message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Response message
    created
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Try to initialize
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Check transport binding
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Create runtime protocol
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Runtime-intrinsic
    Protocol as SENDER with Priority 5
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create trace header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Trace header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create logging header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Logging header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT()
    Initialized
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Try to create instance for http://www.sap.com/webas/630/soap
    /runtime/session/protocol::http://www.sap.com/webas/630/soap
    /runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Instance of CL_SOAP_SESSION_PROTOCOL created for http://www.sap.com/webas/630/soap/runtime/session/protocol::http://www.sap.com/webas/630/soap/runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Session Protocol
    as SENDER with Priority 5
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Try to configure features
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() Try to
    create ICF Client for DESTINATION = ALSB
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() ICF
    Client created by DESTINATION
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_DESTINATION_URL_PATH() Set
    DESTINATION PATH = /SapHRSmartIntegrationWeb/processes/ProcessEmployeeBatch.jpd
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Features configured
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Application urn:sap-com:soap
    :runtime:application:client initialized
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application initialized
    Trace file opened at 20070531 073030 GMT SAP-REL 700,0,95
    Error in module XMLParserGetNextElement:773
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfcpars.c#2 $
    Unallowed RFC-XML Tag
    Error in module XMLConverterReadTag:3061
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfccnvrt.c#5 $
    Unallowed RFC-XML Tag(24)
    Error in module ab_soap:4392
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/abxrfccal.c#2 $
    failed with return code 1
    It then must be something in the config.  Has anyone got any idea why this message is encountered?
    Kind Regards
    Gustav Coleske
    Message was edited by:
            Gustav Coleske

    Hi,
    I have the same problem as described.
    Can you give me a little more information about the error you have solved in the proxy.
    Thanks for help
    John

  • Upload an excel file input into an itab,display in ALV using ABAP objects

    Requirement:
    Create a selection screen which takes an excel file as input with parameters emp id, emp name, salary, mnth, ph no.
    Create a database table with the same fields.
    The program needs to have two modes. Display mode and update mode.
    Display mode only displays the file data in alv grid and update mode updates database table with similar parameters as above and also shows alv grid output.
    task is to do using Object oriented approach. This should also have the facility to modify the cell values in ALV grid and once saved then it needs to update the database accordingly.
    I have done the same functionality in a report program without using ABAP objects but finding difficulty in using object oriented approach.Please help me as i am new to abap-objects.
    Thanks in advance.......

    Hi,
    The selection screen design and all remains the same.
    Get all the detials which you need in your final internal table.
    This internal table will be used to display in the ALV grid.
    The approach remains the same as the normal programing.
    Prepare a field catalog table and then use it along with the internal table to display in the grid.
    The only change is that instead of FM you will have to make us of classes and their methods.
    Firstly you will have to create a screen.
    On this screen create a custom control object and give it some name. say for eg. CC_CONTAINER.
    This will be a container on which the ALV grid object will be placed.
    2 objects are needed to display the grid
    CL_GUI_CUSTOM_CONTAINER and CL_GUI_ALV_GRID.
    In the PBO of the screen first create an instance of object CL_GUI_CUSTOM_CONTAINER
    CREATE OBJECT y_lobj_cont
          EXPORTING
             container_name              = 'CC_CONTAINER'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid TYPE y_k_s NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then create a instance of the GRID
    IF y_lobj_grid IS INITIAL.
          CREATE OBJECT y_lobj_grid
            EXPORTING
              i_parent          = y_lobj_cont
             EXCEPTIONS
               error_cntl_create = 1
               error_cntl_init   = 2
               error_cntl_link   = 3
               error_dp_create   = 4
               OTHERS            = 5 .
          IF sy-subrc NE 0.
            MESSAGE ID sy-msgid TYPE y_k_s NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDIF.
    Then call the method SET_TABLE_FOR_FIRST_DISPLAY to display the grid.
    CALL METHOD y_lobj_grid->set_table_for_first_display
          EXPORTING
            it_toolbar_excluding          = y_v_lt_exclude
          CHANGING
            it_outtab                     = y_li_tbl
            it_fieldcatalog               = y_li_fcat
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            OTHERS                        = 4.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid TYPE y_k_s NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Check the example program BCALV_GRID_EDIT for better understanding.
    Regards,
    Ankur Parab

  • Exit Variable encapsulation using ABAP OO

    Hi,
    As you know standard way of development of exit variables is to isert ABAP code directy in main include of the exit.
    However with a big number of exits and serveral teams working in parallel, this is not a good practice. I've herad about projects using ABAP OO to encapsulate and isolate code of every exit.
    Do you have an experience with usiage of ABAP OO to code exits? Could you provide structure you use (e.g. one class for all exits with different mentods, one class for every exit etc.) with some code samples?
    BTW - yes, I have read the blog /people/ed.herrmann/blog/2007/01/16/simplify-your-bw-enhancements-for-global-reporting-variables and appreciate work of its author, but this is not enough for me - I cannot import in the system custom code that I do not know what is exactly doing. I preffer to  undestand better whole concept. Especially when it requires download and installation of some SAPlink plugins
    Thanks in advance,
    Marcin

    Hi Marcin,
    In the internet you can find some recommendations to modularize the code using an ABAP OO class
    (e.g.http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40ef17ee-3833-2c10-fc96-cd4a421b7e95&overridelayout=true ).
    Nevertheless it is more convenient to use the following code for this issue. It allows the creation of
    several function groups to support splitting the variables for different applications/projects into
    different function groups. This allows to group variables together in different function groups and has the benefit that not every developer is affected e.g. by a syntax error in the class or include.
    <pre>
    ====== include ZXRSRU01 ================
      Matthias Nutt
      Call a function module which does the work
        CONCATENATE 'Z_BWVAR_' i_vnam INTO l_funcname.
        CALL FUNCTION 'FUNCTION_EXISTS'
          EXPORTING
            funcname           = l_funcname
          EXCEPTIONS
            function_not_exist = 1
            OTHERS             = 2.
        IF sy-subrc = 0.
          CALL FUNCTION l_funcname
            EXPORTING
              i_vnam        = i_vnam
              i_vartyp      = i_vartyp
              i_iobjnm      = i_iobjnm
              i_s_cob_pro   = i_s_cob_pro
              i_s_rkb1d     = i_s_rkb1d
              i_periv       = i_periv
              i_t_var_range = i_t_var_range
              i_step        = i_step
            IMPORTING
              e_t_range     = e_t_range
              e_meeht       = e_meeht
              e_mefac       = e_mefac
              e_waers       = e_waers
              e_whfac       = e_whfac
            CHANGING
              c_s_customer  = c_s_customer.
        ELSE.
       variable is not implemented -> error
        ENDIF
    ========= include ZXRSRU01 ===========
    </pre>
    Regards Matthias

  • Author name changing 9.0 Pro

    Using 9.0 Pro - recently had to change from XP to 7.
    Initially started learning 7.0 with Account name of David - no special security.
    Then as I get more knowledgeable in Win 7 and IAW recommendations  I set up an "Administrator" account with PW of "Dr. XXXXX" that allows me access to everythhing, but also allows malicious folks in also. Win 7 recommendation was to also have a non-secure account for everyday less-sensitive tasks so I did this also with the PW of "Dr. XXXXX".
    Naturally I want to use the Dr. XXXX in my Stickies for professional clout, but Acrobat insists on using David.
    Yes, I know about the tick-mark under "properties" where I can specify that my ID in the stickie is to be my log-in name. Yes, I have tried unchecking, rebooting, re-checking, rebooting, etc. Acrobat refuses to use eith my "administrator" or my non-secure name of Dr. XXXX. Frustrating.
    Any suggestions?
    Thanks,
    Neptune

    Hi Bill - thanks for the response.
    I am now beginning to "cone in" a bit am better able to describe the
    problem:
    1.  As I stated at the start, I am using Acrobat 9.0 Pro and Win7
    2.  As I go to: Edit...preferences...commenting...making
    comments...(checkbox) Always use log-in name for author name.
        Whether or not this box is checked or unchecked the result is the same:
    I go to Sticky Note on the taskbar, place it on the page, go to
    Options...properties...general...author I find "David". Yes, I can change
    the Author Name, but whether or not I further check the box, "Make
    properties default" thr result is the same - that one sticky will have the
    correct "Dr. XXXX" but the next sticky, as well as subsequent PDFs once
    again default to "David.
    3.   Thanks to ***** (whose four links all quite happily referred me to the
    Acrobat X page (I clearly stated 9.0 Pro) then quoted a generic OS (rather
    than my clearly-stated Win 7) I finally figured out the problem when I
    accessed the 9.0 Pro help in the far right lower corner of the Acrobat X
    page. Dumb of me, I admit but I had tried this initially in my own program
    "help" without really understanding what was happening.
    SO HERE IS PART OF THE ANSWER: The overall basic "author" information
    appears to reside in Edit...Preferences...Identity...Login Name (type-in
    box) David. Now the fun part. I am unable to change the Log-in name and thus
    am unable to change the sticky note. When I try to change the Log-in name I
    get a cheery tone, a blinking box, and no was to change David to Dr. XXXX.
    Well, it does seem that once I can change the ...Identity...log-in name I
    should be able to change the sticky PERMANENTLY.
    So I apologize if I have seemed a bit grouchy, and I do appreciate those of
    you who have tried to help, but it does get frustrating when those trying to
    help express a solution that uses totally unrecognized words, or do not get
    even the Adobe  product correct, or the OS...
    SO - now the underlying problem is defined. ...
    USING WIN 7 AND ACROBAT 9.0 PRO, HOW DO I CHANGE THE LOGIN NAME UNDER
    EDIT...PREFERENCES...IDENTITY if I am not allowed access?
    Again - apologies to all, but the time I have spent...
    Neptune

  • Create Annotations with 'author' name tool property

    Philip Cord has kindly sent me this code that allows to create annotations with the "Author" tool property (older versions than CS3 couldn't get this on script listener - only on the CS3 script listener).
    Hope it helps anyone like me that can't have access anymore to CS3
    var colour = new SolidColor();
    colour.rgb.hexValue = 'ff00ff';
    selectNote(0);
    colourNote(colour);
    addAuthorToNote("Author Name");
    function colourNote(colour) {
    var Saturation = colour.hsb.saturation;
    var Brightness = colour.hsb.brightness;
    var Hue =colour.hsb.hue;
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( stringIDToTypeID('annotation'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    desc.putReference( charIDToTypeID('null'), ref );
    var desc2 = new ActionDescriptor();
    var desc3 = new ActionDescriptor();
    desc3.putUnitDouble( charIDToTypeID('H   '), charIDToTypeID('#Ang'), Hue );
    desc3.putDouble( charIDToTypeID('Strt'), Saturation );
    desc3.putDouble( charIDToTypeID('Brgh'), Brightness);
    desc2.putObject( charIDToTypeID('Clr '), charIDToTypeID('HSBC'), desc3 );
    desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('annotation'), desc2 );
    executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    function selectNote(number) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putIndex( stringIDToTypeID('annotation'), number );
    desc.putReference( charIDToTypeID('null'), ref );
    try{
    executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );
    }catch(e){}
    function addAuthorToNote(Author) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( stringIDToTypeID('annotation'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    desc.putReference( charIDToTypeID('null'), ref );
    var desc2 = new ActionDescriptor();
    desc2.putString( charIDToTypeID('Athr'),  Author);
    desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('annotation'), desc2 );
    executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    function makeAnnotation(X,Y,Width,Height) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putClass( stringIDToTypeID('annotation') );
    desc.putReference( charIDToTypeID('null'), ref );
    var desc2 = new ActionDescriptor();
    var desc3 = new ActionDescriptor();
    desc3.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Pxl'), X );
    desc3.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Pxl'), Y );
    desc2.putObject( charIDToTypeID('Lctn'), charIDToTypeID('Pnt '), desc3 );
    var desc4 = new ActionDescriptor();
    desc4.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Pxl'), Width );
    desc4.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Pxl'), Height );
    desc2.putObject( charIDToTypeID('Sz  '), charIDToTypeID('Ofst'), desc4 );
    desc2.putEnumerated( stringIDToTypeID('annotType'), stringIDToTypeID('annotType'), stringIDToTypeID('annotText') );
    desc.putObject( charIDToTypeID('Usng'), stringIDToTypeID('annotation'), desc2 );
    executeAction( charIDToTypeID('Mk  '), desc, DialogModes.NO );

    This is a bit more robust (it won't fall over if you have no images open or can't find the corresponding image) I've made it so if you have the thumbnail image open it will find the mannequin image and visa versa. Save the script to your PS scripts directory. In photoshop record an action that uses the script. Stop recording! Then you can run the script as an action.
    app.preferences.rulerUnits = Units.PIXELS;
    if (documents.length == 0)
        alert ("No documents open, dude!")
    else
        var dir1 = "Mannequin";
        var dir2 = "Thumbnails";
        // call the current document
        var tempDoc = app.activeDocument;
        // get the info out of the source doc
        var fileName = tempDoc.name;
        var filePath = tempDoc.path.toString();
        var fileNameAndPath = filePath + '/' + fileName;
        var tempDir = filePath.substring(filePath.lastIndexOf("/") +1, filePath.length);
        var goCode = false;
        var docName = fileName.substring(0,fileName.length -4);
        if (tempDir == dir1)
            var otherImagePath = filePath.substring(0, filePath.lastIndexOf(dir1));
            var tempFile  = decodeURI(otherImagePath + "/" + dir2 + "/" + fileName);
            goCode = true;
        if (tempDir == dir2)
            var otherImagePath = filePath.substring(0, filePath.lastIndexOf(dir2));
            var tempFile  = decodeURI(otherImagePath + "/" + dir1 + "/" + fileName);
            goCode = true;
        if (tempDir != dir1 && tempDir != dir2)
            alert("Cannot find matching image.")
            goCode = false;
        if (goCode)
            //open the other image
            var fileRef = new File(tempFile)
            if (fileRef.exists)
                app.open(fileRef);
            else
                alert("Matching file does not exist.")
    }// end doc check
    Hope this helps.

Maybe you are looking for

  • HT203288 the itunes library .itl file cannot be found or created

    After new iTunes install. Clicking the icon gives me this error message saying"The default location for this file is in the "iTunes" folder in the Music folder. The xml files are present but no itl. file How do I get iTunes to recognize the library

  • Ipod not detected on itunes or by computer

    hello, my computer suddenly isnt detecting my ipod. i know my usb cord is working because my ipod can charge but it wont show up in itunes. changing usb drives doesnt work. it doesnt show up on another computer either. its weird because it was workin

  • Why wont my mac book not charge

    All of the sudden my computer will no longer charge.  I am trying to determine if the issue is my power cord which no longer provides a green charging indicator light.  Or the Battery since  the power indicator states "not charging".  Any help would

  • How to insert a button in a form in a j2me application ?

    Dear Friends, I'm new to J2ME. I want to know that how to insert a button in a J2ME form. What are the button action listener available here ? Please provide sample code.

  • How would you go about saving an online image locally?

    Say if you knew the url such as http://www.yahoo.com/img.jpg How would you save this locally?