Skip to Content
avatar image
Former Member

how to remove particular line item using identifier in sap pi

Hi All,

I have a requirement, From sender one header and multiple line item is sent. If the Record Type= "0" in the line item then that particular line item should not sent to the target system.

Please help me to achieve this

<ClaimHeader>

<SalesOrganization>CV</SalesOrganization> <DealerNumber>4111012B</DealerNumber>

<DealerType>1</DealerType>

<CreditRunNumber>4UDAI</CreditRunNumber>

<CreditMemoNumber>1-Q4UDAI</CreditMemoNumber>

<ClaimItem>

<WorldCode>MEC</WorldCode>

<Model>2621CF</Model>

<SteeringFactory>GP</SteeringFactory> <ProductNumber>A4009811605</ProductNumber>

<RecordType>SP</RecordType>

</ClaimItem>

<ClaimItem>

<WorldCode>EC</WorldCode>

<Model>2621CF</Model>

<SteeringFactory>GP</SteeringFactory>

<ProductNumber>A9811605</ProductNumber>

<RecordType>SP</RecordType>

</ClaimItem>

<ClaimItem>

<WorldCode>MEC</WorldCode>

<Model>2621CF</Model>

<SteeringFactory>GP</SteeringFactory>

<ProductNumber>9811605</ProductNumber>

<RecordType>0</RecordType>

</ClaimItem>

</ClaimHeader>

Regards

Vinoth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 17, 2017 at 01:32 PM

    Vinoth,

    Just use CreateIF and create the target segment with RecordType != 0 so that the record type which have 0 will get suppressed.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2017 at 03:25 AM

    Thanks Manoj..

    Its working now.

    Regards

    Vinoth

    Add comment
    10|10000 characters needed characters exceeded