Prevent user defined query from being activated with the CopyTo function

Hi, I have a user defined query defined in one of the quantity field (in the grid) in the goods receipt PO window.
The query updates the quantity depending on the number of another line field. The query works great, but I dont want it to be activated when a user clicks the "Copy From" purchase order. When this happens the query gets activated and changes the quantity.
The query is defined to be activated "when exiting altered column", i have not selected the "Refresh Regulary"
Please help!

Thank you so much for replying,
this is my query, depending on the column U_Empaque (type of package), I look for the right conversion in the OITM table of the item. Then I use the number from the column U_Cantidad_Empaque (Quantity Of the Type of package) to multiply by the conversion factor that I have defined for the Item in the OITM user fields. The conversion is a standard conversion, so It needs to be modified by the user to set it to the real quantity of the unit of measure (or unit of inventory). The query works great, except for the CopyTo and CopyFrom functions.
Iam using 2007 A patch 45.
México's settings.
SELECT
CASE
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE1 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION1 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE1 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE2 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION2 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE2 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE3 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION3 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE3 = $[$38.U_Empaque.0])
WHEN (SELECT 'TRUE' FROM OITM T0 WHERE T0.ITEMCODE = $[$38.1.0] AND T0.U_EMPAQUE4 = $[$38.U_Empaque.0]) = 'True' THEN (SELECT ($[$38.U_Cantidad_Empaque.0]) * T1.U_CONVERSION4 AS 'Respuesta' FROM OITM T1 WHERE T1.ITEMCODE = $[$38.1.0] AND T1.U_EMPAQUE4 = $[$38.U_Empaque.0])
END

