Skip to Content

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

Split the Ticket Number

Hi Guy's,

I want to split the ticket number as 13 character '2207033425657' i want only 12 character Ticket Number

means i want to delete the 1st character 2207033425657 friends how to work this senario.

Thanks,

Sai.

Tags:
Former Member
Former Member replied

Hi,

DATA:
  w_char(13) TYPE c,
  w_char1(12) TYPE c.
  
w_char = '2207033425657'.
w_char1 = w_char+1(12).

WRITE: w_char1.

Regards

Adil

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