How to eliminate few subelements from source pay load structure

Hi,
     I have requirement like this, there are 4 sub elements in the source structure, but I need only 2 sub elements in the target structure. The following is the source pay load,
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns9:MTI_MANU_PROMOTION xmlns:ns9="http://limited.com/usa/Sap_appl/SapRetail/PromoPriceZone">
- <RECORDS>
            - <UDT_PRICELOCZONE action="INSERT">
- <access>
                      <LOC>0000000003</LOC>
                      <U_PRMOPRICEZONE1>EVENT1</U_PRMOPRICEZONE1>
                 </access>
- <access>
                      <LOC>0000000009</LOC>
                      <U_PRMOPRICEZONE1>1</U_PRMOPRICEZONE1>
                 </access>
- <access>
                      <LOC>4323</LOC>
                      <U_PRMOPRICEZONE1>1</U_PRMOPRICEZONE1>
                 </access>
- <access>
                      <LOC>0000000008</LOC>
                      <U_PRMOPRICEZONE1>1</U_PRMOPRICEZONE1>
                 </access>
            </UDT_PRICELOCZONE>
       </RECORDS>
  </ns9:MTI_MANU_PROMOTION>
So how to eliminate other 2 sub elements in the source structure?
Any one with better suggestions, about this idea?
Thanks in advance for all.

Hi
raju jut check LOC exists with the help of exists functionality (node functions)
Use this for input for ifwithout else(boolean function)
And use your access node as a input at "then"
I hope you will get the output.
Check your other thread regarding http sender.
Regards
Piyush.

