BAPI for Create Invoice
Hi everyone
I need to create an invoice document using some bapi, i found this two bapi BAPI_BILLINGDOC_CREATEMULTIPLE and BAPI_INCOMINGINVOICE_CREATE; but i don't know how can i use. Can anyone help me please?
Thanks & Regards
David N
Hi,
Check this example..
DATA: s_vbap TYPE vbap.
TABLES: vbak,vbap,likp, lips.
DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
DATA: t_ccard TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
PARAMETERS: p_vbeln TYPE vbeln.
select single * from likp
where vbeln = p_vbeln.
SELECT SINGLE * from lips where
vbeln = likp-vbeln.
t_billing-salesorg = likp-vkorg.
t_billing-ref_doc = likp-vbeln.
t_billing-ref_item = lips-posnr.
t_billing-doc_number = p_vbeln.
t_billing-itm_number = lips-posnr.
t_billing-ordbilltyp = '<b>Billing document type</b>'.
t_billing-price_date = sy-datum.
t_billing-ref_doc_ca = likp-vbtyp.
t_billing-material = lips-matnr.
t_billing-plant = lips-werks.
APPEND t_billing.
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
billingdatain = t_billing
return = t_return
success = t_success
commit work.
Thanks,
Naren
Similar Messages
-
FM or BAPI for Create/cancel stock transfer order invoice
FM or BAPI for Create/cancel stock transfer order invoice
Thanks and Regards,
Srinivas PHi,
use BAPI_PO_CREATE, po_header-doc_type = 'UB'
Thanks,
Reward If Helpful. -
BAPI -for Creating EXCISE INVOICE AT DEPOT tcode 'J1IG
Hi All,
Is there any BAPI for Excise Invoice Creation at depot Tcode is J1IG
Thanks,
SatishreddyHi,
Please try this Function Module
J_1I4A_CREATE_EXCISE_INVOICE
Hope it helps.
Regards
Hiren K.Chitalia -
Bapi to create Invoice with reference to SalesOrder
Hi All,
I want to create Invoice with reference to SalesOrder ,
can anybody help me regarding
--> what is the Bapi to Create Invoice with reference to SalesOrder
--> what are the import parameters
Thanks in Advance
Regards
SrinivasHi Giuseppi,
Thanks to your reply,
i have used BAPI_BILLINGDOC_CREATEMULTIPLE , i have given the following input values in the BILLINGDATAIN
-- salesorg,distrchan,division,doc-type,sold-to,plant,material,doc-number,item-number , when i execute the Bapi , i got the DocNo:0090021983 , but i did not find that DocNo. by executing the Bapi BAPI_BILLINGDOC_GETLIST.
i found the short description for
BAPI_BILLINGDOC_CREATEMULTIPLE -- is for Individual Customer Billing Document, is it the correct Bapi to create invoice
what is the correct Bapi to create invoice based on the salesorder.
RV_INVOICE_CREATE OR GN_INVOICE_CREATE OR BAPI_BILLINGDOC_CREATEMULTIPLE.
Can u specify the import parameters for that Bapi.
Thanks & Regards
Srinivas -
BAPI for creating scheduling agreement with reference to Contract agreement
Hi All ,
Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
Thanks for your help.
VadivukkarasiHi,
Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
check these
BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
Regards -
BAPI for Creating a PM order(iw34) with reference to a Notification
Hi All,
Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
I will explain my requirement :
I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number i need a create a PM order.Usually this process in done transaction IW34 in R/3.
But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
Regards,
SidHi,
I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
"<i>Service/maintenance order type PM02 not completely maintained in plant
Message no. IW216
Diagnosis
For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
Procedure
A check control must be maintained for this combination of order type and plant</i>"".
And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP" .
Kindly help me to solve this issue.
Regards,
Sid -
BAPI for Vendor invoice Park FV60
Hi All,
Do you knwo any BAPI for vendor invoice Park through FV60, I have tried
BAPI_INCOMINGINVOICE_PARK - Got struck where It is asking to pass teh PO data in Itme level, where as i have to uplaod only
GLaccounts data.
and i tryed for another BAPI_ACC_DOCUMENT_POST but is not working its not related to my requiremment it seems...
Can any one know better about the process to do this.. pleas let me know..?
Can anybody did the same, if ues please share with me... its very urgent it need it...
Thanks,use bapi: BAPI_INCOMINGINVOICE_PARK
-
FM/BAPI for creating the credit memo request for Vendor
Hi Experts,
I need an RFC/BAPI, for creating the credit memo request for Vendor.
Thanks in Advance,
Kiruba.RHi,
Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
Regards,
Jyothi CH. -
Function Module / BAPI for Creating Material freight Group
Hi All,
Can anyone tell me the Function Module / Bapi for creating material freight group.
Regards,
Raj.Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
So you can use BAPI for mm02 and mm01
For Ex:
BAPI_MATERIAL_SAVEDATA
Hope this helps -
Hi,
Is there a BAPI for FI invoice parking?
Regards,
Arun MohanHello Arun,
U can try with these:
ACC4 FI/CO: BAPIs for UPDATE
BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
ACC6 Accounting: BAPIs for UPDATE II
BAPI_ACC_INVOICE_REV_CHECK Accounting: Check Reversal of Invoice Receipt (OAG: LOAD PAYABLE)
BAPI_ACC_INVOICE_REV_POST Accounting: Post Invoice Receipt Reversal (OAG: LOAD PAYABLE)
MRM_BAPI Invoice Verification BAPIs
BAPI_INCOMINGINVOICE_CANCEL Invoice Verification: reverse invoice
BAPI_INCOMINGINVOICE_CREATE Invoice Verification: Post Invoice
BAPI_INCOMINGINVOICE_GETDETAIL Invoice Verification: display invoice
BAPI_INCOMINGINVOICE_GETLIST Invoice Verification: list invoices
BAPI_INCOMINGINVOICE_PARK Invoice Verification: Park Invoice
BAPI_INCOMINGINVOICE_RELEASE Invoice Verification: release invoice
BAPI_INCOMINGINVOICE_SAVE Invoice Verification: Flag Invoice for Background Processing
If useful reward.
Vasanth -
We are trying to develop an interface with a third party software and we need to upload recipe from there.
So i am need a BAPI to create recipe and maintain aswell.
also I am trying to use BAPI BAPI_MATERIAL_SAVEDATA to create material and BAPI
BAPI_BOM_UPLOAD_SAVE to create BOM .
I manually entered data into fields but not able to create material and BOm.
Please give me the procedure on how to use them and BAPI for creating Recipe.
Help is appriciated.Hi Mirza
You can use BAPI_MATERIAL_BOM_GROUP_CREATE to create a BOM,
Regards
UK -
BAPI for create material master (SAP version 40b)
Hi,
Anyone know BAPI for create material master for SAP version 40b?
There's no BAPI_MATERIAL_SAVEDATA.
I try to use BAPI_MATERIAL_MAINTAINDATA_RT,
but seems that BAPI only for retail.
Kindly advice!
Thanks,
Victor.Hi,
this one works pretty good.
call function 'MATERIAL_MAINTAIN_DARK'
exporting
sperrmodus = ' '
kz_prf = 'W'
max_errors = ' '
p_kz_no_warn = 'X'
kz_verw = 'X'
kz_aend = 'X'
kz_dispo = 'X'
kz_test = ' '
flag_muss_pruefen = ' '
call_mode = 'ACT'
importing
number_errors_transaction = numerror
matnr_last = last_matnr
tables
amara_ueb = i_mara "Basic Data
amakt_ueb = i_makt "Descriptions
amarc_ueb = i_marc "Plant
amard_ueb = i_mard "Storage Location
AMFHM_UEB = I_MFHM "Production Tools
amarm_ueb = i_marm "Units of Measure
AMEA1_UEB = I_MEA1 "Internal Mangagement - EANs
ambew_ueb = i_mbew "Accounting/Costing
asteu_ueb = i_steu "Tax Data
astmm_ueb = i_steumm "Tax Data
AMLGN_UEB = I_MLGN "Warehouse Data
AMLGT_UEB = I_MLGT "Storage Type Data
AMPGD_UEB = I_MPGD "Change Documents
AMPOP_UEB = I_MPOP "Forcast Parameters
AMVEG_UEB = I_MVEG "Total Consumption Data
AMVEU_UEB = I_MVEU "Unplanned Consumption Data
amvke_ueb = i_mvke "Sales Data
altx1_ueb = i_ltx1 "Sales Text
AMPRW_UEB = I_MPRW "Forcast Values
amfieldres = i_delfields
amerrdat = i_errors
exceptions
kstatus_empty = 01
tkstatus_empty = 02
t130m_error = 03
internal_error = 04
update_error = 05
too_many_errors = 06.
Otherwise try BAPI_RETAILMATERIAL_CREATE
BAPI_STANDARDMATERIAL_CREATE
<b>Reward points</b>
Regards -
Are there any bapi for create Business Partner
Dear Sir,
Do you know are there any bapi for create Business Partner in CRM
Please advise.
Thank you and best ergards,
VimolDear Vimol,
BAPI_BUPA_CREATE_FROM_DATA ......SAP BP, BAPI: Create Business Partner
BAPI_BUPA_FS_CREATE_FROM_DATA .......SAP BP, BAPI: Create Business Partner
BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
Hope this will help.
Regards,
Naveen. -
Is there any BAPI for creating Debit memo request
Hi all,
I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
Thanks and regards,
Meena.hi,
I could find the following
Exit Name Description
J_3RSINV
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
Regards,
Manish -
Very urgent::: Standard BAPI for creating quotation in vendor side
hi all
i need a standard bapi for creating Quotation in the vendor side
i found 2 bapi's :
bapi_quotation_createfromdata,
bapi_salesorder_createfromdat1.
but these are related to customer side itseems...
i want standard bapi's for vendor side Quotation creation....
points will be awarded for useful answer...hi all
i need a standard bapi for creating Quotation in the vendor side
i found 2 bapi's :
bapi_quotation_createfromdata,
bapi_salesorder_createfromdat1.
but these are related to customer side itseems...
i want standard bapi's for vendor side Quotation creation....
points will be awarded for useful answer...
Maybe you are looking for
-
Hi I am getting request timed out exception when invoking an asynchronous BPEL service from a synchrnous BPEL service. Am in the learning stage and created a async bpel with a wait of only 5 seconds and invoked it using a synchronous BPEL but still a
-
Do we have standard function module or program to activate transformation?
Hi Gurus, Do we have any standard function module or program to activate transformation in BI system? If yes please let me know or let me know how to proceed with to create custom program to activate transformation. Thanks, Manoj
-
Wondering how to delete unwanted songs in icloud?
When i delete unwanted songs from my music library and my playlist i have created, i can not find a way to delete them from icloud. When i go to music in settings,and click show all songs, the ones i don`t want still show up in my itunes match. Has a
-
Flash crashes when opening fla file
I've worked for quite some time on this file, and I will be quite heartbroken if I must do it again. :-( OS: Windows 7 x64 Description: Flash "Adobe Flash CS5 has stopped working, Windows is checking for a solution to the problem..." Files that Windo
-
Determination matrix for Org Structure
Hi, The Org structure determination is a very critical step in setting up the ECC system. Is there a tool / standard questionnaire that can be used to create a determination matrix so that the org structure can be designed based on the requirements c