‎2008 Nov 13 11:53 AM
Hi All,
Is it possible to park and post an invoice using a bapi ?
If yes what is the Standard BAPI for that?
any help will be highly appreciated
Regards,
Satish
‎2008 Nov 13 11:54 AM
Hi,
Check the below bapi..
BAPI_INCOMINGINVOICE_PARK
regards,
Nagaraj
‎2008 Nov 13 11:56 AM
Hi Satish,
First use: BAPI_INCOMINGINVOICE_PARK
Then for changes in database , Use: BAPI_TRANSACTION_COMMIT
Regards,
Nitin
‎2008 Nov 13 12:06 PM
Is it possible to PARK AND POST FOR FB60(VENDOR INVOICE) through BAPI,
if i use a bapi to park the document,how to post it later?
‎2008 Dec 12 1:21 AM
Hi,
Did you get the solution of your problem? I also want to Park FB60 document which has been created without Purchase Order. Is there any FM/BAPI available for that?
Regards,
Rakesh
‎2008 Dec 12 8:08 AM
Hi,
there is a fm called MRM_PARKED_INVOICE_POST.
check this:
REPORT zzxxx.
TYPE-POOLS: mrm, mmcr.
DATA: l_t_rbkpv TYPE mrm_rbkpv,
l_t_drseg TYPE mmcr_drseg OCCURS 0.
DATA: i_belnr LIKE bkpf-belnr,
i_gjahr LIKE bkpf-gjahr.
PARAMETERS: p_belnr LIKE rbkp-belnr,
p_gjahr LIKE rbkp-gjahr.
START-OF-SELECTION.
i_belnr = p_belnr.
i_gjahr = p_gjahr.
CALL FUNCTION 'MRM_INVOICE_READ'
EXPORTING
i_belnr = i_belnr
i_gjahr = i_gjahr
IMPORTING
e_rbkpv = l_t_rbkpv
TABLES
t_drseg = l_t_drseg
EXCEPTIONS
entry_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
EXPORTING
i_rbkpv = l_t_rbkpv
ti_drseg = l_t_drseg.
IF sy-subrc <> 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
Best regards.
Edited by: Pablo Casamayor on Dec 12, 2008 10:35 AM
‎2013 Aug 02 7:08 AM
Hi satish pelleru,
plz could u share ur experience I am working same below...
Is it possible to park and post an invoice using a bapi ?
If yes what is the Standard BAPI for that?
Thanks
Kranthi