Application Development and Automation 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: 
Read only

Posting Document using Billing Doc.no as refreance document no.

RahulKeshav
Active Contributor
0 Likes
737

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

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
624

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

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

3 REPLIES 3
Read only

former_member191735
Active Contributor
0 Likes
625

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

Read only

0 Likes
624

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

Read only

0 Likes
624

>

> 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