on 05-18-2018 5:04 PM
Hi All,
I tried to add IF - END IF condition in editor like below
/: IF &container[]& EQ &container[]&.
/: &contiainer1[]& = ' '
/: ENDIF.
But it's not working...what is missing or i'm using wrong syntax.
Could you please let me know.
Thanks,
Satish
it looks like you are trying to compare the entire content in one container with another container, much in the same way you'd use ABAP to try and compare content between two internal tables. The code shows container1 on the second line, but the first line appears to show the same container reference -- so you're not checking equality between contain and container1. Is that what you intended?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I might be mistaken, but since the container is a set of referenced objects, you'd need to compare the objects specifically in a loop, rather than a typical ABAP type of table-compare.
I would have to ask whether or not there are just a few key fields in each container, that if a value is present, would be sufficient for the compare, as opposed to every single object. I.e. just compare the few key objects in the container, instead of the entire container.
Can you share some more on your use case scenario? Might be something that would warrant a lsightly different design approach to avoid the need for the compare.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.