Sales Order / Proformo Invoice / Billing Plan
Hi,
I am creating a Proforma invoice based on a sales order with a single line item having a billing plan at item level.
problem is that all items in billing plan are copied into the proforma invoice irrespective of its block status (at billin plan level).
e.g. if there are 2 lines in billing plan and one is not block and other is blocked. but when i create a proforma invoice F5, both line items from billing plan are copied into the proforma invoice document. i've maintained "008" in copy control at item level.
Any1 idea where to check this problem.
Hi,
System only checks the VBAP - FAKSP.
You have to create your own copying requirments from "008" and incoporate the code to check the Billing Block at billing plan level ie FPLT-FAKSP.
See current block of code written for normal billing block
Billing block
IF VBAP-FAKSP NE SPACE.
SELECT SINGLE * FROM TVFSP WHERE FAKSP = VBAP-FAKSP
AND FKART = TVFK-FKART.
IF SY-SUBRC = 0.
PERFORM VBFS_HINZUFUEGEN USING VBAP-POSNR '015' SPACE
SPACE SPACE.
SY-SUBRC = 4.
EXIT.
ENDIF.
SY-SUBRC = 0.
ENDIF.
Like Wise you have to write the code for FPLT-FAKSP and then user removes the block from header level.
and saves the order will be available for billing
Similar Messages
-
Down Payment processing for Sales orders using Milestone Billing Plan
Hi,
The business scenario is as follows.
The delivery for the sales orders are to be created only after the pre payment( a percentage of the total sales order value) is made by the customer.
Hence the sales orders while creation are blocked for delivery creation using credit block by means of a userexit.
The credit manager checks the blocked sales orders using VKM1 transaction and verify if there are any payments made by the customer to cover this pre payment to be made.
If it is enough to cover then he releases the sales order manually for delivery creation.This is a complex process since there are too many sales orders and the payments made by the customer may not match the amount to be paid(it can be greater or lesser).The customer just pays a huge amount which is to be distributed among the sales orders for pre payments.
Later, when the invoice is created, the customer account is cleared manually using F-32 transaction for the oldest open invoices.
Here again there is a huge manual effort involved since he need to distribute the amount against the invoices using oldest open item principle.
As a solution we are planning to implement "Down Payment processing for Sales orders using Milestone Billing Plan".
Is this the right solution?
Can you please give the steps in detail to implement this functionality for above scenario?
We are using SAP 4.7 version without Project Systems.
Thanks in advance.
Regards,
RageshHi Ragesh
Check the links where you will get the entire down-payment configuration
[https://forums.sdn.sap.com/post!replydownpayments ]
Regards
Srinath -
Sales Order Status with Billing Plan
Dear SAP SD Gurus,
I have an order with 2 billing plans and both of them have been invoiced.
The status of my order still considered "being processed" eventhough both invoiced have been created and posted to FI.
I'm using item category "TAO".
Any clue will be greatly appreciated.
Thanks,
SooDear All,
I have fixed the problem. The schedule line for TAO should be non-delivery relevant.
I have changed to not-relevant for delivery and it is working now.
Thanks a lot for all the clues.
Regards,
Soo -
Tax date in sales orders and invoices (Billing)
Hello Experts,
I have an issue related to Tax date in sales orders and Billing documents.
In our environment we calculate taxes at the time of sales order creation and billing document (invoice) creation.
Currently we modified 'ZXFYTU03' exit to pass tax date which is system date. Our business processes are such that, there is a gap of 3-5 days between sales order creation and billing creation. So for some orders we see tax discrepancies between order and billing.
Through forums I understand that we can use 'service rendered date' at sales order item level. Solution would be passing date in 'service rendered date', we can pass date in 'service rendered date' field in sales order.
The problem is to copy same date in billing document 'service rendered date'
Does anyone have any idea how we can copy the sales order service rendered date to invoice service rendered date?
Through forum i understand that we can use copy controls, data transfer routines etc...Appreciate if someone can guide me on how i can use these...
Thanks in advance
PradeepTried 2 options...
1. Modify program RV60AFZC (FORM USEREXIT_FILL_VBRK_VBRP) to pass VBRP-FBUDA = VBKD-FBUDA. But in later part of the process, in SAPLV60A-LV60AA21 (perform fakturadaten_lieferbezogen), VBRP-FBUDA is overwritten by LIKP-WADAT_IST which is goods movement date. So this is not solving my problem.
2. Modify program ZXVVFU08, to get service rendered date from VBKD-FBUDA based on CVBRK-XBLNR (Sales order) and populate CVBRP-FBUDA. But unfortunately this user exit is being called after user exit 'ZXFYTU03' where tax related data including tax date which is being passed. Somehow tax date in this user exit 'ZXFYTU03' is document creation date which is system date.
With 2nd option, service rendered date from sales order is copied to invoice doc, but the tax is calculated based on document creation date since the tax user exit 'ZXFYTU03' is being called first...
Per this, coustom routine did not work...
Refer: Service Rendered Date (VBRP-FBUDA) for SD Invoice -
Sales order with milestone billing
Hi,
We are migrating sales orders with milestone billing to ECC 6.0 system. There are line items in the sales orders in the billing plan which have been completely billed. For line items which have not been billed, there is billing block which flows from the WBS element attached to the line item.
We want to transfer the sales orders to the new system with same status of billing completed for the line items for billing dates which have been billed. This will ensure that billing is not done again in the new system for these billing dates.
Kindly guide as to how we can achieve this.
Regards,
T SaravananHi,
We are moving the orders from ECC 6.0 system to ECC 6.0 system only.
The challenge is to that customer wants the orders with milestones completely billied as it is in the system.
When we bring the orders to the new system, how to ensure this status for milestones which have already been billed.
Regards,
T Saravanan -
Sales Office copying from Sales order to Invoice ( order related billing)
Hi
In sales invoice (vf01) is there any field for Sales Office.
In order related billing . how we can copy sales office from sales order to Invoice.
Regards\AdnanHi Adnan,
In Invoice you can find Salees office filed In the Item data >in the Item Detail tab>under Sales Order Data here you can get the sales office which you enter in the sales order.
I hope it will help you,
Regards,
Murali. -
Reg:User-Exit In Sales Order to Invoice
Hi All,
I have An requirement that to create automatic sales order and invoice in one go, i have used BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and bdc invoice to create invoice its worked fine.
My problem is now i got an requirement as after creating sales order it should not create invoice as such because they will manually check whether the sales order is correct then only i should proceed to invoice also they need the option to create,change,delete sales order and same too invoice how can i acheive this scenario through user exits?
Since am new to user exit can any one tell me how to use user exits and what user exits need like this scenario?Hi Suresh,
For sales order following user exits can be used. These are available in include MV45AFZZ.
USEREXIT_DELETE_DOCUMENT : At the time of deletion of sales order
USEREXIT_SAVE_DOCUMENT : At the time of updations or creation of sales order.
Following are the user exits available in smod.
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 numbe
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 Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Please check this exits which will help you for your requirement.
Thanks,
Naveen Kumar. -
How to create Sales order and Invoice in Foreign Currency
Dear All,
What are the procedures I have to do to create the sale order and Invoice in Foreign currency.
Is it enough if I maintain the currency in the Customer Master and Excahge rate OBBS.
or
We have to do someting in the Sales order (Change the currency document header level)?
Kindly explain.
Regards,
MullairajaDear Mullairaja
Under customer master you can maintain currency eg. usd, eur etc. that will do.. (hope you have maintain diift. Dist. Channel for Export sales and maintain Recon A/c for export revenue.) This will copy to Sales order.
Under t.code OB08 we maintain the Currency Exchange Rates which will help for copying control.
Under Displaying Billing document - Accounting - you can click on Display Currency Tab, here you will understand the rate conversion i.e from USD to INR.
Thanks & Regards
Hrishikesh K -
UK VAT - MWST Condition Rate in Sales Order different to Billing Document
We are testing the UK VAT Rate Change.
Condition MWST has a rate of 15% until today and 17.5% from tomorrow.
When I create a sales order with a requested delivery date of tomorrow and a pricing date of today the MWST Condition is shown as 17.5% at both header and lin eitem.
If I create a delivery, post goods issue and create a billing document today, the billing document correctly shows the MWST Condition rate as 15%%.
But the Sales document still displays the MWST Condition rate as 17.5% .
?? How can I get the sales document to display the actual condition rate ??
I cannot find a solution to this anywhere and would be grateful for any help.
Regards,Hi Michael,
If the pricing date for the Sales Order and the Billing Document are the same, the VAT should be also be the same.
But the pricing date for both document does not always have to be the same.
If the real goods issue date is different from the planned goods issue date and you use it as a reference for the pricing date, then both dates will be different & that's OK. The same would happen if a discount is changed after the Sales Order is introduced but before billing & a new price determination takes place during billing.
IMHO the Billing Document is the critical document and needs to have the right VAT rate.
The Sales Order should have the data calculated based on the best information available at creation time, but does not need to be corrected after Billing.
Best Regards,
Franck -
Text copy from customer master to Sales order and invoice
Dear friends,
when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
Can you please guide me how to do this config
Thanks
Raju.Dear Raju,
First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
-->Create the Customer text ID under Object KNVV
Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
When you want to copy the Text from Sales order to delivery the Access sequence will place a role
If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
I hope this will help you,
Regards,
Murali. -
Is there any settings in CO to stop the Sale Order or Invoice Document
The Invoice would not post to accounting when created as the material did not have a standard cost.
I created a cost, re-dated the invoiced and released it from VFX3.
When I looked at the PA entries I saw that the group cost entries to PA were okay but only the cost component (raw materials) of the legal cost had posted. The legal cost of goods sold was blank. Looking at the billing document I see that the VPRS condition is showing as an error with zero value. This explains why no PA entry for it was made.
Can anyone tell me why the condition wasn't corrected when the cost was created and why the invoice was released from VFX3 with an Condition error uncorrected.
Is there any settings in CO to stop the Sale Order ot Invoice when there is an error in sale order or invoice.
Thanks in advanceHi
To stop the sale order in the absence of Std Cost - use exit MV45AFZB
To Stop the invoice - CReate a Costing key in KE40 and check "Issue error msg if no cost estimate found"...
Also, you can redetrmine your pricing during billing to update VPRS
Ajay M -
One sales order with two bill to party at the document header
Hello to all
We have the following issue: create one sales order with two bill to party and only one payer. The reason is that the materials are paid with the same customer(only one account document) but we need to print two invoices one by each bill to party and each invoice printed with its own invoice number)
We are thinking in one development due to the key users won´t create different line items or create different sales order.
The process will be the following:
1-Create the sales order with one payer and two bill to party or a new bussiness partner(you can use only one bill to party in each customer)
2-Invoice the sales order. The system will create only one account document because there is only one payer but the system will create two printed documents with the invoice.
So if someone had the same requeriments, any help will be appreciated.
Thanks in advance.Pablo,
You intend to create one invoice (one payer) but 2 different document print layouts.
That should work. But, you have stated 'printed with its own invoice number'.... does this mean you need 2 distinct document numbers in the system? That will not be possible.
An alterantive is to create a Proforma invoice and a regular invoice and send it to the 2 parties involved.
Ashutosh -
Cannot delete sales order when invoice is canceled
Hi guys,
I have this problem. Proces is defined with two document: sales order and invoice. I have canceled invoice
with VF11 and set u201CReason for rejectu201D in sales order but status overview is not set as u201CCompletedu201D.
I cannot delete sales order, what is the problem any idea??
Thanks,
NihadThis is overview of the status:
Standard Order 27057
Sold-to 400000 proba
Status overview
5 Current hdr status Everything rejected
Total processing Open
Rejection status Everything rejected
5 Ord-related bill.st. Not invoiced
Invoice 90012921 14.10.2008
Cancel. Invoice (S1) 90012986 14.10.2008
Completeness Complete header data
Billg doc. complete Complete header data
Current item status
ItemNo Material
5 000010 Otkup tendera 1,000 PC Fully rejected
Total processing Open
Reason for rejection 10 Unreasonable request
Rejection status Fully rejected
5 Ord-related bill.st. Not invoiced 0,000 PC Billed 1,000 PC open
Invoice 90012921 10 14.10.2008 1,000 PC
Cancel. Invoice (S1) 90012986 10 14.10.2008 1,000 PC
Completeness Complete item data
Billg doc. complete Complete item data -
Sales order with milestone billing in real estate scenario
dear Sir;
My client is in real estate buisness; typically the process is sales order-mile stone billing. my client requirement is that they wants to change the sales order value in between milestone.
for ex: if sales order value is Rs 100 and they done billing of Rs20 by milestone billing, they wish to change the order value to Rs 80.
currently we are following process like reversing all the billing doc and posting and change the sale order value and re billed it.
please suggest some suitable solution.
regards
AshishDear Friend,
This can be done by configuring billing plan in SAP SD.
Go through the following links.
Configuration of Milestone billing / Periodic Billing
Billing plans
Thank you, -
User Exit to copy Sales order data to Billing Doc
Hi,
I want a User Exit to copy a particular field value from sales order to Invoice.
The field which I am copying is STCEG(VAT Reg number)..
I am using the exit
USEREXIT_FILL_VBRK_VBRP but I am not able to acheive my solution.
Is there any other way other than copy croutines with USER EXITS.
Thanks.That's strange. SAP documentation says:
"This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data."
Check you code. In debugger, set a watchpoint on VBRK-STCEG and check why the value gets lost.
Regards
Clemens
Maybe you are looking for
-
Using LaserJet 6L & Belkin parallel adapter
I have a HP LaserJet 6L printer (circa 1998) which I now want to use with my Powerbook. I have a Belkin USB->parallel adapter (model F5U002) of similar vintage. I connected the printer to my powerbook with the adapter cable and nothing happened. I we
-
Outlook 2011 for Mac users must click send/receive to get new mail from exchange 2013 server
I recently switched our primary CAS servers over from a single exchange 2010 cas/mailbox/hub server to a couple new exchange 2013 CAS/Mailbox servers. Exchange 2013 has cu3, and is hosted on windows server 2012. Anyone who has their mailbox hosted
-
The new (09/19/13) Apple terms and conditions require one to click the AGREE button in order to update the apps; however, there is no such button to click on. Therefore I cannot update the apps on my iPhone. Any ideas?
-
the billing address it's correct ! why we can't place any order for this address ? On the screen appear that the address is not correct !
-
Purchase Order Authorization (Urgent)
Hi All, Scenario - The purchasing dept, wants to set a limit upto which the purchasers can issue a PO, without needing further authorizations. But say if the value of PO exceeds X, then the PO would need a further authorization before it can be saved