Wrong payer value while creating PRO FORMA invoice for multiple delivery

Hi experts,
I am trying to create PRO FORMA Invoice for multiple deliveries thru VF01.
The problem here is the payer value is copied as the value of payer for the first delivery to all invoices. All other fields are picked up properly.
Please help me to idenify the problem. Also if I create the invoices thru VF04 the invoices the created with correct payer.
Thanks in advance.

Hi Ankur,
Thanx for the input.
Right now we have customized routine 909 for header level and std. routine 004 for item level.
Code for routine 909 is
FORM BEDINGUNG_PRUEFEN_909.
SY-SUBRC = 0.
Fakturasperre
IF LIKP-FAKSK NE SPACE.
SELECT SINGLE * FROM TVFSP WHERE FAKSP = LIKP-FAKSK
AND FKART = TVFK-FKART.
IF SY-SUBRC = 0.
PERFORM VBFS_HINZUFUEGEN USING '000000' '014' SPACE SPACE SPACE.
SY-SUBRC = 4.
EXIT.
ENDIF.
SY-SUBRC = 0.
ENDIF.
break-point.
SELECT * FROM VBFA WHERE VBELV = LIKP-VBELN.
IF VBFA-VBTYP_N = 'U' .
PERFORM VBFS_HINZUFUEGEN USING '000000' '148' LIKP-VBELN
SPACE SPACE.
SY-SUBRC = 4.
Insert + Unicode/Upgrade Project
STOP.
LEAVE SCREEN.
Insert - Unicode/Upgrade Project
ENDIF.
ENDSELECT.
ENDFORM.
can u please check n confirm if the wrong value is coming due to this code?
Thank in advance.

