Skip to main content

Hey Peers,

 

I´m trying to connect the right PO to the corresponding SO in the IM Datamodel.

I tried to BIND the EKKN to the EKPO, since there is an 1:N relationship, I get following error

 

image 

My current statement is

 

PU_LAST ( "MARC",

  CASE

    WHEN

      BIND ("EKPO", "EKKN"."VBELN") = "VBAP"."VBELN"

      AND

      BIND ("EKPO", "EKKN"."VBELP") = "VBAP"."POSNR"

          THEN

      "EKPO"."EBELN"

  END

)

 

Can somebody correct the syntax or push me to the solution?

 

Thank you :)

Be the first to reply!

Reply