Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

to compare string/content

Former Member
0 Likes
385

hi all,

We have program to upload (excel sheet) planning notes/material notes/quotation notes based on sales order and line item.

To avoid previously text item insert again, besides the search string comparison. Do we have other better option or FM to do this?

thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
366

You can compare itself in internal table by comparing it with database table entry....

Read only

Former Member
0 Likes
366

Hi,

CA comparition operator as below

if <wa_str1> ca <wa_str2>.

write code here for condition true

else.

write code here for condition false

endif.

Reward me if useful

Read only

Former Member
0 Likes
366

Hi,

Before passing the internal table to FM, just compare two records if it has same values. U can use 'CP' .

This will do.

Regards,

Ramya