Overwrite "Created By" & "Modified By" field

We have created a interface in website to upload the document via Sharepoint Copy service.
We are facing issue for "Created By" & "Modified By" fields of sharepoint. When any user upload document we need to pass their website user name for Created By" & "Modified By" but right now its always taking
sharepoint authenticated user name.
So, our sharepoint service is configured with windows Admin login to access sharepoint, so all the document is uploaded as Administrator user instead of website username of the user.
Please suggest me if we have any oition to overwrite these two fields.

Please see my code for copy document and the field "ows_Author" is always saved as windows logged-in user.
  SharepointCopy.Copy copy = new SharepointCopy.Copy();
 SharepointCopy.CopyResult cResult1 = new SharepointCopy.CopyResult();
            SharepointCopy.CopyResult cResult2 = new SharepointCopy.CopyResult();
            SharepointCopy.CopyResult[] cResultArray = { cResult1, cResult2 };
            SharepointCopy.FieldInformation fieldInfo1 = new SharepointCopy.FieldInformation();
            SharepointCopy.FieldInformation fieldInfo2 = new SharepointCopy.FieldInformation();
            SharepointCopy.FieldInformation[] fieldInfoArray = { fieldInfo1, fieldInfo2 };
 fieldInfo1.InternalName = "ows_Author";
                    fieldInfo1.DisplayName = "Created By";
                    fieldInfo1.Type = SharepointCopy.FieldType.Text;
                    fieldInfo1.Value = "1;#" + Uploaded_By;
                    fieldInfo2.InternalName = "ows_Author";
                    fieldInfo2.Type = SharepointCopy.FieldType.Text;
                    fieldInfo2.Value = "1;#" + Uploaded_By;
                    SharepointCopy.FieldInformation[] fieldInfoArray1 = { fieldInfo1, fieldInfo2 };
                    uint copyResult = copy.CopyIntoItems(fileName, destinationUrl, fieldInfoArray1, fileContents, out cResultArray);

