on 11-20-2007 4:54 PM
Hello, i need to get the FI document number after executing the transaction MIRO.
i can't take it with UE, because the FI document number will be create, but during the normal execution of MIRO, this number (bkpf-belnr) dasn't exist yet.
Thanks in advanace. SK.
Sergio.
So If Iam understanding this right, you would like to obtain the Document # and use it to execute a custom program of yours. You'd break out of this custom program upon saving the invoice in MIRO.
This ain't possible, you cannot use the document # unless the document is saved, you can use the save trigger to obtain the document # and externall call your program.
What you can do otherwise is to build a Z-table and use the save trigger to populatethe Z- table. use teh table in your program and see if it works.
An other way is to read the current level/ # from FBLN and lock the invoice transactions until it is saved so that the document # is not used meanwhile if there is an other person executing MIRO or MIR7 etc.. and you can continue with what'er you are doing..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Hi,
>
>After completing you MIRO operation, Concatenate the BELNR ( RBKP ) and the >GJAHR ( RBKP ) together and pass it to AWKEYof BKPF as 51000006102007 >and get the BELNR of BKPF.
>
>Regards,
>
>DilliB
Re: Hi, when i finish the MIRO Transaction, i can access to BKPF table i get the document number (belnr) its as you told, but i need to get this number automatly and execute a program (using a User exit or a Badi) in MIRO transaction.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to SU01
enter the user id
click on change
click on parameters
enter IVFIDESPLAY in paramater ID
X in Paramater value
save
Now when ever this user will save MIRO he will get both IV NO and ACC doc no
U will get both IV no and accounting document no in message and u can use this in ur User exit or Badi
Hope this will solve the issue
Reward expected if you find solution good
thankx regards
Umakant
Hi,
After completing you MIRO operation, Concatenate the BELNR ( RBKP ) and the GJAHR ( RBKP ) together and pass it to AWKEYof BKPF as 51000006102007 and get the BELNR of BKPF.
Regards,
DilliB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sergio,
Can you tell me what you intend to do vis-a-vis Business requirement. BKPF is not the only table , there are others as well, but if you could shed somemore light in this, It'd help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This 'd generate only upon saving the document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I belive you want to know what is the IV no and its Accounting document no when u save miro
go to SU01
enter the user id
click on change
click on parameters
enter IVFIDESPLAY in paramater ID
X in Paramater value
save
Now when ever this user will save MIRO he will get both IV NO and ACC doc no
Hope this will solve the issue
Reward expected if you find solution good
thankx regards
Umakant
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.