05-12-2011 8:21 AM
Hello everyone.
I need some help.
I face problem regarding system not update document number in u201C XREF3u201D field when post LIV invoice (Tr. Code MIRO).
SAP introduce note 618918 and note advice to use FI substitution and User exit by use function u201CNUMBER_GET_INFOu201D to get FI document
But our system designed material document same as FI document for LIV invoice that we set FI document to be external number. Once the user exit is executed, it cannot find FI document number, the value that user exit can get that it is u201C0000000000u201D.
how do i know FI document number before real posting ?
or Is there any function can get MM document number or
is there any function help ?
please advice.
05-12-2011 1:45 PM
Hello,
If you can find it in the ABAP call stack then you can assign (prog)globalvariable to field symbols to get the number you need.
thanks,
zryxel
05-12-2011 4:02 PM
Hi!
I would suggest to put a breakpoint in FM NUMBER_GET_NEXT.
There you can debug and see the parameters that this FM is receiving.
Hope it helps.
Esteban
08-10-2011 8:37 AM