Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

String Start With

Dear all,

I'm looking for a way to check the string that have a prefix 'abc'. How can i do this kind of checking in ABAP?? Please advise.

Regards,

Kit

Tags:
Former Member
Former Member replied

if it is in IF condition checking (or any other condition checking)

If itab-str cp 'ABC*'.

endif.

but if it is in select query where clause

then

select * from dbtab into corresponding fields of table itab where str like 'ABC%'.

regards

shiba dutta

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question