Skip to Content
avatar image
Former Member

Checking field condition in PI mapping

Hi All,

I am using IDOC to JDBC adapter . When I receive an IDOC from ECC to PI, I need to check for the value of one segment field

if that field value is ZS1, then only needs to send this IDoc data to external system.

Eventhough this field is not mandatory field in IDoc and not using in the receiver system structure. This field just to check the condition weather to send or not.

Regards,

Vinay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 09, 2010 at 05:04 AM
    I need to check for the value of one segment field if that field value is ZS1, then only needs to send this IDoc data to 
    external system.

    Do the check in Receiver Determination itself.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2010 at 06:07 AM

    Hi,

    In condition editor add the following :

    that field exists AND the value is 'ZS1'

    If both condns are satisfied then the data will be send to target sys.If the field doesnot appear in idoc structure then the data won't be sent to target.

    If you are using PI 7.1 check this:

    /people/abhishek.salvi/blog/2009/07/15/sap-pi71-receiver-determination-xpath-and-you

    Regards,

    Pragati

    Add comment
    10|10000 characters needed characters exceeded