Skip to Content

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

Split function

How can i use Split function when i receive one of them:

Pim/Pam/Poum

Pim;Pam;Poum

Pim Pam Poum

To separate Pim, Pam and Poum i can have a different special character ...

Thanks for your help

Rodolphe.

Tags:
Former Member
Former Member replied

Use CA

DATA : W_STRING TYPE STRING.

W_STRING = 'Pim/Pam/Poum'.

IF W_STRING CA '/: ( Place all the special characters here )' .

WRITE SY-FDPOS.

using sy-fdpos write the letter then split by it.

ENDIF.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question