Skip to Content
Former Member
May 13, 2013 at 06:54 AM

how to add the leading 0 by calling CONVERSION_EXIT_MATN1_INPUT


hi experts,

i've to pass object key to bapi_getdetail by doing the following

a) Add the leading 0 to matnr by calling the conversion routine 'CONVERSION_EXIT_MATN1_INPUT and the return will be an 18 digit value . (CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT)

b) Concatenate the converted matnr with batch. (CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY')

c) Pass this value to the object key.(CALL FUNCTION 'BAPI_OBJCL_GETDETAIL')