How to set a flag

How can I set a flag?
I tried to connect a boolean (true) to a local variable, but it didn't work since the local variable had a question mark in it!
Is there a better method to set a flag?
Many Thaanks

They also use extra memory which can also dramatically slow down your app and they break dataflow with the risk of race conditions. Programs with a lot of locals are much harder to debug - trust me on this. Shift registers can be very tidy if done right and don't cause the problems that locals do. The "LabVIEW Development Guidelines" document that ships with LabVIEW has a section on locals/globals and a reference to functional global variables which can be used to replace a standard global variable but nothing in LabVIEW is as effecient as a wire.

Similar Messages

  • HOW TO SET DELETION FLAG TO SERVICE ENTRY SHEET ?

    Dear Experts,
    Can anybody explain how to set deletion flag to Service entry sheet created ?
    Service Entry sheet has been accepted and saved, i want to set deletion flag to the Service Entry sheet.
    Thanks in Advance

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • How to set acknowledgement flag in asynchronous message

    Hello,
    I just read in the documenation that it is possible to request acknowlegment messages by setting an "acknowledgement tag" in the request message.
    My question now is how to set this acknowledgement tag and which rules I have to follow? Do you have any more information on this topic? I see the flags in "ReliableMessaging" but not sure how to set them.
    Thank you.
    Edited by: Florian Guppenberger on Dec 2, 2009 5:16 PM

    Hi,
    For idoc check this links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    I don't think it is possible for Proxy.
    Regards
    Ramesh

  • How to set deletion flag in Production order item level

    Hi Friends,
    I have a requirement like...
    Suppose production order conatians 100 items. now i want to set deletion flag for 20 items only.
    In Co02 t.code deletion check box is disable mode.
    There are nearly 100 production orders .i have to write the program....
    Is there any BAPI or other way to meet this requirement.
    Can you please help me..

    Also, You might want to have a look at the BAPIs like BAPI_PRODORD_SET_DELETION_FLAG which are used to set the deletion indicator but it appears to me the deletion flag can only be set at the header level using these BAPIs.
    Please have a look at SAP business object BUS2005 methods from transaction SW01 for more Production Order related BAPIs.
    One more thing ... since you mentioned that in CO02 the deletion indicator is greyed out, then it might mean you are missing the authorizations to set the deletion flag. Please consult with your Authorization (BASIS) administrator. As a hint, the authorization object here is C_AFKO_AWK.
    Cheers,
    Aditya

  • How to set configuration flag

    Could someone help me ?
    How do you set the cfg flags with Forte ?
    Is it a command line option ?
    Thanks

    C:\forte\30M0\install\bin\ftexec.exe -fi
    bt:c:\forte\30M0\userapp\forte\cl0\forte -fm (x:64000) -fns
    NodeName:5001 -fr ReposName -fl "!stdout(cfg:c4:13:1)"
    Above is an example for starting a forte application with logger flags being sent to StdOut. You can send them to file by specifying a filename instead of !stdout.
    Hope this helps,
    Allister Dickson
    Technical Architect
    Xpedior Australia

  • How to set the flag of the mail when I read it for POP3

    HI,
    All
    I know that POP3 does not support the flags. As per my knowledge the only flag POP3 supports is the DELETED. if i am not wrong.
    Now what i have to do is when i fetch the mails programmatically and once i read that I want to mark that mail as read in the yahoo also. means when i reterieve the mails through my client from the yahoo mail and next time when I Open the yahoo account the mail that i have retrieve must be seen as read rather than unread.
    Yahoo uses the POP3 Server for the incoming mails the same thing also happens with outlook you can find that outlook also uses POP3 as the incoming mail server and when we reterieve the mails from the yahoo using the outlook by some way Outlook marks the mails on the yahoo server as read the same thing I have to do for my client Program using the POP3 server.
    If Outlook does it dispite of the POP3 server there must be some way to do the same thing for the POP3 server using the Java Mail Api.I dont know how to do that thing and mark the mails as read once I fetch them.
    Any Help is appriciated,
    Rahul.

    I have tried to access the content of the message using the my program to fetch the mail but still Yahoo does not mark it as the read in its web interface.
    so I want to know how to do that. and also want to know that when you are doing same thing for the outlook then it mark it as a read on the Yahoo web mail interface so I want to know how do they do it means how Outlook mark it as a read mail on the yahoo server despite of the POP3 server.
    If anybody knows how outlook does that than we can do same using the Java mail Api.
    Regards,
    Rahul

  • How to set model flag to JasperViewer

    Hi all,
    I did Jasper Report Successfully but only problem is while viewing it doesnot go in model. It allows to play with application. How can I set Model to Jasper so that my application will lock until jasperviewer is closed.
    anybody know pls help me.
    --Harish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • How to set fragment flag on/off

    this is work related, I have to be able to set the IP datagram so that it conforms to RFC1191 (PMTU) with fragment flag on/off. Is this is possible to do with java? I've noticed that I was only able to set the traffic but not fragment.

    I have to be able to set the IP datagram so that it conforms to RFC1191 (PMTU) with fragment flag on/off. No you don't. The DF flag can't be set from Java or even from C. It is set, or not set, by the TCP stack. Nothing you can do about it. TCP also controls the PMTU, nothing you can do about that either, except enable path MTU discovery in your OS configuration (e.g. Registry settings). But it should already be set. Anyway either your TCP/IP stack implements RFC1191 or it doesn't. I'd be amazed if it didn't at this late stage. Nothing you can do about it from Java.

  • How to set user flag for a local windows user account.

    In my C# client I am getting the directory entry of the user in the following way :
    DirectoryEntry userDE = new DirectoryEntry("WinNT://machinename/User12", "MachineName\\Administrator", "Password");
    I want to add a userflag to this user.
    I tried the following :
    userDE.Properties["UserFlags"].Add(65536);
    But the issue is that it is updating the user with new user flag instead of adding it to the userflag.(for example the user already had the flag 'User cannot change Password' and i tried adding 'Password never Expires'.But after the operation the user only
    had the flag 'Password Never Expires')

    chek these link, does it help you
    http://support.microsoft.com/kb/305144/en-us

  • How to Set up HTTPOnly and SECURE FLAG for session cookies

    Hi All,
    To fix some vulnerability issues (found in the ethical hacking , penetration testing) I need to set up the session cookies (CFID , CFTOKEN , JSESSIONID) with "HTTPOnly" (so not to access by other non HTTP APIs like Javascript). Also I need to set up a "secure flag" for those session cookies.
    I have found the below solutions.
    For setting up the HTTPOnly for the session cookies.
    1] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables
         this.sessioncookie.httponly = true;
    For setting up the secure flag for the session cookies.
    2] In application.cfc we can do this by using the below code. Or we can do this in CF admin side under Server Settings » Memory Variables
         this.sessioncookie.secure = "true"
    Here my question is how we can do the same thing in Application.cfm?. (I am using ColdFusion version 10). I know we can do this using the below code , incase of HTTPOnly (for example).
    <cfapplication setclientcookies="false" sessionmanagement="true" name="test">
    <cfif NOT IsDefined("cookie.cfid") OR NOT IsDefined("cookie.cftoken") OR cookie.cftoken IS NOT session.CFToken>
      <cfheader name="Set-Cookie" value="CFID=#session.CFID#;path=/;HTTPOnly">
      <cfheader name="Set-Cookie" value="CFTOKEN=#session.CFTOKEN#;path=/;HTTPOnly">
    </cfif>
    But in the above code "setclientcookies" has been set to "false". In my application (it is an existing application) this has already been set to "true". If I change this to "false" as mentioned in the above code then ColdFusion will not automatically send CFID and CFTOKEN cookies to client browser and we need to manually code CFID and CFTOKEN on the URL for every page that uses Session. Right???. And this will be headache.Right???. Or any other way to do this.
    Your timely help is well appreciated.
    Thanks in advance.

    BKBK wrote:
    Abdul L Koyappayil wrote:
    BKBK wrote:
    You can switch httponly / secure on and off, as we have done, for CFID and CFToken. However, Tomcat automatically switches JsessionID to 'secure' when it detects that the protocol is secure, that is, HTTPS.
    I couldnt understand this. I mean how are you relating this with my question.
    When Tomcat detects that the communication protocol is secure (that is, HTTPS), it automatically switches on the 'secure' flag for the J2EE session cookie, JsessionID. Tomcat is configured to do that. Coldfusion has no say in it. So, for JsessionID, 'secure' is automatically set to 'false' when HTTP is detected and automatically set to 'true' when HTTPS is detected.
         If this is the case then why I am getting below info for jsessionid (As you mentioned it should set with SECURE flag . Right???). Note that we are using web server - Apache vFabric .And the application that we are using is in https and there is no hit is going from https to http.
    Name:
    JSESSIONID
    Content:
    782BF97F50AEC00B1EBBF1C2DBBBB92F.xyz
    Domain:
    xyz.abc.pqr.com
    Path:
    Send for:
    Any kind of connection
    Accessible to script:
    No (HttpOnly)
    Created:
    Wednesday, September 3, 2014 2:25:10 AM
    Expires:
    When the browsing session ends
    BKBK wrote:
    2]When I checked CF Admin->Server Settings->Memory Variables I found that J2EE SESSION has been set to YES. So does this mean that do we need to set HTTPOnly and SECURE flag for JSESSIONID only or for CF session cookies (CFID AND CFTOKEN ) as well ?.
    Set HTTPOnly / Secure for the session cookies that you wish to use. Each cookie has its pros and cons. For example, the JsessionID cookie is more secure and more Java-interoperable than CFID/CFToken but, from the explanation above, it forbids the sharing of sessions between HTTP and HTTPS.
         I understood that setting thos flags (httponly/secure) is as per my wish. But my question was , is it necessary to set those flags forcf session cookies (cfid and cftoken) as we have enabled J2EE session in CF admin?. Or in other way as the session management is J2EE based do we need to set those flags for CF session cookies?.
    BKBK wrote:
    3]If I need to set HTTPOnly and SECURE flag for JSESSIONID , how can I do that.
    It is sufficient to set the HTTPOnly only. As I explained above, Tomcat will automatically set 'secure' to 'true' when necessary, that is, when the protocol is HTTPS.
         I understood that it is sufficient to set httponly only.but how we will set it for jsessionid?. This is my question. Apache vFabric will alos set secure to true automatically. Any idea??

  • How to mass set deletion flag for the production order

    Hi Expert,
      do you know which transcation code or program is used to mass set the deletion flag for production order?
    thank you in advance!

    Hi,
    http://www.sap-img.com/production/how-to-delete-old-production-orders.htm
    Note that CO78 is the start of the Archive process.  We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
    Decide the range of orders you want to delete.  This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved. 
    Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set. 
    First of all, create the variant via SE38 for PPARCHP1. 
    Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes.  Also here you can flag order number, order type and plant to be required fields. 
    Run CO78
    Press the first button - deletion flag/deletion indicator.
    Choose the variant you have just created.  Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
    Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
    Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
    Press Execute and job can be tracked via SM37.
    Details of deleted orders and errors will appear in the Spool.
    Rerun as many times as you need with relevant order ranges till all required orders are deleted.
    Hope this will resolve your issue.
    Regards,
    Naveen.

  • How to set PS GLOBAL FLAGS

    Hi,
    I am trying to set PS Global Flags (e.g. pre-commit and initialized flags) but the changes I made are not reflected in the system. I tried using the FM 'PS_FLAG_SET_GLOBAL_FLAGS'.
    I am not that familiar in this module so any info you can provide would be greatly appreciated.
    Thanks,
    Ian

    hello,
    use this bapi
    BAPI_PS_INITIALIZATION
    for setting global flags
    regards
    afzal

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • How to set buildID.xml and custom.properties in SDK

    Hello,
    I just completed a new build deployment of SAP ME5.2, because after I deployed the new version, I don't think I have set a
    correct version number.Can you someone give me a sample how to set the buildID.xml and custom.properties? I am a new on the SAP ME5.2
    The Base version is ME_Base_5.2.5.16.5_netweaver-71_Update.zip and
    MEClient_Base_5.2.5.16.5_netweaver-71_Update.zip. the HB customzation
    version is ME_xxxxxx_2.0.0.0.x_netweaver-71.
    Within the sap note 1484551, you mentioned we need change the
    SDKInstallDir/build/buildID.xml file, here is the context of the file:
    buildID.xml -
    <?xml version="1.0" encoding="UTF-8"?>
    <buildID xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <customer>XXXXXX</customer>
    <revision>1.0.0.0</revision>
    <build>1</build>
    </buildID>
    buildID.xml -
    1. how can we change the revision and build?
    There is another file BuildToolDir/build/script/custom.properties, here
    is the file context:
    custom.properties----
    This file contains build properties used to configure the build
    system.
    The name of the software vendor implementing the customizations.
    vendor.name=xxxxxxxxx
    Vendor build identifier. This value is used to uniquely identify
    customizations built by a particular vendor for a particular customer
    and base
    application version.
    This is also used in path locations and in naming certain build
    artifacts, like the custom EJB module and the utility classes archive.
    vendor.id=xxxxxxxxx
    The installation of the J2EE engine installed in the development
    environment.
    ex. C:/usr/sap/CE1\J00
    j2ee.instance.dir=J2EEInstanceDir
    The web context path used to access the main web application. This
    is used by the build to set the
    context-root value in application.xml after an update has been
    imported.
    web.context.path=
    The web context path used to access the production XML interface web
    application. This is used by the build to set the
    context-root value in application.xml after an update has been
    imported.
    xml.context.path=
    The web context path to access resources from the web extension
    application, like images and work instruction HTML files.
    web-ext.context.path=web-ext
    The target database vendor. Valid values are 'oracle' or 'sqlserver'.db.vendor=ORACLE
    The JDBC driver configured for the application server.
    db.drivername=VMJDBC
    JDBC connection propertes for the WIP (Work In Process) database.
    This is the primary application database.
    db.wip.driverclassname=
    db.wip.driver.url=
    db.wip.host=
    db.wip.port=
    db.wip.sid=
    db.wip.user=
    db.wip.password=
    JDBC connection propertes for the ODS (Open Data Store) database.
    This is the offline reporting and archiving database.
    db.ods.driverclassname=
    db.ods.driver.url=
    db.ods.host=
    db.ods.port=
    db.ods.sid=
    db.ods.user=
    db.ods.password=
    Flag indicating whether to add DPMO NC codes to NC idat files when a
    new update is imported. This value is initially
    set by the installer according the the user selection.
    dpmo.nc.codes=
    The default locale used by the production system. The default locale
    is the locale used to display locale
    specific text and messages when the requested locale is not
    available. This property does not need to
    be set if the default locale is english.
    default.locale=en
    Used when running the build from Eclipse to locate the java compiler
    used by the WebLogic EJB compiler.
    jdk.home=C:/Program Files/Java/jdk1.5.0_20
    Compiler debug mode. If set to 'true', debug symbols will be
    compiled into the byte code.
    compile.debug=true
    Keystore alias
    security.alias=xxxxx
    Keystore password
    security.storepass=ChangeIt
    Key password
    security.keypass=ChangeIt
    Keystore type (jks=default,jceks,pkcs12)
    security.storetype=jks
    Optional source control build identifier that is to be displayed with
    standard version information.
    scs.build.ID=
    Optional extended version information to be displayed with standard
    version information.
    ext.info=
    custom.properties----
    2. How can we change this here?
    Regards,
    Leon Lu
    Edited by: Leon Lu on Aug 4, 2011 11:14 AM
    Edited by: Leon Lu on Aug 4, 2011 11:21 AM

    Hi,
    I created one request with logo in the header an page in the footer etc. and called StyleSheet. After you can import this formats by each request.
    You can do this in compound layout.
    Regards,
    Stefan

  • Follow up action to set delete flag after UD (QS41, QS51)

    Hi all,
    If user give UD as 'not good' for Equipment (eg Vernier Caliper) then he has to set delete flag for maintenance plan no and Equipment no through IP02 and IE02 respectively
    now he want that, above delete flag should set automatically after giving UD so particular maintenance plan or equipment should not release in future.
    I got one follow up action 'QM_PM' in transaction QS51 due to this after giving UD for Inspection lot, plan get technically complete (TECHO)
    so how to make changes so i'll achieve above functionality
    plz tell me about catalog, follow up action, QS41
    thanks....

    Hi all,
    i got one solution on which i am working
    Steps:
    1.The solution is to use the User Exit namely QEVA0010 and use the logic as mentioned below.
    2. Test and use the above mentioned user exit.
    3. The first condition should be checked for Inspection Type - 14 and for UD code NG.
    4.Logic to be used To set the deletion flag for the Equipment.
       Go to Table QAPP - Pass inspection lot Number and get the Equipment no.
       Go to Table EQUI - Pass Equipment no and get OBJNR  
    Go to Table JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion  flag inactive is I0320.
       In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.
    5.Logic to be used To set the deletion flag for the Maintenance Plan.
    Go to Table QALS - Pass inspection lot no and get the order no.
    Go to Table AFIH - Pass order no - Get maintenance Plan.
    Go to Table MPLA - Pass the maintenance plan and get the Objnr no.
    JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion flag inactive is I0320.
      In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.

