I have a bit of a problem in smartforms.
I created a table node with two loops, the first loop is at the internal table it_contrato, this loop is the one you declare on the table, the other one is at the internal table it_bsid. which is in the table positions.(main area of my table node).
my problem is that I want to compare in the where clause of the second loop this two fields: wa_contrato-matnr (containing 700005) = wa_bsid-xblnr(containing 0000700005). this is, to loop only when this two fields are the same.
How can I compare this two field in the where clause if the matnr has leading zeros and the matnr doesn't ?