10-03-2018 10:55 AM
Hi experts,
I've been asked to assign an external number to some idocs (the user wants to concatenate sales order number + idoc creation hour). I found module function
F09_DOCUMENT_NUMBER_GET in EDI_DOCUMENT_CLOSE_CREATE. while debugging I can change this number but I can't fin any userexit or enhancement to modify it.
Is there any possibility to do that?
Thanks in advance!
Maria
10-03-2018 12:37 PM
It appears you stopped one click away of a call of BADI_NUMBER_GET_NEXT. ..
(F09_DOCUMENT_NUMBER_GET-> NUMBER_GET_NEXT -> BADI_NUMBER_GET_NEXT.)
10-03-2018 4:08 PM
10-04-2018 8:33 AM
Good morning Raymond,
I've seen on Se18 that this BADI can only be implemented by SAP internally. So I can't use it..
Maria
10-08-2018 11:08 AM
Yes, but you could try to use the explicit enhancement at start of FM NUMBER_GET_NEXT with a code similar to SAP call of the BAdI.
10-03-2018 1:04 PM
Hi Maria,
Please check with transaction OYSN, OYSM to maintain the number range of IDOC.
Here you can assign your number range as requirement.
Regards,
Andy
10-03-2018 4:07 PM
I know this transaction, but they want to change the range only for one kind of idocs..
10-19-2018 12:41 PM
Hi Maria,
You can create new object with SNRO or SNUM with same object value.
then you can assign new number range and assign with User exit or call function at required function.