Restrict multiple Proforma invoice from order
Hello All,
Our customer wants to restrict multiple proforma invoice from sales order.I have written a logic in copy requirement routine.Its working when there is already created invoice from order .But if i try to create invoice first time from order then system doesn't allow me to create invoice and giving message "No billing document were generated ".
Could anybody help.
Regards,
Sachin
Hi,
Restrict multiple Proforma invoices
Thanks & regards.
Similar Messages
-
Restrict multiple Proforma invoices
How t Restrict multiple proforma inovices for a single delivery
Thanks
KKDHi
KIndly check the belwo
1.Routine will be created in T code VOFM and take the help of abaper to write a code ,sample code given belwo
if lips-vbeln is not initial.
select single * from vbfa into wa_vbfa
where vbelv = lips-vbeln
and posnv = lips-posnr
and VBTYP_N = 'U'.
if sy-subrc = 0.
concatenate 'BTC for delivery' lips-vbeln 'and' lips-posnr 'already generated' into lv_text separated by space.
end if
2.Assign the copy requirement routine in the copy control configuration T code VTFL
REgards
Damu -
Hi All,
I have one issue, issue is when i am creating Proforma invoice (F8) from STO delivery (NL) with out doing PGI i am able to create proforma invoice(F8) but my client says with out doing PGI system should not allow creating proforma invoice. Please tell me how to do and also in Proforma invoice if i am not entering PR00 system is creating proforma invoice with out PR00 and showing zero value. So tell me how to sort this issue.
Thanks in advance.
SriniDear Friend Lakshmipathi ,
As per your suggestion i had made the changes in copy control through T-code VTFL and changed copying requirement to 034 but system is not allowing me to make billing document at all. i am geting error message
Error Log
000000 The item is not relevant for billing
Technical data
Tech. data details
Client 300
Group Number
Sales Document Number
Item Number of the SD Document 000000
Schedule Line Number 0044
Counter in Control Tables 00
Message Identification VF
System Message Number 044
Output Type I
Message Variable 01
Message Variable 02
Message Variable 03
Message Variable 04
Group Type F
So please suggest me what to be done. since client want this issue to be solved early.
Thanks & regards
Srini -
Problems creating invoice from order (DI API and SBO)
Hello all!
I´m getting various tax problems using the following code to automatically create invoices from existing orders.
For Each currentKey In arrABEntrys
objInv = objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
objAB.GetByKey(currentKey)
objInv.CardCode = objAB.CardCode
With objInv.Lines
.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = 0
For i = 1 To objAB.Lines.Count - 1
objInv.Lines.Add()
BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = i
Next
End With
If objInv.Add() = 0 Then
Else
End if
The result of objInv.add() was first "5002 - 'Tax Definition (1)' (a very informative message to me).
Then I checked my admin tax settings and put a check on "EU".
The next time the result was "10 - Customer´s tax ID not defined OINV.LicTradNum"
Actually, I don´t want to pre-set any fields in the invoice, because the order looks complete to me.
By the way: The error occurs in SBO, too.
Thanks for help in advance!
Best regards
MarianHi Marian,
Your Error "10 - Customer´s tax ID not defined OINV.LicTradNum" is not working (through DI and in SBO)
occurs because your "Federal Tax ID" is not set up against the Business Partner. (This is on the main page of the Business Master Data Screen).
Set this up and it will work in SBO and the DI API! -
How to view Proforma Invoices (F5-Order related) in Standard SAP Tcode
Hi SD Guys,
Is there any standard sap Tcode to view list of proforma invoices (F5-Billing type).
Please note that I have checked following Tcodes like;
1.VF05
2.VF05N
3.VF04
It is surprising that in spite of having records in VBRK table no proforma invoices are showing in the above tcodes.
I want a standard SAP report.I know that through SQVI or with the help of ABAPer I can make some customized reports.
Please through some light may be I am missing something from the standard report tcodes of SAP.
Thanks in advance,
Suman SardarHi,
Proforma invoices will not be displayed in VF05/VF05n.
You have to go for a "Z" report for this purpose.
Please Check with your ABAPer.
Regards,
Krishna. -
Hi,
I can see that is possible in DI server to create an invoice from a sales order. Can anyone point me in the right direction for doing this with B1WS?
Thanks
Iainnjmog1 wrote:
I think it should be possible, in the same way as the DI (Apologies if it isn't but in theory it should be)
>
> You link documents on a line level instead of a header level. The needed properties on the line level are BaseType, BaseEntry and BaseLine. If you set these, the document will pull through the information from the base document.
Thank you for the support! Although not strictly an answer it helped motivate me to figure the thing out.
Relatively straight forward in the end, this is my code in case it can help someone else -
Dim myInvoice As Document = New Document
myInvoice.CardCode = "XXX01"
Dim DocLine As DocumentDocumentLine = New DocumentDocumentLine 'just used to define type in the array
myInvoice.DocumentLines = Array.CreateInstance(DocLine.GetType(), (1)) 'create the array with your amount of lines
Dim DocLine1 As DocumentDocumentLine = New DocumentDocumentLine 'define the lines of your document
With DocLine1
.BaseEntry = 21175
.BaseEntrySpecified = True
.BaseLine = 0
.BaseLineSpecified = True
.BaseType = 17 '17 for sales order, 15 if you want to base this on a delivery note
.BaseTypeSpecified = True
End With
myInvoice.DocumentLines.SetValue(DocLine1, 0) 'set your document lines
myInvoiceService.Add(myInvoice) 'add invoice
Iain -
hi guru's
i do order related billing ........when i create invoice it not copy the P O no. mention in order. to invoice.......
pls suggestHI,
If you put at header level reference number in copy control settings then u will get it PO number in invoice document..
U can use even assignment number also for this. Both will work in the same way..
But generally people will prefere reference number field for this purpose..
Regards
sankar
Edited by: sankar sankar on Aug 20, 2008 4:27 PM -
Output type for Proforma Invoice for return delivery from delivery type RLN
Client require Output type Proforma Invoice for return delivery to vendor. As such return item category is not relevant for pricing so from delivery to proforma invoice can not have with p-ricing. I got quantity correct but pricing is coming Zero.
Client have ZPAC as packing list output type from delivery which shows quantity and pricing. So decided to use the same logic to pull pricing for proforma invoice from delivery.
Here delivery has standard output ZPAC as packing list with access sequence Z002 as Delivery Type.
I want to pop up output type for all return delivery so using access sequence with delivery type/vendor.
Vendor filed does not exist in delivery output type so brought that firld LIFNR.
It is assigned to procedure and maintained ZPRO output type for Proforma invoice. Asigned VV21 on front end.
Problem Still automatic output type ZPRO is not poping up. What type of access sequence will help me to pop up or what in configuration am I miising?
Appreciate help for solution at earliest.Hi Padamsree,
I know Pricing & output very well. I need profomra invoice to be printed with quantity & value for return goods to the vendor. Pricing is associated with Item category RLLN for delivery type RLL which is return type delivery.
I need to have pricing in my Proforma invoice which is copied from delivery to billing document VTFL. Just check well how it is working in the system & if you know please answer so that it should be workable on the system. As theoretical answer may not be helpful. Appreciate for your time.
Thanks -
Hello Experts,
During requirement gathering we propose order related billing for Proforma,but the problem is some of the data which require for proforma output is capturing from outbound delivery.also user wants to create proforma with reference to delivery.
my question is - is it possible to create proforma with reference to delivery without dng PGI and then billing document from the same delivery nos.
Can one proforma and invoice generated from one delivery nos.???
Kindly suggest.
Thanks
Shri..Hello,
Yes, we can do this in SAP Standard.
Infact this is the process normally followed in many industries, specially where advance payment is required.
You can create a Proforma Invoice from Delivery Document before PGI & then create actual Invoice after doing PGI.
For Proforma Invoice before PGI you have to do the following setting:
IMG - Sales and Distribution - Billing - Billing Documents - Maintain Copying Control For Billing Documents - Copying control: Delivery document to billing document
Here select your Delivery & Billing Type & at Header Level in Copying requirements insert routine 11 - Head.dlv-rel.w/o GI.
No other setting is required for Delivery to actual Invoice.
Hope this helps,
Thanks,
Jignesh Mehta -
Regarding proforma invoice and delivery
Hi everyone,
I have read online for information on how to prevent multiple proforma invoices. Understand that this can be controlled by using routine 311 in VTFL.
Problem now is that my company's process requires the proforma invoice to be created before PGI is posted. I tried copying the codes from routine 311 and commenting out the portion which checks against Goods movement status but the result was that during VF01 it hits error No relevant documents for billing.
Thanks and Regards,
KaneHi,
As per my knowledge it is not possible in standard SAP,
Take the help of ABAPer and copy the 311 routine and modify the program
IF VBUK-WBSTK <> 'C'.
PERFORM VBFS_HINZUFUEGEN USING ' ' '400' text-009 space space.
SY-SUBRC = 4.
EXIT.
ENDIF.
Based on the above coding which is mentioned in 311 system is not accepting to create pro-forma Invoice and you will get message "Goods issue has not been posted for the delivery
Try to modify the program with the help of ABAPer and check the cycle
I hope it will solve the issue -
Proforma Invoice and Advance Invoice
QUESTION
========
In Purchasing and Payables - when purchasing organization receives Proforma
Invoice from supplier it can not make advance payment before receiving advance
invoice.
The work flow is as follows:
Real Business Process: Purchase Order from Purchasing organization - Proforma
Invoice from Supplier - Payment - Advance Invoice - Final Invoice - Final
Payment
Oracle Workflow: Purchase Order from Purchasing organization - Advance Invoice
- Advance Payment - Final Invoice - Final Payment
How to match the two processes?
Please answer me if you met this problem before!
VBLTry Doing the same scenario via downpayment.
Raising a performa invoice for this scenario is a bit incomplete, unless customer requests for the same.
for downpayment do customizing as below
SPRO - Fin Acc - AR and AP - Business Transactions - Down payment received - define recon a/cs for customer downpayment (OBXR) and OB40.
while positing use
F-37 Downpayment request
F-29 downpayment
f-39 downpayment clearing
Regards -
Dear All,
Please help me getting this issue resolved.
I am creating a delivery and some pupose i need to create a proforma invoice against the same. But system is allowing me to create multiple proforma invoices against a delivery. Delivery type i am using is LF and proforma invoice is F8.
please help me resolving this issue as i wish to create only one proforma invoice for single delivery. system shouldn't allow to create multiple proforma invoices against a delivery.
Please help on urgent basis .
Thanks and regards
Amitfor example:
You can coding in program which name is LV60A010 and assign item's Copying requirements with 010 in copy control from D/N to Billing.
You can insert these codes below into top of program.
data l_vbeln like lips-vbeln.
select single vbeln
into l_vbeln
from vbfa
where vbelv = lips-vbeln
and posnv = lips-posnr
and vbtyp_n = 'U'.
if sy-subrc = 0.
message e000(zv) with 'You can't created another Proforma Invoice by such Delivery Note.'.
endif. -
How to cancel proforma invoice
Hello expert
I have case to generate proforma invoice from delivery order.
Sometimes we need to cancel proforma invoice because price is wrong, Quantity is wrong and so on.
When I have tried to cancel proforma invoice via VF11 following error message ocured and I couldn't cancel billing document for proforma invoice.
Is there any way to cancel proforma invoice?
I already investigated other forum and I confirmed we can generate new proforma invoice without any cancelation.
Billing type of proforma invoice is setting as below.
SD document category is U, Billing type for cancellation is S1.
Pro forma invoice 9040000786 cannot be cancelled
Message no. VF106
Best regards,
IchimuraHi,
Please go to VF02 and put invoice no. and do as per attched screen shot,
and once you click on Complete and it will show in document flow as cancelled invoice,
Regards,
AJIT K Singh -
Billing ATP Quantities from Order Sales
Hi,
I was wondering if I can generate a billing with the ATP quantities from the sales order without creating the delivery.
My problem is that my wholesales want to have a quote of the real stock or his order, so I was thinking to generate a pro forma invoice of the delivery quantities, but I dont´s want to generate the delivery.
It is possible? How can I customize it?
Thanks,Hi,
Sales order is generally treated as an agreement between customer and vendor. I believe all the information that you will need to geenrate the quote should be available in the sales order including the Net price to be charged and confirmed quantity is also available in the sales order so I dont see the reason why we should not provide the output using Order confirmation, modified version...could be additional output or current order confirmation may contain the additional information required.
At the worst you should try to generate a Proforma Invoice for Order F5, please check the standard configuration for the copy control and other setting for creating a Proforma invoice from sales order.
Regards,
Naveen Aggarwal -
WHT ELSE WE HAV TO CHEK FOR GETTING 1 PROFORMA INVOICE
WHILE DOING THE BILLING FOR PROFORMA INVOICE FROM SALES ORDER OF 3 LINE ITEMS , THE SYSTEM IS GENERATING AUTOMATICALLY 3 PROFORMA INVOICES EACH, EVEN WE CHECK THE SHIPPING POINT, TERMS OF CONDITIONS , INCO TERMS
WHT ELSE WE HAV TO CHEK FOR GETTING 1 PROFORMA INVOICEHi,
Please check split analysis while creating the proforma invoice which will indicate the possible differences in the line items which leads to splitting of billing documents. Any way, please check for Payer,billing due date ,currency,payment terms and item category and look for any differences.
Muraleedharan.R
Maybe you are looking for
-
Authenticating a user using JCO
Hi, I was authenticating a user in SAP using the following code: System.out.println("\n\nVersion of the JCO-library:\n" + "---- \n" + JCO.getMiddlewareVersion()); Properties props = new Properties(); pro
-
I recently was told there was an upgrade to itunes so I downloaded it. I can now no longer get itunes to come up no matter what I do. I have watch the task manager and seen the process itunes.exe start but 3 minutes later it disappears and itunes nev
-
How do I make NTFS format for partition in disk utility ?
Hi, how would I format a external hard drive partition to NTFS for windows ? There's no option in disk utility. Only MS-DOS ( FAT ) , ExFat, free space, Mac OS extended- journaled, Mac OS extended, journaled case sensitive. The other partition would
-
Hi This is with respect to P-Card. I am actually confused with G/L account funda. I understand that the G/L account and Document type is created in backend to configure the PCARD. The Card company is created as vendor and the newly created G/L accoun
-
Destination folder seems invalid
everything works except the line to move the file, the_dest seems to be invalid tell application "Finder" set the_selection to get selection as string -- "ActiveProjectsA-D-1: TELETHON:ASIA187 Prasith's First Job Thailand:Nuendo Project:Audio:ASIA187