I have a row with a long information all together, but I just need to extract the ‘’ L ‘’. Because IF there’s a ,L, I want the IF condition to do one thing, IF there is no ,L, I want to do another action.
I can’t put the whole information as there’s confidential information but:
On my conditional I stated as below. But the outcome is ‘’ 30 ‘’ instead of ‘’ L ‘’ and does not go to my THEN, but to my ELSE…
Thank you so much for this reply. So when there’s the letter L, I want my IF condition to go through it. If there’s no ,L, I want to go to another way.
The problem is my code is not reading the ‘’ L ‘’, only the number 30 as it is the first thing to be on the row.
But I have a for each code above to access this transaction.
Let me explain in a better way: I have a Data Table where I extracted all information from a specific transaction on SAP and I store on this data table.
Later, I added a For Each activity because I want to check all rows and add prices, vendors, etc.
On this For Each, I will access a new transaction to check if the raw material has a global contract. In case the Global Contract on the transaction is cancelled, it brings the letter ‘’ L ‘’. This information I’m pulling directly from SAP and storing on a new Data Table I created just to store if the material has a global contract or not.
But when I do the formula below, it only caught the number ‘’ 30 ‘’ as it is the first figure to appear on the row…
I hope I could put it across in a better way! Thank you for your time and help.
Can you please add a break point after extraction and then open locals panel and check the data in datatable…I beleive the first column contains only 30 and it does not have any other info…or other columns might be having…please check and accordingly use the column…
@Anil_G - I did that. Indeed the information is all together as I printscreen above. I thought too I made a mistake somehow but not, it is all together.