Similar Messages

  • -- A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system using window 7  IE 11

    A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system
    USING WINDOW 7  IE 11  HOW CAN I FIX???

    Try downloading the offline installers:
    Adobe Reader
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI

  • How can I remove my name from being associated with the GB file I export?

    I am using Garage Band '11, 6.0.5.
    I am editing an audio recording for a friend.
    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    I searched and found "My info" (in "Preferences") and deleted my information from ALL name, album, artist fields, but it still exported the file with my name as the artist (but it did not list it as from my album this time)?
    Does anyone know how/where/what I need to do to remove all references of my name associated with this file I'm editing?
    And also, can I change who is associated with a GB file, from file to file (i.e. if editing my audio, use my name & info, if editing for a friend or colleague, theirs?  or is the name associated with my GB account universally embedded into every file, no matter if I want it to be mine or not)?
    Thank you for your support!
    Joe

    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    The problem is, that this information is stored with the GarageBand project, when you first create the project.  You have to edit the Preferences, before you create the project.
    If the project already exists, you can change this option by turning the project into a podcast. Add a Podcast track (Track menu, Show Podcast Track), select the podcast track, and open the Info panel. Then edit the artist field in the Info panel, before you save the song to disk.
    (added: I saw the workaround with the Podcast track first in a post by Edgar).

  • Need to disable the Software Center or prevent it from being installed with the agent

    Hi,
    I have done a client push out to all systems in my environment, including servers, in order to keep our systems patched.  My server admin has requested that I remove the Software Center and only keep the agent.  I would have thought I'd be able
    to find this in client settings, but wasn't able to find anything there.  I understand my server admin's concern because we have software deployed to the All Users collection, and we don't want that software to be available for installation if an admin
    user logs into one of the servers.
    Thanks in advance for replies!

    Hi,
    You can do that by installing the SCCM client with CCMSetup.exe /ExcludeFeatures:ClientUI more information on the command line switches,
    http://technet.microsoft.com/en-us/library/gg699356.aspx
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How to prevent album cover artwork from being synced to the I Phone

    The album cover artwork is nice enough on the Mac but it is unweildy on the I Phone (I Phone 5 S). It spaces out the real information needed which is simply folder, playlist information. In fact, I can't shuffle music among all playlists contained in a single folder, a related problem. If necessary as a solution I could live without the album cover art anywhere in I Tunes, including on the laptop.

    Thanks for responding. Even when a tune is playing and the lower left photo is toggled to "now playing," the photo on the left is different than the album cover up on top. Both are the same ONLY on the first track of the album. The album cover on the top is apparently no longer available on Amazon, CD Universe, etc., so I can't move it to the desktop and enter it as a new piece of artwork. If I am too vague about what I'm attempting to do, please call me collect at 760.471.8011.

  • How to Pass User-defined Parameters from Forms to Reports

    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!

    first of all u will create a paramlist
    then add_paramter to this list
    and then pass this list to the report
    by using run_product.
    i think this is all.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jenny ([email protected]):
    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!<HR></BLOCKQUOTE>
    null

  • PLD report from user defined query

    Hello experts,
    Is possible to create a new PLD report from a user defined query ?
    Thanks in advance.
    Best regards
    Andrea

    Hi,
    It is possible on Query Print Layout Design(QPLD) so Try to create QPLD.
    Check this link u can get presentation slide form SAP.
    [Query Pld from SAP site]
    First you can try to create the Query report with UDF filed.
    for example,
    SELECT T0.DocNum, T0.DocDate, T0.CardName, T0.CheckSum, T0.U_UDF1, T0.U_UDF2, T0.U_UDF3
    FROM OVPM T0 WHERE T0.DocNum>='%0' and T0.DocNum<='%1' ORDER BY T0.DocNum
    Steps to Develop a User Report in QPLD:-
    If you save your Query in Query Manager. Next you can do this,
    ->> Choose the Query Manager on Top Menu.
    ->> Open the Qeury Manager Window.
    ->> Select the specific Query report. and
    ->> Click the Create Report button in Bottom on Qeury Manager Window.
    ->> then, Open the Create User Report Window and Select the User Report(System) in Base Template.
    If you Change the QPLD name.
    ->> Click OK.
    ->> (or) If your Query Report have parameter. Click OK.
    Now your Query report was Created QPLD.
    Note: All SELECT statement fields will be Stored and Display in Repetetive Area1. and
    Parameter Fields are in Repetetive Area0 so you can Try to Copy & Paste the Field_ID's to Repetetive Area Header (or) Repetetive Area Footer.
    Example:
    ->> Open the QPLD and Goto Field index Window, then
    ->> Select the Repetetive Area Header & Repetetive Area Footer ncrease the Height on Properties Window.
    ->> Create the Formula fields in Repetetive Area Header & Repetetive Area Footer.
    ->> Which Field you want to print in header or footer. Drag the Field ID(in Repetetive Area) Copy & Paste to Formula Field.
    Can you see to your Query PLD? do this,
    ->> Choose the Tools on Top Menu.
    ->> Click the Queries. -> Query Print Layout...
    ->> Open the Query Print Layout Window.
    ->> Click Reports Tab and Double the Template (Requrie QPLD) on QPLD Window.
    ->> Customize and Save the QPLD.
    Can you see your Query PLD Preveiw and Print? do this,
    ->> Choose the Tools on Top Menu.
    ->> Click the Queries. -> Query Print Layout...
    ->> Open the Query Print Layout Window.
    ->> Select Template in Report Tab on QPLD Window.
    ->> Click Print Preview on Top menu.
    Close this thread if issue solved
    Regards,
    Madhan.

  • Can I shut off wifi to prevent my ipod touch music library from being tampered with?

    I switched to a different media source but once more my CD music disappeared. But instead of being corrupted this time it was converted to other. It was fixed by just pulling up the music app list and unchecking/checking the songs again thankfully though.. But if I shut off my wi-fi on my ipod will this prevent my cd music on my touch from being messed with?
    I already got off the phone with a rep two days ago and they scratched their heads as to what's even causing this. We did everything known to fix it, and after looking at the numerous threads now its obvious it isn't just a hardware issue. Everyone is having issues with their cd music. I'd rather just have this nightmare end by any means possible.

    I doubt wifi has anything to do with  unless yo have the iPod and iTunes setup to sync via wifi.
    To turn wifi off place the iPod in airplane mode.

  • How can an iTunes Match user prevent songs from being uploaded to the iCloud?

    Has anyone who is currently using iTunes Match found a way to prevent selected songs in their music library from being uploaded to the iCloud. I have a number of audio files that are hour long mixes, but aren't quite large enough to run afoul of the 200MB size limit. I'd like to keep using iTunes Match, but would like to prevent it from trying to upload any of these larger files. Any help would be greatly appreciated. Thank you!

    Another oddity I just discovered is that if I turn on wifi hotspot on my phone and connect my iMac to my phone's 3G service then iTunes on my iMac will stream music just fine from iTunes match (yes, the music was only in the cloud, not on my drive).
    I've tried everything I can think of to get iTunes Match to play tracks over cellular.. including totally deauthorizing all my computers and devices, totally removing all tracks my itunes match in the cloud and re-scanning/uploading everything. Purchased new tracks, and they won't play unless they are downloaded. But they will play just fine when previeing them for purchase in iTunes app.

  • How to prevent an encrypted backup from being restored to a different device?

    If I force an employee to do an encrypted backup (which I can do with a configuration profile), and that employee is fired. We take back the company iphone, but they go and buy a personal one. They connect the new, personal iphone to itunes and do a restore of the encrypted backup (they know the password) and now they have all the work related stuff on their personal phones. Is there a way to prevent an encrypted back from being restored to a different device id.

    We require encryption of our employee backups as well...and the problem you mention is a real one.....
     If you use Exchange, you could disable Exchange Active Sync to prevent them from subsequently connecting to Exchange Server and getting new data with the new personal device....but you would still have the old data as part of the backup...the other issue is that we've found that the profile is part of the backup and if an employee leaves, even on good terms, if he wants to restore say, his music from the backup without the profile, it becomes quite awkward...the profile would have to be removed, ( which removes everything added with the profile, possible email and wi-fi), then the user could backup music etc  with iTunes, then return the corporate phone to be salvaged or re-deployed...and later put his personal data back on another device without the profile...if there is a way around the issue you bring up I'd like to know of it as well. .  Perhaps there is an MDM with functionality that would help here....that is one great strength of the Blackberry platform..all corporate data can be controlled from the BES server. 

  • Office 365 AAD Password Writeback not working; Event Viewer Error: 0x80230619 (A restriction prevents the password from being changed to the current one specified.)

    Hello all,
    I'm currently setting up a Proof Of Concept setup with directory synchronisation and password syncing to Office 365, leveraging AAD Premium for the password reset and password writeback to on premises
    AD functionality. Directory Sync + Password Sync is working flawlessly with the AADSync tool. However, upon requesting a password reset for a user, I'm hitting a password writeback error. The webpage states that the password does not meet the password
    complexity policy, while it does. I can set that particular password for that account at the on premises AD without any problem.
    In the event viewer at the AADSync server, I'm seeing this Error pop up whenever I try to reset the password:
    An unexpected error has occurred during a password set operation.  "BAIL: MMS(4032): ..\server.cpp(11003): 0x80230619 (A restriction prevents the password from being changed
    to the current one specified.) Azure AD Sync 1.0.0475.1202"
    My Setup:
    Windows Server 2012 AD with a single forest
    Seperate domain joined Windows Server 2012 for AADSync tool
    AADSync version 1.0.0475.1202 with options password sync, password writeback enabled
    Service account for AADSync tool with Replicating Directory Changes and Replicating Directory Changes All permissions
    on root AD forest structure with inheritance to all objects. This account also has the permissions to Change Password and Reset Password on all descendant
    User Objects.
    AAD Premium for my office 365 tenant
    AAD Premium licenses for the test users and the office 365 account used to sync to Office 365. This account is also Global Admin.
    Could anyone help me with this? Is there something I’m missing here? My guess is that the AAD is not trusted or the service account for AADSync tool does not have the proper permissions. I’ve tried
    many options, like setting the AADSync Service account to Enterprise Admin or granting the service account Full Control over that particular user.

    Concerning my issue:
    The Default Group Policy setting: Minimum Password Age is set at 1 day. As I was testing this feature with new users, their provisioned passwords were less than 24 hours old and the Minimum Password Age of 1 prevented the change of the password.
    After changing this to 0 days in the Default Group Policy, my password resets started working for newly created users. While this might not have affected existing users in production, it had me looking and searching for permission issues on my AD.
    So for those that might be experiencing ADSync Event ID 6329 and PasswordResetService Event ID 33008 Errors when trying to do a Password Reset using AAD Premium with Password Writeback, it might be helpful to check the applied password policy.
    The issue is solved.

  • Hide our user defined query

    Dear All Master Brains,
    It is possible to hide our user defined query in Query Manager, apart from our user authorization.
    I am waiting for your …………..
    Regards,
    Team work never fails.

    Hi,
    Only by authorizations you can hide the user queries.
    Alternate way, If you have created those query for report purpose then you convert that query into QPLD, So that users cannot view the query you developed instead they can view the report alone.
    I hope this could help you.
    Regards
    Raja.S

  • How to Create User Defined Template in Back Office with Labels and Tags App

    Hello,
    Can anyone help me in creating a user defined template in Back Office with Labels and Tags Application. I'm currently using version 13.2.?
    Kindly help me out asap.
    Thanks,
    Monica.

    Hi Monica
    Third party software is available,from AccessVia, that can be used to create and update templates. Sample sample sqt can help you to understand the required inputs (batchID, templateID, departmentID, locale).
    Thanks
    Himanshu

  • User defined query parameter in query generator

    Hi All,
    i am using query generator in SAP to print some records of user defined query. precisely, the details about sales employees are to be printed. now the columns which exist in the database (ie. sales employee code, name, cardcode) etc can be given as a parameter like [%0] and [%1]. but some user defined parameter such as sales commission does not show as such parameter. i want one column as
    select T0.doctotal, (T0.doctotal * [%0]) / 100  as brokerage from OINV T0
    --where [%0] is some commission percentage that the user will give while running this query
    This query gives correct results but it gives the parameter name as 'doctotal' while showing. any idea as to how to handle it properly in SAP?
    thanks in advance,
    Binita
    Edited by: Binita  Joshi on Sep 8, 2009 3:35 PM

    I sometimes defined a UDT only for getting the appropriate parameter entering window. The table has no data; I used it only for its field names in this window.
    (The parameter request can be placed inside a comment and the entered value is used setting an SQL variable like this:
    declare @d datetime
    /*select t.createdate from ordr t where t.createdate=[%0]*/
    set @d=[%0]
    This SQL variable can be used later in the real query.)

  • User defined query parameter in QLD

    Hi All,
    i am using query generator in SAP to print some records of user defined query. precisely, the details about sales employees are to be printed. now the columns which exist in the database (ie. sales employee code, name, cardcode) etc can be given as a parameter like %0 and %1. but some user defined parameter such as sales commission does not show as such parameter. i want one column as
    select T0.doctotal, (T0.doctotal * [%0]) / 100  as brokerage from OINV T0
    --where [%0] is some commission percentage that the user will give while running this query
    This query gives correct results but it gives the parameter name as 'doctotal' while showing. also, when I join 4-5 tables and union, it totally misinterprets the paramater. any idea as to how to handle it properly in SAP?
    thanks in advance,
    Binita

    Hi
    I know it list many value but u can try by this way....
    declare @a numeric(3)
    set @a = (select  top 100 docnum from oinv T1 where T1.[docnum]= [%0])
    select T0.doctotal, (T0.doctotal * @a) / 100 as brokerage from OINV T0
    Thanks
    Kevin

