2009 Oct 20 2:03 PM
Hi all,
I want to post the document thru FB01 (or what ever the Txn is) using my billing doc. no. as the reference doc. no.....
Is it possible ?
if so please do let me know the procedures...
Thanks Rahul K
2009 Oct 20 3:30 PM
It is possible to do that online or in background using BAPI.
Online, go to FB01 - Use referrence document number with right combination of document type, posting keys and account number.
Using BAPI - you need to find for XBELNR field in tables that you pass. i think it is in header (documentheader).
By the way the BAPI name is BAPI_ACC_DOCUMENT_POST. if you need more help on this BAPI - Please search sdn on the bapi name, there is lot of help
Good luck
2009 Oct 20 3:30 PM
It is possible to do that online or in background using BAPI.
Online, go to FB01 - Use referrence document number with right combination of document type, posting keys and account number.
Using BAPI - you need to find for XBELNR field in tables that you pass. i think it is in header (documentheader).
By the way the BAPI name is BAPI_ACC_DOCUMENT_POST. if you need more help on this BAPI - Please search sdn on the bapi name, there is lot of help
Good luck
2009 Oct 20 5:14 PM
Hi SK,
Thanks for the reply..
I know about FB01.
I want something like FBR1...
there you can give ref.doc.no. and post it.
but there doc.no. is account doc.no.
I want the same way but doc.no . should be billing doc. no.
Please suggest.
Thanks
RK
2009 Oct 21 3:08 PM
>
> Hi SK,
>
> Thanks for the reply..
> I know about FB01.
>
> I want something like FBR1...
> there you can give ref.doc.no. and post it.
> but there doc.no. is account doc.no.
>
> I want the same way but doc.no . should be billing doc. no.
>
> Please suggest.
>
> Thanks
> RK
Why dont you use FBR1. FBR1 takes the billing document document and then the next screen will be FB01 which means FBR1 internally calls FB01 but all it takes is invoice number as reference document number.
Have you tried FBR1 with billing document number? If yes what is your problem.
From where you want to post ? is FBR1 or FB01? if it is FB01, check my first post. if it is FBR1 - follow this