Similar Messages

  • How to  upload Transaction data from source system to BI 7.0

    Dear friends,
    I want to know how to  upload Transaction data from source system to BI 7.0.
    if anybody having step by step material for this process ,please send it to my
    mail id.
    [email protected]
    [email protected]
    Thanks,
    D.prabhu

    Hi,
    it works in the same way as before in case you are not using the new features like the dtp and the transformations. Using the new features, you schedule a infopackage to load the data up to psa and schedule a dtp to post the data to the targets.
    regards
    Siggi
    PS: We want to share knowledge in sdn and not keeping it private by having the information sent to our email adresses.

  • How long CSS blocks flow, from source which detected as source DoS?

    My application generates except normal flow, flow which CSS treats as DoS attack. Both flows have the same source.
    I am afraid that, CSS can block proper flow.
    So, I have question: how long CSS blocks flow, from source which detected as source DoS?
    Krzysztof

    I am not very sure of the lenghth of time that it blocks the flow from the source, if it is considered as a source of DoS attack, but the workaround would be to bypass the cache for that particular source, since you are already aware that it might cause a problem. You could use a bypass rule to do so. You can also use the flow timeout feature with the flow port[1|2|3|4|5|6|7|8|9|10] timeout command to configure a flow timeout value for a TCP or UDP port. I am not very sure if this feature would help in your situation, bypass seems to be a better option.

  • How to update other infotype from source infotype via function module?

    Want in source infotype to call a func.module, which shall update other infotype(s) in background.
    Have tried out with HR_INFOTYPE_OPERATION, but without success - gives mitchmatch of source it and target it in the internal it buffer tables.
    How to do?
    Requirements also are to secure rollback, if update of the last of ex. 3 target its fails.
    Anyone has experience on this issue?
    Regards Søren

    Know this functionality - also by means of own coding in the PAI by filling the int. tables dynmeas + initial_values. However the issue remains, i.e. the update has to be done by a function module called from PAI of own infotype, and from a function module you can't trigger the T588Z-functionality.
    The update of it0003 from own it9300 is only an example, have general requirements that:
    - from own infotype PAI a function module shall be called
    - from the function module update of other infotypes 
      shall take place (modify as well as insert and delete)
    - if more infotypes shall be updated from source infotype,
      rollback shall take place if ex. update of last target
      infotype fails (all to be updated or none!).
    Regards Søren

  • How to eliminate the noise from the stepper motor

    I’m using stepper motors to move a traverse on which a hot-wire anemometer probe is mounted. When the stepper motors are turned on, they induce noise on the analog signal of the hotwire anemometer, or of any other transducer, at multiples of 120Hz.
    The stepper drives are P41 Series made by American Precision Inc. The P41 Series contains a power supply, a motor drive and a logic controller. The logic controller inputs are optically isolated and utilize the 5 VDC supplied internally by the drive.
    An NI 6251 or NI 6024E DAQ card is used with LabVIEW to send digital output signal to the logic controller in order to step the motors.  
    The AI input channels of either NI 6251 or NI 6024E DAQ cards and LabVIEW are used to acquire the signal of the hot-wire anemometer. Different DAQ cards are used for the data acquisition and the stepper motor control and the noise is transferred through the laptop to the data acquisition card (analog signal).
    All cables are shielded and the noise was confirmed to be conductive and not radiative.
    There was no difference when measuring the analog signal with Differential or RSE.
    As a test, the leads from to the drive’s logic controller were connected to the AI input channels in order to check the magnitude and frequency of the noise flowing to the DAQ card and were found to be 5 V peak-to-peak at 60 Hz.
    Please let me know if you have an idea on how to eliminate this noise.

    It sounds like you have a ground loop issue.  If possible, try totally isolating the stepper controller from the data acquistion AI more than you already have.  This could include any of the following:
    Ensure the optoisolation on the control lines fully separates the power and ground of the digital output and stepper input.
    Use different grounds for the stepper power supply and the DAQ power supply/computer.  Isolation transformers can help here.
    Use lower inductance lines for the stepper controller.  This will reduce the movement of the ground.
    I suspect you have probably been over the above, so you are left with filtering the noise out of the signal.  Since it has high harmonic content, a simple low-pass is unlikely to work well.  Your best bet is probably to characterize it and use some sort of Fourier filtering.  If the relative sizes of the harmonics are always the same, you can take the Fourier transform, find the height of the fundamental, use this to calculate the sizes of the harmonics, delete them from the Fourier transform, and do an inverse Fourier transform to recover your signal.  Alternately, you can use a series of narrowband filters to remove the noise, although this will also remove any signal at the same frequencies.  It is better if you can improve your circuitry to remove the noise.
    Good luck.  Let us know if we can help you more.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • HOW TO ELIMINATE UNWANTED DATA FROM ADF

    When I call the bpel in ADF app's I'm getting output.Input like compositename and output is compositeStatusDtails.
    I'm getting the output like {#item='CLOSED AND COMPLETED',#item='CLOSED AND STALE'},I don't want *'#item='* how to eliminate it.
    Thanks
    Mani

    Hi shray,
    In BPEL I'm executing the Query for getting the composite status details.Query is
    SELECT (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
    WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
    WHEN STATE=3 THEN 'OPEN AND FAULTED'
    WHEN STATE=4 THEN 'CLOSED AND PENDING'
    WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
    WHEN STATE=6 THEN 'CLOSED AND FAUTED'
    WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
    WHEN STATE=8 THEN 'CLOSED AND ABORTED'
    WHEN STATE=9 THEN 'CLOSED AND STALE'
    WHEN STATE=10 THEN 'NON-RECOVERABLE' ELSE STATE || '' END) AS STATE, COUNT(*) AS NUM_OF_CUBE_INST FROM soainfra.CUBE_INSTANCE where composite_name = :CompositeName GROUP BY STATE;
    When I test bpel it's working fine in EM.
    Now I'm calling this BPEL in mt ADF app's by using WS Datacontrol.Here also I'm get the output with unwanted data also.I think this should gives the clear picture.
    Thanks
    Mani

  • How to build a package from sources

    hi all,
    Can someone please give some advices regarding making binaries from sources. I have found that a lot of programs on Snow Leopard can be also run in terminal and are in source form and need to be build. I have installed Xcode already and I have some programming skills as well such as using MinGW (GNU GCC) and VS EE on WinXP. I have never done anything in any UNIX-like system and I know sources need to be just compiled.
    Please, give me a link if you have any =)
    Regards.

    I think you have done something in a UNIX-like system. MinGW is designed to provide a UNIX-line build system with GCC for Windows. Now, however, you have the real thing.
    In most cases, all you need to do is extract the source tarbar into a directory (or checkout via CVS or SVN). Go into that directory with the Terminal and type "configure" and, if that goes well, "make", and if that looks good "sudo make install".

  • How to pass version number from source location to records center?

    When designing our record management approach, one of the requirements from business is to pass the version number from the source location to records center. They need to know which version has been declared as a record for the same document.
    Is there a way to implement this (OOB)? Thank you.

    Hi,
    Based on your description, my understanding is that when you sent a document to records center, you want to pass version number from source location to records center.
    When a document is sent to the records Center, we keep its version number as assigned in its original document library as metadata that is submitted along with the document to the Records Center (in the “Properties” sub-folder of the document library in
    the Records Center).
    Automatically synchronizing that version number directly into the versioning system in the Records Center is something we should probably consider for a future version, but even in the current version we definitely don’t lose that information.
    Hope this helps clarify.
    Refer to the following article:
    http://blogs.msdn.com/b/recman/archive/2006/08/24/715883.aspx
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Replicate only a  Few Datasources from Source sys

    HI All,
    I wanna know how do we repicate only a few data sources from a different source system for the first time in BW, without having to create all the other datasources which i don't want.
    Thanks in advance.
    Regards,
    SHujath

    Hello Shujath,
    Welcome To SDN,
    Before Replicating the data source in BW side, you need to check the Source system in RSA6. whether your desired DS is present there. Please take note of that dependent tree in which that particular DS is present.
    Then come to BW side goto RSA1->source system->select R/3 source system and right click ---datasource overview. Here you will the same tree as in source r/3 in  rsa6 replicate the node whichever that particular DS you want to be BW side.
    Good day
    Regards
    Arun S

  • How to eliminate NULL values from case statement?

    I have the following query where I am trying to eliminate the NULL record.  How can I do this?  My query:
    select
    AttendedSchoolLast3Months = case
    when d.scrnval_id = 'AA5639E4-E60C-473F-9B72-354472C11F5B' and d.picklist_value = 'BC349A1E-65A1-4497-A38A-116C83B2028F' then 2 --No
    when d.scrnval_id = 'AA5639E4-E60C-473F-9B72-354472C11F5B' and d.picklist_value = 'A529C643-60A7-4D79-AC67-1A8F70791934' then 1 --Yes
    end
    From [evolv_cs].[dbo].[test_header] [test_header_rv] WITH (NOLOCK)
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails](null, [test_header_rv].[test_setup_header_id]) AS [test_header]
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails]([test_header].[test_setup_details_id], null) AS [test_details]
    JOIN [evolv_reports].[dbo].[test_details_answers_expanded_view] d WITH (NOLOCK) ON
    [test_header_rv].[test_header_id] = d.[test_header_id]
    AND [test_details].[test_setup_details_id] = d.[test_setup_details_id]
    join [user_defined_lut_rv] udl1 with(nolock) on udl1.[user_defined_lut_id] = d.picklist_value
    join people_rv p (nolock) on d.people_id = p.people_id
    where d.actual_date between '9/1/13' and '9/30/13'
    and d.people_id = '7A9ACEE4-ABD5-4905-A54E-659A81048A1A'
    And the result currently is:
    AttendedSchoolLast3Months
    1
    NULL
    When I ran this query:
    select distinct --attendedschoollast3months
    d.*
    From [evolv_cs].[dbo].[test_header] [test_header_rv] WITH (NOLOCK)
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails](null, [test_header_rv].[test_setup_header_id]) AS [test_header]
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails]([test_header].[test_setup_details_id], null) AS [test_details]
    JOIN [evolv_reports].[dbo].[test_details_answers_expanded_view] d WITH (NOLOCK) ON
    [test_header_rv].[test_header_id] = d.[test_header_id]
    AND [test_details].[test_setup_details_id] = d.[test_setup_details_id]
    join [user_defined_lut_rv] udl1 with(nolock) on udl1.[user_defined_lut_id] = d.picklist_value
    --join [education_level] e (nolock) on e.[EducationLevel] = udl1.[description]
    join people_rv p (nolock) on d.people_id = p.people_id
    where d.actual_date between '9/1/13' and '9/30/13'
    and d.people_id = '7A9ACEE4-ABD5-4905-A54E-659A81048A1A'
    I get this:
    event_log_id people_id group_profile_id actual_date test_header_id test_setup_details_id test_domains_info_id question_caption question_code test_details_answers_id update_log_id test_details_id numeric_value scrnval_id picklist_value remarks narrative test_setup_details_answers_id is_checked date_value details_type_code test_setup_answers_caption test_setup_answers_order test_setup_answers_value output_code answers_category_id answers_category answers_category_code
    24E8F88F-9648-4714-9394-D5A3F642C0F0 7A9ACEE4-ABD5-4905-A54E-659A81048A1A NULL 2013-09-26 17:00:00.000 24E8F88F-9648-4714-9394-D5A3F642C0F0 67CDCF44-6308-4E15-8543-3C85DE4C6D4D NULL Attended school in the last 3 months NULL 1BB75044-A65C-4464-ADB9-0CA991019907 7CDD1A4F-41F4-403C-A85E-7FF51B761FF0 3F04BBFF-8DE9-4283-842F-E53A536E3E46 NULL AA5639E4-E60C-473F-9B72-354472C11F5B A529C643-60A7-4D79-AC67-1A8F70791934 NULL NULL 5979600C-B4E6-42DF-BF45-8AFF15ACDD7D 0 NULL PICKLIST Click here for list 1 NULL NULL NULL NULL NULL
    24E8F88F-9648-4714-9394-D5A3F642C0F0 7A9ACEE4-ABD5-4905-A54E-659A81048A1A NULL 2013-09-26 17:00:00.000 24E8F88F-9648-4714-9394-D5A3F642C0F0 EBDFBCA5-6E57-4907-9DEF-A1E118F3AB2D NULL Highest grade completed NULL 8F7F4644-4E67-4821-B0FC-A192389F994D 7CDD1A4F-41F4-403C-A85E-7FF51B761FF0 F6C59E67-EC74-4F0C-8EE8-AB372F22255D NULL 4536DD06-871D-4FA7-BA8A-552DB2CA59BC D77F0CAB-505E-4838-AECE-01BAAE8B8EB2 NULL NULL E7C9ECB7-7B40-4115-A6DB-BC752116D68D 0 NULL PICKLIST Click here for list 1 NULL NULL NULL NULL NULL
    Ryan D

    Hi, 
    what I understood from above is that u want to filter NULL records and want to display only not null records. Try below query.
    SELECT * FROM(select
    AttendedSchoolLast3Months = case
    when d.scrnval_id = 'AA5639E4-E60C-473F-9B72-354472C11F5B' and d.picklist_value = 'BC349A1E-65A1-4497-A38A-116C83B2028F' then 2 --No
    when d.scrnval_id = 'AA5639E4-E60C-473F-9B72-354472C11F5B' and d.picklist_value = 'A529C643-60A7-4D79-AC67-1A8F70791934' then 1 --Yes
    end
    From [evolv_cs].[dbo].[test_header] [test_header_rv] WITH (NOLOCK)
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails](null, [test_header_rv].[test_setup_header_id]) AS [test_header]
    CROSS APPLY [dbo].[fn_getTestSetupFormDetails]([test_header].[test_setup_details_id], null) AS [test_details]
    JOIN [evolv_reports].[dbo].[test_details_answers_expanded_view] d WITH (NOLOCK) ON
    [test_header_rv].[test_header_id] = d.[test_header_id]
    AND [test_details].[test_setup_details_id] = d.[test_setup_details_id]
    join [user_defined_lut_rv] udl1 with(nolock) on udl1.[user_defined_lut_id] = d.picklist_value
    join people_rv p (nolock) on d.people_id = p.people_id
    where d.actual_date between '9/1/13' and '9/30/13'
    and d.people_id = '7A9ACEE4-ABD5-4905-A54E-659A81048A1A' ) AWHERE AttendedSchoolLast3Months IS NOT NULLTry this query.
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • How To Remove Empty Node From Source XML

    Hi,
    How can I remove an empty node from the source xml in a XSLT mapping.
    For e.g. If the source xml is like:
    <SRC>
    <Node1>SAP</Node2>
    <Node2/>
    <Node3>XI</Node3>
    </SRC>
    Then the xml should become:
    <SRC>
    <Node1>SAP</Node2>
    <Node3>XI</Node3>
    </SRC>
    I need to do this because the output of my XSLT mapping is showing blank spaces for each blank node.
    Thanks,
    Abhishek.

    Use <xsl:if>
    Or else you may find different options here
    http://www.dpawson.co.uk/xsl/sect2/N3328.html#d4804e304
    Regards,
    Prateek

  • How to create an XML from Source Table

    Hi,
    I am new to ODI and have a requirement as part of our project -
    Say have a table in Source schema with few columns and need to convert the same to XML format and insert the XML as a CLOB column in table of target schema.
    There could also be a case where the XML generated in Source will have to be passed on to Target by calling a web service at target (through ODI)
    Please help with all the steps required to achieve the same.
    Regards,
    Kumar

    HI
    GOOD
    IT IS POSSIBLE IN ABAP
    Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
    XSD->
    XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
    XDS->
    XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
    XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
    http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    THANKS
    MRUTYUN

  • How to eliminate null values from the data?

    This query displays data for a project with approval & submission dates...I'm trying to eliminate records that have null values in Approval & submission date columns at the same time. But rather keep the records that have atleast one submission date or approval date?
    SELECT distinct QP.QIP_id,
            Max(decode( Upper(QP.Status_CD), Upper('Approved') , Effective_date, null ))  as Approved_date,
            Max( decode( Upper(QP.Status_CD), Upper('Submitted') , Effective_date, null ) ) as Submitted_date
             FROM  Llp_Sys.Project_Status QP
             WHERE SYSDATE >= qp.effective_date
                AND (qp.terminated_date IS NULL OR SYSDATE < qp.terminated_date)
            GROUP by QP.QIP_ID,Qp.Status_CD
            order by QP.QIP_ID

    francislazaro wrote:
    This query displays data for a project with approval & submission dates...I'm trying to eliminate records that have null values in Approval & submission date columns at the same time. But rather keep the records that have atleast one submission date or approval date?
    SELECT distinct QP.QIP_id,
    Max(decode( Upper(QP.Status_CD), Upper('Approved') , Effective_date, null ))  as Approved_date,
    Max( decode( Upper(QP.Status_CD), Upper('Submitted') , Effective_date, null ) ) as Submitted_date
    FROM  Llp_Sys.Project_Status QP
    WHERE SYSDATE >= qp.effective_date
    AND (qp.terminated_date IS NULL OR SYSDATE < qp.terminated_date)
    GROUP by QP.QIP_ID,Qp.Status_CD
    order by QP.QIP_ID
    based on my assumption, will the following not work ? if so then post some sample data and expected output (simplify as much as possible)
    SELECT *
      FROM (SELECT DISTINCT qp.qip_id,
                            MAX(DECODE(UPPER(qp.status_cd),
                                       UPPER('Approved'), effective_date,
                                       NULL
                                      )) AS approved_date,
                            MAX(DECODE(UPPER(qp.status_cd),
                                       UPPER('Submitted'), effective_date,
                                       NULL
                                      )) AS submitted_date
                       FROM llp_sys.project_status qp
                      WHERE SYSDATE >= qp.effective_date
                        AND (   qp.terminated_date IS NULL
                             OR SYSDATE < qp.terminated_date
                   GROUP BY qp.qip_id, qp.status_cd
                   ORDER BY qp.qip_id)
    WHERE approved_date IS NOT NULL OR submitted_date IS NOT NULL;Edited by: Clearance 6`- 8`` on Jul 9, 2010 12:46 PM

  • Urgent......  how to select few fields, from database table, (dynamic ita.)

    Dear all experts,
    I am able to populate all fields data from database table, using dynamic table creation.
    eg,
    SELECT *    FROM (w_tabname)    INTO    TABLE <t_itab>.
    where w_tabname is the table name given by the user, and t_itab is field symbol.
    but some requirement is like that i need to pick up only few fields, <b>which user will give at the runtime.</b>
    <b>I can</b> take those fields from file into any internal table,
    but the problem is that instead of <b>select *</b>, i need to put selected the fields given by user.
    i have tried with field symbol, it is not working (as per my knowledge.)
    do i need to create any structures dynamically ?
    Can anybody please help in this regards ?
    Your help will be surely rewarded with points.
    Waiting for reply..
    Regards
    Vinay

    Hi Vinay ,
    Adding to the below code , you can use some more fields in the select stmt as below:-
    REPORT ychatest.
    PARAMETERS : p_field1 LIKE dd03l-fieldname,
                             P_field2 LIKE dd03l-fieldname,
                             p_table LIKE dd03l-tabname.
    FIELD-SYMBOLS : <fs> TYPE STANDARD TABLE.
    SELECT (p_field1) (p_field2) ( FROM (p_table) INTO TABLE <fs>.
    Now p_field1 & p_field2  belong to the same table since you have give the user to enter only one table name.
    This should work fine.
    please try & let me know .
    Thanks & Regards,
    Daniel

  • How to: eliminate PDF files from showing up in my picture folders?

    I am using Windows 7 and I save all my pdf files in various folders located in the "Documents" files.  These same files are then showing up in my "pictures" files.  I have no need for this and it is unnecessarily filling up my picture files.  How do I stop the PDFs from showing up in the picture folders?  I am thinking I just don't understand how the Libraries functionality of Windows 7 works!?!
    Thanks!!

    The easiest solution would be to simply move the PDFs in that particular folder somewhere else.

Maybe you are looking for

  • I Transcoded Movie Daredevil to Ipod With no problem

    I Transcoded Movie Daredevil to Ipod With no problem.It plays back wonderfully,,the sound is blazing!!I used DVD Dycrypter,than I used Videora iPod converter..I had no problems at all it was ver simple..and trust me I make everything complicating.:)h

  • Not seeing a pdf logo in word to save the file

    Hi anyone, I just loaded Adobe Acrobat standard 7.0 and I cannot see a pdf tab to save my doc or docx file as a pdf before I email it. the people I send to need it in pdf format. any help for me?

  • Automating Final Cut Express using AppleScript?

    Hello, just another question: is it possible to use AppleScript (or something similar) with Final Cut Express? And if so, where to find a good reference? I have some DV movies and a for each a csv containing the In and Out Points for the subclips, in

  • Agent Team Statistics summary display - CUIC

    Hi, We are using ICM8.x and trying to get the data that will display in Cisco Supervisor Desktop as Agent Team Statistics summary display and display them as a report in CUIC tool. Can some give me an idea of how to achieve that in report Definition.

  • "Recovery partition not found" when trying to creat recovery discs.

    I received the following error message when trying to create recovery discs for the first time "recovery partition not found"  HP G61 401SA Notebook and it is a couple of years old and has windows 7 as th OS. I specifically purchased DVD-R discs for