Skip to Content
0
Former Member
Jan 24, 2011 at 11:20 AM

generate batch no in production order

21 Views

Hi Experts,

when i am releasing a production order (via co02 ) it is generating a batch no as 000000002 how ever i want to generate the batch order as first two digit should be year of the order (ex:11 for 2011) then next two digit will be month (ex: 01 for jan 02 for feb and so on.) rest should be as it is. i found a fm CALL FUNCTION 'NUMBER_GET_NEXT' which is generating this batch no as (NEW_CHARG) field can any one help me that what code should i write to generate this format and where should i write it .

thanks Text Removed

Edited by: Lakshmipathi on Jan 29, 2011 8:51 AM Please dont offer anything