Similar Messages

  • What are customizing steps to create pro forma invoice from STO delivery?

    I have copied FUPI output for pro forma invoice billing type F8. I tested and was able to successfully get it to work for a regular delivery that was created from a standard sales order.  However, I need this to also work for a stock transport order created delivery but I keep getting the error that the item is not relevant for billing.  I have searched the web for 2 days and did find one posting that was exactly the same issue that I have and the person asking the question said they solved the problem but did not provide the answer as to how.
    I tried changing the item category NLN billing relevance to D from a J and that did not work either. I need the pricing to print on the pro forma invoice also.  On a standard sales order created delivery it works like a charm.
    this is what I hope to accomplish - create sto - create delivery from sto - create pro forma invoice for customs 
    Any help would be greatly appreciated.
    thanks in advance
    Donna

    Hi
    In VOV7 the billing relevance for  item category NLN should be  maintained as A (delivery related billing)
    Then you need to maintain copy controls  in VTFL between NL to F8
    In copy controls at header level copying requirements should be 009
    At item level for item category NLN copying requirements should be 010
    Pricing is picked from the OVKK settings that is for your sales area, CPP as the receiving plant is the customer, and DPP from the billing type of F8 For this combination you need to maintain Pricing Procedure
    In VTFL At item level for item category NLN the pricing type should be B
    If you need to maintain this settings you can create F8 proforrma invoice in intra comapny STO
    Regards
    Raja

  • How to create pro forma invoice (F8) in this way

    hi all,
    we would like to create pro forma invoice with reference to DO(PGI done). At the same time update
    LC#Number under the header text and update Box No. under the item text.
    we're looking for one step solution(either BDC,bapi...etc) because there will be printing come out once the invoice is saved. we don't wish to come back to update the header text and item text again to print second time.
    thanks.

    Hi
    In VOV7 the billing relevance for  item category NLN should be  maintained as A (delivery related billing)
    Then you need to maintain copy controls  in VTFL between NL to F8
    In copy controls at header level copying requirements should be 009
    At item level for item category NLN copying requirements should be 010
    Pricing is picked from the OVKK settings that is for your sales area, CPP as the receiving plant is the customer, and DPP from the billing type of F8 For this combination you need to maintain Pricing Procedure
    In VTFL At item level for item category NLN the pricing type should be B
    If you need to maintain this settings you can create F8 proforrma invoice in intra comapny STO
    Regards
    Raja

  • Error while creating inter-company invoice  for stock transport

    Hi ,
    I am facing following errors while creating inter-company invoice for STO order.
    We have scenario where standard PO is created in  company code A  & then replenishment delivery is created in company code B.While raising inter-company invoice to company code A, we are facing problem.
    In replenishment delivery we have 10 line items. But  when we try to do inter company invoice through VF01/VF04 we get following log
    XXXXXXXXXX(delivery Number) 000000 Customer XXXXX: Customer master table KNVV is missing (VF-022)
    XXXXXXXXXX (delivery Number)000010 The bill-to party could not be determined (VF-047)
    XXXXXXXXXX (delivery Number)000010 The payer could not be determined (VF-048)
    With this first line item from delivery is not flows to invoice & if we saves this invoice then it is get saved with account determination error as some of the data does not comes into invoice header like account assignment group for customer, Payment term, destination country,region, tax classification for customer etc. That means invoice gets created without first line item from delivery with account determination error & so,no accounting document gets generated.
    I checked customer master for all SP,SH,BP,PY they are correctly maintained.This was working fine few months back, but not working now.
    If anybody had come across such kind of scenario, your valuable inputs will be highly appreciated.
    Thanks & kind regards,
    Ganesh Palatshaha

    Hello
    Kindly check the sales area of customer involved, whether the customer maintain with sales area for STO.
    If that is note the case the refer following link:
    - Error VF 047 & 048 while creating Inter company billing
    Regards
    JP

  • Pro forma invoice from a Delivery Output using "8 - Special Function"

    SAP Gurus
    I am interested to create a proforma invoice for a delivery that is created in the system using VL01N. I am using an option to use the Delivery output to be allow creation  of the pro forma invoice. I created a new output type and assigned 8 - Special function as the medium of the output.
    I managed to find a BAPI that serves this purpose perfectly. Please look at BAPI_BILLINGDOC_CREATEFROMDATA. Enter the following Parameters.
    In table BILLINGDATAIN insert one line with the following data:
    ORDBILLTYP = ZFDP
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    The BAPI when it runs on own, creates the required pro forma invoice. But when it is attached to the output type to be triggered as a special function, does not work. What kind of routine should I enter in the processing routine.
    Program on output screen is ZFDP_BAPI
    Form Routine is ENTRY
    there is a routine maintained inside the program ZFDP_BAPI called "ENTRY"
    Inside the subroutine ENTRY, the BAPI_BILLINGDOC_CREATEFROMDATA is invoked.
    Please advice.
    Thank you.

    Hello
    Thanks for the reply. Earlier when I was using the BAPI BAPI_BILLINGDOC_CREATEFROMDATA, The BAPI used for the output type did not work as it uses u2018Commit Worku2019 statement and it interferes with the u2018commitu2019 of standard program. Due to this reason the transaction dumps every time.
    Are you performing the output with dispatch time '4' ? - the answer is yes, I am.
    Just double -checking with you that if you decide to use Use BAPI BAPI_BILLINGDOC_CREATEMULTIPLE and call it in background task, do you think that the we can get past this issue short dump issue? 
    Thanks

  • Pro forma invoice for % of total

    Dear all,
    is it possible to make a pro forma invoice for a part of the total amount (eg 30%)?
    Thanks,
    Herta

    Hi,
    Is it not possible on basis of percentage but it is possible on basis of quantity
    say you have 10 qty and total amount is 100 (10 for 1unit), now you want partial proforma then
    On VF01 screen click on SELECTION LIST and change qty as 3 and click on copy, now according to qty total amount will be change as 30
    Kapil

  • Pro forma invoice for particular customer.

    Gurus :
    one of our Customer 389, is asking for a Pro Forma invoice to be created with each on of their orders when they ship. Can this be set up?  and how
    Full points will be given.
    Thank you
    Van bills

    Hi
    Proforma inv can be created with ref to order and del
    F8 is the proforma inv which is created with ref to del in std SAP
    F5 is the proforma inv which is created with referance to order in std SAP
    Proforma inv is a type of billing doc which is used for export transactions which gives info abt billing but it cant be treated as an actual billing doc or even as a duplicate bill
    No billing doc can be created referring Proforma inv
    You can give as many as Proforma inv to a customer because billing status doesnt get updated
    The final actual billing can differ from the details given inProforma inv
    Data from Proforma inv doesnt get transferred to accounting
    Regards
    Raja

  • How to create a separate invoice for each delivery line?

    Hello,
    Our customer is requesting a separate invoice for each delivery line. Is there a way to configure this? Or a customization?
    Thanks,
    Joy

    Hello,
    You need to do this through copy controls. in the transaction code VTFL, you need to develop a new routine and attach it in the area "Data VBRK/VBRP"
    attach your custom designed routine and it will split the invoice according to each line item.
    check the standard routines available for hints to develop the routine with your abap. there are several  standard rotuines available
    Hope this helps
    Thanks
    akasha

  • Reg- Single invoice for multiple delivery docs

    Dear All,
          WIth the suggestions from the below given thread, i have changed the routines in copying control for item level as 03.
    SAP ERP Sales and Distribution (SAP SD)
    Using delivery duelist(VF04) , I selected 2 pending docs and tried to create billing doc , but it got created as separate invoice. what is the actual process to create single invoice from multiple delivery document.
    Rgds

    Those deliveries having same criteria like,
    1.  Payer
    2.  Payment Term
    3.  Incoterms
    4.  Destination country
    5.  Billing date
    6.  Actual Goods issue date
    7.  Foreign data trade
    8.  Billing doc type
    9.  Shipping conditions
    10  Account assignmment group
    11. Exchange rate
    12  Billing relevance field in the item category
    13  Sold to party
    will be combined into one Billing document automatically and this controlled from the copy control table. and it VTFL  choose your delivery header  and in that at item level VBRK/VBRP should be 001
    In VF01 you can input three or more such deliveries and execute then those will be combined in to a single bill and you can do that in VF04 also
    Regards
    Raja

  • Pro Forma Invoice Error

    Dear All.
    While creating Pro Forma Invoice with Reference to Quotation, I am geting the Following Error.
    Sales document type AG cannot be invoiced with billing type F5
    Can any one explain the steps to do the Pro Forma Invoice.
    Regards,
    Ganesh

    Hi,
    Please go to TCode - VTFA.
    Maintain the copy control settings for quotation and proforma invoice at header and item cat level.
    Header details :
    Copying Req;007
    item cat level.
    Copying req -008
    Billing quantity -C
    Pricing type-D.
    Hope this qwill help u
    regards,
    Krishna O

  • Convert Multiple Deliveries into one PRO Forma Invoice

    Hi,
    I need to create a single PRO FORMA invoice for all the multiple deliveries for a single single Customer.
    1. Which Copy control do I have to do it?
    2. Should I do at Header or Item Level?
    3. What are the Config settings required to do this?
    4. What kind of checks to be done in this process?
    I checked the Copy control in SPRO in Pro Form Invoice (F8) for Delivery: Its 009.Looks like this is Header level.
    Thanks
    Kiran

    Hi Shiv ram,
    Thanks for ur reply..
    As per your reply:
    In VF01, enter the delivery documents and click on enter button. Then go to Menu - Environment -> split analysis.
    I didnot find this option in VF01. Am in 4.7EE.
    If the reason is foreign trade data, then I suggest in the copy control (transaction VTFL) for billing document (proforma invoice), put the following values;
    You are right to some extent. Once this Proforma Invoice is created, I need to move this data to GTS system.
    For determine export data - 'B' Redetermine the export data
    For Allocation number and Reference number fields - 'E' - Actual billing document number.
    I didnot understand any thing in this.
    Can you please provide more clearity.
    Thanks
    Kiran

  • Unable to create per forma invoice w.r.t to Free of charge delivery

    Hi Experts,
    I create a free of charge delivery order type ZFD (copy from order type FD). I create a delivery (VL01N) with reference to free of charge delivery order & done PGI. But when i want to create Per forma invoice of this delivery with reference to delivery number, i am not able to do this and got message No billing documents were generated. See log Message no. VF032.
    Please help me regarding for the same.
    Best Regards,
    Shatrughan

    Hi,
    Error Log
                 0004000025 000010 The item is not relevant for billing
                Technical data
                    Tech. data details
                     Client                                 100
                     Group Number
                     Sales Document Number                  0004000025
                     Item Number of the SD Document         000010
                     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
    Regards,
    Shatrughan

  • Error Message while creating A/P Invoice

    hi experts,
    I try to create AP invoice but system shows following error cannot create standalone AP/AR invoice with excisable item. please explain me the reason to understand.

    Hi Ratna Kumari,
    When ever you create Delivery for Excise able Item System Pop Up That You need to Create Excise able Invoice for this Delivery.
    If you will not Create Excise able Invoice then You will not be able to create Invoice.
    If Item is Excise able then you have to Create Excise able Invoice other wise you will not be able to create Invoice.
    If you have included Tax with 100% Non Deductible then also you have to create Excise Invoice for every Delivery of Excise able Item for Creating Invoice.
    This is Standard System Behavior. You to Create Excise able Invoice for Creation Invoice.
    Hope this help
    Regards::::
    Atul Chakraborty

  • Order Related Proforma Invoice for Free delivery Sales Order Type

    Dear All ,
    The requirement is as given below :
    We need to create an Proforma Invoice for Free Delivery order type  (FD) . The item cat is TANN with
    Pricing              B
    Billing Relevance    A
    The Pricing procedure is Free of charge - Zvar6. with R100 % dicount condition type .
    Created Proforma ZF9 with doc pric "C". Maintained copy control .Between ZF9 and FD (  order related biling).with the following :
    Copying requirements   008  Item/ord.pro forma
    Data VBRK/VBRP         000
    Billing quantity     C
    Pricing type         G
    The condition record is R100 is captured in the order and the net value becomes zero . But when i create Proforma Invoice ZF9, the Dicount condition R100 is not copied into the Billing document ( ZF9). I am not able to understand where the mistake is .
    Can any one give their inputs .
    Thanks in advance
    Veera

    Hello Veera
    kindly check whether free good determination is activated for the combination sales org, dist channel, division, document pricing procedure(C), cust pricing procedure, free goods pricing procedure.
    thank you
    Anirudh

  • Single Supplimentary Invoice for Multiple Invoices

    Hi
    We are having Standardmanufacturing sales Process
    Ex: We did the sales of 1000 quantity of  goods over the period of time for Price  100 Rs/ and we had created invoices also in the system .After 3 months with the customer on mutual undersating we have decided to hike the price  110 Rs on excisting sales, Now i want to create Single Supplimentary invoice for multiple Invoices for the hiked amount 10,000 Rs( 1000 *10=10,000) along with Excise duties.
    Please help me out to map this senario in sap
    Thanks
    Mujubur
    09967919351
    Edited by: mujubur shaik on Nov 9, 2009 8:06 AM

    Dear Mujubur,
    It is generic feature of a business that price is changed for various reasons. So excise accounting is adjusted corresponding it.
    What you do, please create a debit memo request which is a sale order type document by VA01 with reference of all commercial inovices against which you want to create the single supplementory invoice. Then create a debit memo which is a bimming document by VF01 with reference of that debit memo reuest and do the release to accounting.
        Then part A/C will be debited and all other corresponding accounts with Excise provision A/C will be creadited. Now create a billing type as proforma invoice (Bill category U) in configuration and mainatin the copy control from debit memo document type.
    It is better to do the configuration first. Then create the proforma invoice with reference of that debit memo. It will be like a image document of the debit memo. Then create excise invoice by J1IIN with refernce of that proforma invoice with different number series if you want tom maintain. Then excise account will take place -  Ex provision Dr ,  ED payable Cr. That Excise document is  your desired supplementory excise invoice. It will also come in the scope of excise utilisation in J2IUN. The proforma invoice is to be created other wise excise document with transaction type DLFC will not vecreated as it creates only from proforma inovice , not from any other type of billing document.
        Don't go for Excise JV. Apparemntly it is seemed that will be easier but your accounting will be wrong and there will be no track of data which will lead a problem for long run.
    Please do it.  If more help required then inform. I have implemedted the same process.
    Hope this will serve your purpose.
    Regards
    Indranil

Maybe you are looking for

  • Any example in IDES for DMS

    Hi Everybody I am exploring document structure functionality /DMS other  along with Engineering change management for document approval  for a complex project.  The various drawings pertaining to various activities viz. mechanical, civil, electrical

  • My computer crashed and I lost my Photoshop Elements 11

    I bought and installed photoshop elements 11 about six months ago and it worked fine so I threw away the packaging that it came in along with the product key.  Just recently my computer crashed and I lost all my elements information.  Is there a way

  • Differences Between CTE Trialing and CTE Leading

    Hi, Could someone tell me the difference between environments CTE trailing and CTE leading? Thanks Edited by: Aztaro on 25-may-2009 9:26

  • What is are 'Tasks'

    Documentation issue: When one asks for the API for highlighted text one is presented its documentation and the first thing one sees in the table of contents is "Tasks". I understand class methods, and instance methods but what is meant by "Tasks"? A

  • Java and FLV media question

    Here is my problem: I have an 18 min FLV content. Aspect ratio is 720 x 480. The FLV timeline controls are not as customized as I want it. Because there is ad content and we dont want the audience to skip the ads. Suppose the audience has watched 3 m