'AND' Conditional operator in smartform

Hi experts,
I have  to use AND condition in smartform (text).
For OR condition there is a standard icon sothat can use.
But how can we get AND contion in smartform.
if I am giving AND condition it is showing error
I have tries in SDN before posting my problem but i couldn't get solution for that
Please help me out of this problem.

Hi Saravanan,
You dont need to give AND condtion. Just give two conditions in the conditions tab. it will work
Regards
Shanly

Similar Messages

  • Terms and conditions last two pages

    Hello all:
    I am working on a project that deals multiple pages in form printing.  The first page (sheet) I want to print as Simplex the last sheet I want as duplex.  So my question is this,  I have these as separate forms, do I need to consolidate these into one form with separate pages or can I keep these separate smartforms...
    John

    Hi,
    You can do it in same form.
    Create 2 pages.
      a. Page 1 should be simplex.
      b. page 2 should be duplex.
    if you have already create terms and conditions as separate smartform.
    1. Go inside smart form(terms and conditions).
    2. Copy the page completely ( Ctrl + C )
    3. Press back button( dont create new session)
    4. give first smartform name and press change.
    5. Press Ctrl + V (paste)
    Regards
    Aromal R

  • SSRS Using Sum and = in a conditional operator

    Hi,
    Still getting to grips with SSRS so any help would be appreciated.
    My aim is to calculate a conditional field using the SSRS expression feature, the datasource is a shared dataset which i can't alter so i can't just go an alter the SQL query or anything.
    In SQL my query would be like this: SELECT COUNT(TotalHours) FROM TableName WHERE TotalHours <= 24
    Is there anyway to combined the Iff and Sum operator's to get a result like the above?
    At present all i managed to come up with is the below but obviously it's not returning the correct amount.
    =IIf(Fields!TotalHours.Value <= "24", Sum(Fields!TotalHours.Value), 0 )
    Please help!
    Edit: Please note that i'm not trying to sum a field based on a condition that relates to another column, i just need a sum of 'TotalHours' that are less than or equal to 24, please also note there is another field called category, each category needs a
    sum of the above.
    Regards,
    Marcus
    Plain_Clueless

    Hi Marcus,
    According to your description, you want to count [TotalHours] when the value of this field is less than 24, right?
    In your scenario, you could use the expression like below:
    =Sum(IIF(Fields!TotalHours.Value<=24,1,0))
    Please note don’t put this expression in the detail rows, you could refer to our test results:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Terms and Conditions in separate page in Smartform

    Hi,
    I m developing a Smartform for Purchase Order .
    The problem here is  in last page i need to display the Terms and condition.
    How to do the same.
    if anyone has done the same, please let me know
    Thanks in advance,
    Shiva

    Hi,
    Check this condition SFSY-PAGE = SFSY-FORMPAGES for the text.
    If this condition is true then its a last page of Form.
    Thanks

  • Conditional operator and nulltype

    hi,
    i have a little problem, it's actually not really a problem, im just curious. i have the following testclass
    public class Test{
      public static void main(String[] args) {
        Double a = false? 1.00: (Double)null; // nullpointer (A)
        Double b = false? 1.00: null;  // works (B)
    }when line (A) is uncommented a NullPointerException is thrown and i have no idea why.
    when i comment out line (A), line (B) works. because the type of the conditional operator is of the other if one of them is NullType.
    so not really a problem because it's better to use (B) but i still want to know why (A) doesn't work.
    Edited by: creichlin on Oct 27, 2008 12:15 PM

    ouch, i am just to stupid. i forgot autoboxing, the NullType is cast to a null Double, then it's autoboxed to a double and then to a Double again.

  • HT201412 I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    Reset and start all over again.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • What is the conditional operator for AND, OR .....?

    what is the conditional operator for AND, OR .....? in ABAP language...
    AND, OR .. & is not accepting or recognising.
    Is these feature available in abap ??? if yes, how to use?
    thanks...
    shiva

    Hi,
    Conditional operator for AND and OR are same AND and OR.
    A logical expression consists of comparisons (see expressions 1 to 4 below) and/or selection criteria checks (expression 5) using the operators AND, OR and NOT , as well as the parentheses " (" and ")".
    The individual operators, parentheses, values and fields must be separated by blanks:
    Incorrect:
    f1 = f2 AND (f3 = f4).
    Correct:
    f1 = f2 AND ( f3 = f4 ).
    NOT takes priority over AND, while AND in turn takes priority over OR:
         NOT f1 = f2 OR f3 = f4 AND f5 = f6
    thus corresponds to
         ( NOT ( f1 = f2 ) ) OR ( f3 = f4 AND f5 = f6 )
    The selection criteria comparisons or checks are processed from left to right. If evaluation of a comparison or check proves part of an expression to be true or false, the remaining comparisons or checks in the expression are not performed.
    All data objects that can be converted among each other can be used as operands for logical expressions.
    Check if u are using the AND or OR operator this way.
    IF f1 AND f2.
    ENDIF.
    In this case it will throw error. Here it act as relational operator.
    Regards,
    Prakash

  • Terms and conditions not getting displayed on the last page

    Hi All,
    I have to display a smartform, on the front side of the page i have to display material details and on the back side of the page i have to display terms and conditions. I' am unable to print the material details and terms and conditions in duplex mode, but on the last page only material details are getting displayed, terms and conditions are not getting displayed.
    Can you please help me how to make the terms and conditions get printed on the back side of the last page.
    Thanks,

    I'm a bit confused by the statement "I' am unable to print the material details and terms and conditions in duplex mode".
    I suppose you meant to say "I am able to print the material details and terms and conditions in duplex mode", correct?
    If the problem is that on the last form page, the T&C is not getting printed on the back of the form, you could force the T&C page by using a flow logic command as the very last element of the main window, which gets processed when all the data is already output. For the command, use the 'Go to New Page' and specify the page name for the Terms & Conditions.
    In case this causes an issue that the last page is printed twice (since the T&C page is likely defined with the next page being NEXT_PAGE), then copy the already existing T&C page, call it LASTPAGE and leave the Next Page attribute empty.

  • Print Terms and conditions on Back side in Smart Forms

    Hi All,
    How can we print Terms and conditions on back side of last page. we are using SAP Smart Forms to print Packing Slips now we need to print the terms and conditions on back side of last page. who can we do this ... ?
    I have created 2 pages first page and Last page i have selected last page as  next page for First page and  vice vis and selected duplex printing for first page print option.
    Now the problem is the terms and conditions are printed on all the pages but not on the last page. for example if i have 5 pages then all the 4  pages are printed on front and back but the last page(5) is printed only on the front side but not on the back and if we print only 1 page then only front page is printed and no back side is printed.
    please let me know what else need to be done in order to print the terms and conditions on the back side of last page.
    Thanks,
    Praveen Chindam.

    Hi,
    There is quite a simple solution. We have exactly the same requirements for our invoices.
    Create 3 pages in the Smartforms, e.g. FRONT, BACK and LAST.
    FRONT has print mode "D" (duplex) and next page "BACK"
    BACK has print mode " " (unchanged) and next page "FRONT"
    LAST has print mode " " (unchanged) and next page " " (blank)
    BACK and LAST are identical apart from that, and do not have a MAIN window - they just contain the T&C in a secondary window.
    At the very end of the MAIN window on the page FRONT, insert the command NEW PAGE <LAST>.
    This will give you a print out that is
    FRONT, BACK, FRONT, BACK,....FRONT, BACK, FRONT, LAST.

  • Powershell equivalent of a conditional operator?

    Hi,
    I've got a small snippet of Powershell code that works perfectly well, but I'd like to make it better. here it is:
    if ($discoveredIssues.Length -gt 0){
    $returnHash += @{"IsBatchValid"=$false}
    else{
    $returnHash += @{"IsBatchValid"=$true}
    I don't like the fact that the string literal "IsBatchValid" exists in two places as there's always the chance that someone could change it one place and not the other (very minor quibble, I know).
    I was wondering if there was a way to write this such that I don't have the if...then...else. I tried to do this:
    $returnHash += @{"IsBatchValid"={if ($discoveredIssues.Length -gt 0){$false}else{$true}}}
    but that doesn't work. It just returns "if ($discoveredIssues.Length -gt 0){$false}else{$true}}" rather than the actual result of that expression. I was hoping there might be something like C#'s conditional operator so that I could do something
    like this:
        $discoveredIssues.Length -gt 0 ? $false : $true
    but sadly not.
    Any ideas how I can achieve this? I suspect there isn't a way, but it'd be nice if there were.
    thanks
    Jamie

    $returnHash.IsBatchValid = $discoveredIssues.Length -gt 0
    Oh nice. Didn't quite work. Powershell ISE complained:
    But it prompted me to go away and change it to this:
    $returnHash += @{"IsBatchValid"=$discoveredIssues.Length -eq 0}
    which I suppose would have been obvious had I bothered to pay any attention to what I was doing. Always pays to have someone else put eyes on something. thanks mjolinor.
    Glad to help.
    It wasn't obvious from the code whether $returnHash already exists or not.  I was assuming it did:
    $returnHash = @{}
    $returnHash.IsBatchValid = $discoveredIssues.Length -gt 0
    $returnHash
    Name Value
    IsBatchValid False
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to create Standard text for terms and conditions of po print form

    Hi anybody,
      I want create Terms and condtions inside smartforms PO FORM , how do i create terms and conditons and how use font size? I don't want hard code inside smartforms , I will create seperate texts for terms and condition after i include inside smartform.
    How i will do ? anybody please tell me.
    Thanks
    S.Muthu.

    Hi Subramaniyan,
                             U an create an include text node in your smartform.And terms and conditions is the header level text,so i suppose you have to give the inputs as follows :
    Text Name         &**-EBELN&
    Text Object       EKKO
    Text ID              xxxx
    Language          &**-SPRAS&
    is the data at your end .To simplify more follow the following.
    1> go to your purchase order from me23n
    2> open any purchase order and click on the terms and conditions text.
    3> go to GOTO option of the text.and click on the HEADER.
    4> U will find the attributes of the text which you will have to pass to the Include text in your smartforms.
    The long texts arestored in STXH table.
    Reward Points if useful.
    Cheers,
    Deepthee Kasal

  • Are the read and write operations atomic for an array in a local variable.

    Hi,
    I would like to know when you access an array in a local variable, is it an atomic operation?
    Thanks,
    Mat

    Thanks for the comments. I agree with you. However, I my case, race conditions and synchronization are not issues. Therefore, the only thing that matters to me is that the write and read operation of the array must be atomic. I know that I can implement that with a LV2 style global but I want to avoid it if possible.
    If writing and reading to an array are atomic operations then I can simply use local or global variables.
    All I need to know is: Is reading or writing an array in a local variable an atomic operation?
    Thanks,
    Mat

  • Conditional operator question?

    Hello,
    Quick question, are we not allowed to use the conditional operator this way... see code below:
    char volatile ProgString_[] = "\
    {Fan code} \
    12 <Limit11> [C1_ACM2]_[B1] _AND_ \
    bla bla \
    unsigned char UPC_SYSZ_EndOfTable(unsigned long i){ // Find the double '*' in string
    char volatile *u;
    u = &ProgString_[i];
    if(!(strncmp("*", u, 1))){
    i++;
    u = &ProgString_[i];
    if(!(strncmp("*", u, 1))){
    return TRUE;
    else {
    return FALSE;
    else
    return FALSE;
    void UPC_SYSZ_Parse(){
    unsigned char volatile iOCntr = 0;
    unsigned long volatile i;
    for(i=0; i<200; i++){
    (UPC_SYSZ_EndOfTable(i))?(break):(continue); //<<<<< Invalid expression ??
    I would of used the following compact line:
    (UPC_SYSZ_EndOfTable(i))?(break):(continue);    //<<<<< Invalid expression ??
    to periodically test the end of the string by fetching the "EndOfTable() function and evaluating if the double star is detected.
    If detected, I would break out of the for loop, if not then I would continue.
    Is it possible to do it this way?
    thanks for all help!
    r

    Think of it along the lines of each of the operands of the ternary operator must produce a value (which of course break and continue being statements cannot do).
    Based on your brief example here is what I would do
    for(i=0; i<200; i++){
    if (UPC_SYSZ_EndOfTable(i)) break;
    // doesn't make any sense to put more code down here anyway, so no real point to continue}

  • 9300 frozen terms and condition help

    Today my little brother decided to enter 10 wrong password all at once and it reformatted and when it was done reformatting the terms and condition popped up and it just froze the trackpad wouldn't scroll down or anything and but everything else works.
    Any help would be greatly appreciated.
    Heres a screenshot
    Thanks in advance.

    Hi and Welcome to the Community!
    Please first try this:
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Failing that, this:
    KB17877 How to start a BlackBerry smartphone in Safe Mode
    You may have to reload your BB OS. The simplest way is to, on a PC (you cannot do this on MAC):
    1) Uninstall, from your PC, any BB OS packages
    2) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/support/downloads/download_sites.jsp
    3) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    4) If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML (there will be at least one, perhaps 2)
    5) Launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC
    Don't forget to backup (well, for you, it's too late for that...sorry).
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Best!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Conditional Operator for Popup Pages!!

    Hi All,
    In my application there are 2 two different pages say 85 and 45. In page 85 i am calling the Iframe in which it will redirect to page 45. Now in that page i.e 45 i have used template as popup. In that i have an IR and HTML regions and a button in IR region. when i click on button then only should show the HTMl Region for that i ahave used conditional operator. But that is not working!!
    So i would like to know wheather conditional will work popup pages. If not let me know the procedure for that!!!!
    Thanks,
    Anoo..

    .. Apart from that, there is no need for your original long list of "if .. else". For a list of possible inputs, you should consider something like this:
    switch(myYear.selection.text)
    case "10": yearSelect=0; break;
    case "11": yearSelect=1; break;
    case "12": yearSelect=2; break;
    case "13": yearSelect=3; break;
    case "14": yearSelect=4; break;
    default: yearSelect=5;
    or, with your input and output, something as simple as
    yearSelect = Number(myYear.selection.text)-10;
    -- but I don't know what your possible range of inputs is. If it's "anything goes", you have to check for a not-in-range and then set it to your default of 5.

Maybe you are looking for

  • MK1032GAX Hard drive does not boot

    I have a Satellite M65 S9092.  I am replacing the hard drive. It is a Toshiba MK 1032GAX, the same model originally installed.  I can reload the Recovery disks, then when it reboots it hangs after the first Toshiba screen.  I can put the drive in an

  • Why can't my daughter edit kadak playsport videos in imovie

    I purchased an iPad 2 for my daughter along with the camera connect kit and was told on two occasions in the apple store that she would be able to edit the video from her kodak playsport on it! This is not the case the video is imported but cannot be

  • Boot & Installproblem with Satellite 220CS

    One of my collegues got a Satellite 220CS running windows 95. He would like to use it to connect it to the internet. The drivers & devices supplied in order to be able to connect are in need of win 98 so he asked me if I was able to install 98 on it.

  • Short dump in BP after upgrade to ECC 6.0

    Hi, We have upgraded system to ECC 6.0 from ECC 5.0 After upgrade system is giving short dump in transaction BP, event tried to navigate on BP screen. Short dump description: A RAISE statement in the program "CL_OS_TRANSACTION=============CP" raised

  • Power View issue

    can't use Power view in Excel 2013. When clicking Insert -> power view, I got the error such as "can't load data model", then the error "exception from HRESULT: 0x800A03EC" is got.