Purchace Order -A/P Invoice

Hi
we are creating PO s for a service items in foreign currency and when we convert it to an A/P Invoice, it displays a Debug error message and needs to close the SAP.
can you help me to find the solution for  this.
kind regards,
chaminda ratnayake

hi
thanks for the reply.
actually we have 7 client machines with one server. all the data basess exist in the same server. when we login to the Anather Database. this error is not comming. but all the client machines got the same problem in that data base.
today we got this problem, yesterday it was not. actually,
still we are using a evaluvation copy of SAP B1, still we didnt get the original version.
OK. now, we have to reinstall only clients or the server or both.?
other problem, is all the original development we have don in the same data base.
so if we loose that that will be a big problem.
pls reply.
kind regards,
ratnayke

Similar Messages

  • Table For Open Sales Order And Customer Invoices

    Dear Gurus,
    Are there any table to know open Sales orders and pending invoices for Customers?
    Wishes,
    Abhishek

    Hi,
    Go to T code VA05 and select open sales order radio button. Put other input parameters like date range or sold to . Execute you shal get list of all open sales order.
    For pending invoices go to T code VL04 and you get list of all billing not yet created even though GI is done.
    These are standard SAP functionality and can be used rather than looking in a table level.
    Regards
    Vivek

  • Table for open Purchase order and pending invoices for vendors

    Hi,
    Are there any table to know open Purchase orders and pending invoices for vendors.
    Quick response will be appreciated.
    Thanks & Regards

    hi,
    Purchase Order:
    S011:(PURCH: Purch. Group Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Vendor No (LIFNR)
    S012: (PURCHIS: Purchasing Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Material No (MATNR)
    Plant (WERKS)
    Info Record Category (ESOKZ)
    Material Group (MATKL)
    Info Record (INFNR)
    Country (LAND1)
    EINE: (Purchasing Info Record: Purchasing
    Organization Data)
    Info Record (INFNR)
    Purchasing Org (EKORG)
    Info Record Type (ESOKZ)
    Plant (WEKS)
    EKET: (Delivery Schedules)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Delivery Schedule (ETENR)
    EKPO: (Purchasing Document Item)
    Purchasing Doc (EBELN)
    Item (EBELP)
    EKKN: (Account Assignment in Purchasing
    Document)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Account Assignment (ZEKKN)
    EKKO: (Purchasing Document Header)
    Purchasing Doc (EBELN)
    EORD: (Purchasing Source List)
    Material No (MATNR)
    Plant (WERKS)
    Source List No (ZEORD)
    thx,
    Ganpat

  • How to make the connection between a sale order and an invoice in SDK

    Hi,
    Im trying to make the connection between a sales order and an invoice using the SDK.
    Here is how i create each of them:
    Invoice:
    public int SalesInvoiceInternalSave(string buisnesspartnerCardCode, DateTime dueDate, double discountPercent, string id, IList<InternalItem> items, ref int invoiceId)
          int res = 0;
          SAPbobsCOM.Documents invoice_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);     
          invoice_entry.CardCode = buisnesspartnerCardCode;
          invoice_entry.DocDueDate = dueDate;
          invoice_entry.DiscountPercent = discountPercent;
          invoice_entry.Reference2 = id;
          foreach (InternalItem item in items)
            invoice_entry.Lines.WarehouseCode = item.Shopid;
            invoice_entry.Lines.ItemCode = item.Code;
            invoice_entry.Lines.ItemDescription = item.Name;
            invoice_entry.Lines.Quantity = item.Quantity;
            invoice_entry.Lines.UnitPrice = item.Price;
            invoice_entry.Lines.Add();
          res = invoice_entry.Add();
          return res;
    Sales order:
        public Boolean SalesOrderInternalSave(string orderId, string buisnesspartnerCardCode, DateTime dueDate, IList<InternalItem> items)
          SAPbobsCOM.Documents order_entry = (SAPbobsCOM.Documents)Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders);
          order_entry.CardCode = buisnesspartnerCardCode;
          order_entry.DocDueDate = dueDate;
          foreach (InternalItem item in items)
            order_entry.Lines.WarehouseCode = item.Shopid;
            order_entry.Lines.ItemCode = item.Code;
            order_entry.Lines.ItemDescription = item.Name;
            order_entry.Lines.Quantity = item.Quantity;
            order_entry.Lines.UnitPrice = item.Price;
            order_entry.Lines.Add();      
          int res = order_entry.Add();
          return res == 0;
    What do i need to change to get the connection between the two of them?
    And how do you insert a amount (not percent) discount into an invoice?
    Regards,
    Torben

    Hi,
    Add the sale order, then add the invoice. and while adding the invoice please add the following details to the invoce documen
    invoice_entry.Lines.BaseEntry = 'Doc entry of the newly created SO
    invoice_entry.Lines.BaseLine = 'Line No of the SO
    invoice_entry.Lines.BaseType = 17 'For sales order document type.
    Hope it helps,
    Vasu Natari.

  • "All items from purchase order cannot be invoiced"

    Hello,<br />
    <br />
    I'm on a SRM 7.0 SP 5 system (ext-classic scenario). Here i try to create an invoice with reference to a Purchase Order, but none of my Purchase Orders can be used for reference. I get the following warning message 'All items from purchase order cannot be invoiced'.<br />
    <br />
    - Created via POWL (create with reference -&gt; invoice/credit memo) i always get the warning message 'All items from purchase order cannot be invoiced'. And no items are converted / can be used for invoicing. Additionally when i use the search option 'find purchase order' within the create invoice transaction i can not find any purchase order to use, it shows 'There is no search result' while there are plenty purchase orders marked with 'invoice expected'.<br />
    <br />
    I am able to create invoices without reference.<br />
    <br />
    I tried vendors set up only for 'invoice expected' and 'GR', 'invoice expected' / 'GR' / 'GR-based-IV' and 'invoice expected' only none of them works, indicators set on vendor master are correctly used on the created purchase order. Outputting PO doesn't make any difference neither.<br />
    <p />
    I have not set up the following (do i need to?):<br />
    - Deactivated the 'CRME' transaction type, no Credit Memo transaction type has been configured/is active.<br />
    - I have not defined the 'INV' transaction type as a follow-on document for my ECPO transaction type within the define transaction type transaction.<br />
    - Tollerances<br />
    <br />
    <b>edit</b> -&gt; i've already searched thorougly for SAP notes but no note seems to cover this particular problem.<br />
    <br />
    Help is very much appreciated

    Solved! Added SYS attribute for back-end system in organisational scheme.

  • Order status (from invoice)

    Hi experts,
    I have gone through the relevant thread in the forum but fail to solve the issue below. Plz help. Many thanks.
    Issue: Order status remains being processed even its billing document has been released to accounting.
    Request: Order status show completed when order qty has been full reference in delivery.
    Background: Order type A is  created with reference to invoice F2. "Completion Rule" in item category for A is marked B. In VTAF (from F2 to A), "Pos./neg. quantity" is marked + & "Update document flow" is marked X. In VTLA (from A to delivery), those 2 settings have been maintained as well.

    Hi Shambhu, Lakshmipathi,
    Plz let me clarify my issue. The document flow is sales order -> outbound delivery -> invoice (F2) -> returns order A -> returns delivery -> RE.
    My request is to make returns order A completed if returns delivery qty is equal to returns order qty. U know, if creating order without any reference, order status show completed when order qty is fully delivered. Thus, I could not understand what Lakshmipathi mentioned "standard hehaviour".
    By the way, the information of my system configuration can be found in my first thread, for e.g., "completion rule" B has been set in item category for returns order A.
    Looking forward to your advice.

  • Purchase Order Price and Invoice verification price

    Hi All,
    In which report we can get purchase order price and Invoice verification price in SAP standard.
    Thank in Advance........
    Regards,
    Sanjay

    Hello,
    Check ME80FN transaction and select change view on the output screen and select Purchase order history.
    Regards,
    Shailesh

  • Relationship between sales standard order u2013 Purchase order u2013 Sales Invoice

    In the function screen u2018Document flowu2019, I see the relationship between the sales standard order, purchase order of material and the sales invoice this material. In the table VBFA, it exists the relationships between the Sales Standard Order u2013 Purchase Order and Sales Standard Order u2013 Sales Invoice, but it doesnu2019t exists the relationship between Purchase Order u2013 Sales Invoice.
    I need to link a Purchase Order with a Sales Invoice, which it has invoices the corresponding material had been purchased before, but I donu2019t know which table SAP maintenance this relationship.
    Thanks in advance.
    Xavier Gràcia.

    you found the table, there is no other with a direct link.

  • Order related Proforma Invoice

    Hi All,
       I have a sales order with two line items.
    I want to create the order related proforma invoice for one line item.
    Means for the same sales order while creating proforma invoice only one line item should dispaly and not two line items. Means I want to create to proforma invoices for two line items.
    Note: My client do not want to delete line items from sales order. Without deleting he wants to create.
    Reward points for helpful answer.
    Regards
    Ashis

    Dear Friend,
    The only solution to your one performa invoice of one order line item is copy control setting.
    You have to create a requirement go to T-code VOFM
    then in the copying requirements of the billing types
    ask your abaper to frame a requirement for one item one proforma.
    then assign the same in the t-code VTFA .
                          OR
    Ask your users to go to VF01 and sleection lists and do the indivual billing of the Order items.
    reward points if helpful,
    regards,
    Amlan Sarkar

  • Purchase order for the Invoice

    Hi,
    Iam an ABAP er can any one guide me to find the purchase order for the Invoice posted please help me out with some tables related to this

    Hi Karthick,
    If you want to get material doc - invoice doc pairs I think you can use table EKBE.
    (http://www.erpgenie.com/abap/tables_mm.htm)
    BR
    Csaba

  • Sale orders for which invoice has been created

    is there any table in sd module from which we can find out the list of all sales order for which invoice has been created.

    Hi
    Kindly Table VBFA.It is sales document flow table containing data from the begining of sales order till the invoice.
    VBTYP_N = 'M'  invoice
    Thanks
    Subha

  • Updating text to SAP purchace order

    Hi,
      i am working on an inbound idoc , related to purchace order.
      i have a requirement of updating the header and item text to the SAP purchace order . how is this done , should i use a bapi for this .Please reply to me as soon as possible .
    Thanks in advance!

    Hi
    Long Texts are stored in tables
    STXH - header
    STXL - details.
    if you want to read the texts you can use Fun Module  READ_TEXT
    Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
    These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
    Double click on the text, from the text editor menu GOTO-> HEDAER
    you will find the all above 4 parameters
    so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
    To Upload these Long Texts into the system use the fun modules
    CREATE_TEXT and SAVE_TEXT fun module for the creation of Header and Item texts
    for HEADER
    OBJECT = EKKO
    OBJECTNAME  = PO Number (ekko-EBELN)
    ID = (take the number from the system from the Text editor GOTO->HEADER)
    LANG  = SY-LANgu
    for Item
    OBJECT = EKPO
    OBJECTNAME  = PO Number + Item Number  (ekko-EBELN + ekpo-ebelp)
    ID = (take the number from the system from the Text editor GOTO->HEADER)
    LANG  = SY-LANgu
    Pass these parameters and create the text.
    sample code
    REPORT zmm_longtext
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab1 OCCURS 0,
            matnr    LIKE mara-matnr,    " Material
            text     LIKE tline-tdline,  " Long Text
          END OF itab1.
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab OCCURS 0,
            matnr LIKE mara-matnr,    " Material
            text  LIKE tline-tdline,  " Long Text
          END OF itab.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline.   " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname,   " Object Name
           dl_lan TYPE thead-tdspras,   " Language
           gv_matnr TYPE matnr.
    Constants
    CONSTANTS:
    Object ID for Long Text of Material Basic Data 1
      c_best     TYPE thead-tdid VALUE 'GRUN',
      c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
    Parameters
    PARAMETERS p_file LIKE rlgrap-filename.
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab1
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      SORT itab1 BY matnr.
      LOOP AT itab1.
        CLEAR gv_matnr.
        SELECT SINGLE matnr INTO gv_matnr
           FROM mara WHERE bismt = itab1-matnr.
        IF itab1-text NE ' '.
          itab-matnr = gv_matnr.
          itab-text  = itab1-text.
          APPEND itab.
        ENDIF.
        CLEAR itab.
      ENDLOOP.
      DELETE itab WHERE matnr EQ ' '.
    Upload the Texts
      SORT itab BY matnr.
      LOOP AT itab.
        dt_lines-tdformat = 'ST'.
        dt_lines-tdline = itab-text.
        APPEND dt_lines.
        dl_lan = sy-langu.
        dl_name = itab-matnr.
    Call the Function Module to Create Text
        CALL FUNCTION 'CREATE_TEXT'
          EXPORTING
            fid         = c_best
            flanguage   = dl_lan
            fname       = dl_name
            fobject     = c_material
            save_direct = 'X'
            fformat     = '*'
          TABLES
            flines      = dt_lines
          EXCEPTIONS
            no_init     = 1
            no_save     = 2
            OTHERS      = 3.
        IF sy-subrc <> 0.
          WRITE:/ 'Long Text Creation failed for Material'(001),
                 itab-matnr.
        ELSE.
          WRITE:/ 'Long Text Created Successfully for Material'(002),
                 itab-matnr.
        ENDIF.
        AT END OF matnr.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    Regards
    Anji

  • Sorting of order items on invoice

    How can we make sorting on order items in invoice when we are clubbing together many sd-orders in one invoice?
    In the document flow, the sd-orders are sorted in a correct matter - but when we look at the invoice the materials is not sorted in the same way.
    Take a look at the link [sorting|http://img212.imageshack.us/img212/2433/sortingdocumentflowvsinit8.jpg]
    I would expect the order items from sd-document 37403, then 37404 etc. to be sorted in the invoice in the same way as document flow - hence order items from 37403 first, then order items from 37404 etc.
    Is this possible and if so how?

    I haven't received any answers or feedback to this question.....does it mean it is not possible to sort this on the SD-side?

  • Framework order with mandatory invoicing plan

    Hi,
    we have requirement from customer to ensure that It s no possibility to save Framework order without foundation Invoicing plan. We created for this customer type of PO - ZFO. Is any possibility how make this without coding some coding, we prefer some changes in customizing... I tried to make some change via Purchase order- Define Screen layout at Document level but without succcess.
    Thanks
    Petr

    Hi,
       As of my knowledge, there is no option to make the push button "Invoicing Plan" mandatory in standard.
       If the user click on the invoicing plan button, the remaining fields will appear. These fields can be made mandatory, through transaction variant for ME21N using SHD0 transaction. But if the user forget to click on "Invoicing plan" button, the transaction variant will fail.
       If you want to make the invoicing plan button mandatory, you may to go for development. There is no configuration option as of my knowledge.
    Regards,
    AKPT

  • Error when copying purchase order to AP invoice

    When trying to copy purchase orders to AP invoice for one vendor (several invoices).... we receive error "This document cannot be added, becuase the base document row was updated. Copy the document again from its base document. Message 439-197

    You may check these threads first:
    This document cannot be added Error
    AR Credit Note not being added.
    Thanks,
    Gordon

Maybe you are looking for

  • EJB 3.0 - Communicate an Applet with a Session Bean

    Hello I'm developing an EJB 3.0 app (eclipse and glassfish tools bundle), and I have an applet that has to use remote session beans. QUESTION: Is it possible for the applet to connect to EJB? QUESTION: By creating a J2EE application client project, c

  • How to initialize the Select Options

    Hi, I have 5 select-options and 3 parameters in my selection screen. I have to assign default values to the select-options. I have S_VKORG for Sales Organization. The default values for this select-option are 'KF11', 'BH13', 'KF26'. How to assign the

  • Griffin iMic, no stereo

    Just set up a Mac Mini. One of the intended uses is to copy old vinyls and personal tapes. For input, I use a Griffin iMic through an amp NAD 3225PE. No trouble except no way of getting full stereo, only one channel works. The same with my G4 iBook.

  • Fcsvr_client getmd works in Terminal, not from Response

    I've written a script that grabs the contents of a metadata lookup named PAENUM_CUSTCLIENTS and does some stuff with it. I get the contents just fine if I run the script from the command line, but I get absolutely nothing when running with a Subscrip

  • Email push is very slow\

    My Email is working very slow, First i am getting it in my computer and then in my I Phone and that if i press the Mail App its freshshing if not its not refreshing the mail. Till Yesterday it was working properly and only today i am facing this Prob