Issue with Idoc when creating invoice taking wrong payment term

Hi All,
My Requirement is invoices created through B2B interface should hold the payment term of purchasing party instead of invoicing party
400021 is Invoicing party having payment term 2000 i.e. 20 days
414478 is the Purchasing party having the payment term 1000 ie 10 days
So invoice should hold the payment term 10 days instead of 20 days
I have an IDOC which is creating Invoice, I am trying to reprocess the IDOC to see the issue but could not able to achieve the solution.
Please help me out which approach should i follow to achieve the solution of this issue.
Thanks,
VB

Hi,
Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
Cheers,

Similar Messages

  • Issue with Idoc for creating purchasing contracts

    Hello everyone,
    I'm trying to create purchasing contracts using Idoc BLAORD3 through LSMW.
    But i have a problem : all informations concerning account assignement are missing on this Idoc.
    Does anyone know how to solve this problem? Maybe is there a BAPI which could replace my Idoc? Or is there another Idoc which could create account assignement seperatly?
    Thanks in advance for your help.
    Cédric

    Hi,
    Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
    Cheers,

  • Budget exceeded BP604 (when create Invoice)

    Hi All,
    User got an error message budget exceeded BP604 when create invoice. How can i know what the configuration to check why system check budget( Investment management). I tried to check the configuration in SPRO (Define tolerance limit for availability control) shows that budget profile use ++ which are : (no invoice checking) but in actual it checks budget.
    ++     All activity groups           
    00     Purchase requisition          
    01     Purchase order                
    02     Orders for project            
    03     Goods issue                   
    04     Financial accounting document 
    05     CO document                   
    06     Budgeting                     
    07     Funds reservation             
    08     Fixed prices in project       
    09     Payroll                       
    Many thanks in advance.
    Nies

    Business transaction group 04 (Financial accounting document) contains below transactions:
    G/L account posting
    FI invoice parking
    Invoice verification
    Goods receipt for the order
    Cash budget management
    Payment transfer
    Down payment posting
    Inventory difference
    Regards
    Sreenivas

  • TS1398 I have the ipad retina display version - I have a BIG issue with this when out and about that on about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!

    I have the ipad retina display version - I have a BIG issue with this when out and about, that only about 50% of the time will it see my HTC mobile WiFi hotspot - rebooting either, or both devices doesn't cure the problem it drives me MAD!!!!
    The HTC hotspot works fine with everything else I connect to it.
    Also - ipad will not connect to my HTC via bluetooth. Again, I can connect to everything else with my HTC other than my ipad.
    I have to say this is my first venture into Apple products and I have always wanted to get away from my windows based laptop to get a MacBook, the problems I have had (flash player etc) & continue to have (as above) are putting me right off swapping over. I HATE technology that doesn't work and my ipad has been hard work!

    I stated my ipad as being an ipad2, but I now think it is a 3??? It was new Jan this year and is the 64gb retina display version.
    I really would like to get to the bottom on this problem wit mobile hotspots as it is sitting on my desk next to me now and I cannot get it to connect to my HTC mobile hotspot!!!! It might be taking a flying lesson soon at this rate!!! Grrrrrrr...........

  • Issue with Metadata when importing 30K images from Photoshop Elements 7

    I'm a new mac user and am moving ~30k images from my PC to my mac. I have photoshop elements 7 that I use on the pc and am moving everything over to Aperture. I maintain all of my organization on the PC using "key words". I made sure to move all of the metadata over to the Mac with the images. However, I would say approx 5,000-10,000 of the images have the wrong Metadata. For example, a key-word "Vacation" is showing up on an image that should say "Christmas". This is just an example and it's creating major issues with my smart albums. The wrong images are in the wrong albums. Help!?!?

    Hi Shellie
    Is anyone familiar with PSEDBTOOL? I've been told it will do a good job applying metadata to files inside PSE but I'm afraid to run it and have it screw up my current library.
    I'm not familiar with that tool. What I will say is that your caution is well founded. If you do try to run anything like that on the PC side, ensure first that you have a backup of any data that might be modified - and that you (a) know how to restore from the backup in case anything goes pear-shaped and (b) you've actually tested your backup (by doing a restore) and are confident with its integrity.
    One other thought has occurred to me since earlier. Let's try a different tool...
      – Locate one of your problematic master files - on the Mac side - as exported from PhotoShop Elephants.
      – Open it in Preview. (It lives in the Applications folder.)
      – Select +Tools > Show Inspector+ (if the Inspector is not already showing from an earlier session).
      – Click on the Inspector icon which resembles a simplified traditional magnifying glass.
    That displays the keywords in the file.
    How do they compare with your expectations (from PSE)? How do they compare with what's showing in Aperture?
    This won't solve the problem, but it might just shed some more light on the problem.
    Regards,
    Gary

  • Replace VAT registration number when create invoice

    Hi All Expert,
    I want to replace the VAT registration number (VBRK-STCEG) with some useful information when create invoice.
    For e.g. Sales Order number.
    I've check the user exit RV60AFZC Form USEREXIT_FILL_VBRK_VBRP,
    but when I instead the code there, the VAT registration number still is BLANK when create the invoice using VF01...
    Please help.
    Terry

    Hi
    As per my understanding you want to display the sales order number in VAT Registration no. field. Actually this data is coming from Customer master (t-code XD02) in genral Data's Control Tab.
    Now your concern is to display the sales order no. in invoice. instead changing standard you can make it happen through copy control (T-code VTFL) with your invoice document type to Delivery document type. There is option as Reference and assignment at header level of copy control.
    Change the option of displaying sales order no in any of them. as per your config there your sales order no will be display in your billing header in assignment or reference field.
    Regards
    Shambhu Sarkar

  • How to get text when creating invoice

    Hi Experts,
    As standard system behavior, when creating invoice the item description is retrieved from material description in master data.  Now we want to use sales text in material master for invoice item description, can we do this?
    Thank you in advance.
    Richard

    hi richard
    yes this is possible.
    you will have to pass this parameters under function module called READ_TEXT for desired output.
    NAME = MVKE-MATNR & MVKE-VKORG & MVKE-VTWEG - to read for which sales orgn/distribution channel/division you have to pass the value.
    LANGUAGE = 'EN' - in which language you have to pass the same.
    ID = 0001
    OBJECT = MVKE - table
    if both are there
    material description and material sales text then
    you have to write a condition there.
    regards
    balajia

  • I am having issues with MLBtv, when I switch on my ATV it no longer comes up as an option nor does vimeo or the iTunes store, i've tried resets etc and after those they appear. put the tav into sleep mode and mysteriously they don't re appear. Any ideas?

    I am having issues with MLBtv, when I switch on my ATV it no longer comes up as an option nor does vimeo or the iTunes store, i've tried resets etc and after those they appear. put the tav into sleep mode and mysteriously they don't re appear. Any ideas?

    I am having the same issue but mine is with Netflix.  And there are only 4 categories now on the main menue when there used to be 5.  Something went crazy with ATV software.

  • Wrong payment term during invoice creation

    Hi All,
    when i created sales order with one line item then it is creating two entries in VBKD table with POSNR = '0000' with payment term ZTERM = 'ZI15'  and POSNR = '1000'  with payment term ZTERM = 'Z223',  but problem is that when going to create Invoice it is picking wrong payment terms Z223 while it shud be ZI15. can anyone please help me to know why it is creating 2 entries in VBKD and why it is taking wrong invoice during Invoice creation.
    Saurabh

    HI,
    Please review SAP note 38934 which may help to explain this issue.
    If you do not have VBKD data for a particular line item, it is the same
    as the header (vbkd-posnr = 000000). This is standard behaviour.
    so if you have a vbkd line item, that simply means some part of the business data is different to the header
    and that's why the line item for VBKD was created (in this case a different payment terms has been entered for the line item)
    For the second part of the issue, please start at trx VTFA and check the copy control (especially at line item level).
    kind regards
    Paul Q

  • Wrong Payment term in the Invoice

    We have a problem with one of the vendor Invoice creation. We are getting wrong payment term in the Invoice.
    We have payment term A in the vendor master both company code and Purchasing Org. We have the same payment term A in Purchase order and Contract.
    But when we create invoice using MIRO for the PO we are getting Payment term B. This is happening for only one vendor.
    We know that it can be corrected at the financial document level but want to know how this payment term B is pulled up from cause i checked all the options but nowhere to find from where it is coming.

    Hi Aparna,
    Check the following:
    In MIRO, if you use PO reference to create the IV document,terms of payment will not get copied from vendor master, the terms of
    payment will come from the PO.(if you have the invoice entered without reference to the PO, then the terms of payment are copied from vendor.)
    So when you change the the invoice party in MIRO, new payment terms will not get copied from vendor master, they will come from the PO.
    Please review SAP Note 322430 MIRO: Proposal logic for terms of payment Payment terms are only adopted from the vendor master record Without reference to purchase order
    You enter an invoice without purchase order reference by adding a G/L account line or material line as a first item. If the terms
    of payment key does not contain any value, this is copied from the accounting view of the vendor master record.
    Thanks
    Aravind

  • Wrong PAyment Term Picked During MIRO

    Hello,
    I have an issue,
    1) I create PO .
    2) Then do MIGO and assign DELIVERY NOTE Feild .
    3) Then Further I create a MIRO giving DELIVERY NOTE feild as 'PO REFRERNCE' .
    NOw During MIRO its picking Wrong PAYMENT TERM.
    I checked Vendor master for PAYMENT TERM its maintained properly.
    I even checked OBB8 for proper assignment of Payment Terms.
    Eg For Vendor -123 Payment Term assigned is '3000'
    in PO its picking 3000
    but During MIRO it gives Incorrect Value '9000'
    Kindly suggest.
    Thanks & Regards,

    In MRM_PAYMENT_TERM
    Payment term feild (ZTERM) is not Export parameter,how can we Use this..
    It picks wrong payment term when Delivery note is selected During MIRO for 'PO Reference'
    If he uses PO number it gives correct payment term..
    Regards,

  • Any pointer to look into, when buyers cannot change the payment terms

    Any pointer to look into, when buyers cannot change the payment terms on the POs due to the error u201CExpected/Overall value should be equal or greater than invoiced amountu201D
    A thought process to look around, to investage this issue is appreciated.
    Thx/RICK

    Rick,
    this message may be due to the user trying to change a Purchase order item payment terms when there is already a blocked supplier invoice registered for the item.  The vendor invoice payment terms normally override the PO payment terms.  Users sometimes think they can speed up payment to a vendor by changing the payment terms on the PO.  This can only be done before an invoice is registered and the PO term can be overridden at invoice entry time in any case.
    Have a look at the terms on any associated invoice and the vendor record for the Purch org.  
    You may also want to have a look at your business process for blocked invoice resolution.
    If the user wishes to speed up payment of an invoice they need to contact the users who are responsible for the vendor payments.  We call them AP staff in our org - stands for Accounts Payable.
    Hope this helps
    Allen

  • Error when creating Invoice via DI API

    Can you help me, I have a problem about DI
    When I create invoice with serial number and create transaction with 1 item in many serial number itu2019s no problem but
    If i create transaction with 2 diffrent item with many serial number has error the error code -5002([inv1.docentry][line:0],u2019item serial us not found in whseu2026.u2019)
    I using sap 2005 pl 40, I have debug my coding there is nothing wrong with it, than I suspec this is bug in DI is that rightu2026
    This is my code
      Dim oInvoices As SAPbobsCOM.Documents
            Dim iRetVal As Integer = -1
            Dim sErrMsg As String = ""
            Dim isAddHeader As Boolean = True
            Dim iRow As Integer = 0
            Dim sWhsCode As String = ""
            Dim iAddedQty As Integer
            Dim iCurrLine As Double = 0
            Dim iBasedDoc As Integer = 0
            Dim sNewDocNum As String = ""
            Dim sCardCode As String = ""
            Dim isdocnum As String = ""
            Dim CompleteOrder As DataRow
            Try
                oInvoices = myCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                For iRow = 0 To myOrderDetailsTable.Rows.Count - 1
                    Console.WriteLine(myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD))
                    If myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD) = 1 Then
                        Console.WriteLine(myOrderDetailsTable.Rows(iRow))
                        CompleteOrder = myOrderDetailsTable.Rows(iRow)
                        Console.WriteLine(sWhsCode & "   " & CompleteOrder(WHSCODE_FIELD))
                        sWhsCode = CompleteOrder(WHSCODE_FIELD)
                        With oInvoices
                            If isAddHeader Then
                                isdocnum = CompleteOrder(DOCNUM_FIELD)
                                iBasedDoc = CompleteOrder(DOCENTRY_FIELD)
                                sCardCode = CompleteOrder(CARDCODE_FIELD)
                                '.DocObjectCode = SAPbobsCOM.BoObjectTypes.oInvoices
                                .Reference2 = CompleteOrder(DOCENTRY_FIELD)
                                .DocDate = Today.Date
                                .DocDueDate = Today.Date
                                .TaxDate = Today.Date
                                Console.WriteLine("cardcode : " & sCardCode)
                                .CardCode = sCardCode
                                Console.WriteLine("ibasedDoc :" & iBasedDoc)
                                .Reference1 = iBasedDoc
                                isAddHeader = False
                            ElseIf isAddHeader = False Then
                                ' .Lines.Delete()
                                .Lines.Add()
                            End If ' isAddHeader
                            iAddedQty = 0
                            iCurrLine = 0
                            Console.WriteLine("CompleteOrder(ITEMCODE_FIELD) : " & CompleteOrder(ITEMCODE_FIELD))
                            .Lines.ItemCode = CompleteOrder(ITEMCODE_FIELD)
                            Console.WriteLine(".Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD) : " & CompleteOrder(WHSCODE_FIELD))
                            .Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD)
                            Console.WriteLine("Lines.UnitPrice = CompleteOrder(PRICE_FIELD) " & CompleteOrder(PRICE_FIELD))
                            .Lines.UnitPrice = CompleteOrder(PRICE_FIELD)
                            Console.WriteLine("CompleteOrder(ISUSEBATCH_FIELD) : " & CompleteOrder(ISUSEBATCH_FIELD))
                            If CompleteOrder(ISUSEBATCH_FIELD) = 1 Then
                                For iCurrLine = 0 To CompleteOrder(QUANTITY_FIELD) - 1
                                    If iCurrLine > 0 Then .Lines.BatchNumbers.Add()
                                    .Lines.BatchNumbers.SetCurrentLine(iCurrLine)
                                    .Lines.BatchNumbers.Quantity = 1
                                    Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
                                    .Lines.BatchNumbers.BatchNumber = CompleteOrder(SCANNED_FIELD)
                                    '.Lines.BaseEntry = iBasedDoc
                                Next
                            ElseIf CompleteOrder(ISUSEBATCH_FIELD) = 0 Then
                                Console.WriteLine("CompleteOrder(WHSCODE_FIELD) :" & CompleteOrder(WHSCODE_FIELD))
                                While sWhsCode = CompleteOrder(WHSCODE_FIELD)
                                    If iCurrLine > 0 Then .Lines.SerialNumbers.Add()
                                    .Lines.SerialNumbers.SetCurrentLine(iCurrLine)
                                    Console.WriteLine("CompleteOrder(SYSSERIAL_FIELD)" & CompleteOrder(SYSSERIAL_FIELD))
                                    CompleteOrder(SYSSERIAL_FIELD) = IIf(IsDBNull(CompleteOrder(SYSSERIAL_FIELD)), 0, CompleteOrder(SYSSERIAL_FIELD))
                                    .Lines.SerialNumbers.SystemSerialNumber = CompleteOrder(SYSSERIAL_FIELD)
                                    Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
                                    .Lines.SerialNumbers.InternalSerialNumber = CompleteOrder(SCANNED_FIELD)
                                    ' .Lines.BaseEntry = iBasedDoc
                                    iCurrLine = iCurrLine + 1
                                    iRow = iRow + 1
                                    If iRow <= myOrderDetailsTable.Rows.Count - 1 Then
                                        CompleteOrder = myOrderDetailsTable.Rows(iRow)
                                    ElseIf iRow > myOrderDetailsTable.Rows.Count - 1 Then
                                        Exit While
                                    End If
                                End While
                                iRow = iRow - 1
                            End If
                            .Lines.Quantity = iCurrLine
                        End With ' oInvoices
                    End If ' CompleteOrder(ISSCANNED_FIELD) = 1
                Next iRow
                iRetVal = oInvoices.Add()
    thnx for your attention

    Hello tony,
    Please check the following:
    1.Make sure the item is managed by serials
    2.The serials number have been auto created in GRPO/AP invoice etc puchase document
    3.You need to set the system serial number for the lines. How do you know the system serial number of the serial number? refer to the Serial Number Details form
    Inventory=>Item management=>Serials Numbers=>Serial Number Details
    SystemSerialNumber Sets or returns the successive numerator starting from1 issued for each item with serial numbers management. This numerator progresses according to the creation of new units of the same sort (for the same item).
    This property is mandatory when using Serial Numbers for outgoing documents. Field name: SysSerial.This is a foreign key to the SerialNumbers object
    Sample code to add invoice with items managed by serials:
    Private Sub btnSerials_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSerials.Click
            ConnectViaDI()
            Dim oInvoice As SAPbobsCOM.Documents = Nothing
            oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oInvoice.CardCode = "C001"
            oInvoice.DocDueDate = Date.Now
            Dim oLines As SAPbobsCOM.Document_Lines = oInvoice.Lines
            oLines.ItemCode = "S00002"
            oLines.UnitPrice = 1500
            oLines.Quantity = 2
            oLines.TaxCode = "CA"
            'Set the system serial no. for the 1st item
            oLines.SerialNumbers.SystemSerialNumber = 3
            'Set the system serial no. for the 2nd item
            oLines.SerialNumbers.Add()
            oLines.SerialNumbers.SystemSerialNumber = 4
            lRetCode = oInvoice.Add
            If 0 <> lRetCode Then
                oCompany.GetLastError(lErrCode, errMsg)
                MsgBox(errMsg)
            Else
                MsgBox("AR Invoice with serials number added.")
            End If
        End Sub
    Kind Regards, yatsea

  • Getting dump in generating IDOC when creating sales order

    hi all,
    I am using a std FM IDOC_OUTPUT_TPSDLS to generate the outbound delivery create/change.
    and i have created a new output type and added in V2 application and the Processing program is RSNASTED & Form ALE_PROCESSING.
    When I create the SAles Order in VA01, I am getting dump " Update terminated" and checked in ST22.
    I am getting this error "An exception occurred. This exception is dealt with in more detail below       
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_PARAM_MISSING',
    was neither                                                                   
    caught nor passed along using a RAISING clause, in the procedure               
    "NEW_DYN_PERFORM" "(FORM)"                                                    
    Since the caller of the procedure could not have expected this exception       
    to occur, the running program was terminated.                                 
    The reason for the exception is:                                               
    When calling the function module "IDOC_OUTPUT_TPSDLS", one of the parameters   
    needed according to the interface description was not specified.                                                                               
    This parameter was "DELIVERY".       
    I am not sure why this error...because I am using only starndard FM & program, why this issues..
    Kindly guide me
    thanks

    True what u r telling.....................
    I am trying to create a IDOC while creating,change a delivery.
    should i have to change the Processing program RSNASTED , form ALE_PROCESSING ???... or IDOC funciton module is wrong?
    please need ur advice
    thanks for your input

  • Issues with iMessage when switching data carrier (wifi - cellular)

    So I have had this issue with my 5S and now my 6+ in iMessage. Not *always* but often enough I've run into issues sending messages via iMessage when I associate with wifi in that they don't send. I'll get an error message saying "not delivered" and it will stack as many outgoing messages I try to send. However, if I force the first message to send as text, subsequent messages will go through afterwards without issue. If I go from wifi to cellular I have no issues whatsoever and when I have these issues on wifi, my data works fine (incoming emails, Facebook notifications, etc.). I used to run cellular data only because I had unlimited but now I have a cap so I intend on using wifi when possible...but to have to send my first message as a text just so I can use iMessage is annoying...

    Hi there BigDogg795,
    I would recommend taking a look at the troubleshooting steps for iMessage found in the article below. 
    iOS: Troubleshooting Messages - Apple Support
    To resolve issues with sending and receiving iMessages, follow these steps
    Check iMessage system status for current service issues.
    Go to Settings > Messages > Send & Receive and make sure that you registered iMessage with your phone number or Apple ID and that you selected iMessage for use. If the phone number or Apple ID isn't available for use, troubleshoot iMessage registration.
    Open Safari and navigate to www.apple.com to verify data connectivity. If a data connection isn't available, troubleshoot cellular data or a Wi-Fi connection.
    iMessage over cellular data might not be available while you're on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn which network your phone supports. If your network doesn't support simultaneous data and voice calls, go to Settings > Wi-Fi and turn Wi-Fi on to use iMessage while you're on a call.
    Restart your device.
    Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    If you still can't send or receive an iMessage, follow these steps
    Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    Make sure that the contact you're trying to send a message to is registered with iMessage.
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact in the Contacts app. Create a new message to the newly created contact and try again.
    Back up and restore your device as new.
    -Griff W.

Maybe you are looking for

  • Can't print from print server

    I have an HP PSC 1610 all in one. To set up my printer I pluged the USB cable into the Mac and had no problems. It obviously has the drivers because it added my printer in Print & Fax and it prints with no problem. What I want to do is unplug my USB

  • Why wont my podcast Cover art won't display?

    Hello Help Community,      Really new to podcasting. For some reason, my podcast Cover art won't display. Here's my podcast link: http://itunes.apple.com/us/podcast/knox-writers-house/id502632953 and here's my blog http://knoxwritershouse.wordpress.c

  • File doesnt show text I wrote in off to right of document .pdf

    I opened a pdf file which was 37.9kb. I marked up the document with the text off to the right of the document. Saved it..pdf is now 157kb Opened it and the document does not show my text mark up.  help

  • WLC 7.0.98.0 CPU high utilization

    I could not find anything wrong with the show tech on WLC. Client complaints CPU high utilization. Please help!

  • SharePoint app integrating with Outlook

    Is there a way to integrate an sharepoint app with outlook client?