Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

before save FI document , how to know FI document number(external number)

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

ok