Calculated keyfig for Document count with exclusions

Hi,
I have to create a ckf document count with exclusion, with the following logic
"If RFK_MR8MCOUNT ==0 then count equal to 1
Else If RFK_MR8MCOUNT <>0 then count equal to 0"
RFK_MR8MCOUNT I already have it.
Pls guide me which datafunction to use & how to implement it in the formula editor.
Regards,
Shreesh.

I don't get all the formula's posted in this thread, they don't make any sense. For example (and all others like this one):
NODIM((( X == 0 )1 + (Not( X == 0 ))0 ))
First off, NODIM on a logical expression makes no sense at all, there is no dimension to a simple 0 or 1
Second, (X == 0) will result in 0 or 1 (true or false), the *1 is of no added value
Third, (Not(X==0)) * 0 will allways result in 0. ALLWAYS!
You can get the same result as the above formula by using:
(X==0)
If that is what you need, a reversal of your count statement, use it.
Kind regards,
Alex

Similar Messages

  • Inbound Idoc function module  for Cycle count with msg type WVINVE

    Can any one tell me which is the standard function Module which processes Cycle count for message type WVINVE.
    My requirement is to setup Inbound Idoc for cycle processing with message type WVINVE.

    Hi Mukesh,
             Inbound FM is IDOC_INPUT_STORE_INVENTORY , and Process code is WVIN.
             Yoou can check this in Tcode WE42 for process code WVIN.
    Regards
    Srikanth M

  • DMS - Reports for documents marked with deltion indicator

    Hello Guys,
    Kindly let me know is there any standard reports available from sap which can highlight me the “list of documents that are marked with deletion indicator”.
    If not what’s the work around for that?
    Also adding to deletion indicator, I would like to capture the reason for deletion of original from document info record? But I found there is no specific place to capture the reason for document deletion.
    Kindly help me out
    Points will be awarded for sure.
    Regards,
    Murali.S

    Dear Fapreeth,
    For getting the list of document marked with deletion indicator you can goto Tcode "cv04n" there keep all other searching criteria empty just specify criteria for <b>deletion indicator</b> as "X     W. Del.Ind."  you can use <F4> to select that value....   than execute the search and you will receive list of documents with active deletion indicator...
    Regards,
    Tushar Dave

  • No quicklook/preview for documents created with Pages 5.5!

    Before opening files and find you can hit the spacebar and have a preview of most of the file types.
    This always worked well with Pages until the newest version 5.5. Now I can only preview the files created with older versions of Pages.
    Every file created with the new version only shows the icon or a very blurred image but not a readable preview of the file itself like before. Even worse, if you change a file with Pages 5.5 you also can't see a preview any more.
    Apple's telephone hotline had no solution.
    Any idea for a solution would be very helpful as my DevonThink database also uses the preview feature and opening any file before being able to have a quick look on it is really annoying.
    Has anybody experienced this problem?

    There's no preview on iPad or iPhone either for these files. You can't see the content in DevonThink to go.

  • What is the formula to get document link in calculated column for document library ?

    Hello,
    would you please let me know the formula to get document link in calculated column ?
    Thanks and Regards,
    Dipti
    Dipti Chhatrapati

    hi Dipti,
    there is no column which contains the ItemURL.
    if you want a colum to have url than you need to create a workflow
    which calculate the ItemUrl and store it in custom column
    use the below article to do this
    http://www.sharepointusecases.com/2013/05/how-to-show-file-path-inside-a-sharepoint-document-library-view/
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Table for "documents change" with statuses

    Hi,
    I need a table where all the status changes for a service order (ticket) are stored (with dates).
    I know of CDHDR table, but there are no entries for statuses?
    Any idea?
    Thank you,
    Borut

    Thanks!
    I think this table will do the job.
    Kind regards,
    Borut

  • Resetting a for loop counter and restarting the computation

    I have a while loop nested inside a for loop to do a calculation of a model. 
    Lets say I am on the for loop counter 4. Suppose I wanted to keep track of the number of iterations on one the while loop, and if it exceeded a certain number say 100, exit the while loop.  I am doing this to avoid my model calculation being stuck at a spot due to optimization issues. I now want to restart the calculations of for loop counter 4. 
    Is there a way to do this in labview? 
    Solved!
    Go to Solution.

    Well first of all, if you are going to restart the loop with the same program inside it after it got stuck is it not just going to get stuck again creating a permanent loop in the code? Would you not just want to move on and have some sort of identifier that one of the for-loops got stuck?
    But I would recommend simply nesting your while-loop inside of another while loop, then connect the exit for the out while-loop to some variable from the inner while-loop, so if the optimization did not occur properly then it simply repeats the inner while-loop.
    Although I stick by my thoughts that you will just end up in a permanent loop if the optimization fails the first time.

  • Coding for document finder

    Hi guys,
    Does anybody have any experience with document finder? I need to create a search for documents stored with DMS, Document Management System. The biggest challenge is that i need to use the classifications assigned to the document type as well.
    Any help or assistance is appreciated.  Also, please correct me if i'm in the wrong group.
    Thanks,
    Espen Leknes

    Hello,
    For any Doc, you can get the classification details from table KSSK. Pass '017' to Class Type ( KLART) and the Document Details to the table to get the details.
    The further details of the Classification could be found in Table AUSP
    I hope this helps you.
    Regards, Murugesh AS

  • Workflow approval for documents

    Hi,
    Looking through the forum, it seems that it is possible to set up workflows for document approval with Solution Manager.
    I don't have much experience with this platform; can anybody point me to documentation, blogs or white papers that explain how to do this?
    Kind regards,
    Tony.

    Hi,
    Chk out the below link.
    [http://mailman.mit.edu/pipermail/sap-wug/2008-February/027794.html|http://mailman.mit.edu/pipermail/sap-wug/2008-February/027794.html]
    Thx,
    waseem

  • Edge counting with digitial pause trigger

    Hi
    I should write a program for edge counting with digital pause trigger in visual basic.  I have found an example of using pause trigger in edge counting but it is written in C#.
    Steps in the program followed is:
    1) creating task
    2) creating count edge channel objecy
    3) configuring thr trigger ( where i have been strucked)
    code in c # is:
    taskname.triggers.pausetrigger.digitalleveltrigger ( source, level)
    When i tried to look for trigger function and to configure it in Visual Basic, I have not found any trigger function to set/configure in the function library
    Thanks

    Hi there,
    Here is the code in text format.  That's pretty much all you need.  I took the example code called CntDigEvents.vbp and added the following code before the start task function call:
        DAQmxErrChk DAQmx.DAQmxSetPauseTrigType(taskHandle, DAQmx_Val_TriggerType6_DigLvl)
        DAQmxErrChk DAQmx.DAQmxSetDigLvlPauseTrigSrc(taskHandle, "PFI0")
        DAQmxErrChk DAQmx.DAQmxSetDigLvlPauseTrigWhen(taskHandle, DAQmx_Val_Level1_High)
    As for the C# code I am not familiar with C# so I don't think I can be a great help on that one.
    myTask.Triggers.PauseTrigger.ConfigureDigitalLevelTrigger(triggerSourceTextBox.Text, gateLevel)  This function is the main call for the pause trigger and all it is doing is setting the properties.  triggersource should be along the lines of "PFI0" or "Ctr0" and gate level defines whether the gate level is "high" or "low)
    How is the VB code going?
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland
    Attachments:
    VBcode.txt ‏4 KB

  • Recurring document - FBD1 with incorrect due-date calculation for AP

    Hi Gurus,
    in our ECC 6.0 system we are creating with F.14 FI-documents (SAPF120) based on recurring documents (created with FBD1) for various purposes (e.g. Recurring entries for IC-business).
    Therefore it's important that the system provides in the final processing of the recurring documents the correct net-due-date in the AP-document based on the document date and the payment term included in the AP-masterdata (LFB1-ZTERM).
    Problem:
    The processed FI-document contains the correct payment term but the calculated net-due-date with regards to the document date (BKPF-BLDAT) isn't correct. A Dummy-Update of the FI-document with FB02 on field BSEG-ZTERM provides finally the correct net due date but this a not recommended solution.
    Any ideas how to solve that issue???
    Thanks for replies.
    BR, Bernd

    Hi Vishnu,
    the defined payment term is
    fix day: 15
    additional month: 1.
    Default for baseline date is posting date
    Therefore the expectation is that net due date is calculated for posting date
    e.g. : 01.02.2012 to 15.03.2012.
    The line item after processing in FI-document shows :
    Posting Date : 01.02.2012
    Bline Date:   01.02.2012
    Days/percent: 35
    Net due date: 07.03.2012 (dd.mm.yyyy)
    That's wrong according to my understanding of the payment term definition.
    BR, Bernd

  • Problem with an enter inventory count for a material with serial number

    Hi all,
    I must post an Enter inventory count with the transaction MI04 for a material with serial number that it has more 250,000 of serial number, but the system give an error message of dump.
    Are there any alternatives to post the inventory document?
    Thanks.
    Best regards,
    Gaetano

    you can't but uplaod using LSMW rather entering manually otherwise you need coremod

  • Variance calculation for production order with settlement receiver as SDI

    Hi...
    I have one query reference to Variance calculation for production order with settlement receiver as SDI(Sales document item).
    I am working on Varaint configuration with strategy 25(Make-to-order for configurable material) with requirement class 046.
    I have created sales order ref. to configurable material,subsequently created planned order & then converted to production order.
    In production order settlement receiver is SDI(Sales document item).
    While doing production confirmation ,variance has been created.
    Now during variance calculation KKS2, I have got error message as no suitable settlement rule found for object Order no.
    Is there any way to come out of this?Or variance calculation KKS2 is not applicable with settlement receiver as SDI(Sales document item).
    Pl. guide
    Redards
    Tushar

    Hi
    In case of non valuated material, concept of variance does not apply...
    Variance is Actual Cost - Cost of Goods receipt posted in stock.. If the later value is zero, your entire actual cost is variance... That is one way of saying it
    But, in SAP, var not calculated in case of non valuated material and that makes sense as well.. Since you are in MTO scenario, it would make sense to analyse costs vs revenues @ sale order level as each SO will be unique in itself
    Regards
    Ajay M

  • How do I use a counter for time measurement with NI-DAQmx and C++?

    Hi,
    I need my C++ program to read time (number of elapsed ticks) using the counter on PCI-6229. I had this written and working for the non-MX driver, and now I need to re-write it for NI-DAQmx.
    Here are the steps that I want to accomplish:
    1. Route the 80MHz timebase to the input of "Dev1/ctr0"
    2. Start the counter and let it count the ticks.
    3. After a while, read the number of ticks from the counter.
    Here is how I am trying to do it now (without success):
               DAQmxCreateTask ( "" , &taskHandle ) ;
               DAQmxCreateCICountEdgesChan ( taskHandle , "Dev1/ctr0" , "" , DAQmx_Val_Rising, 0 , DAQmx_Val_CountUp ) ;
               DAQmxConnectTerms ( "/Dev1/80MHzTimebase" ,  "/Dev1/Ctr0Source" , DAQmx_Val_DoNotInvertPolarity ) ;
               DAQmxStartTask ( taskHandle ) ;
               then DAQmxReadCounterScalarU32 ( taskHandle , 0.25 , &curCount , NULL ) ;
               and DAQmxClearTask ( taskHandle ) ;
    No errors are generated, but I do not see the tick count being incremented when I repeatedly read the counter.
    Advice will be greatly appreciated!!

    Hi Peter,
    Welcome to the forums!   I just want to make sure I understand what you are trying to do.  You would like to count the rising edges of the 80 MHz clock using DAQmx in C++.  In order to route the timebase to the counter, you need to use the signal name (PFI8) instead of the counter (Ctr0Source) for the counter source input.  This name is found in Measurement Automation Explorer (MAX) by right-clicking on the device and choosing “Device Pinouts.”  This will physically put the 80 MHz clock on the PFI8 line, so make sure you reset the device or disconnect the terminals after you are done. 
    That being said, may I ask what you are trying to do by reading the number of elapsed ticks?  If you are trying to monitor a hardware timed pulse, it would be better to count the frequency or period of that pulse.  This would provide better accuracy, because you are not relying on how fast DAQmx Read can poll the hardware.  If you are simply looking for a software based timer, I would recommend taking a look at this MSDN forum post. 
    Using the GetTickCount function instead will free up your counter and provide comparable accuracy to counting the edges of the timebase.
    I hope that helps you out, let me know if you have any further questions about this. Good luck with your project.
    Rod T.

  • Users are unable to synchronize document libraries with OneDrive for Business

    Hello,
    We are having an issue with our users attempting to synchronize document libraries with OneDrive for Business. When a user tried to synchronize the document library either via the "SYNC" button on the document library page using IE or by
    manually entering the document libraries path into the OneDrive for Business desktop app they receive the following error
    "We can't connect to the specified SharePoint site". The users have the Edit permission to both the site and the document library. I have performed the following actions in attempt to get the synchronization to work.
    1. Tested giving user the owner permission to the site and document library. same result.
    2. Performed a repair on the users Office 2013 installation.
    An interesting point to note is that I myself am able to synchronize the document libraries using both the "SYNC" button on the document library site and by entering the path manually in the desktop app. Difference between my account and the test
    accounts is that I'm a site collection administrator and farm administrator. Can anyone shed some light onto this issue?

    Hi Corey,
    According to your description, my understanding is that the users cannot sync document libraries with OneDrive for Business.
    I recommend to check the Permission Level to see if the Use Client Integration Features permission is selected.
    If not, check this permission in the corresponding permission level which is granted to the users.
    Please also check if the users have the right permission to sync the document library with OneDrive for Business.
    More reference:
    http://nheylen.wordpress.com/2014/05/15/sync-error-we-cant-connect-to-the-specified-sharepoint-site/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for