Scripts : changing ....using

Hi,
In scripts why u use Changing and using statements?pls explain?
Thanks.

Hello,
The statements using and chnagin can be used with the perform statements in the sap script line editor. If the print program is the standard program, and we need to get any values so we write an subroutine pool, in that we call the perform statement and based on the values specified in the using we can do some calculations or retrival and pass them to the changing parameters. And this can be used in the SAP Script.

Similar Messages

  • Acrobat 9 (or 9.1) -- Script changes prevent signing -- any workarounds?

    I was having problems understanding the behavior of my form until I came across the document at http://www.adobe.com/devnet/reader/articles/reader_compatibility/readercomp_digitalsignatu res.pdf .
    My use case, which is a little convoluted, so could probably be streamlined, is that my application server presents a PDF to the user in a browser for them to review / sign.
    In some cases, I was getting the message "The document could not be signed."  with no other explanation (unlike many other threads which cite more detailed messages with a similar feel).
    After reading the section of that doc titled "Script changes prevent signing", I understand why since my form was making script changes
    So, now that I understand the situation, I have some options to work around it but presently none are great.
    The issue in a nut shell:
    1. The form is delivered to the browser, so the notion of save/close/re-open/sign doesn't make sense
    2. A button is on the form, with form submit on MouseUp.  This is the part that causes problems ... the application server is generating the (same) MouseUp action for ANY button and, at this point, I don't have a way to prevent that.
    3. My "illegal" script change was a Page Open script that replaced the MouseUp action to what it "should" be.
    4. The problem button is one that I want MouseUp to fire a launchURL instead of a submit.
    The workarounds I've considered:
    1. Replace the button with a link or non-button fields that has the correct actions.  Workable but not a great UI metaphor.
    2. Putting the "right" action on the MouseDown.  Also workable, but since this doesn't actually prevent the MouseUp from firing, it creates confusing user experience if I there are problems that prevent form submission (and I am not clear if the launchURL in fact prevents the form submission or not).
    Are there any other workarounds?  Is there any wiggle room on the restriction about no script changes?  The script that changes the MouseUp action is defined in an application level javascript file, so I tried making it trusted but that did not seem to make a difference.  I feel like
    I have a similar, but less import case for a true submit button.  I want to also send email on form submission, but since I cannot the form submission on MouseUp, there is no way for me to only send mail when the form is submitted (i.e. all required fields filled in).  So, I am presently always sending the mail in MouseDown.

    It sounds to me like the same option. Perhaps it also applies to non-PostScript printers now. If the printer is capable of good colour management (many are not); and if the PDF is properly tagged with source profiles, no reason why results shouldn't be good.

  • Script changes in After Effects CC

    Hey guys, does anyone know ahout the script changes in the next version of After Effects?
    Any details?

    I can only give you some new additions:
    app.activeViewer.views[0].options.fastPreview == FastPreviewType.FP_ADAPTIVE_RESOLUTION
    app.activeViewer.views[0].options.fastPreview == FastPreviewType.FP_DRAFT
    app.activeViewer.views[0].options.fastPreview == FastPreviewType.FP_FAST_DRAFT
    app.activeViewer.views[0].options.fastPreview == FastPreviewType.FP_OFF
    app.activeViewer.views[0].options.fastPreview == FastPreviewType.FP_WIREFRAME
    app.language == Language.CHINESE
    app.language == Language.KOREAN
    app.project.activeItem.layer("Layer Name").samplingQuality == LayerSamplingQuality.BICUBIC
    app.project.activeItem.layer("Layer Name").samplingQuality == LayerSamplingQuality.BILINEAR
    app.project.activeItem.layer("Text 1").sourceText.value.justification == ParagraphJustification.MULTIPLE_JUSTIFICATIONS
    Since preferences are all in different text files now:
    app.preferences.getPrefAsLong("Auto Save", "Auto Save Max Project Vers", PREFType.PREF_Type_MACHINE_INDEPENDENT)
    You get the point...
    PREFType.PREF_Type_MACHINE_INDEPENDENT_COMPOSITION
    PREFType.PREF_Type_MACHINE_INDEPENDENT_OUTPUT
    PREFType.PREF_Type_MACHINE_INDEPENDENT_RENDER
    PREFType.PREF_Type_MACHINE_SPECIFIC
    ...and using a savePref put the value in the 3rd parameter as usual:
    app.preferences.savePrefAsLong("Clone Settings - General", "Active Preset", 1, PREFType.PREF_Type_MACHINE_SPECIFIC_PAINT)
    app.preferences.getPrefAsBool("Text and Fonts", "Smart Quotes", PREFType.PREF_Type_MACHINE_SPECIFIC_TEXT)
    Hopefully nobody has been scripting using enum numeric values because many have changed (ie. BlendingMode.ADD in CS6 was 4420 and in CC it is 4620).

  • Outline of After Effects CS4 scripting changes

    Here's a link to a blog post that provides information about the new and changed features in a sparse outline format:
    "After Effects CS4 scripting changes"

    > We use no compression because the LED signs will not take any file that is compressed. I assumed that meant there was no codec involved. Is there a codec applied in CS6, even though it is uncompressed?
    What Rick and I are getting at is: when you render from AE, in the Export Settings dialog there is a codec field; what do you set that to?
    Quick terminology lesson. Codec and compression are not the same thing. When you encode video, you are always using a codec. Most codecs use compression, but some do not. "None" or "Uncompressed" codecs do not use compression.
    After Effects does not add any compression other than what you specifiy in the Export Settings dialog. There should not be a significant difference between the files produced from AE CS4 and AE CS6. AVI, as a format, has not changed in many years. In other words, we know of no difference that would specifically cause this problem.
    If the LED sign software has a problem with an AVI from AE CS6, we need to know the requirements of the LED sign software and how that AVI is failing it. So far all you have told us is "other people say it doesn't work".

  • LiveCycle Designer ES2 some scripted changes not preserved after Save

    Hi,
    I have some Text Field names that are changed by Javascript in certain Click Events. These renamed fields are used for navigation purposes in conjunction with xfa.form.resolveNode, and all works flawlessly until the form is saved, and re-opened.
    After opening the saved form, all data entered is preserved, but the new Field names have not been preserved and resolveNode returns a null value.
    The "Preserve scripting changes to form when saved" is set to "Automatically" in the Form Properties.
    Any ideas/comments?
    Thanks,
    Ron

    Hi Ron,
    I don't think that you will get this to work. I suspect that when the form is reopened the Template DOM contains the original name of the text field and that this is used when the form is rendered.
    You could test this with a temporary button with this is the click event:
    console.println("Textfield name BEFORE remerge: " + TextField.name);
    xfa.form.remerge();
    console.println("Textfield name AFTER remerge: " + TextField.name);
    You would click this AFTER your other script has changed the name of the text field. Also you will need to open the JavaScript Console (Control+J) in order to see the results.
    Good luck,
    Niall

  • Printing Line Items in Script without using driver program

    How to print the line items of a internal table in sap script without using driver program? I am not supposed to edit anything in the driver program. Pls help me to solve this problem...

    Hi,
    You can try by creating a new driver program and a new FORM ENDFORM inside that for this purpose.
    Regards,
    Gaurav

  • Writing OS Script to use at file CC.

    Hi ,
    I have a Requirement in which i have to write a script and use the script as OS command in sender file adapter.
    Requirement --
    When ever the communication channel read a file from directories at FTP server delete that file and paste that file in different folder at FTP server.
    I have no knowledge with OS script . My server is running on Microsoft server 2008.
    Please let me know how to write a script and where to place the file in XI server.
    Regards,
    Navneet

    Hello,
    Please find info about using OS command in File Adapter in links below:
    /people/santhosh.kumarv/blog/2008/07/27/glimpse-at-os-command-yet-another-scenario
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    What concerns path for Script i usually use /usr/sap/bin/ but i think that you can choose any available path on your PI server.
    BR,
    Dzmitry

  • For one Urgent Change during performing the Approval(chnging the status to 'To be Tested') system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.

    For one Urgent Change while performing the one of the Approval before changing the status to 'To Be Tested'
    We are getting below error.
    The system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.
    COuld anyone please help us to know, How it can be resolved?
    We also have this below error.
    System Response
    If the PPF action is a condition check, the condition is initially considered as not met, and leads to another warning, an error message, or status reset, depending on the configuration.
    If the PPF action is the execution of a task in the task list, and the exception is critical, there is another error message in the document.
    Procedure
    The condition cannot be met until the cause is removed. Analyze all messages in the transaction application log.
    Procedure for System Administration
    Analyze any other messages in the task list application log, and the entries for the object /TMWFLOW/CMSCV
    Additional Information:
    System cancel RFC destination SM_UK4CLNT005_TRUSTED, Call TR_READ_COMM:
    No authorization to log on as a trusted system (Tr usted RC=0).
    /TMWFLOW/TU_GET_REQUEST_REMOTE:E:/TMWFLOW/TRACK_N:107
    For above error Table /TMWFLOW/REP_DATA_FLOWwas refreshed as well but still the same error.

    If you are in Test System, you can use function module AA_AFABER_DELETE to totally delete the depreciation area (tcode SE37, specify chart of depreciation and depreciation area), After that recreate your depreciation area and run AFBN. But before you do that, have you created a retirement transaction type that limits the posting on your new depreciation area? If not create one.
    Hope this helps.
    Thanks!
    Jhero

  • EXIF Dates - how to add/change using exiv2 . . . is there a better way?

    Hi, everyone!
    INTRO: I'm new to Lightroom. I've gone through a few books and lots of tutorial courses on lynda and youtube, so I feel quite comfortable with LR 5's import process. This post and question is a pre-import/organizational issue.
    I have more than 30,000 old, digitized (scanned) photos dating back to the 1950s. Obviously, most of were taken with old, analog cameras. These are now organized into folders by date.
    GOAL: I want to import these photos into LR and be able to find them by metadata dates (Capture Date & Time).
    PROBLEM: Obviously, old scanned (or even more recent manipulated) photos often don't have the correct EXIF creation date info. Even worse, many (or most) of these old images don't even have an EXIF date field!
    WHAT I'VE LEARNED: Using exiv2 filename or evix2 -pt filename immediately shows whether there is or is not date info for the photo. If there isn't, exiv2 -pt filename shows nothing. If there is an EXIF date field, it will be shown.
    For all these images with no date field, if I import them into Lightroom, there of course is no date info that shows up in the Metadata panel (under Default or EXIF), nor can you change the date (because the field isn't even there).
    If exiv2 -pt filename DOES show the Exif.Image.DateTime field, then in Lightroom, you will see the Capture Time and Capture Date fields, and you will see an icon to the right of those dates that allows you to change that date.
    If exiv2 -pt filename DOES NOT show this Exif.Image.DateTime field, you can ADD this field by using the command line:
    exiv2 -M"set Exif.Image.DateTime Ascii 1965:01:25 15:45:00" filename (or whatever your date/time is).
    Now if you import this image into LR, you will find the Capture Time and Capture Date fields under the Metadata > Default panel...AND you can edit them if needed. That is, the above exiv2 -M command added the EXIF date field that LR needs in order to search by date.
    WHAT'S MY POINT, AND WHAT'S MY QUESTION? I have no problem using exiv2 to add/change an EXIF creation DateTime field one folder at a time prior to importing them into LR. This will enable me to search on those date fields**.
    My question is this: Is there an easier method?
    Surely there must be tens (hundreds?) of thousands of "older" photographers like myself who have troves of old photos that have incorrect EXIF creation date fields, or missing the date field entirely (in which case, as I stated above, cannot be added/edited using LR, PS, FileMultiTool, Graphic Converter, etc.).
    I realize that I could look at images based on the folder names or file names, or I could enter dates into tags, but such methods of finding images are not nearly as convenient as using Metadata. Therefore, if I know that an image was taken in June 1962, then I'd like the EXIF metadata to have this info so that I can search on it. To have no EXIF date field or to have a date field that is incorrect is useless.
    I'D LOVE YOUR COMMENTS! If there is an easier or better way, I'd love for you to help! There are so many experienced photographers on this forum, and more than likely many of them have old photos with incorrect or missing EXIF date fields that they've brought into LR.
    THANKS! I'll really appreciate any and all help you can offer.
    David
    ** there are other EXIF date fields that can be changed using exiv2: Exif.Photo.DateTimeOriginal, Exif.Photo.DateTimeDigitized, etc. But the principal date that LR uses to search for files is the one described above.
    P.S. I've also tried jhead -ds1965:01:25 filename (or whatever your date is) to change the date. This works ONLY IF there is already an EXIF date field present. If not, jhead will report an error and not create one. exiv2 -M will create the field.

    John,
    Thanks very much for your help! I had tried the plugin, exiv2, exiftool, and LR's Metadata menu option only on a single photo.
    You are 100% correct about LR's menu option assigning different times! Thank you for pointing this out.
    When I set the date and time for about 10 photos, LR's menu option assigned (seemingly random!) times to all of them. Why would LR do this? I can perhaps see offsetting each photo by 1 second (00, 01, 02,...), but simply assigning random times makes no sense at all. At least in the tests I just did, LR didn't shift the time by the same amount, but assigned totally (random?) times to every photo.
    Another problem that I found with the LR menu item is that it failed to change the date/time at all for several of the images I selected! The Capture Time To Exif plugin, exiv2, and exiftool had no problem at all with the same photos.
    I also looked at the ExifMeta by Rob Cole that you mentioned. It looks very powerful (and is free), but much more complex than what I need at this point.
    Therefore, I purchased the Capture Time To Exif plugin, and it works great on multiple photos.
    I now have good methods to change the date for multiple images:
    1. Prior to import: exiv2 or exiftool
    2. After import: John's Capture Time To Exif plugin
    Thank you again for your help!
    This brings me one step closer to importing my photos in a logical method.
    David

  • How to measure voltage changes using a NI-9219 with strain gauges and use the data in labview

    I am updating an old LabView/Data Acquisition system that uses strain gauges to measure two forces (normal and axial) as well as two moments (Pitch and Roll). I am having trouble reading the voltage changes over my strain gauges using my NI-9219 as well as filtering the data with both a lowpass and smoothing filter. The program attached has the project and should have all the sub-vi's used in the program. This program was written on LabView version 8.5 and is being updated to a 2013 version of LabView. Also, the hardware previously used was a combination of a NI SCB-68 and NI USB-6251. If anyone could help me it would be greatly appreciated! 
    Attachments:
    New SSWT.zip ‏751 KB

    Hi Coffeyfj, 
    Did you ever had this set up working? The first thing that I would do as I mentioned in the previous comment would be to use one of the LabVIEW examples. I recommended to you using the (strain - Continuous Input.vi). If you can read any voltage changes with the example vi, then we will know the problem we are having is in your code. If you cannot read any voltage changes using the example I mentioned, we can start trouble shooting the hardware connections. Are you connecting the excitation voltage? If yes, Are you making the right connections. Please refer to page 19 of the following document (half and full bridge modes)
    NI 9219 Operating Instructions and Specifications - February 2009
    http://digital.ni.com/manuals.nsf/websearch/4197ED4BD126E0B486257546005851CA
    Regards,
    William Fernandez
    Applications Engineer 
    National Instruments 

  • BAPI for Price Change using Transaction VK12

    Hi All..
    Can any one help in locating a BAPI for making price changes using transaction VK12.
    Rgds

    try RV_CONDITION_MAINTENANCE

  • Execute script logic using data manager

    Hi all,
    Could anyone explain me how to run a script logic using the data manager?
    The only way I get it working is adding the script logic into the defaul.lgl file and running the default formulas package via data manager.
    How can I run an specific script logic without using the default.lgf file?
    Thanks and regards,
    Ana

    HI Ana,
    You will have to create a SSIS package that will run the logic for you. A good example of this is the ICELIM package that comes standard with AppShell. The easiest is way for me is to copy the package and renaming it to what you want to call it in the following folder: C:\BPC\Data\Webfolders\<AppSet>\<Application>\DataManager\PackageFiles\System Files
    You will then have to organize the package list and add the package and modify the advanced properties of the package and point it to the correct logic file. I always use the lgf file rather than the lgx file, but it is up to you.
    Lemme know if you need more info.
    Regards,
    Andries

  • How can i execute codedui scripts by using dll

    how Can I Execute Coded UI scripts by using the DLL from anywhere after creating the build 

    Hi yellesh,
    If you mean that you want to run your test with bat file, as far as I know, we could call the MSTEST command line.
    set mstestPath="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"
    %mstestpath%\mstest /testcontainer:AutomatedUITest.dll  /resultsfile:TestOutput.trx
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/29af65b3-598b-4205-80e6-35b942113f3b/how-to-run-coded-ui-scripts-trhu-bat-file?forum=vsautotest
    https://social.msdn.microsoft.com/Forums/en-US/42a5d8f2-fe58-4133-b09d-28fa0553ab1a/run-coded-ui-test-in-certain-moment-in-future?forum=vsautotest
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating zone level price change using link codes RMS

    Hi,
    In the RPM module of RMS(Oracle Retail Merchandising System 12), What is the purpose of creating zonel level price change using link codes when it could be done without link codes?. Is there any difference between the two?.
    Thanks in advance.

    Questions about how to do something in an IDE should be directed to that IDE's forums, etc. If the question is about Java code or errors, then post the code and questions here.

  • Until yesterday I was getting mail through my gmail acount on Apple Mail.. Today I am unable to recieve any mail No settings have been changed, using valid password etc. Any thoughts?

    Until yesterday I was getting mail through my gmail acount on Apple Mail. I am now not getting any email. No settings have been changed, using a valid password. Any thoughts?

    I found the following advice at: http://kb.mediatemple.net/questions/230/Common+issues+with+Apple+Mail#gs/not-rec eiving-email
    Not receiving email
    Once in a while, your Mail.app (sometimes referred to as "Apple Mail" or "Mac Mail"), stops receiving new mail. You may be able to verify that you are getting new mail via webmail, another email client or computer, or even via a mobile phone. When this happens, the fix is extraordinarily easy!
    Here's how: From inside the Mail.app, click the Mailbox menu (see Figure 1):
    Choose "take all accounts offline", and wait 10 seconds.
    Choose "take all accounts online".
    Figure 1: Follow these steps to refresh your Mail application.
    You should begin seeing your new mail flow into your inbox.
    It worked!

  • OIM 10g Changing used Create User Response Code Status

    Hello OIM Experts,
    Using OIM 10g - target system - OID.
    During my implementation, i realized that - there are possibility of user existence during OID provisioning. It should be acceptable.
    Solution : Create User : Response Code :
    USER_ALREADY_EXIST - Set the 'status' to 'C' (instead of 'R').
    However, when i tried doing it... that it is not allowing me - "RESPONSE IS ALREADY USED BY 1 OR MORE TASKS'. Everyone know, this is the limitation with OIM.
    Then i'm planning of setting the status directly into the database without going through the validations. I'm not able to get the exact database table name. Please let me know. [DB TABLE/COLUMN NAME ?? ]
    Any other alternative ?
    Thanks,

    You can change the task status to C for "User already exists" response after clearing the R status for existing task instances in the table.
    Use the following steps:
    - Please take OIM backup
    - Use the task name to look up the task ID present in the MIL table. Note the value of the task definition key (mil_key)
    E.g. select * from mil where mil_name like 'Create%' [Let us say this returns mil_key as 335]
    - Find out the task response key for the response that you intend to change using mil_key and the response code name
    E.g. select * from rsc where mil_key=335 [Lookup the response code that you want to change. Let us say this returns 1638]
    - Use the mil_key value to find task instances corresponding to this task.
    E.g. select * from osi where mil_key=335
    - Update the response code for tasks in osi.
    update osi set rsc_key=1624 where rsc_key in (1638)
    commit
    I am sure you will figure it out.
    All the best,
    Chetan

Maybe you are looking for

  • Account error message

    Can anyone help please? My iTunes account info has apparantly changed - without my input? I have tried to amedn but the account page states that my postcode and country are incorrect - even though they are correclty entered. I have used iTunes effect

  • Supplier Merge error

    Dear Members : While doing Supplier Merge, Whenever trying to select corresponding Sites, after selecting Name; returning: ORA-01422 exact fetch returns more than requested number of rows with Details telling :FRM-40735: WHEN-VALIDATE-ITEM trigger ra

  • JDBC Adapter SQL Query (DBLookup)

    Hi @all, at the moment, I try to generate an JDBC request-message (message type) via integration designer of sap xi 3.0. The target is to implement an datebase lookup with the jdbc adapter. Here the SQL-Statment to represent: select *  from <table> w

  • Mac Os X quit unexpectedly

    I need some help here please. For some reason my iBook has started acting really strangely since last night. Withut any warning, a screen will pop up telling me that I need to restart the computer. Whe I restart it then tells me that Mac OS X has une

  • Blank page getting displayed how to remove it from smartform?

    I am using COMMAND line in smartform to display the second page on particular condition only. But because of it in display I am getting one blank page(extra page) at the end. Which should not appear. How to remove it?