Skip to Content

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

User Exit Sample code

Hi all,

I would like to generate an internal number for material master in the following format:


Would you please send me any <b>sample code</b> available for the above format.

Thanks and Regards,


Former Member
Former Member replied


yes u can use this exit for ur rquirement..

just use concatenat statement and try

v_matnr = 1234567.

concatenate 'abc' v_matnr into v_matnr1.

now ur v_matnr1 = abc1234567

pass this value to MATNR field in the changing parameter..

MATNR = v_matnr1.

try and check.

Rewrad if helpful.



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