There is SSN field and i just want to show last four digit on SAP Script? e.g. 123-45-6789 so i want xxx-xx-6789 how can i do that?

Showing Answers 1 - 1 of 1 Answers

raj

  • Apr 2nd, 2006
 

jsut get length of that field

i.e

len = strlen(ssn).

suppose len = 10.

len = len - 4.

then print like.

move ssn+5(len) to v_ssn.

finally print v_ssn.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions