Syntax in xsl for the below condition

i am having a condition like below
<DATA_DS>
<G_1>
<MBR_ID>AD32575H</MBR_ID>
- <G_2>
<IND>CLAIM</IND>
- <G_3>
<SERVICE_CODE />
<QTY_DISP>0</QTY_DISP>
<SUPPLY_DAYS>0</SUPPLY_DAYS>
<RATE_CD>3874</RATE_CD>
</G_3>
- <G_3>
<SERVICE_CODE />
<QTY_DISP>0</QTY_DISP>
<SUPPLY_DAYS>0</SUPPLY_DAYS>
<RATE_CD>3874</RATE_CD>
</G_3>
- <G_3>
<SERVICE_CODE />
<QTY_DISP>0</QTY_DISP>
<SUPPLY_DAYS>0</SUPPLY_DAYS>
<RATE_CD>3874</RATE_CD>
</G_3>
</G_2>
<G_2>
<IND>SUM</IND>
- <G_3>
<MBR_ID_1>AD32575H</MBR_ID_1>
<NDC_CLAIMS_ENC_CT>4</NDC_CLAIMS_ENC_CT>
<NDC_CLAIM_PD_AMT_SUM>-44</NDC_CLAIM_PD_AMT_SUM>
<NDC_QTY_DISP_TOT>0</NDC_QTY_DISP_TOT>
<SUPPLY_DAYS_TOT>0</SUPPLY_DAYS_TOT>
</G_3>
</G_2>
- <G_2>
<IND>PROC</IND>
- <G_3>
<MBR_ID_1>AD32575H</MBR_ID_1>
<PROC_CD_SUM />
<PROC_CD_DESC>Primary</PROC_CD_DESC>
<PROC_CD_TYPE>Proc Test Desc</PROC_CD_TYPE>
<PROC_CLAIMS_ENC_CT>4</PROC_CLAIMS_ENC_CT>
<PROC_CLAIM_PD_AMT_SUM>-44</PROC_CLAIM_PD_AMT_SUM>
<PROC_UNITS_DME_SUM>0</PROC_UNITS_DME_SUM>
</G_3>
</G_2>
</G_1>
</DATA_DS>
LIKE that it repeats for different ind in g_2 but i need to show only data in g_3 when the ind in g_2 =claim
do you have any idea how to write an xsl syntax for that i need to place that in the excel template.
i achived it in etext template by keeping two levels
level DATA_DS/G_1/G_2[IND='CLAIM']
level ./g_3
so i am able to show it in etext template but i dont have any idea how to write it in xsl syntax for excel template

I sent a reply to your email. Take a look to see if that helps..
Thanks,
Bipuser

