Using conditional output

Thanks to VetSrini, I know how to generate the first half of this output (comma delimited names).
Any pointers on how I would go about generating the other half? ie: Print a string called "New" and append the names in a sorted order if the "New" column is Y as shown in the desired output below (the formatting gets messed up ... New: C2 should be displayed in the Customer column and not as it appears below).
Country Customer
USA C1, C6
New: C2
Canada C3
New: C4, C5
XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <Row>
          <Country>USA</Country>
          <Customer>C1</Customer>
          <New>N</New>
     </Row>
     <Row>
          <Country>USA</Country>
          <Customer>C2</Customer>
          <New>Y</New>
     </Row>
     <Row>
          <Country>USA</Country>
          <Customer>C6</Customer>
          <New>N</New>
     </Row>
     <Row>
          <Country>Canada</Country>
          <Customer>C3</Customer>
          <New>N</New>
     </Row>
     <Row>
          <Country>Canada</Country>
          <Customer>C4</Customer>
          <New>Y</New>
     </Row>
     <Row>
          <Country>Canada</Country>
          <Customer>C5</Customer>
          <New>Y</New>
     </Row>
</Root>

Thanks! That works ... I am beginning to understand this a lot better now due to your efforts!
I made a minor change (moved New to the Customer column) and it didn't break anything ... :)