Similar Messages

  • Creating a modifiable form field

    Hi,
    I would like to create a modifiable form field that maps onto a directory server multi-valued field. This field should have the ability to add a value or remove a value as well as displaying the contents of the list. I've spent time reviewing the Workflows, Forms and Views (v8) document but it's not clear how to achieve this sort of field. Is it possible?
    Regds
    CK

    The ListEditor component is what you are looking for.
    Check out this code snippet directly from the documentation:
    <Field name='accounts[Sim1].Group'>
      <Display class='ListEditor' action='true'>
        <Property name='listTitle' value='stuff'/>
        <Property name='allowTextEntry'>
          <Boolean>true</Boolean>
        </Property>
        <Property name='ordered'>
          <Boolean>true</Boolean>
        </Property>
      </Display>
      <Expansion>
         <ref>accounts[Sim1].Group</ref>
      </Expansion>
    </Field>The important stuff in this case is the field name, in this case accounts[Sim1].Group. This means you are displaying/modifying the contents of an attribute "Group" on resource "Sim1". Change this to suit your needs.

  • How do I copy over "Created By" & "Modified By" field values to a new library, using PowerShell?

    I have a site that was migrated from SP 2007 to 2013, using a docave tool...this works fine and everything seems to be okay. However I now have to move documents from one Library to a new one, along with all associated metadata. I have a PowerShell script
    I am using to do this and it is working...for the most part...except for copying the authoring metadata. So when I run this PowerShell script, I get my "Created By" and "Modified By" fields updated with the "WindowsAccount" user
    account that performed the migration. This is what is confusing to me...after the migration, when I look at my Library, these fields are displayed correctly. Meaning I have documents that were created by John Smith, and modified by Jane Smith, showing up with
    the right metadata in the library after migration...but when I run my script to copy the documents to a new library, the output is not John Smith or Jane Smith but the "windowsAccount" user that performed the migration. Here is what my script looks
    like, in trying to get the right values to show.
    $sWeb = Get-SPWeb $SourceWebURL
    $sList = $sWeb.Lists | ? {$_.Title -eq $SourceLibraryTitle}
    $dWeb = Get-SPWeb $DestinationWebURL
    $dList = $dWeb.Lists | ? {$_.title -like $DestinationLibraryTitle}
    $AllFolders = $sList.Folders
    $RootFolder = $sList.RootFolder
    $RootItems = $RootFolder.files
    foreach($RootItem in $RootItems){
    $sBytes = $RootItem.OpenBinary()
    $dFile = $dList.RootFolder.Files.Add($RootItem.Name, $sBytes, $true)
    $AllFields = $RootItem.Item.Fields | ? {!($_.sealed)}
    $User = $sWeb.EnsureUser($RootItem.Author)
    $UserField = New-Object Microsoft.SharePoint.SPFieldUserValue($sWeb,$User.ID,$User.LoginName)
    write-host "User's Name: "$UserField.User.Name.ToString()
    Has anyone experienced something like this before? If so, what is causing this and how can I get my script to start displaying the right data for "Created By" and "Modified By"?
    Thanks,

    This is the expected behavior. Both "Created By" (internal name Author) and "Modified By" (internal name Editor) will be set to the user running the script. In order to update theses fields in the destination item with the values present
    in source item, the script needs to be modified. Read the values of these fields in source and update them in destination using SplistItem.SystemUpdate() method, like:
    $Author = $sWeb.EnsureUser($RootItem.Author) $Editor = $sWeb.EnsureUser($RootItem.Editor) $destinationItem["Author"] = $Author$destinationItem["Editor"] = $Editor$destinationItem.SytemUpdate()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • How to create a workflow in SharePoint 2013 that modifies the Modified By field?

    Hello,
    I like to create a workflow that updates the "modified by" field in a list.  Is this possible? 
    Thanks,
    Paul

    the built-in audit fields (Created, Created By, Modified, Modified By) are managed internally by SharePoint. Workflows can edit metadata, but those changes will be made using the user who started the workflow, or by the author (if the workflow is set to
    impersonate the author).
    You cannot change the audit data.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • "Modified By" Field Value is same "Created By" field value after the workflow completion.Sp 2010 workflows

    Hi All,
    I have a work flow A attached to List List1
    I have Added an item(now created by and modified by are same)
    Next Person B modified
    Ideally created by value and modified by value should be different, but they are same after the workflow completion
    This is very strange as i am not modifying  modified by field any where
           Please let me know any one has faced similar problem
    Thanks
    Ravi
    Ravi

    The workflow will run as the person who initiated it. As such if the workflow starts when an item is created then it'll be running as the user who created the item.
    When the workflow changes anything the 'modified by' field will be updated to show the identity the workflow is running under. I think that explains your behaviour?
    To change it you could use an impersonation step but that would simply replace one name with another. I don't think you've got access to the 'SystemUpdate()' method in workflows which would allow you to avoid updating the modfiied by and modified date fields.

  • Create or modify a Search Help for a field in ByDesign

    Good morning,
    I need some help for know how we can create or modify search help in ByDesign Cloud Applications Studio.
    All idea are welcome.
    Thanks in Advance,
    Javier Gómez

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • How to use create, delete, modify butttons in a table

    hi all
    in my application i have emp table in my source view
    in that table i have inserted static data in columns i.e., empid, empname. i have 3 buttons create, delete, modify buttons in that table. when i press Create button it navigates to another view1 in which we have a emp form with create new emp button and labels empid, empname and 2 input fields.After filling the form when hit the create newemp button the form data should be displayed in the table.
    The same for Modify and delete.  i.e., when i select a particular empid row in my source view table and hit the modify button it should navigate to view2 in which the particular record form with data displays and after making necessary modifications the modified data should be display in the particular row .
    For delete button, when i select a particular record in the table and hit delete button it should be deleted from the table.
    any snippet of code is valuable
    Thanks in advance
    sravan

    Hi Sravan,
    I just need a clarification, are you getting the table data from the back-end system?
    On the second view, after the user input on click of the "Create New" or "Modify" button, update the back-end. Once the update is successful, fire a plug back to the first view and reload the table or execute the model again. The updated records will be fetched from back-end system.
    On click of "Delete" button, remove the record from the back-end and execute the model again.
    This holds good if you have the data fetched from the back-end.
    Regards,
    Santhosh.C

  • EasySign: Can I or can't I modify filled fields?!

    Is it just me, or is Acrobat EchoSign a user-hostile piece of garbage? I am using Reader 10.1.3. Below is a form I'd love to fill out and perhaps "sign" with a TIFF of my signature, but first I have to type in some fields. Getting to this point took me 20 minutes this morning:
    (Sorry about the furry JPEG; Adobe Forums only passively informed me after I tried saving to three non-antialiasing "content types" that it would only accept the JPEG.)
    If you will look at the name field under the "YOUR INFORMATION" section, you'll see three blue blotches reflecting three multiple-selections of zero-length text area boxes from the list at the right. Those objects are the result of my patiently left-clicking the I-beam over my name in an effort to modify the text I've entered in each field. Each time I did so, I would briefly see a blip appear under the I-beam, but it would not allow me to edit my text. The blip, of course, was a zero-length text area box being created. I persisted because at one moment I swear I did see an arrow icon and it let me make a blue selection over one patch of my text, but then for some reason when I typed nothing happened, and then the apparition vanished and I could not repeat it. And it was only after a few minutes, when in frustration I started playing with right-clicking over a text field, that I discovered the "Comments List" so useless to me.
    There are now dozens of these mini-boxes all over the sheet (just look at how the "Comments List" has 86 entries instead of the 12 that actually contain text). But this means I can't edit something once I've finished a text, doesn't it? If so, why not? Why is it not clear to me, a sophisticated user? Why the bizarre and unpredictable behavior? Or am I some kind of idiot, not having found the correct incantation? Perhaps one of Adobe's priestly programmers or myriad sycophants will now enlighten us all, tacitly suggesting that it's merely my stupidity, for They Knew the Blessed Secret Their First Time.
    I've searched pretty exhaustively for a solution to this and so far have found nothing, but perhaps that's because I've only budgeted 45 minutes for this would-be simple task. Am I going to have to pull this file into Illustrator, or print it out and mail it?
    Twenty or so years ago, I was probably the first or second person outside of Mountain View to be shown the alpha of Carousel. Since that moment -- and despite having held out hope numerous times -- I still can't easily fill out a document online without heartache. Why can't I edit a field? What am I going to have to do when I want to modify a multi-line field? My workarounds over the years have run the gamut of every possible thing you can imagine, from scanning into Photoshop or Illustrator or Quark or InDesign; to blind fields and double-exposures on a laser printer; to glue; even to hacking the fields into the PostScript with setfonts and movetos and shows.
    I've spent 40 years in the graphic arts; half of them I've wrestled with Acrobat, on some pretty complex work products having features of debatable benefit when shoehorned into PDF format. When it comes to the simple single-page monochrome Letter/A4 form -- the most abundant portable document on Earth -- we are now in Acrobat v10 and all I want to do is easily fill out a form and sign it and e-mail it back and I still can't.
    Why is life so much harder now than when I could run this through a typewriter, Adobe? What are you really doing about it for the billions? How much more of our lives' valuable moments are you going to squander?
    (P.S. What a difference almost a day makes: Hours after beginning this -- and just before submitting this article -- I myself have discovered the incantation with a few minutes' further experimentation over the many already expended. I can now recreate the arrow and edit the field. It is actually not difficult, but it is far from obvious and it is the furthest thing from good UI technique. Nevertheless, I now Know The Blessed Secret, or at least one part of it. But it does not change my position above. Can you surmise why, O Adobe Priesthood of Insufferable Sanctimony? If it takes a seasoned programmer hours to learn out the combination, what makes you think Grandma and Grandpa are ever going to figure it out?)

    You do it unconsciously; we are all forced into these mentalities by our circumstances. But all three of you experts were wrong about who listens, at least when you pray as loudly as I do:
    On Sat, Sep 1, 2012 at 2:18 PM, Kevin M Lynch <[email protected]> wrote:
    Hi Peter,
    This is Kevin M. Lynch and I run the Acrobat & Document Services business at Adobe (coincidentally our CTO is also named Kevin Lynch, but I’m not him - I run the document business). 
    I saw your forum post (http://forums.adobe.com/thread/1058887) and want to apologize for the difficulties you’re having filling out and signing a form.
    It’s certainly our intention to make this a very easy process so I’m glad you went to the trouble to let us know that it was a frustrating experience for you.
    Frustrating to me, but mainly because it is no doubt frustrating for (literally) billions of others less sophisticated than me. That is my main concern, and the ball I keep my eyes on. I feel terribly sorry for them.From what I can gather, you had no problem knowing where to go and click the “Sign” panel on the right and then clicking the add text button (and let me know if otherwise).
    Well, that's a separate issue. I intuited that it was what I might need to fill out a basic form. But most people won't get even that.
    But then there were two issues that prevented filling out and signing the form from being drop-dead easy:
    1)      After adding text the first time (which was hopefully easy – let me know if not), you couldn’t go back and correct it.  Every time you tried, you ended up inserting a new blank text block.  It would have been much nicer if we had a wider selection range so that if you clicked anywhere near a field that was already added we just selected it and allowed you to edit it.
    I don't know about the width of the selection range; it seemed to me that there was *no* selection tolerance. I was rolling all over the text looking for it to catch and it wouldn't, hence 75 null textareas. (Possibly the cursor just was refusing to change from I-beam to arrow, I reasoned, and clicked, but did not get into an edit mode.) My sense is that it was not going to give me an arrow no matter where I went. My workaround (which few of your millions will be patient enough to discover) was forcibly exit the I-beam mode by going to the "Place Signature" mode and then re-enter the "Add Text" mode, which then readily showed me an arrow whenever I rolled near/over a textarea, and then let me click into the textarea and modify it.
    I'm not on the subject machine. I'm on a brand-new laptop now and just upgraded its Reader from the factory 10.0.0 to 10.1.4 to get EchoSign and see if I can reproduce it here. On the same document, I appear now to be able to roll over created textareas and click the I-beam over them and get in. So it's not a global issue. The exhibiting machine is, I think, a Lenovo with Windows XP, but I will have to check this. If you need specific installation information to help isolate, please tell me what you need.
    But I'm seeing some wrong behaviors even now:
    While in "Add Text" mode (even when appearing to function properly, as on this installation), the elongated I-beam cursor does not morph to anything else as I roll over, so there is insufficient feedback prompting me to know I can modify the field.
    This is inconsistent with what I experience when I escape "Add Text" mode. (I find I can escape "Add Text" either by entering "Insert Signature," as I note above, or in another way, by manually closing the editing palette by clicking its close box.) When I move out, I appear to be in a free-cursor mode; it now prompts me with a change to an arrowhead cursor whenever I roll over a textarea, and then it puts me into something unexpected called "Typewriter" mode (the only surface indication of the difference is that a lozenge in the editing palette now says "Typewriter" instead of "Add Text".
    It is altogether unclear the functional difference between "Typewriter" mode and "Add Text" mode, or the purpose of having two different identities for two modes that seem to share some functions. Their behavior, however, is different enough to cause confusion. This could be streamlined quite a bit.
    Editing text (new or modifying) in either of these two text modes appears to be operating one pixel below the finished text after repainting.
    2)      You couldn’t add a TIFF image as signature.   I’ll have to have my team look into this as I can add one without any problems on my system.  However, like you, I don’t understand why we don’t have both TIF & TIFF in the filter so I’ll have to follow up with my team to see if there is any reason for that.
    This may also be local to that machine I was on Friday. When I return to Chicago I can check this, if it's important to you and if you are confident that doing so will bear fruit.
    Am I correct in that those were the two issues or were there others?  Once you went off the beaten path into comments you could see that we use the commenting capability, but our intent is to have it easy enough that you would never go there.  If it helps to clean up your document, you can select each blank comment  in the right side panel and hit the delete key to get rid of them.
    See above, which gives you some more information. As you can glean from between all of my acerbic comments, I felt that the user experience was in many places carelessly thought through. You provide another case in point above, speaking of "Comments" mode. The three modes -- "Add Text," "Typewriter," and "Comments" -- obviously are genetically related. Their respective purposes become indistinct and confusing to the casual user. The basic shift from mode to mode is confusing; tool depth level and state are uncertain; use metaphor for each tool is nonstandard, inconsistent, and counterintuitive; visual feedback is lacking or inconsistent; and I think in some generals and some specifics each tool's entry point and interface needs to be reworked. I realize that you're constrained by the Reader API UI, so you don't have infinite flexibility, but there are still some basic things you can do.
    Even with a working installation as I have here, it is confusing. On my View menu, I have two "Sign" and two "Tools" items. Why? I can't seem to find how to get back into "Typewriter" mode. What is it? Where is its entry point? Is it part of Sign or is it part of something else?
    Form filling could use some user workshopping to figure out how to make it intuitive. Starting from the top, ideally, Acrobat Forms, if implemented in a document, should be user-seamless with EchoSign. Whether a document is forms-enabled or not, ideally the tools should have the same look and feel. I am skeptical about that being easy. But George Johnson raised the point that you now have two distinct products serving (from the user's perspective) identical purposes. If Reader is going to be user-centric, that proposition needs to be taken into account right away. Starting with that, a universal text editing palette for both Forms and EchoSign (whatever the underlying difference) might be in order. Distinguishing among text "in stone" (the immutable background PDF); malleable superimposed text fields and images (e.g., signature); and comments needs to be treated.
    If I were god, just off the top of my head, tomorrow I would open all Acrobat documents by default in a basic "Add Text [e.g., fields and comments] or Image [e.g.,signature]" mode with a universal text-cum-graphics palette, similar to what you have but switchable within between text and image (consider PageMaker's old universal palette, dumbed down). If forms-enabled, the text palette would be activated and the cursor inside Field 1 ready to type. If not, you have an I-beam as the default. You could switch to Image mode within the palette and the palette would provide a signature subfunctionality (including EchoSign's capability of retaining as default signatureStamp), or other image type. Maybe outside that mode is panning and zooming, maybe panning and zooming are hierarchically equal to those two modes. I at least believe that the key to this is that text / comments // signatureStamp / images should now be as basic to Reader as pan/zoom. How to make those two modes intuitively switchable by the grandparents is probably not so tricky, but I would have to think about that a bit more.
    I appreciate the time you’ve already taken to struggle through this and provide feedback.  I personally want to eliminate the need to print out, sign, and fax back these stupid forms!
    You and a few billion others. Thanks for the prompt response.
    Regards,
    Kevin

  • Modify the Field Type of standard Table fields in a Query

    Hello. I have a question.
    Is there a way to "modify" the field type for standard table fields that are included in a Query?
    I made a simple query out of a join of tables, but several fields have a lot of decimals, and I would like to present them in the query without any decimals, just as a regular "N" field.
    I tried the possibility of creating extra local fields where all I do is transfer the value to the new "N" field, but I have many fields like this, so if there's a better way; I'd prefer that.
    Maybe somewhere in the InfoSet there's a way to modify the type of the standard table fields?
    Thank you.

    Hi,
    This document may help you out.
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/d2/cb4468455611d189710000e8322d00/frameset.htm]
    Cheers,

  • Modify form field value

    I have the PDF form with several fields. I want to set the value of one field depending on selection made by the user in other field. I am trying to use if statement but it does not work for me. I have copied below the script I am trying to use.
    form1.#pageSet[0].Page1.Table.Table3[0].Row1.Cell1::change - (JavaScript, client)
    if (oField.rawValue == "Service Alert")
       this.resolveNode("Cell4").rawValue = "A";
    else if (oField.rawValue == "Service Bulletin")
       this.resolveNode("Cell4").rawValue = "B";
    When user selects Service Alert in Cell1 I want the value of Cell4 to be set to A and if Service Bulletin is selected I want the value of Cell4 to be set to B.
    Can someone help me with the script. I have done a bit of searching and tested verious syntax but nothing did work. I hope someone will help me to have it working.
    Regards,
    Tony

    Thank you very much for your help, but it did not work for me. I have decided to reply and to send you the form. Could you please have a look on what I have done and try to fix it. I want to add action to Cell1 to modify Cell4 in row 1 of the form, top on the blue background.
    Regards,
    Tony Pluta
    Engineering Technical Coordinator / Graphics Designer, Engineering
    Rail
    Description: C:\Users\tony.pluta\AppData\Roaming\Microsoft\Signatures\UGLLimited.gif
    16 Broadmeadow Rd | Broadmeadow NSW 2292 | Australia
    Direct: +61 2 9492 1277  | Mobile: +61 403 399 167
    Fax: +61 2 9462 1383
    Email: [email protected]
    Web: www.ugllimited.com<http://www.ugllimited.com/>
    Please consider our environment footprint before printing this e-mail
    From: kvdvijaykumar [email protected]
    Sent: Wednesday, 29 May 2013 4:14 PM
    To: Tony Pluta
    Subject: modify form field value
    Re: modify form field value
    created by kvdvijaykumar<http://forums.adobe.com/people/kvdvijaykumar> in LiveCycle Designer - View the full discussion<http://forums.adobe.com/message/5360639#5360639

  • Creating an expandable text field without a scrollbar

    Hi All! Hope someone can help.
    I need to create a flowable subform that will allow text fields to expand without a scrollbar. I have been researching the forums and have found this thread:
    http://forums.adobe.com/message/2372965
    When modifying the template above for practice, The fields expand correctly but when i make one from scratch it doesnt work at all!
    Here are the steps I have followed in creating a expandable text field from scratch:
    1. Open Adobe Lifecycle Designer and open a plain blank form
    2. Take a "text field" from the object library and place it on the form
    3. I noticed there is already a blue border (subform) for this document by default for the new form so I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    4.  I then right clicked on the text fields orange border and clicked "wrap in subform".  I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    5. Finally for the text field itself I made sure that "allow multiple linkes" and "allow page breaks within content" was checked. Also changed the layout for y: expand to fit
    I still cant get it work am I missing something? Ive been twirking around with this for hours and this forum wont let me upload my example. Any help would be great!

    Hi,
    You need to save the form as dynamic pdf form i.e xdp and on exit of the text field only text field will be expanded.
    But make sure the main form should be flowed and page breaks should be allowed.Textfield should have the allow multiple lines option ,allow page breaks,and auto expand height(Y axis) should be checked.
    Regards,
    ManjuVardhan

  • IS IT POSSIBLE TO MANAGE AUTHORITY TO MODIFY A FIELD INTO THE GL ACCOUNTS?

    Hi everyone,
    I´d would like to know if It´s possile GIVE AUTHORITY to some users will be able to modify the field  SKB1 - ALTKT  into the G/L Account Master Data through transacction FS02. In this way, only the selected users could introduce or modify information on this field.
    I´m not sure if it can be done trough a new Z object and assign the object to the transacction and also in the user profiles..or in other way...
    Thanks a lot for your help ¡

    It is possible to restore his iPod to a backup on his computer (assuming he previously had synced it there and thus created a backup).

  • Restore previous wiki page version will not show the correct "Modified-by" field

    I got the following:-
    1. Enterprise-wiki site collection.
    2. SharePoint server 2013f
    now inside the Enterprise Wiki when a user view the "Page History" and then he chose to restore a previous version, the "Modified By" field for the restored page will be equal to the user who did the restore and not the actual use who
    modified the version. for example i go the following faulty scenario:-
    UserA create a new wiki page on 22/11/2014. the page version will be V 1.0
    UserB modified the same wiki page on 24/11/2014. the page version will be V 2.0.
    UserB go to Page>>Page History. and then chose to restore to V1.0.
    The result will be that the restored page will have modified date = 22/11/2014 (which is correct). but the modified by field will be equal to UserB instead of UserA.
    so the problem is that when a user chose to restore a previous version the ModifiedBY field will be equal to the user who did the restore and not the user who actual modified the previous version. so in my example the restored page ill have modified date
    =22/11/2014 ,but the modified by = userB instead of userA .. can anyone advice if there is a way to fix ths problm ?
    Thanks

    Hi,
    By design, the Modified By field will be changed when you restore the versions of Documents in SharePoint 2013.
    If you want to remain the previous Modified By field value, custom code would be required.
    The following articles for your reference:
    http://blogs.msdn.com/b/karthick/archive/2006/03/28/563045.aspx
    http://blog.sharedove.com/adisjugo/index.php/2012/05/02/retrieving-old-file-versions-through-code/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • Is there a way to create forms where certain fields would become required only if there was a certain choice made in a dropdown box in another field?

    Is there a way to create forms where certain fields would become required only if there was a certain choice made in a dropdown box in another field?

    Yes but you will have to create some custom JavaScript to do this.
    Also you should be aware that the "Required" property is only processed when the form is submitted to a scripted web page or "mailto:" process.

Maybe you are looking for

  • How to print new line using DBMS_OUTPUT package

    Hi, I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line. set serveroutput on size 200000 set feedback on BEGIN DBMS_OUTPUT.PUT_LINE('First Line'); DBMS_OUTPUT.PUT_LINE(''); DBMS_OUTPUT.PUT_LINE('Second Line');

  • Pre-emptive collision detection

    Hi im at the stage where im writing some collision avoidence routines for a first person shooting game (yes another one hehe) i was wondering if there is a way to detect if an object or view is going to collide with another object in the world.. at t

  • Will Apple Add an SSD?

    I just bought a 27" iMac a couple of months ago. Specifications: 16BG RAM, 2TB HDD, 2GB VRAM. Can I pay Apple to add a 256GB (Which is the highest Apple allows) SSD for me? I would like to dual boot Windows 7/8 on it so I can play games when I'm bore

  • An equivalence for eval()

    adding objects to a Vector, I'd like to retreive them with the correct original class type : Vector v = new Vector(); User visitor = new User(1,"joe"); History hist = new History(1); v.addElement(visitor); v.addElement(hist); Object oVisitor = v.elem

  • Utilities of Web properties tab of text in smartforms

    Dear Friends, How to use text boxes and radiobuttons provided in web properties tab of text in smartforms. Please give me somme suggestions if possible. Best regards. Mustapha.