2007 Aug 17 9:36 AM
I need to update the field XBLNR_ALT of table BKPF via method After_store of BADI BADI_RERA_INVOICE. Can anyone please help?
2007 Aug 17 12:21 PM
Hi Didier,
I dont see the table BKPF being passed to the BADI through any of the interface methods. So the option in this case would be to use two database statements one to select the appropriate entry of table bkpf and the second to modify the database record transporting field XBLNR_ALT.
Hope this helps. Revert for clarification if required.
Regards,
Vikas
<b>Reward all useful answers.</b>
I need to update the field XBLNR_ALT of table BKPF via method After_store of BADI BADI_RERA_INVOICE. Can anyone please help?
2007 Aug 17 12:21 PM
Hi Didier,
I dont see the table BKPF being passed to the BADI through any of the interface methods. So the option in this case would be to use two database statements one to select the appropriate entry of table bkpf and the second to modify the database record transporting field XBLNR_ALT.
Hope this helps. Revert for clarification if required.
Regards,
Vikas
<b>Reward all useful answers.</b>
2007 Aug 17 12:35 PM
Thanks for your answer Vikas. I had this option in mind but it was my last resort. Now i will go for it.
2007 Aug 17 4:12 PM
Hello ,
I do not know how BADI works, all I know its a component in SaP (Business Add-In). I want to update XBLNR_ALT field for every invoice. How do I populate this field while entering the invoice?
Thanks,
Tejas
2007 Aug 20 6:00 AM
Hello Tejas,
I need the following information in order to propose a solution.
Which transaction are you using to create the invoice?
FI Module---F-43 or MIRO
Sales Invoice-VF01(billing)
2007 Aug 20 10:30 AM
Hi Didier,
I need to have XBLNR_ALT updated via MIRO and the FB60 transaction.
Thanks,
Tejas
2007 Aug 21 6:47 AM
Hello Tejas
I think the best option for you is to go for FI_substitution.
Have a look at the link below
http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
Have a look at T.code OBBH
And have some search on SAP forum with the keyword ''ZGGBS000"
Hope the above with help you understand the concept of FI substitution with user-exit
2007 Sep 06 3:34 PM
Hey Didier,
Tried figuring FI_SUBSTITUTIONS out.. and it really helped! However, there's an issue. I have kept TRACE on so when I post docs in FB60, MIRO, I can see the fields being populated. However, it doesnt update the BKPF table!
Perhaps this is because I have to activate the substitution. However when I try to do so, I get the error "Substitution belongs to class 8, not 6) Any idea what this means?
Thanks a lot again. Awaiting your reply
Tejas
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |