Skip to Content

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

Add 0 to a param.

Hi.

I need a Function Module that fill me a parameters of a Estructure will 0.

Ex:

var a. (length = 10)

a = '12345'

.

.

.

a = '0000012345'

Hope you can help me.

See you.

Tags:
Former Member
Former Member replied

Hi,

You Can use UNPACK Command.

or

data : p_matnr like mara-matnr.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

input = p_matnr

IMPORTING

OUTPUT = P_matnr

Thanks.

Reward If Helpful.

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