Similar Messages

  • Required clarification for the below code:

    Hi All,
    For one of my requiremnet, i found one solution which worked as expected.. But i was not able to understand the logic.. Can any one explain me the below
    syntax what exactly the meaning for the below code:
    Code:
    SELECT NULL
    FROM apex_application_page_ir_cond cond
    WHERE cond.application_id = v('APP_ID')
    AND cond.page_id = v('APP_PAGE_ID')
    AND cond.condition_type = 'Filter'
    AND cond.condition_enabled = 'Yes'
    AND cond.report_id = (SELECT report_id
    FROM apex_application_page_ir_rpt
    WHERE application_id = v('APP_ID')
    AND page_id = v('APP_PAGE_ID')
    AND application_user = v('APP_USER')
    AND report_type = 'SESSION'
    AND TO_CHAR (session_id) = v('SESSION')
    AND report_name IS NULL))
    For your refernec i have enclosed the link also
    URL : Re: Interactive_Report with Search Bar only
    Thanks,
    Anoo..

    Anoo,
    Two things. First, it makes things a lot easier if you put "&#123;code}" (no quotes) around your SQL when you post it:
    SELECT rowid "EDIT", attr_code,ATTR_ATCL_CODE "Atcl Code", attr_description, attr_atcl_code,
                    attr_abbreviation,
                    attr_include_short_desc "Include short desc",
                    attr_include_long_desc "Include long desc",
                    attr_attr_type "AttrType", rowid "DELETE"
               FROM t_new WHERE EXISTS (SELECT 1 FROM APEX_APPLICATION_PAGE_IR_COND WHERE APPLICATION_ID = :APP_ID AND PAGE_ID = :APP_PAGE_ID AND CONDITION_ENABLED = 'Yes'
    AND APPLICATION_USER = :APP_USER) ORDER BY attr_description;Though the spacing still needs work, it's a little easier to read.
    Second, your query's exist clause just checks for an enabled condition, without checking the condition type. Without checking, I'd guess that either APEX creates at least one internal condition, or that your IR has a default condition on it (other than a filter). Try adding the condition_type constraint to your where clause to see if that fixes it.
    Also, I noted that you don't have the extra code for getting the report_id. It shouldn't be necessary, since there's currently only support for one IR per page, but you asked what the differences are.
    -David

  • I want to retrieve data from p0001-PLANS based on the below condition,

    Hi,
    I want to retrieve data from p0001-PLANS
    based on the below condition
    select stext from hrp1000 where plvar = '01' and otype = 'S' and objid = p0001-plans and begda GE pn-begda and endda LE pn-endda.
    Thanks,
    Rama.

    Hi
    Based on the Query you have specified thoise are stoerdin an Internal table- then
    select stext from hrp1000 into table t_hrp where plvar = '01' and otype = 'S' and objid = p0001-plans and begda GE pn-begda and endda LE pn-endda.
    The check table for this PLANS is T528B .
    if t_hrp[] is not intitial.
    select * from t528B intot table t_528 where plans eq t_hrp-plans.
    endif.
    Now you can get the PLANS data.
    Refer to the Text tbale for PLANS -  T528T
    To get the TEXTS -
    if t_hrp[] is not initial.
    select * from T528T into table t_528T where plans eq t_hrp-plans.
    endif.
    Regards
    Lekha

  • How to deal with BRS for the below scenario?

    Hi,
    I would like to know the solution for the below scenario for BRS:
    I have a customer who was maintaining their accounts with Tally software for their previous Financial Year. This year they have shifted to SAP B1 2005B. They have issued few cheques for their vendors in the month of march 2008 which has been realised in the month of April 2008. As per Tally, the closing balance of their bank is 8 Lakh but as per the bank statement, their closing balance is 23 Lakhs. In SAP, the opening Balance for the bank is considered as 23 Lakhs. Now there are 15 Lakh worth cheques which were not realised for the month of March 2008.
    Example:
    abc a/c - 3Lakh
    def a/c - 5lakh
    xyz a/c - 7 lakh
    How do i reconcile for this scenario and what procedures do i follow in SAP?
    Thanks and Regards,
    Kaushal

    Hi Kamlesh,
    Thanks for your response.
    Actually, In the "Process External Bank Statement" window, i see that there are few entries which is for the previous year and which has not been reconciled. I have never worked practically on BRS and hence, i am scared to make any changes in the clients database without being confident on what i am doing. I need to reconcile for one of their Bank a/c for the month of April '08. I have the copy of the statements for the month ending 31st Mar 08 and 30th Apr 08. The closing balances are as below:
    31/03/08 - 2300000.00
    30/04/08 - 3100000.00
    Now my OB for Bank a/c for April '08 in SAP is 2300000.00 Dr.
    When i go to External Bank Reconciliation - Selection Criteria Screen (Manual Reconciliation), here are the detail that i enter:
    Last Balance: INR -7,000,000.00000 (Grayed out by the system)
    Ending Balance: INR -3,100,000.00000 (Entered by me)
    End Date: 30/04/08 (Entered by me)
    "Reconciliation Bank Statement" Screen opens up and shows the below balances in the screen:
    Cleared Book Balance: INR -7,000,000.00000
    Statement Ending Balance: INR -3,100,000.00000
    Difference: INR 3,800,000.00000
    As per the Bank statement, i have found all the transactions listed out here for the month of Apr '08 but, i also found that the open transactions for the previous month from April '08 have been lying in "Process External Bank Statement" window.
    Could you please help me solve my issue as to what needs to be done or could you also get me some links from where i can get few documents for processing External Bank Reconciliations?
    That will be of a great help for me. I need steps as to what needs to be done first and then the next so that i can arrive at the correct closing balance for the month April '08.
    Thanks in Advance....
    Regards,
    Kaushal

  • Need Help in finding the Menu Path's for the below topics

    Hi,
    Where can i get the menu paths for the below topics in SAP syste. I have searched in the system,But couldnot find the Menu Path's for the below topics.Kindly help me in finding the configuration Path for the below...
    1)Public tendering process
    2)Grants Management
    3)Tax & Revenue management
    4)Public sector accounting --> Budget formulation, preparation, execution & Monitoring.
    Thanks
    Rajitha M

    Hi,
    Check for the relevant path in IMG in Public Sector Management.  The prerequisites being configuration of Financial accounting
    sub modules.
    Best Regards,
    Sadashivan

  • ABAP Routine code for the below logic

    Hello BW Experts ,
    I need to write a complex ABAP routine in BW .
    Following is the detail explaination .
    Can anyone tell me the ABAP code for the below logic?
    It would be a greate help as I am unable to do this
    since last two days.
    WBS Elements are maintained at  IOS and  Warranty levels in R/3 side.
    The IOS WBS is a top level of WBS element and below that the Warranty WBS level.
    The IOS and Warranty WBS elements can be differentiated by means of priority field.
    When priority = i   , WBS Element is known as  IOS Level WBS Element and
    When  priority = Y the WBS element is known as Warranty WBS element.
    The Equipment Number is maintained compulsorily at IOS Level WBS elements only.
    It is not maintained at  Warranty WBS Element.
    But the Cost is maintained at Warranty WBS Elements.
    In BW I need all Warranty WBS ( priority = Y) along with their cost figures and Equipment Numbers.
    But as the Equipment Number is not maintained compulsorily at Warranty WBS level we have asked to
    Copy it from  IOS WBS ( priority = i ) and assign it to Warranty WBS level ( priority = Y ).
    So I have included the Equipment Number in the ODS and in update rules I need to write the routine for it as
    per the above logic.
    The Equipment Number is coming from Master data of  WBS Element.
    The WBS element master data we are loading in BW .
    Also the same WBS Element transaction data is coming from the transaction data data source in BW.
    Following fields / infoobjects and the table names in BW :
    1. Equipment Number : /BIC/ZEQUIPMNT  and table name /BIC/MZWBS_ELEM.
    2. WBS Element       : ZWBS_ELEM  is coming from transaction data data source as well as master data.
                                     In ODS update rules it is coming from  transaction data data source Comm_structure-ZWBS_ELEM.
                                     Also we are loading separetly the master data for ZWBS_ELEM.
                                     The  ZEQUIPMNT is an attribute of ZWBS_ELEM.
    3. Priority                :  PRIORITY     and table name /BIC/MZWBS_ELEM.
                                      The info object name for Priority is 0Priority but in master data table /BIC/MZWBS_ELEM
                                      the field name is    PRIORITY.
                                     When PRIORITY = ' i ' then    ZWBS_ELEM is at IOS Level
                                     When PRIORITY = ' y ' then  ZWBS_ELEM is at Warranty Level.
    4. ODS name :  /BIC/AZCOST00 and same is table name active data table .
    So please tell me the routine Code .
    Best Regards ,
    Amol.

    Hi Dinaker,
    Did you find any solution for this issue. I too have a similar requirement of pulling all the service orders for a specific Purchase Order in the BW report.
    Thanks,
    SAPBWI

  • Performance for the below code

    Can any one help me in improving the performance for the below code.
    FORM RETRIEVE_DATA .
    CLEAR WA_TERRINFO.
    CLEAR WA_KNA1.
    CLEAR WA_ADRC.
    CLEAR SORT2.
    *To retrieve the territory information from ZPSDSALREP
    SELECT ZZTERRMG
           ZZSALESREP
           NAME1
           ZREP_PROFILE
           ZTEAM
         INTO TABLE GT_TERRINFO
         FROM ZPSDSALREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
    LOOP AT GT_TERRINFO INTO WA_TERRINFO.
      SELECT SINGLE * FROM KNA1 INTO WA_KNA1
                      WHERE KUNNR = WA_TERRINFO-SALESREP.
      SELECT SINGLE * FROM ADRC INTO WA_ADRC
                      WHERE ADDRNUMBER = WA_KNA1-ADRNR.
      IF NOT WA_ADRC-SORT2 IS INITIAL.
      CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
      MOVE SORT2 TO WA_TERRINFO-SORT2.
    MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
      APPEND WA_TERRINFO TO GT_TERRINFO1.
      CLEAR WA_TERRINFO.
      ENDIF.
      CLEAR WA_KNA1.
      CLEAR WA_ADRC.
    ENDLOOP.
    ENDFORM.                    " RETRIEVE_DATA

    Hi
    The code is easy so I don't think you can do nothing, only u can try to limit the reading of KNA1:
    FORM RETRIEVE_DATA .
      CLEAR WA_TERRINFO.
      CLEAR WA_KNA1.
      CLEAR WA_ADRC.
      CLEAR SORT2.
    *To retrieve the territory information from ZPSDSALREP
      SELECT ZZTERRMG
      ZZSALESREP
      NAME1
      ZREP_PROFILE
      ZTEAM
      INTO TABLE GT_TERRINFO
      FROM ZPSDSALREP.
      SORT GT_TERRINFO BY SALESREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
      LOOP AT GT_TERRINFO INTO WA_TERRINFO.
        IF KNA1-KUNNR <> WA_KNA1-KUNNR.
          SELECT SINGLE * FROM KNA1 INTO WA_KNA1
               WHERE KUNNR = WA_TERRINFO-SALESREP.
          IF SY-SUBRC <> 0.
            CLEAR: WA_KNA1, WA_ADRC.
          ELSE.
            SELECT SINGLE * FROM ADRC INTO WA_ADRC
                                     WHERE ADDRNUMBER = WA_KNA1-ADRNR.
            IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
          ENDIF.
        ENDIF.
        IF NOT WA_ADRC-SORT2 IS INITIAL.
          CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
          MOVE SORT2 TO WA_TERRINFO-SORT2.
    * MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
          APPEND WA_TERRINFO TO GT_TERRINFO1.
          CLEAR WA_TERRINFO.
        ENDIF.
      ENDLOOP.
    ENDFORM. " RETRIEVE_DATA
    If program takes many times to upload the data from ZPSDSALREP, you can try to split in sevaral packages:
    SELECT ZZTERRMG ZZSALESREP NAME1 ZREP_PROFILE ZTEAM
      INTO TABLE GT_TERRINFO PACKAGE SIZE <...>
      FROM ZPSDSALREP.
      SORT GT_TERRINFO BY SALESREP.
    *Preparing Corporate ID from KNA1 & ADRC and storing it in SORT2 field
      LOOP AT GT_TERRINFO INTO WA_TERRINFO.
        IF KNA1-KUNNR <> WA_KNA1-KUNNR.
          SELECT SINGLE * FROM KNA1 INTO WA_KNA1
               WHERE KUNNR = WA_TERRINFO-SALESREP.
          IF SY-SUBRC <> 0.
            CLEAR: WA_KNA1, WA_ADRC.
          ELSE.
            SELECT SINGLE * FROM ADRC INTO WA_ADRC
                                     WHERE ADDRNUMBER = WA_KNA1-ADRNR.
            IF SY-SUBRC <> 0. WA_ADRC. ENDIF.
          ENDIF.
        ENDIF.
        IF NOT WA_ADRC-SORT2 IS INITIAL.
          CONCATENATE 'U' WA_ADRC-SORT2 INTO SORT2.
          MOVE SORT2 TO WA_TERRINFO-SORT2.
    * MODIFY GT_TERRINFO1 FROM WA_TERRINFO.
          APPEND WA_TERRINFO TO GT_TERRINFO1.
          CLEAR WA_TERRINFO.
        ENDIF.
      ENDLOOP.
    ENDSELECT.
    Max

  • Trying to find out the sql for the below 3 values

    HI Experts,
    I am trying to find the sql that can give me the values for the below three values. can some one Help me out getting these ?
    Free buffer waits (%)
    Local write wait (%)
    Latch: cache buffer chains (%)
    Actually these are the metrics which are available in OEM for the DB releases up to 9i. Post 9i releases , these metrics are obsoleted.
    So, trying to find the sql for these and use them as an UDM for the 10g and 11g DB's
    Thanks in Advance.
    Thanks,
    Naveen kumar.

    And is there any why to find using what sql the metrci is formed ?

  • UDF reqiured for the below reqiurement

    Hi ALL,
    Can any one help me out by sending the javacode for the below reqirement.
    My sender data is coming from database.So based on  2 fields i have to spilt the idocs at target side.
    my reqirement is
    1)Material number and 2)Batch
    Case 1: For the same material number  if the batch is empty  spilt it into idocs
    I.e   material number -
    > 123
           batch               -
    > empty
                                             123
                                             empty
    In the above case it must be splited into 2 idocs
    Case 2: For the same material number if the batch is  same then  spilt  these data into  idocs
             material number -
    > 123
             batch               -
    > 11
                                             123
                                             11
    In the above case it must be splited into 2 idocs
    Case 3: For the same material number if the batch is  different  then combine  these data into one idoc
    material number -
    > 123
             batch               -
    > 11
                                             123
                                             12
    In the above case it must be combined into 1 idoc
    however if material number changes new idoc must be cretaed.
    Good points will be given

    Hi Raj,
    Please see the xml structure.It does not come in the sorted order
    <?xml version="1.0" encoding="utf-8" ?>
    - <row>
      <BEGIN />
      <IDOC_ID>5c6b4851bb25583baa47b0c8ff6b8ce4</IDOC_ID>
      <TS>2010-03-30 15:04:52.781957</TS>
      <STATE>1</STATE>
      <PLANT>2401</PLANT>
      <COUNTRYCODE />
      <STGE_LOC>0100</STGE_LOC>
      <DOC_DATE>20100330</DOC_DATE>
      <MATERIAL>000000000001201501</MATERIAL>
      <BATCH />
      <SERIALNO>000000000000000000</SERIALNO>
      <ZREASON>45</ZREASON>
      <ZQUANTITY>00000000000003-</ZQUANTITY>
      <ZQUAN_UNIT>STK</ZQUAN_UNIT>
      <IDOC_ID>5c6b4851bb25583baa47b0c8ff6b8ce4</IDOC_ID>
      </row>
    - <row>
      <BEGIN />
      <IDOC_ID>5c6b4851bb25583baa47b0c8ff6b8ce4</IDOC_ID>
      <TS>2010-03-30 15:04:52.781957</TS>
      <STATE>1</STATE>
      <PLANT>2401</PLANT>
      <COUNTRYCODE />
      <STGE_LOC>0100</STGE_LOC>
      <DOC_DATE>20100330</DOC_DATE>
      <MATERIAL>000000000001201501</MATERIAL>
      <BATCH />
      <SERIALNO>000000000000000000</SERIALNO>
      <ZREASON>45</ZREASON>
      <ZQUANTITY>00000000000002-</ZQUANTITY>
      <ZQUAN_UNIT>STK</ZQUAN_UNIT>
      <IDOC_ID>5c6b4851bb25583baa47b0c8ff6b8ce4</IDOC_ID>
      </row>

  • I'm trying to download what's app chatting application and the massage given (need your secret answers for the below questions to proceed your purchase request ) but the problem is I forgot my answers :((( how can I reset the questions and the answer ????

    I'm trying to download what's app chatting application and the massage given (need your secret answers for the below questions to proceed your purchase request ) but the problem is I forgot my answers :((( how can I reset the questions and the answer ????

    Visit this site: http://support.apple.com/kb/HT5312

  • Dimensions for the below cubes.

    Hi All,
    My interview Q was :
    Could you plz provide me the Dimensions for the below Cubes:
    0SD_C03, 0SD_C05, 0SD_C01, 0PUR_C01
    How to find out the dimensions from the help files?
    Any other Dimensions except unit, time n pkg Dim ?? Are there any particular/specific Dim for each of these cubes ?
    Thanks in Adv.

    Hi,
    0sd_c03 having following dimensions by default
    Data Package, Time, Unit, Organization, SD Document Category, Customer, Material, Value Type, Version, Sales Area, Document Classification.
    install your required infocube's from BI content.
    double click on the particular infocube. you can able to see the dimensions available for that infocube's.
    hope this help you
    regards
    harikrishna N

  • Need to find a BAPI for the below requirement

    Hi All,
    Need to find a BAPI for the below requirement.
    We are assigning roles to users using SU01 T-Code and we are in the process of automating this and since we need a BAPI which can do this. Apart from assigning roles to users, SU01 T-code is doing many functionalities, but if we can get a BAPI which can perform assigning roles to users will suffice the requirement.
    Thanks in advance,
    Srilakshmi.

    Hi SreeLakshmi
    see the list of BAPIs given below.
    1065 Business Object Employee
    BAPI_JOBROLE_CLONE Create a User Role in Another System By Copying
    BAPI_BUPA_ROLES_GET SAP BP, BAPI: Determine All Roles
    BAPI_BUPA_ROLE_ADD SAP BP, BAPI: Add Role
    BAPI_BUPA_ROLE_EXISTENCE_CHECK SAP BP, BAPI: Check Existence of Role
    BAPI_BUPA_SET_ROLE SAP BP: Set Object Part / Roles
    BAPI_GET_EVENTTYPE_FOR_ROLE Determine Business Event Types Using Standard Role
    BAPI_EMPLOYEET_CHANGEPASSWORD Change employee password
    BAPI_EMPLOYEET_CHECKPASSWORD Check employee password
    BAPI_EMPLOYEET_CREATE_PW_REG Create entry for employee password
    BAPI_EMPLOYEET_DELETE_PW_REG Delete entry for employee password
    BAPI_EMPLOYEET_DEQUEUE Unlock employee
    BAPI_EMPLOYEET_ENQUEUE Lock employee
    BAPI_EMPLOYEET_GET_PW_REG Read entry for employee password
    BAPI_EMPLOYEET_INITPASSWORD Initialize employee password
    Reward if helpful
    Regards
    Lakshman

  • Which Image should we need for the below model router 2951 to support 4 Byte ASN number ?

    Hi All,
    Which Image should we need for the below model router 2951 to support 4 Byte ASN number ?
    CISCO2951/K9
    Cisco 2951 w/3 GE 4 EHWIC 3 DSP 2 SM 256MB CF 512MB DRAM IPB
    PWR-2921-51-AC
    Cisco 2921/2951 AC Power Supply
    CAB-ACSA
    AC Power Cord (South Africa) C13 BS 546 1.8m
    HWIC-BLANK
    Blank faceplate for HWIC slot on Cisco ISR
    ISR-CCP-EXP
    Cisco Config Pro Express on Router Flash
    MEM-2951-512MB-DEF
    512MB DRAM (1 512MB DIMM) for Cisco 2951 ISR (Default)
    MEM-CF-256MB
    256MB Compact Flash for Cisco 1900 2900 3900 ISR
    SM-S-BLANK
    Removable faceplate for SM slot on Cisco 290039004400 ISR
    SL-29-IPB-K9
    IP Base License  for Cisco 2901-2951
    S2951UK9-15501T
    Cisco 2951 IOS UNIVERSAL
    EHWIC-1GE-SFP-CU
    EHWIC 1 port dual mode SFP(100M/1G) or GE(10M/100M/1G)

    > Can someone suggest ?
    a forum is no realtime-communication ... ;-)
    For the ISR G1, it was supported from 12.4(24)T, so I would assume that your ISR G2 has this feature if you are running 15.x.
    EDIT: The Feature-navigator says that it's supported starting with 15.1(2)T.

  • How to give if condition in XSLT for the below issue

    I have a customer order in .Txt which is picked by my FTP process & in mediator mapping will be done. Here i have an issue where the Txt file is in delimiter file it is having Customer Order number(CON) in each line of a single record,now i have to ignore the CON and to pic all the other details of the same Order. Here in the below i'm placing the sample file. where each order no. is repeated along with remaining details of same order. My problem is when i deployed each CON of line is taking as a single order., after reading CON details once it should jump to new CON. In this Stock code & Quantity are changing, so it should pic this excluding CON in each line.
    Customer order number;Order Date;Stock code;Quantity;Leverans adress namn;Leverans adress rad 1;Leverans adress rad 2;Leverans adress rad 3;Postnummer;Stad;ButiksID
    "61068344";"31-01-11";"02716Z0";"1";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068344";"31-01-11";"99H10048-00";"1";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068344";"31-01-11";"99H10046-00";"1";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068344";"31-01-11";"100-99150000-60";"4";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068344";"31-01-11";"0278812";"2";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068344";"31-01-11";"534970";"1";"Telenor Sverige AB";"Inköp Verkstan";"Industrigatan 33B";"";"212 28";"Malmö";"302"
    "61068373";"31-01-11";"1234-0433";"1";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"100-92080000-60";"30";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"0138";"40";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"CM011674";"40";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"CM012044";"10";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"IC416";"30";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"1230-1847";"10";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"99H10046-00";"2";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"
    "61068373";"31-01-11";"CPW012602";"30";"Strålfors Svenska AB";"Web Consumer";"Logistik Telenor";"Långgatan 8";"341 38";"Ljungby";"269"

    Here i missed one thing to say, After reading all the fields from first record of CON the Stock_Code & Quantity to be picked and added in the same record from next line of CON untill the CON is changed. For this can we do with NXSD file? using which option can we use this? & how can we complete this in XSLT?

  • Pls. JS for the below simple IF statement

    Hello,
    I am new to JavaScript, could you pls. consolidate the below 2 IF statements into only 1 summary IF statement (I mean, put the red IF statement into blue IF statement)
    my_form:Page1:SunForm1:Middle_Name_text_field ::: Change JavaScript
    I wrote the below code in the CHANGE event of a text field of "Middle_Name_text_field"
    // Hide associated check box
    // As soon as user started entering the data, make associated check box as invisible
    // or if erased the data again then make the check box visible
    if (xfa.event.newText.length > 0) {
         MiddleName_CheckBox.presence = "hidden";
    else {
    // I guess, the below red piece should come here
         MiddleName_CheckBox.presence = "visible";
    var yc  //Yellow color
    yc = " "
    yc = (this.ui.oneOfChild.border.fill.color.value);
    // If the Middle Name text field is colored with yellow, then make it again invisible, no matter wht the above IF statement yileds in
    if (yc == "255,255,191") {
         MiddleName_CheckBox.presence = "hidden";
    Thank you

    Hi,
    This should work:
    // Hide associated check box
    // As soon as user started entering the data, make associated check box as invisible
    // or if erased the data again then make the check box visible
    var yc = (this.ui.oneOfChild.border.fill.color.value);
    if (xfa.event.newText.length > 0 || yc == "255,255,191") {
         MiddleName_CheckBox.presence = "hidden";
    else {
         MiddleName_CheckBox.presence = "visible";
    The || is JavaScript for "or", so that if either condition is met the field is hidden.
    Hope that helps,
    Niall

Maybe you are looking for