Maybe you are looking for

  • 10.6 Automator: Workflow to move a selected file to the idisk?

    Hi, I am trying to make a workflow that moves a selected file to a certain folder on my idisk. I am able to make a workflow that: 1. Gets a selected file 2. Gets a server (idisk), although IF it is already connected/mounted 3. Copies the selected fil

  • Javax.transaction.RollbackException

    Please take few moments to look at this code. I can't see what I am doing wrong. Can you? it is about the RollbackException. the create method inserts a record in de database, but I am not sure if the container rolls it back, or may be the primary ke

  • SIM numbers Menu Option Missing E7

    Hi I am trying to copy my contacts from my sim to the phones memory. In the user guide it says - Select Menu > Contacts. Select Options > SIM numbers > Copy all to phone. I am missing the "SIM Numbers" option from the menu. Does anyone know why that

  • Recovery stuck! Help!

    Hello We've had a power shortage and our server crashed. That put our Exchange database in dirty shutdown. So I've used eseutil /p to repair it: Checking database integrity. The database is not up-to-date. This operation may find that this database i

  • Applet as driver for linked list

    i have a class called carlist that has these methodes: public void Delete(String DelElement) public void InsertEnd(String NewElement, int NewNumElement ) public int GetAmount(String target) public void UpdateAmount(String name, int number) my node cl