Similar Messages

  • WWI issue: function module with symbol doesn't work in conditional output

    Hi,
    I have created a function module to be used in combination with a symbol that represents the quantity of a composition item in a composition. In some cases a average quantity is not filled and the function module calculates the quantity based on the lower and upper limit of the composition item. This function works perfectly if managed in customising with a symbol or called with a symbol in WWI. When displaying the result of the symbol in a WWI word template it shows the expected value.
    However when I use the symbol with a function module (or the customised symbol with function module) in a conditional output expression, the value it represents in the expression is always equal to zero. It seems that a symbol value that is calculated using a functional module is not calculated properly when used in a conditional output expression. Setting a break in the functional module always shows the correct value, but the value as I already told, is not seen by the conditional output expression. Within the expression the value is always equal to zero.
    Does anyone know if this is a known issue in WWI? Is there any solution to handle this problem? I hope anyone can help.
    Thanks,
    Paul

    Dear Paul,
    only some add on high level ideas:
    if you look at:
    Example: Layout of an Abridged Material Safety Data Sheet - Basic Data and Tools (EHS-BD) - SAP Library
    you find the standard example of SAP for master and slave group:
    2  <11BRG003 (M,SAP_EHS_1012_004;*)> ¶
    3  <03EHS_L_TEXT(CED
      -SDB-01.002)> ¤
    <03EHS_L_TEXT(CED-
    SDB-02-07)> ¤
    <03EHS_L_TEXT(CED-
    SDB-02-05)> ¤
    4  <11BRG002 (S:POS;*)> ¿
    5 <01GESTRIDENT(I:NAM,
    6  IUPAC,;*)> <11ERG002>¤
    7
    8
    9
    <11BRG002 (S:POS; *)> ¿
    <01G1023001R2(C;*)
    ><11ERG002>¤
    <11BRG002 (S:POS;*)> ¿
    <01GESTVPRECL>
    <01GESTVCOMPL(N:" ZZ9,9")>
    <01GESTVCOMPE>
    <11ERG002> ¤
    10  <11ERG003>¶
    The "issue" is that you need to analyse by "line" of POS group; or precisely: it is easy to print lower, upper and average value if it exists.
    In conditional output this example is shown in SAP help:
    <15BIF001(AND:01G1013005VA GE 1)><01G1013005VA(;*/TL)[D:Value]>
    <15CIF001><03EHS_L_TEXT(CUST-100000000000031)[D:Density is less than 1]>
    <15EIF001>
    I believe you need a "clever" nesting together with your customer symbol
    E.g. you need first "test" the contents of the three values and decide about result
    The easiest way could be to use a "table" structure as above.
    Just use column header "lower"; "average"; "upper" value. Then you need to ask your self in which situation what need to printed.
    If you use the table structure and you print just what is there and leave simply lower / upper limit "field" empty if it does not exists (what is bad with this?) you need only this "conditional" output topic done for average value. You could check for: if value > 0.0001 then print the value (as then there is a value); if not use the report symbol in which you calculate something. In my opinion it is worth to try it.
    It is known that you can check "numeric values by using conditional output. I belive tis cintional one des work as well with the "composition" values (lwoer, upper, average),
    May be this approach might help.
    The "stack" examples which are discussed in SAP help and in the links shown are related to "characteristic" values of classes and not for composition ones.
    C.B.
    PS: If this really works you can clearly extend your solution. E.g. if lower value is empty may be print "0", If upper valus is empty may be print "100" etc. (or prepare a further costumer symbol calculating something).

  • Can I use conditional build tags in CSS files?

    I am using RoboHelp X5.0.2 and building CHM files.
    I use conditional build tags to output different Help files
    for the different products we have that all have similarities.
    In the past I have setup the CSS file to show headers, links
    etc in the color scheme we use to keep the look and feel of our
    branding. One of the new products uses a different branding color
    scheme.
    I was wondering if there is a way I can use conditional build
    tags in the CSS file so that when I build one type of help it uses
    header in one color and when I build another help it uses a
    different header color. Does anyone know how to do this? If it is
    not possible in my current version, is it possible in the latest
    version of Robohelp?

    [WORKAROUND ALERT IN X502]
    For .chm output, you could:
    1. In the Topics pane, select all the topics (click on one
    topic and press Ctrl+A).
    2. Right click in the highlighted area and select Properties.
    3. In the Appearance tab, select the different style sheet.
    4. Click Save.
    5. Generate the .chm file.
    6. (optional) Repeat steps 1-4 to revert to previous style
    sheet setting.
    Good luck,
    Leon

  • Mandatory Condition Output Tax MWSI is missing

    Hello Experts,
    We have a situation where the access sequence MWST is using the customer specific tables A509, A902, A906, A908

    Hello Experts,
    We have a situation where the leading system is ECC and the pricing
    procedures, condition types and condition tables are downloaded to the CRM
    system. The access sequence MWST used for the condition type MWSI in the
    pricing procedure is using the customer specific tables A509, A902, A906, A908.
    We got these tables developed in the CRM system as they did not existed
    earlier using the below given SAP Notes and blogs:
    514952
    - Download of customer-specific tables
    441083 - Transferring conditions for
    material group MATKL to CRM
    https://scn.sap.com/community/crm/master-data-and-middleware/blog/2014/02/11/condition-master-data--customizing-download
    1070997 - Condition
    download:Parameter BADI CND_MAP_CNV_FIELD .
    As a result the customer specific condition tables are
    created and filled in the CRM system after the downloads.
    But, when we are creating an order, we are getting an error Mandatory
    Condition Output Tax MWSI is missing and the tax is not determined
    in the transaction.
    Do we have to do some additional developments to get the
    taxes determined in the CRM system.
    Thanks,
    Rishit

  • How to print the GR tag using customised output in TCode MIGO?

    Hi All,
    I created one customized output type for transaction MB90, it working fine for this transaction. So now my client want same smartform to be used in MIGO transaction. I confirgured same, whenever we post the document in MIGO it should the print the GR tag automatically, its not happening i.e its not prininting the GR tag.
    I want to print the GR tag from migo using z-output type. Pls let me know the solution.

    Hi,
       Please chek the following.
    1. Txn. NACE... Choose "ME" and click on "Output Types" ... check in you output types did you maintained the Form (WE01, WE02,WE03)
    2. Txn. NACE....Choose "ME" and click on "condition Records"... here maintain the details
    Trans./Event Type: WE
    Print Version: 1/2/3
    Print iten: 6
    Med: 1
    Dat: 4
    Lang: EN
    Under Communication maintain the "output Device" and flag "print immedi" and "release output"
    SPRO>MM>Inventory Management and Physical Inventory-->Output Determination..
    Here maintain the details
    1. Maintain Conditions
    2. Assign forms and Program
    Regards
    GK.
    Edited by: Gnana Kumar on Nov 11, 2010 11:46 AM

  • How do i use conditional formatting to edit the color of other selected other cells?

    I have been playing around with the conditional formatting feature of Numbers, I have figured out how to change font and background color of the cell i am working with.
    However what i am looking to do is apply a background color formatting to another cell (i.e. F2) if conditions are met in (B2).
    the end game is this,
    I want to make a column of check boxes, and using contional formating i want adject cells to change color (I.e. the example above: if (B2) is a check box, then when unchecked the reffered Cell (F2) does nothing, but when check the color of (F2) changes)
    I can make this happen with Logic equations, the give (i.e. F2) some letter or number value, then using conditional formats i can have the color change. but this leaves that particular cell useless to me (i.e. F2) I am not free to enter or edit text in that cell. (i.e. =IF(B2=TRUE,"Paid","Due") ----> then add a conditional statement that chages color when the value is either "Paid" or "Due")
    How do i have F2 change color, when B2 is checked and still retain the ability to enter information (or potential have another formula) in F2? (The Cell is not used up by "Paid" or  "Due" it is editable just like any other cell)
    is there anyway to change cell characteristics like font, color, and background color inside a formula, because in that way i would be able build it manually
    i tried using the formula editor inside the conditional format pane, but the only infor it will allow me to retain is one partictular cell. i cannot add modifiers like "+" or "=" or anything else. what is that space used for then?
    thanks for anyones help

    MC,
    You can do what you want in Numbers. It requires an auxiliary column and it's a bit tedious to set up because conditional formatting by comparison to another cell isn't relative, so each cell has to be programmed individually with no option to Paste or Fill to other cells in a range.
    For explanation purposes, let's say your checkbox is A2, your cell to be conditionally formatted is B2, and your auxiliary cell is  C2. To have the format of B2 determined by the checkbox status in A2, you will:
    1. In C2 write: =IF(A, B, " ") The " " is any string or value that you don't expect to encounter in B normally, and using the space character means you don't have to worry about having it visible if C is in View.
    2. In B2 use Conditional Format: "Equal To" cell C2 and set your text and fill attributes to be used when the box in A is checked.
    That's it. Do that for every cell in the range.
    Jerry

  • Issues with using the output redirection character with newer NXOS versions?

    Has anyone seen any issues with using the output redirection character with newer NXOS versions?
    Am receiving "Error 0x40870004 while copying."
    Simply copying a file from bootflash to tftp is ok.
    This occurs for both 3CDaemon and Tftpd32 softwares.
    Have tried it on multiple switches - same issue.
    Any known bugs?
    thanks!
    The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
    MDS2# sho ver | inc system
      system:    version 4.1(1b)
      system image file is:    bootflash:///m9200-s2ek9-mz.4.1.1b.bin
      system compile time:     10/7/2008 13:00:00 [10/11/2008 09:52:55]
    MDS2# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    TFTP put operation failed:Access violation
    Error 0x40870004 while copying tftp://10.73.54.194/
    MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    |
    TFTP put operation was successful
    MDS2#
    ck-ci9216-001# sho ver | inc system
      system:    version 3.2(1a)
      system image file is:    bootflash:/m9200-ek9-mz.3.2.1a.bin
      system compile time:     9/25/2007 18:00:00 [10/06/2007 06:46:51]
    ck-ci9216-001# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    |
    TFTP put operation was successful

    Please check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
    1. Download tftpd32b.zip from:
    http://tftpd32.jounin.net/tftpd32_download.html
    2. Copy the tftpd32b.zip file into an empty directory and extract it.
    3. Copy the file you want to transver into the directory containing tftpd32.exe.
    4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
    At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
    Best Regards...

  • How do automate using two output types in an invoice based on plant

    Hello,
    Can you tell me how to configure automatically two output types for the same invoice.
    My client has business in USA and Europe.We are using only one sales organization. But we need to print invoices in letter size and A4 size depending on whether the invoice is created in europe or in USA. So , I have created two output types, one for letter size and one for A4 size. How do I configure so that if it is based in a plant/shipping point in Europe it is printed using the A4  output type else in letter size. Please suggest.
    SAPSDUSER

    I do not think you can use plant/shipping point in your access sequence for invoice output on header level, unless you add these fields to header level kommunication structure and populate these fields in userexit.
    You can either
    1. define requirement routines for your 2 output types which are mutually exclusive (if plant = A routine 1 returns sy-subrc = 0, routine 2 returns sy-subrc <>0, if plant = B routine 1 returns sy-subrc <>0, routine 2 returns sy-subrc = 0). You can assign requirements to output type either in output determination procedure OR in the access sequence. I would do it in output determination procedure. Check transactions NACO or NACE.
    OR
    2. add your fields to komkbv3 communication structure, populate your fields in thsi structure in userexits which are called from the function module komkbv3_fill and then you can either use then in the access sequence for your output types or create routines as in case 1. but the logic will be a simple check statement since KOMKBV3 is available in these routines.
    3. In fact you can use one output type and select your layout in the print program itself... which may be even easier for you. We use this approach to select proper layout for GEOs which may have several layouts depending on region for example... so the output type is defined per country, then layout is selected by print program. (tnapr-fonam = ..., nast-spras = proper language, set country '' to use proper decimal & date format...)
    Message was edited by:
            Siarhei Mahulenka

  • How do you use multiple outputs on a VSTi like Kontakt or Battery?

    how do you use multiple outputs on a VSTi like Kontakt or Battery with Logic Pro 7.1? I've heard someting about using AUX busses, but can anyone please provide an actual clear, step by step basic guide?
    I've had Logic 3 months now and just don't know how to do this yet, and have yet to actually find it in the manual!!
    thx

    http://www.sonikmatter.com/wiki/index.php/Tutorial:MultiChanAudioSetup

  • How to use the Output clause for the updated statment

    How to use the output clause for the below update stament,
    DECLARE @MyTableVar table(
        sname int NOT NULL)
    update A set stat ='USED' 
    from (select top 1 * from #A 
    where stat='AVAILABLE' order by sno)A
    Output inserted.sname
    INTO @MyTableVar;
    SELECT sname
    FROM @MyTableVar;
    Here am getting one error incorrect syntax near Output
    i want to return the updated value from output clause

    see
    http://blogs.msdn.com/b/sqltips/archive/2005/06/13/output-clause.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Is there anyway to have an application use the output for Alerts/Sound Effects?

    I am trying to set some applications to use the output designated for the System Alerts and Sound Effects, while other applications continue to use the regular Output?  I am using the Audio MIDI Utility with Aggregate/Multiple Outputs.

    An action can specify the resources that it needs, which will trigger alerts if they are not there.  Assuming that the system resources are there, you can include actions in an application bundle - see the Installing Actions section of the Automator Programming Guide.

  • Can you transfer data from one numbers spreadsheet to another using conditional formatting?

    I have a tracker document set up for client payments and when I indicate payment received, it  flags green using conditional formatting. However I would like these to automatically transfer to another sheet - without having to cut and paste the associated data to the other sheet. Can I set up conditional formatting to do this? If not how could I get and automatic transfer?
    thanks forum.

    Hi Kangers,
    There are a number of ways to transfer data from one table to the next. It should not be hard to set up.
    Conditional formatting would not be involved it moving the data but you could set it up to flag the data in the new table.
    Without knowing what your tables and data look like it is hard to propose a solution.
    quinn

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

  • How to determine the process alias using condition technique in Transportation & Shipment Scheudling?

    Dear All,
    I am trying to use the functionality Transportation and Shipment Scheduling in GATP.
    I would like to know that how the sytem determines the process alias using condition technique in Transportation & Shipment Scheudling?
    As the Transportation & Shipment Scheduling functionality can be extended further by using the configurable process to overcome the complex scenario. But it needs that process alias should not be determined by using the condition technique.
    Moreover, is it possible to use both functionality simultaneously in the system. i.e. Transportation and Shipment Scheduling using condition technique and Transportation and Shipment Scheduling using configurable process?
    Thanks & Regards
    Piyush Ranpura

    Hi Piyush,
    I have added a small overview in the SCN WIKI which shows you the two ways for the process alias determination and also here as attachment:
    http://wiki.sdn.sap.com/wiki/display/SCM/Time+and+Scheduling+Functions
    Yes, depending on your customizing you can use both scheduling methods in parallel. e.g. you activate CPS just for a specific ITEM category or product and/or customer and/or....what ever you want.
    best regards,
    Michael

  • How to use Bpel output as input in stored procedure

    I am a SOA beginner. The scenario is to use the output from a BPEL process in a stored procedure as input and validate it against the data in the database. The data received from BPEL is compared with fields from different tables.
    It is basically a business process data validation.
    Will the output of BPEL be a Xml file and how it can b used in query of a procedure?
    Edited by: 869091 on Jun 29, 2011 12:14 AM

    The output from the BPEL process will be in XML format.
    Your requirement is not clear, please state it properly what are you trying to do.
    -Yatan

Maybe you are looking for

  • Pages (and Keynote and Numbers) won't open after restore from Time Machine.

    Hi, I tried to open my iWork suite tonight and kept getting an error message 'Pages cannot be opened because of a problem' followed by the text, below. Has anyone got any idea what I have done? What I need to do to get them back working? Recently I d

  • Auto scrolling menu layer?

    I don't know why I am having so much trouble finding this, but every thing I search for turns up the wrong results. Results are for news ticker type scrollers and flyout menus (wrong). I am looking for a script / extension to take a layer / div conta

  • I'm trying to organize LR4 lib for 1st time

    Hi,   I've installed LR4.  At installation, it created a Lightroom folder in my Pictures folder (I have an iMac).  Also inside the Pictures folder is a folder I created called Mike's LR Photos (I'm trying to follow Scott Kelby's book).  Within my "Mi

  • Crystal Dictionnaries

    Hi, We recently convert our crystal reports from 8.5 version to CR XI Release II, professionnal. So, we've find some other things haven't been convert and we want to know how to convert it and if we've to buy a complement to CR XI. Thank you to help

  • Cannot open emails after reading 2 or 3

    Can someone tell me why after reading 2 or 3 emails I cannot open any more?? I'm running Win Vista?? Many thanks