How to make acquired values to zero during exection of program

Hi
I need a help from you guys .
I created a small application of Encoder , purpose of which is to increase the count values.
if i have to make zero to the count values ,I have to stop the exection then run again .
Is there any other method by which i can make value of count to zero during execution of program?
Reagrds
nitin

Nitin_110051 wrote:
Hi
I need a help from you guys .
I created a small application of Encoder , purpose of which is to increase the count values.
if i have to make zero to the count values ,I have to stop the exection then run again .
Is there any other method by which i can make value of count to zero during execution of program?
Reagrds
nitin
A simple boolean and a Select function can take care of this very easily.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How to make visible value attributes of a Search Node

    Hi All,
    We have a requirement to enhance the search context node SEARCH ( Dynamic Query Object SVYQ ) of component SVY_S.
    But the enhancement category of Attribute Structure CRMST_QUERY_SVYIL is 'Can't be enhanced'.
    So we are adding value attributes to this context node. How to make this value attributes available in view configuration tab?
    Please suggest a better approach if there is any.
    Thanks in adv.

    Hi  Suchindra,
       You assign these  enhanced  attributes to design layer. so you can see these fields in Config tab.
    How to do:
    IMG->Customer Relationship Management -> UI Framework -> UI Framework definition -> Maintain
    design layer
    Here include the enhanced attributes and then go to component work bench and in context attributes right click assign the desing layer, selct your attribute and  in the bottom click on SAVE button.
    Then check it in configuration tab your attributes will available in show available fields.
    I hope this will solve your problem
    Regards,
    Sagar

  • How to make default values in selection field?

    hi,
          i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
    DATA: LT_RANGE_TABLE TYPE REF TO DATA.
    CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
      EXPORTING
        I_TYPENAME                     =     'QENTST'
      RECEIVING
        RT_RANGE_TABLE           =     LT_RANGE_TABLE.
    CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
      EXPORTING
        I_ID                                     = 'QENTST'
        IT_RESULT                         = LT_RANGE_TABLE
        I_OBLIGATORY                 = ABAP_TRUE.
    What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
    Thanks In Advance.
    Saurin Shah

    Hi,
    Refer this Article by Thomas on how to make default values in Select Options:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
    I hope it would solve your problem.

  • How to make material availability check work during Work Order creation

    Hi Experts,
    Kindly advice about these matters:
    1. How to make material availability check work during Work Order creation?
    My requirement is Work Order can not be created when it has missing parts. I have set the config to '3' can not created when is has missing parts, but it still does not work.
    I have implemented SAP Notes 1148139 on my system (SAP ECC 6 Ehp 5) also, but still does not have any effect.
    I must not set the config Res./Purch Doc creation to 'immediately', because it does not fit to my user requirement. Is there anyone knows how to solve this requirement?
    2. How to make information message/ Availability check screen appear when sparepart is missing, without clicking Availability Check button? for example: appear when clicking Save button.
    Thank you
    -amoonra-

    Hi Maheswaran,
    I have implement the prerequisite notes. (Notes 790219 and 1034962). Do you know why it is still does not work?
    Thanks
    -amoonra-

  • How to find the value of a variable in other program

    How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
    Regards
    Vin

    Hi Vinayak,
         you will be having your first program values in internal table or some variables,
        when you are calling the second program you wii use like this,
        SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
                           WITH s_emp(second program select-options)   IN t_emp(first program variables)
                           WITH p_chk   EQ t_chk
                           WITH p_r1    EQ t_r1
                           WITH p_month EQ t_month
                           WITH s_cust1 IN t_cust1
                           WITH p_r2    EQ t_r2
                           WITH s_cust2 IN t_cust2
                           WITH s_week  IN t_week
                           AND RETURN.
    you have pas like this to get your first program details.

  • How to pass the value to "Assignment" when submit the program RFITEMGL?

    Hello friends,
    I want to submit program RFITEMGL  (t-code FBL3N) with some screen fields, some fields are OK to fill such as u201COpen at key dateu201D, u201CG/L accountu201D and u201CCompany codeu201D。 But for the field "Assignment" (It will appear after cilck Dynamic Selection), I don't know how to pass value to it.
    Could you help me about how to pass the value to "Assignment" when submit the program RFITEMGL  (t-code FBL3N) ?
    Thanks a lot!

    Hi,
    Well you can create a small BDC.
    Regards,
    Harsh Bansal

  • How to make Acquisition Value and Accumulated Depreciation NIL

    Hi Gurus.........
    I am very new into SAP.
    Got stuck in one of the problem related to Asset Accounting.
    My question goes as follows :
    1. Acquisition cost of a Machinery $10000
    2 Accumulated Depreciation  $2500
    3. Net Book Value $7500 as on 31.03.2010
    4. Sold the asset at Net Book Value $7500
    It means net book value is nil now. Bur Acquisition cost still there $10000
    and Accu Dep is also $2500 in the book . Now tell me how make nil
    accumulated dep and Accusition value.
    Need T code and procedure.

    Hi Sanjib,
    welcome to the forum.
    You can use for example ABAVN or ABSO to make a complete retirement.
    Then the values a zero for sure.
    regards Bernhard

  • How to make the values of a combination graph (bar and line) visible always

    Hi ,
    I am using jdev 11.1.1.6
    i have created a combination graph which has a bar and line.
    The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
    i need to set the values visible always.
    kindly let me know how to make it.
    In pie graph its by default showing the data always.
    regards
    Siva

    Hi Sameh Nassar,
    Thanks for the input, am using the combination graph and i dont have this property added till now.
    i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
    please correct me if am wrong.
    This is my combination graph structure.
        <dvt:comboGraph id="comboGraph1"
                          value="#{bindings.testVO1.graphModel}"
                          subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
            <dvt:background>
              <dvt:specialEffects/>
            </dvt:background>
            <dvt:graphPlotArea/>
            <dvt:seriesSet markerDisplayed="true">
              <dvt:series lineWidth="0"/>
            </dvt:seriesSet>
            <dvt:o1Axis/>
            <dvt:y1Axis/>
            <dvt:y2Axis/>
            <dvt:legendArea automaticPlacement="AP_NEVER"/>
            <dvt:graphTitle text="Combination graph"/>
            <dvt:o1Title text="x axis"/>
            <dvt:y1Title text="y1 axis"/>
             <dvt:y2Title text="y2 axis"/>
          </dvt:comboGraph>
    regards
    Siva

  • How to make default value for region based on city?

    Dear Experts,
    When city is selected in TRIP or PR05, how to make the default value of city based on region?
    The standard search help givenfot citydoesnt contain any enhancement point?
    Pls suggest how to resolve this!!!
    Thanks In Advance
    Rgrds,
    Sravan

    Hello Sahil
    Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
    For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
    Follow same process for PC.
    GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
    Kiran

  • How to make a value changed based upon values selected in dropdown menu

    Hi,
    I am making my first Dreamweaver website using Dreamweaver CS6 on a windows 8 PC.
    I am trying to make a website where the user selects different criteria; in this example an ipod's model, condition and size from three seperate dropdown selections (similar to www.itrado.co.uk) and then based upon these selections a value for their ipod is shown. However i cannot work out how to display a value which remains on the same page and changes based upon the values which have been selected from the dropdown boxes. I was planning on creating a database and then creating a simple code which retrieves the value from the database which corresponds to the three selected values, however i am not sure how to go about doing this.
    Any help would be greatly appreciated.
    Many Thanks,
    Henry

    You need scripts for this. Try this jQuery tutorial
    http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
    Nancy O.

  • How to make blank value as null in table using DQS

    Hi
    I am using DQS in SSIS. It makes null value from source table as blank in destination table by DQS_NULL feature.
    I want to make that null value as 'Null' in the destination table after applying DQS.
    How is it possible.
    Thanks
    Nidhi

    Thanks for the reply.
    When I am using (Coulmn) == "" ? NULL(DT_WSTR,225) : Coulmn for making blank as null it is working fine.
    But it is making null as string, but I don't want to use null as string. As I am using Null in my stored procedure to load sub region data where "country is null".
    If I will use above expression of derived column it will make it as string which is not recommended in my case.
    Do you have any solution for it.

  • How to make the value axis (Y) on the right?

    the value axis(Y) of the stacked column chart is on the left default. how to make it on the right?
    thanks.

    e,
    Numbers Charts do not have the option to move the value axis to the right side. You can turn off the display of Value Labels, using the Chart Inspector, and make your own value labels from a text box or small table column and place them to the right of the chart.
    Regards,
    Jerry

  • How to get the values from IDXML during a Pre processing

    Hi,
    I have a requirement to validate the attributes in the IDXML request while deactivating a user. I have configured a workflow with the steps "Initiate" "Externalaction" "Disable" "Commit".
    The following is my IDXML request. I want to get the values that is coming in the IDXML in the pre action (written a c++ plugin) and perform certain validations.
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope
                             xmlns:SOAP-ENV="http://schemas-xmlsoap.org/soap/envelope/"
                             xmlns:oblix="http://www.oblix.com">
    <SOAP-ENV:Body>
         <oblix:authentication xmlns:oblix="http://www.oblix.com" type="basic">
              <oblix:login>adminuser</oblix:login>
              <oblix:password>password1</oblix:password>
         </oblix:authentication>
         <oblix:request application="userservcenter" function="workflowDeactivateUserSave">
         <oblix:params>     
              <oblix:param name="ObWorkflowName">obworkflowid=9bbb88b273b1012d000086E812d695ad,obcontainerId=workflowDefinitions,o=Oblix,dc=dnb,dc=com</oblix:param>          
              <oblix:param name="uid">[email protected],ou=dnbCustomers,ou=People,dc=dnb,dc=com</oblix:param>
              <oblix:param name="attrName_1">UserID</oblix:param>
              <oblix:param name="attrValue_1">[email protected]</oblix:param>
              <oblix:param name="attrValue_1_old">[email protected]</oblix:param>
              <oblix:param name="attrOperation_1">REPLACE</oblix:param>
              <oblix:param name="attrName_2">ApplicationID</oblix:param>
              <oblix:param name="attrValue_2">12345611</oblix:param>
              <oblix:param name="attrValue_2_old">123456</oblix:param>
              <oblix:param name="attrOperation_2">REPLACE</oblix:param>
              <oblix:param name="attrName_3">SubscriberNum</oblix:param>
              <oblix:param name="attrValue_3">09787655</oblix:param>
              <oblix:param name="attrValue_3_old">09787655</oblix:param>
              <oblix:param name="attrOperation_3">REPLACE</oblix:param>
              <oblix:param name="noOfFields">3</oblix:param>
         </oblix:params>
         </oblix:request>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    How to get the values "ApplicationID","SubscriberNum" inside the preaction hook (c++). Please provide suggestions.
    Thanks,
    Lakshmi

    Read the doc, write the code, test it and debug it . http://download.oracle.com/docs/cd/E15217_01/doc.1014/e12491/idapi.htm#CDEIDDAF

  • How to make Parameter value look a certain way

    Hi
    I am having a bit of an issue where I have created a Number Parameter (Dynamic - based off OPCH.WPANO).
    Under Select expert  > Record I selected OPCH.WPANO Equal to {?WPA Number}, so my formula looks as follows:
    {OPCH.U_WPANO} = {?WPA Number}
    But I am only wanting the correct input value to show on the Parameter selection (example 201010 not 201,010 from SBO)
    But no success, does anyone have any ideas on how to create the values in the Parameter selection to look how you want them, I have is a Field called WPA Number within SBO and the UDF is a numeric field, if I record a value as 201010 the Parameter in CR shows it as 201,010.
    I am aware that this could be down to my Decimal Place settings under General Settings > Display Tab; is there anyway to manipulate this data so it can be viewed differently when selecting the relevant record in Parameter (when running the report).
    I am on SBO 2007A SP01 and the Crystal Reports 2008 Version is 12.1.3.1028
    Any ideas?
    Regards
    Kurt Walters
    Edited by: Kurt Walters on Nov 11, 2010 9:17 AM
    Edited by: Kurt Walters on Nov 11, 2010 10:04 AM

    Hi Kurt,
    I am afraid that this parameter format is depending on Thousands Sep. setting under general settings > Display Tab. If you take away the coma, you can get pure number.
    However, all you numbers dislayed on any forms will be changed too.
    Thanks,
    Gordon

  • How to make current value to default to all controls at once

    Choosing "Data Operation" -> "Make Current Value Default" to multiple controls requires a lot of clicking. Is it possible to do this with one click?
    Solved!
    Go to Solution.

    Yes.  If you select no controls, it says "Make current values default", and it does all the controls at once.  If you have a control selected, then it does only the selected controls.
    Reinitialize current values to default works the same way.  Select nothing, it does all the controls at once.
    Bob Schor

