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: 

FB60 Parking Document Change Programmatically ( BAPI or FM )

maheshpalavalli
Active Contributor
0 Kudos

Hi Guys,

Can anyone please tell me is there any function module or BAPI to change the Document that is parked through FB60. For MIR7 documents( PO ) i think this is the fm BAPI_INCOMINGINVOICE_CHANGE. Can i use this for FB60 docs too?

Regards

Mahesh Kumar P.

1 ACCEPTED SOLUTION

Former Member

Hi, You can't use the BAPI_INCOMINGINVOICE_CHANGE for FI transactions and only for MIRO


I mean you can us it only with referee to PO! Go thorugh the below thread you will get the answer!

Bapi For Parking Document in FV60/FB60.

9 REPLIES 9

former_member187748
Active Contributor
0 Kudos

Hi Mahesh,

you can use BAPI_INCOMINGINVOICE_CHANGE

Former Member
0 Kudos

Hi Mahesh,

                If it is posted document you can try using  FM CHANGE_DOCUMENT

I guess you are right you can use BAPI_INCOMINGINVOICE_CHANGE

If that doesnt solve please take a look into the FM FI_DOCUMENT_CHANGE and following BAPIs

1) BAPI_INCOMINGINVOICE_PARK (parking invoice document)

2) BAPI_INCOMINGINVOICE_CHANGE (changing a parked document),

3) BAPI_INCOMINGINVOICE_POST (posting a parked document) and

4) BAPI_PARKEDINVOICE_DELETE (deleting a parked document).

Please look at the documentation to get an idea of how to use and which parameters to pass.

Regards,

Santhosh Yadav

former_member182371
Active Contributor
0 Kudos

Hi,

try with BAPI_ACC_DOCUMENT_CHANGE

Best regards.

Former Member

Hi, You can't use the BAPI_INCOMINGINVOICE_CHANGE for FI transactions and only for MIRO


I mean you can us it only with referee to PO! Go thorugh the below thread you will get the answer!

Bapi For Parking Document in FV60/FB60.

0 Kudos

HI,

I  think you try to park a vendor invoice in fb60, there is no bapi available for that.please check this link

http://scn.sap.com/thread/927168\

anup_deshmukh4
Active Contributor
0 Kudos

Hello Mahesh,

You can use bapi BAPI_ACC_DOCUMENT_POST to post the document /

In the extension in parameter you can pass an indicator at the time of calling the bapi.

an in the BADI  ACC_DOUCUMEN  you can change the status from POST to park depending on your indicator.

This will park the document .

Hope this helps,

Anup D.

Former Member
0 Kudos

Hi Mahesh,

Not good idea to changing the value directly in data base!

By the the document can hold or park at header level only! can't possible with item level!

You need to do it at BKPF!

Former Member
0 Kudos

Hi,

use Sql trace to find out which table are get updated when   parking  an invoice

SQL trace is a performance analysis tool that shows how open SQL statements are converted into native

SQL statements.

Analysis (Transaction code ST05).

pls check this link http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5a1de990-0201-0010-8d83-a06bdda1d...

Former Member
0 Kudos

Hi Mahesh,
                 VBSEG is correct you can proceed with that table.

                 Apart from that I also believe that there is an indicator in table BSEG to mark the document to be parked instead of posting. Please check that too.

If you are fine mark as answered and close the thread.

Happy Coding,

Santhosh Yadav