Skip to Content
0
Former Member
Feb 27, 2009 at 08:24 PM

ABAP Mapping - Queue problem

35 Views

Hello experts,

I have an idoc for a PO that has 3 line items and within each line item there is a segment that is repeated twice. I need to capture the segment that has PARVW = 'ZS' in each item while supressing the others ('ZW') in my PO output.

<PO>
<item>
  <1>
    <Partner>
       <ZS>
       <Name1>
    <Parnter>
       <ZW>
       <Name2>
  <2>
    <Partner>
       <ZS>
       <Name1>
    <Parnter>
       <ZW>
       <Name2>
  <3>
    <Partner>
       <ZS>
       <Name1>
    <Parnter>
       <ZW>
       <Name2>

The mapping I have is checking Partner-PARVW = 'ZS' (using text function EqualsS) using the context for Partner.

I've tried many other variations but I've been unable to grab only the ZS partner information.

Any ideas?

Thanks,

Matt