Maybe you are looking for

  • I want to read calibration data from a file

    I have some calibration data from an experiment. There are 14 channels and the data is arranged in a spreadsheet 14 rows x 4 columns, where each column is a different constant from a best-fit equation of the form y = b1 + b2.x1 + b3.x2 + b4.x1.x2, pe

  • Vista doesn't recognize d drive, I tunes reformats

    My Vista loaded laptop was not recognizing the d drive, Microsoft had me enter the register and delete the upper and lower filters, which fixed that problem, however it caused Itunes to be unable to burn a disc, Itunes suggested re downloading Itunes

  • Picking the right values from tables - SQL (select statement)

    Hi everyone, I'm facing the litlle(?) problem in Oracle environment. Let me explain: I have two tables. TABLE 1 Id1 | Val1 | Id2 | Val2 A | 44 | B | 36 B | 36 | A | 44 TABLE 2 Id | Name A | New York B | Seattle I need to get from those tables, using

  • HttpSession lost when using browser - Apache - oc4j

    Hi, config: browser <-> Apache <-> oc4j using ProxyPass & ProxyPassReverse directives. problem: - A servlet calls HttpSession.putValue("Key","some data"), then redirect to B servlet. - B servlet tries to HttpSession.getValue("Key"), but it return nul

  • System error on 6680

    Today I tried to use the camera and had message "SYSTEM ERROR" and all videos and photos were lost. Does anybody know how to get the camera working again. Many thanks