Maybe you are looking for

  • Could we have an Update on the iPod Nano Replacement program for all Norwegian users perspective...?

    This is a post that will be in Norwegian. Hei. Noen som har fått sin erstatnings Nano ennå. Jeg har fått beskjed om at den er sendet den 6 januar, med et sporingsnummer på ti siffer. Dette sporingsnummeret funker ingensteder. Noen der ute i samme sit

  • HTML5 Captivate Android Mobile Chrome Dolphin Pinch & Zoom Not Working

    Cannot pinch or zoom on an HTML5 project published as scalable (I know that is for aspect ratio and not pinch and zoom). Cp7 up-to-date. Android 4.3 Used Chrome browser on the phone. Tried Dolhin browser on the phone. No pinch. No zoom. Any help is a

  • Canon scanner keeps disconnecting

    Hi Folks, I'm running OS X 10.6.8 and trying to connect my Canon Canoscan Lide 500f via Image Capture in order to scan a document.  For years this has been effortless and worked a treat.  Today however, I connect the scanner to my MacBook Pro, Image

  • Failed When converting nvarchar value SC1 to int (Cinf)

    Hai,            In my screen conversion master after entering all the data's if i click addon button the error showing Conversion Failed When converting nvarchar value 'SC1' to int (Cinf) where SC1 is the object code of my form. Can anyone suggest wh

  • How to execute RMCVNEUA or OLI7BW through SE38

    We have a set procedure to refresh LIS structure. transaction code OLI7 which calls program RMCVNEUA, refresh the given structure. Now for Initial load, transaction OLI7BW also calls the same program.  I want to use the existing setup, and call the p