Create Billing Document From Sales Order
I have used a program from this form to create a sales order - works great. Now, all I want to do is add some code to create a Billing Document in this program right after I have create the sales order. Can anyone help.
check this thread.
Re: BAPI for creating sales invoice
Similar Messages
-
Create Billing Document from Sales Order (Without Delivery)
Dear Experts,
Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type to meet above requirement.
Thanks in advance.
Best Regards.
RiponHi
There are two most important configuration:-
1) In VOV8 for your Order Type maintain the Order Related Billing Document
2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
Regards
Amitesh Anand
Edited by: Amitesh Anand on May 24, 2010 5:09 PM -
Change in document type while creating billing document from sales order
While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
How can i change it?
Regards
RajHi
If you use another existing document type, check that it has a number range suitable to you. Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
It is useful to make the FI document number the same number. If I understand from the forums, the FI number range must be external. Search the forum for this. It is very useful for the Finance people.
Kind regards
Dawn
Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM -
Cannot create billing document from sales document
Hi,
i am trying to create billing document from the created sales document.
But the billing document is not generated. I was getting the error - ' Document is blocked from billing'.
SO, i changed the billing block and left it blank, and when I tried to create the document again, I got another error " Create billing document" not allowed (uSER STATUS ST01, Object VB006000071200000).
Please help me out,Dear Priyam,
Attached are the screen shots, go through them.
I believe you need to change the status in the Sales order status(Object status).
click on Object status
Regards
Shaik -
CRM 7.0 Billing Document from Sales Order - Direct Billing BP
Hi Gurus
I have configured the SAP CRM standalone system as per SAP CRM 7.0 Help on the topic of Sales Orders and Transaction related billing.
Created a copy of Transaction TABO as my Sales Order Transaction
Created a copy of Item Category TANB as my Sales Item Category
Set-up Item Category Determination based on my new Trans Type & Item Category
Defined a Billing Unit
In Billing defined "Transaction Related Billing After Completion" with CRM Billing for Billing Relevance
In Billing used the F2 Invoice Billing Type
In Billing Created a copy of TAN "Standard Item" as my Billing Item Category
In Billing linked the New Trans Type, Item Cat & Billing Item Cat together
Created my Product with relevant Pricing Conditions
For my BP for the Sales Order to be created against checked the "Direct Billing" Checkbox in Tx BP in Sales Area Data
When I create a Sales Order in the Web UI i select my BP.
At item level I select my Product and the Quantity 1.
I save the Transaction...No Billing Document created
I set the Transaction Status to "In Progress" and save ...No Billing Document created
I set the Transaction Status to "Completed" and save ...No Billing Document created
When I try to create a Billing Document as a follow-up Transaction I get the following error.
Diagnosis
No billing document could be created for one or more of the following reasons:
The order has an error.
The order items are not relevant for billing.
Delivery-related billing is required for the order items, and a delivery has not yet taken place.
The order has been rejected, therefore, no items can be billed.
The billing due list item for the order is blocked or incomplete.
I suspect the Order Items are not relevant for Billing.
How do I resolve this.
Many Thanks
PandurangaHi Panduranga,
Did you find the solution even I am having same question and waiting for the response..please post if you solved by yourself
Thanks,
Shilpa -
Create single billing document by sales order with division 00 and delivery with division 01
Hello,
I have a task to config the SAP system that would be possible create single billing document with different divisions.
Scenario:
1 doc: Create Sales order (division 00 - services) -> Create Billing doc
2 doc: Create Sales order (division 01 - materials) -> Create Outbound delivery and Post good issue -> Create Billing doc.
Sales order 1 and sales order 2 have the same:
dates;
custumers;
Sold-to-party;
payment terms;
incoterms;
and others;
When I create VF01 with documents Sales order and Outbound delivery system splits in two different billing documents due to different divisions.
I read www.scn.sap.com forums and test it DV system.
I use and change settings in these transactions:
VTFL
VTFA
VOFA
VOFM
But it doesn't work.
Please give me feedback or give advices how to config in antoher way.
Thanks a lot for your time and efforts.
RolandasYou need to do configurational change and customization as recommended in the following note:-
Note 50752 - Invoice combination for different divisions
G. Lakshmipathi -
Hi , I am not able to create billing document from the delivery document .
Hi,
I am facing one problem i am trying to create billing document from delivery document but it is giving error " Payer" and Sold to party not found ".
in my Delivery Document field partner tab is showing only ship to party it should show payer and sold to party also .
Although it is maintained in customer AG.
can any one help in this ????
thanks !!!!!!!!!!Hi Payal,
1.u check whether u have maintained[entering actual number] payer and bill to party in sales order[ which is copied from customer master].
2.and check partner determination procedure for delivery document.
more important is u wouldnot have maintained partner determination procedure for delivery header.[spro->sales and distribution->basic function->partner determination->partner determination for delivery]
Regards
Sharad -
Default value of condition in billing document from sales oeder
Hi Everyone,
What setting is required to get default value of condition in billing document from sales oeder
Because when I am creating the billing document default condition value is not coming from sales order thats why once again I have to maintain the condition valu at the time of billing.
I am using the same item category for two two order type,But in order type I am getting the default value but in other type I am not getting the default value in billing document
Regards
PrabudhHi Prabudh,
I understand you creat two order with different order type like "OR and "ASOR" for example and kept the item categary same as "TAN" in both and gone for billing say in "F2" and you are facing problem that when you do billing of OR in F2 pricing is picking the MANUAL condition value from order. but the same is not being picked if you process order ASOR in F2.
for this the problem is with copy control.
you can go to transaction code VTFA- copy control from order to billing.
in this you choose your billing type and sales order type by using position.
then on left side click on ITEM and choose your item category and and then on top chose DETAIL button or you can press CNTRLSHIFTF2 from keyboard.
a screen will open in that you will find the pricing type. make it as <b>"C"</b>.
Hope this solves your purpose.
Award points if satisfied.
regards/ashu -
Outbound delivery document from Sales order
Hi ,
While creating the outbound delivery document from Sales order, all the line items of the Sales order are populated in the Delivery document. The line items where stock is not available, the line is still populated in the delivery document with zero quantity.
Pls suggest the way in config, so that at the time creation of the delivery document system to populate only the lines with the available stock.
ThnxHello Soumya
I could not able to find any std transaction or config via you could restrict it. However you also no till 'Picking' not completed user is not able to make postings... so i couldnt see any issue in this.
Still you need to restrict this, you to configure User Exit via you can restrich the lin items to come in delivery for no stock item.
Amol -
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
Changing billing document date while creating billing document from vf01
Hi gurus,
I have requirement to change billing doc date while creating billing document from VF01.
here I have to consider goods issue date eq billing date.
caluculating billing date = Goods Issue + Goods in Transit duration time.
I have done everu thing but I cant update the caluculated date, iam using the following enhancement
Enhancement:SDVFX001
Function Module:EXIT_SAPLV60B_001
Include:ZXVVFU01 which are part vf01.
here iam sending the calculated date to VBRK-FKDAT
move cal_date to vbrk-fkdat.
need help how to update the calculated date to VBRK-fkdat i.e billing document date
Regards
BhaskarHi
No! That exit is not good for your issue
U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE defined in RV60AFZC
Max -
Error while creating Delivery Note from Sales Order
Hi,
I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
Can you please let me know, why this error comes. And how to rectify this error.
Please let me know, what are all checks, I need to do, to know this error.
Thanks,
SandeepHi
There may be following reason :-
Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
Regards
Amitesh Anand -
Create billing document from IDOC INVOIC01
Hi Experts,
I created a function module to extend IDOC_INPUT_INVOIC_MRM. After created successfully the invoice from this inbound idoc, I tried to create a billing document by code below:
get sale order number from purchase order *****************************
CALL FUNCTION 'BAPI_PO_GETDETAIL'
EXPORTING
PURCHASEORDER = lw_tfrseg-ebeln
ACCOUNT_ASSIGNMENT = 'X'
TABLES
PO_ITEM_ACCOUNT_ASSIGNMENT = lt_acc_***
****get sale order details*******************************************************
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
EXPORTING
I_BAPI_VIEW = lw_order_view
I_MEMORY_READ =
TABLES
SALES_DOCUMENTS = lt_sales_key
ORDER_HEADERS_OUT = lt_ord_headers
ORDER_ITEMS_OUT = lt_ord_items
ORDER_SCHEDULES_OUT = lt_ord_schedules
ORDER_BUSINESS_OUT = lt_ord_business
ORDER_PARTNERS_OUT = lt_ord_partners
ORDER_ADDRESS_OUT = lt_ord_address
ORDER_STATUSHEADERS_OUT =
ORDER_STATUSITEMS_OUT =
ORDER_CONDITIONS_OUT = lt_ord_cond
****Fill billing data in*******************************************************
lt_bill_data-SALESORG = lt_ord_headers-sales_org.
lt_bill_data-DISTR_CHAN = lt_ord_headers-DISTR_CHAN.
lt_bill_data-DIVISION = lt_ord_headers-DIVISION.
lt_bill_data-DOC_TYPE = lt_ord_headers-DOC_TYPE.
lt_bill_data-ORDBILLTYP = lt_ord_headers-ORDBILLTYP.
lt_bill_data-BILL_DATE = lt_ord_business-bill_date.
lt_bill_data-SOLD_TO = lt_ord_headers-SOLD_TO.
lt_bill_data-ITEM_CATEG = lt_ord_items-ITEM_CATEG.
lt_bill_data-ACCTASGNMT = lt_ord_business-ACCNT_ASGN.
lt_bill_data-PRICE_DATE = lt_ord_business-PRICE_DATE.
lt_bill_data-COUNTRY = 'US'.
lt_bill_data-PLANT = lt_ord_items-PLANT.
lt_bill_data-BILL_TO = lw_partner_bp-customer.
lt_bill_data-PAYER = lw_partner_py-customer.
lt_bill_data-SHIP_TO = lw_partner_sh-customer.
REF_DOC = lt_sales_orders-DIVISION.
lt_bill_data-MATERIAL = lt_ord_items-material.
lt_bill_data-REQ_QTY = lt_ord_items-req_qty.
lt_bill_data-CURRENCY = lt_ord_items-currency.
lt_bill_data-SHORT_TEXT = lt_ord_items-short_text.
lt_bill_data-TAXCL_1MAT = lt_ord_items-TAX_CLASS1.
REF_ITEM = lt_sales_orders-DIVISION.
STAT_GROUP = lt_sales_orders-DIVISION.
lt_bill_data-NO_MATMAST = 'X'.
lt_bill_data-ADDR_NO = lt_ord_address-ADDRESS.
lt_bill_data-TITLE = lt_ord_address-DIVISION.
lt_bill_data-NAME = lt_ord_address-NAME .
lt_bill_data-NAME_2 = lt_ord_address-NAME_2.
lt_bill_data-POSTL_CODE = lt_ord_address-POSTL_CODE.
lt_bill_data-CONSUMCTRY = lt_ord_address-COUNTRY.
lt_bill_data-CITY = lt_ord_address-CITY.
lt_bill_data-DISTRICT = lt_ord_address-DISTRICT.
lt_bill_data-STREET = lt_ord_address-STREET.
lt_bill_data-REGION = lt_ord_address-REGION.
lt_bill_data-PROD_HIER = lt_ord_items-PROD_HIER.
lt_bill_data-SALES_UNIT = lt_ord_items-SALES_UNIT.
lt_bill_data-PROFIT_CTR = lt_ord_items-PROFIT_CTR.
TAXJURCODE = lt_sales_orders-DIVISION.
lt_bill_data-PURCH_ORD = lt_ord_headers-PURCH_NO.
lt_bill_data-DOC_NUMBER = lt_ord_items-DOC_NUMBER.
lt_bill_data-ITM_NUMBER = lt_ord_items-ITM_NUMBER.
ORIGINDOC = lt_sales_orders-DIVISION.
lt_bill_data-ITEM = lt_sales_orders-DIVISION.
lt_bill_data-CREATED_BY = sy-uname.
MATERIAL_EXTERNAL = lt_sales_orders-DIVISION.
MATERIAL_GUID = lt_sales_orders-DIVISION.
MATERIAL_VERSION = lt_sales_orders-DIVISION.
lt_bill_data-INCOTERMS1 = lt_ord_business-INCOTERMS1.
lt_bill_data-INCOTERMS2 = lt_ord_business-INCOTERMS2.
lt_bill_data-EXCHANGE_RATE = lt_ord_business-EXCHG_RATE.
lt_bill_data-PAYMENT_TERMS = lt_ord_business-PMNTTRMS.
lt_bill_data-HG_LV_ITEM = lt_ord_items-HG_LV_ITEM .
******call bapi function to create billing document********************
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
EXPORTING
CREATORDATAIN = lw_creator
TESTRUN = lc_testrun
POSTING = lc_posting
TABLES
BILLINGDATAIN = lt_bill_data
CONDITIONDATAIN =
CCARDDATAIN =
TEXTDATAIN =
ERRORS = lt_bill_errs
RETURN = lt_bill_retu
SUCCESS = lt_bill_succ
A return message in the table lt_bill_retu:
"This item is not relevant for billing!"
Anyone can tell me why? I think this problem be generated from the step "fill billing data" but I don't know where.
Pls help me!!!
Thanks,
GyHi,
In the condition data, I want to add new condition type as below:
<< Add new condition type
CLEAR: lt_cond_data.
lt_cond_data-COND_TYPE = 'ZHD0'.
lt_cond_data-COND_VALUE = mrm_ship_charge-summe. " amount of shipping charge
lt_cond_data-COND_CURR = mrm_ship_charge-waerq. " USD
append lt_cond_data.
*>>
But I created successfully billing document, this condition type is not appear in the billing view by transaction VF03.
Could you help me to find out the fault?
Thanks,
Gy -
Creating billing document from billing request PO number
Hello All,
I am creating Billing document ( Debit Memo) from BiCS Billing Reqeust ( kind of Sales order) , that time the PO of BR is getting updated on BIlling documents's Screen ( at item level---> on PO data tab) butsometimes it is not getting updated in VBRK table fields is BSTNK_VF .
Thanks in advance.
Edited by: busam nandana on Sep 8, 2010 10:20 AMdid you try using BAPI,
BAPI_BILLINGDOC_CREATEMULTIPLE.
also read Function Module Documentation on this BAPI's usage. -
Can we create service po from sales order
HI
can we create sales order from service po. if yes then how can we do so.Hi,
we can create po from sales order in cross docking functionality.
The steps are
Sales order > Purcahse requistion > Purchase order > Inbound delivery with reference to purchase order and PGR > Outbound delivery with refernce to sales order and PGI > Invoice and billing.
Br,
Tushar Patankar
Maybe you are looking for
-
ME2DP & Down Payment Clearing LIV
Dear All, I am facing three issues while creating and clearing down payment through ME2DP and MIRO. 1- While clearing down payment in MIRO, system is not clearing FI down payment document automatically. At the time of posting,, system generate two d
-
Hi everyone, I'm developing an application that needs to calculate the angle between two vectors. While this is fairly simple, you just need to use the Math.atan2() function, i am having a few problems. Here's a code snippet: alpha = (Math.atan2((tx*
-
CS4 Exporting media Loosing Focus
Hi When exporting media to the media encoder I am finding that I am loosing focus of the rendered file in flash. the original size of footage is 1920 X 1080 I have croped this to an area of the footage that I require 720 x 640 and changed the out put
-
Very recently, I can no longer view the other images I've added to individual albums, in the album artwork viewer. The images are in the file info but not viewable with the 'Selected Images' tab (the next image 'arrow' has diappeared)
-
Issues w/ DL AE & PPRO CC 2014. If I just do some things in PPRO for a couple of minutes, then go back to the timeline where there is a AE DL, the timeline won't play--picture freezes audio plays. If I toggle to AE , then go back to PPRO, timeline pl