Purchase Line Type Error

When I click update for a line type e.g. Goods, I get the error "You have encountered an unexpected error. Please contact the System Administrator for assistance"
Please guide me to fix this error.
Regards
Reem

Please post the details of the application release, database version and OS.
Was this working before? If yes, any changes been done recently?
Please check the database log file for any error messages and make sure you have no invalid objects in the database. Please also check Apache log files (error_log* and access_log*) and the application.log file for any errors messages.
Thanks,
Hussein

Similar Messages

  • How to change line type on EAM Purchase Requisitions

    When an EAM Work Order is released, we get Purchase Requisitions with the Line Type as the Purchasing Options default. This can be changed on the req but there is no option to select the req line type on the EAM Work Order page.
    There's a Line Type field on the EAM Work Order page but it's different from the Requisition Line Type.
    Just wondering what are our options to give users the ability to select req line type from EAM Work Order page. We know personalization is an option but we'd need to add a brand new field and even if we do, we are unsure that ReqImport will actually use this new field.
    Workflow extensions could also be a solution and was hoping that someone out there would have some tips and tricks to share.
    Regards,
    Sanjib

    I think the only way is to:
    1) read the address data from Matrix 178 and keep the data in your Add-On
    2) delete the original address (activate the menu item (ID = 1293) or send Ctrl-K via Application.SendKeys)
    3) "click" on "Define new"
    4) and enter the data you have read in 1) into the cells of Matrix 178 again...
    HTH

  • In "LOOP ... WHERE ..." the line type of the table must be statically defin

    Hi All,
            I have written the code, for greater than (GJAHR) 2007 and restricted company codes ( table name = ZGLCCODE).
         Here I have written the following the code which is giving an error
    In "LOOP ... WHERE ..." the line type of the table must be statically defin
    ZGLCCODE Contains only restricted company codes.
    Code is as follows
    TABLES : ZGLCCODE. 
    DATA : LT_DATAPACKAGE TYPE TABLE OF DTFIGL_4.
    DATA : LS_PACKAGE TYPE DTFIGL_4.
    TYPES: BEGIN OF LS_TZGLCCODE,
           ZBUKRS type BUKRS,
            END OF LS_TZGLCCODE.
    DATA : LT_ITZGLCCODE TYPE LS_TZGLCCODE OCCURS 0 WITH HEADER LINE.
    DATA : LI_NUM TYPE I,
           LC_ZGJAHR TYPE BSEG-GJAHR VALUE '2007'.
    SELECT ZBUKRS INTO TABLE LT_ITZGLCCODE FROM ZGLCCODE.
    Note:  "C_T_DATA" dynamic structure = "DTFIGL_4" structure
    *-  Remove from the DataSource Company Code -
    LOOP AT C_T_DATA INTO LS_PACKAGE WHERE GJAHR GE '2007'.
    READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = LS_PACKAGE-BUKRS.
    IF SY-SUBRC <> 0.
       APPEND LS_PACKAGE TO LT_DATAPACKAGE.
    ENDIF.
      CLEAR LS_PACKAGE.
    ENDLOOP.
    IF LT_DATAPACKAGE[] IS NOT INITIAL.
    DESCRIBE TABLE LT_DATAPACKAGE LINES LI_NUM.
    IF LI_NUM GT 0.
       REFRESH C_T_DATA.
       APPEND LINES OF LT_DATAPACKAGE TO C_T_DATA.
       REFRESH LT_DATAPACKAGE.
       FREE LT_DATAPACKAGE.
    endif.
    ELSE.
       REFRESH C_T_DATA.
    ENDIF.
    Please give me your valuable suggestions.
    Thanks
    Ganesh Reddy.

    Hi Ganesh,
    whatever you do, you can try like this:
    1 - any code posted should be wrapped in \
    then try something like this:
    field-symbols:
      <tabrec> type any,
      <field>   type any.
    sort ITZGLCCODE by bukrs.
    LOOP AT C_T_DATA ASSIGNING <tabrec>.
      ASSIGN component 'GJAHR' of structure <tabrec> to <field>.
      check <field> <= 2007.
      ASSIGN component 'BUKRS' of structure <tabrec> to <field>.
      READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = <field>
        BINARY SEARCH TRANSPORTING NO FIELDS. "speed up the volume.
      IF SY-SUBRC 0.
        MOVE-CORRESPONDING <tabrec> to  LS_PACKAGE.   
        APPEND LS_PACKAGE TO LT_DATAPACKAGE.
      ENDIF.
    ENDLOOP.
    Regards,
    Clemens

  • LV crashes when I try to save a VI - "fpsane.cpp line 269 error"

    Dear LV users:
    “Fpsane.cpp, line 269 error”
    I have this error when I modify the VI and try to save it. Often I run it once and save it without problem. When I modify it again and try to save it, the error appears and LV crashes.
    First I made a 6.0.2 upgrade and later I followed the “solving troubles” procedure at NI home page, like empty the TEMP directory and so on.
    Later I sent my VI to NI support and I received the confirmation that they were able to reproduce the error, but not able to isolate it. Also they wrote that “Maybe can be a problem with the charts” and “it could be a bug in LV 6.0.2 which is fixed in LV 6.1”.
    They saved my VI as a 6
    .1 version and there were no problems (any error).
    The problem is:
    “ LV 6.1 is the next release (newest version) of LV and it will be released this year (the date is not fixed). That's not an update like LV 6.0.2 but a new version of LV. It must be purchased”
    So I have a trouble here. I have some VIs that contains some parts in common. Now they are crashing too. I’m not confident anymore to make tests and modifications, since LV will crash again. What I’m doing after run my VI is exiting LV and open the VI again. Only after I can realize (and save) the modifications. This way is really a pain in a neck....
    Please, can someone tell me a good way to isolate this problem or to solve it? I really don’t want to wait LV 6.1 nether to buy it to solve this “bug”....
    Thank you in advance
    Rodolfo
    OS: Nt4 sp 6
    LV 6.0.2

    Dear LV users
    Sorry for not have included the VI.
    "test time save format.vi" is a learning program that contains some ideas to be used in another one. The error (fpsane.cpp) that appears here also was detected in LV 6. On the first time after grouping/edit some controls.
    This error occurs when you modify the VI and try to save it. Often you run it once and save it without problem. When you modify it again and try to save it, the error appears. This is the same problem that happened with 2 other VI, even with one LV original example (after grouping).
    The same error happened in another computer (also running NT4). All libraries were rebuilt during the installation of LV 6.02 and the TEMP directory is empty.
    I hope that this vi will help us.
    Thanks ag
    ain
    Rodolfo
    Attachments:
    Test_time_save_format.zip ‏92 KB

  • Help - Editor does not contain a main type error (Eclipse)

    Hello,
    I'm trying to run a Text input program out of the Eclipse program and I keep getting this Editor does not contain a main type error - can someone help me
    here's the code
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.text.DecimalFormat;
    import java.util.Scanner;
    import uwcse.io.Input;
    public class FileInputExample {
         public static void main(String[] args) {
              // Create a Scanner to read the input file
              String fileName = new Input().readString("Input file name? ");
              System.out.println();
              Scanner scan;
              try {
                   scan = new Scanner(new File(fileName));
              } catch (FileNotFoundException e) {
                   System.out.println(fileName + " doesn't exist!");
                   return;
              // Read the file and count the number of occurences of A, B, ...
              int[] count = new int[26];
              while (scan.hasNextLine()) {
                   String line = scan.nextLine();
                   line = line.toLowerCase();
                   for (int i = 0; i < line.length(); i++) {
                        char c = line.charAt(i);
                        if (c >= 'a' && c <= 'z') {
                             count[c - 'a']++;
              scan.close();
              int length = 0;
              for (int i = 0; i < count.length; i++) {
                   length += count;
              // Display the statistics (as an histogram)
              DecimalFormat df = new DecimalFormat("0.00");
              for (int i = 0; i < count.length && length > 0; i++) {
                   double percent = count[i] * 100.0 / length;
                   String display = "" + (char) ('a' + i);
                   display += "(" + df.format(percent) + "%):\t";
                   for (int j = 1; j <= Math.round(percent); j++) {
                        display += "X";
                   System.out.println(display);
    }Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    First, note that your program uses a non-standard class, "uwcse.io.Input" which is not available to us. Normally that is a show stopper - in this case, it's not, as I was able to eliminate its use.
    Your program runs fine, so the error is an Eclipse error unrelated to Java.
    You need to ask for help at an Eclipse support site, not here, as these forums are Java language forums.

  • Restrict Posting of Goods Receipt by Purchase Order Type

    Does anyone know of a way to prevent posting goods receipt for a specific purchasing document type? We need to prevent users from posting PO's that were system generated through an outside interface. They are brought back into ECC as the system of record. Since authorizations are only based on movement type, plant, and storage location with MIGO, without creating a new movement type, is there any way to achieve this?
    Thank you in advance for your help!

    Hi,
    Normally it would be the other way around, where the continued process for Open Purchase Orders will be done in SAP ERP, and no longer continued in the legacy system.
    So in your case, to avoid performing double posting (e.g. goods receipt in legacy and in SAP which causes duplicate inventory in books compared to physical) you would need to stop the Open POs in SAP ERP from being processed further.
    Just to be sure, there are a few types of Open POs
    1) Open PO where Goods Receipt have not been done.
    For this type, normally we would be doing the future receipts in SAP ERP
    2) Open PO where Goods Receipt done, but pending Invoice
    For this type, we could ignore the PO all together and create a FI Invoice when the invoice comes. (The quantity is entered in SAP ERP via 561 initial stock balance movement type)
    For type 1, if you perform goods receipt in legacy system, how are the quantities being captured in SAP ERP? How about payment, will this be done in legacy as well? How do you plan to reflect it in SAP?
    For type 2, will you be performing invoice receipt and payment in legacy? How will it be reflected in SAP without being a duplicate with the legacy payment?
    If you could answer these questions, then you could lock the SAP PO numbers by highlighting each line item, and click on the lock button. This will prevent future receipts in SAP.

  • Hash tables in combination with data references to the line type.

    I'm having an issue with hash tables - in combination with reference variables.
    Consider the following:  (Which is part of a class)  -  it attempts to see if a particular id exists in a table; if not add it; if yes change it.   
      types: BEGIN OF TY_MEASUREMENT,
               perfid      TYPE zgz_perf_metric_id,
               rtime       TYPE zgz_perf_runtime,
               execount    TYPE zgz_perf_execount,
               last_start  TYPE timestampl,
             END OF TY_MEASUREMENT.
    METHOD START.
      DATA:  ls_measurement TYPE REF TO ty_measurement.
      READ TABLE gt_measurements WITH TABLE KEY perfid = i_perfid reference into ls_measurement.
      if sy-subrc <> 0.
        "Didn't find it.
        create data ls_measurement.
        ls_measurement->perfid = i_perfid.
        insert ls_measurement->* into gt_measurements.
      endif.
      GET TIME STAMP FIELD ls_measurements-last_start.
      ls_measurement->execount = ls_measurement->execount + 1.
    ENDMETHOD.
    I get compile errors on the insert statement - either "You cannot use explicit index operations on tables with types HASHED TABLE" or "ANY TABLE".      It is possible that.
    If I don't dereference the type then I get the error  LS_MEASUREMENT cannot be converted to the line type of GT_MEASUREMENTS.
    I'm not looking to solve this with a combination of references and work ares - want a reference solution.   
    Thanks!
    _Ryan
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Apr 22, 2010 4:43 PM

    I think it might work when you change it for
    insert ls_measurement->* into TABLE gt_measurements.
    For hashed table a new line here will be inserted according to given table key.
    Regards
    Marcin

  • Mapping Line type Data to table data

    Hi,
    I am trying to refer to a data element present in the line type of a table type which belongs to an import parameter of a smartform. How will i access the data element to use in the where clause of a select statement.
    For Eg:
    Import Parameter name: PARTNER_H
    TYPE: CRMT_OUTPUT_PARTNER_H_COMT  (table type)
    The line type attached to this table type is CRMT_OUTPUT_PARTNER_H_COM.
    This line type is the structure that contains the data element that i need to use. the details are as below:
    Component: RELATION_PARTNER
    Component type: BU_PARTNER_GUID
    I have written a select statement as below:
    SELECT SINGLE * from BUT000 into I_FS_BUT000 where
      PARTNER_GUID = PARTNER_H-RELATION_H.
    I have given the input parameter as  PARTNER_H.
    It throws me an error that "PARTNER_H" is a table without a header line and therefore has no component called "RELATION_H".
    Is this the correct way to access the data element?Please help.

    Hi Neena,
                   Since PARTNER_H is an internal table it may have multiple values. If you want only a single entry from BUT000, you ll have to determine which entry from PARTNER_H you need in select query.
    If it is always going to have only a single value then , this will work :
    data: wa_partner_h type line of CRMT_OUTPUT_PARTNER_H_COMT.
    Read table partner_h into wa_partner_h index 1.
    if sy-subrc is initial.
    SELECT SINGLE * from BUT000 into I_FS_BUT000 where
    PARTNER_GUID = WA_PARTNER_H-RELATION_H.
    endif.
    Regards,
    Arun

  • Smartform : line type not working fine when used on Next page

    Hi ,
    Please help on below :
    I have a smartform and have line type which is used in printing the items.
    When I use this line type on very first page , it works fine.
    But for the next page which is the exact copy of first page ,
    the line type does not work fine with printing first line item on next page,
    it refreshed the work area which i am printing. so on the next page very first element gets all the values 000
    But on the next iteration it works fine and does not refresh work area.
    Please see why is such abnormal behavior happening.
    Regards,
    Uma Dave

    Hi Ameya
    there might be syntax error. Try to get what exaclty is an error using following code.
    CALL FUNCTION <smartform>
        EXCEPTIONS
        IF SY-SUBRC  0.
           CALL FUNCTION 'SSF_READ_ERRORS'
                IMPORTING
                     ERRORTAB = IT_ERRORLIST.
         ENDIF.
    In IT_ERRORLIST you will get error message.
    Regards
    Sachin G Patil

  • Purchase Order Interface Error

    Can any body help me out to resolve the issue.
    After inserting in the PO interface tables (PO_HEADERS_INTERFACE , PO_LINES_INTERFACE, PO_DISTRIBUTIONS_INTERFACE ) when I run request ( Import Standard Purchase Orders) following error occured. And no error is inserted in PO_INTERFACE_ERRORS also.
    ORA-01422: exact fetch returns more than requested number of rows in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01422: exact fetch returns more than requested number of rows in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01422: exact fetch returns more than requested number of rows in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Packaged po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    Regards,
    Siraj Gul

    Dear Sandeep,
    Thanks alot for the help. After your instruction when I run concurrent request following message show.
    --> To get the log message for PDOI, please use the following id to query against FND_LOG_Messages Table: AUDSID = 8621728
    --> Concurrent request completed successfully.
    But No data found in the table "fnd_log_messages"
    And Neither data deleted from PO_Header_interface table nor inserted in PO_Headers_All and other detail tables.
    Can you please provide me the script for PO_Headers_Interface, Lines and Distribution.
    Regards,
    Siraj Gul

  • Po Line item error report

    Hi All
    I am working on an requirment where the business needs to block the line item of old purchase order . when they are trying to block they are getting error message due to invalid line item master data at the time of blocking . Since the number of PO's are large it is not possible to process each po and determine the error .
    I would like to know if there is any standard report which would let know the line item error of an PO ? If not what would be the best solution to capture those error ?
    Regards
    Auro

    Hi,
    Try with Delivery completed indicator in Delivery tab of old POs, if the intention is to stop procuring the materials in old POS.
    Else go for mass maintenance but be very careful and cautious here
    Regards,
    Uzair

  • RFC call from Delphi (Bad Variant Type error)

    Well, I'm trying to call an RFC function from Delphi via ActiveX objects..
    I have Codegear 2009 installed and it works without any problem..
    But on another system with Delphi7 installed when I ran same code it gives "Bad Variant Type" error when assigning SapLogonControl's connection object to SapFunction's connection parameter... Both computers have same SAP installation. And on both systems ActiveX objects imported correctly on Delphi.
    Here is the code:
    unit logon1;
    interface
    uses
    Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    ExtCtrls, OleCtrls, StdCtrls, SAPFunctionsOCX_TLB,
    Grids, SAPLogonCtrl_TLB;
    type
      TForm1 = class(TForm)
      SAPFunctions1: TSAPFunctions;
      Button2: TButton;
      Grid: TStringGrid;
      Edit1: TEdit;
      Edit2: TEdit;
      Label1: TLabel;
      Label2: TLabel;
      SAPLogonControl1: TSAPLogonControl;
    procedure Button2Click(Sender: TObject);
    private
    { Private-Deklarationen }
    public
    { Public-Deklarationen }
    end;
    var
    Form1 : TForm1 ;
    Table, Funct, Connection : VARIANT ;
    implementation
    {$R *.DFM}
    procedure TForm1.Button2Click(Sender: TObject);
    begin
      Connection                  := SAPLogoncontrol1.newConnection;
      Connection.User             := 'testuser';
      Connection.System           := 'CRD';
      Connection.Client           := '300';
      Connection.ApplicationServer:= '10.1.1.10';
      Connection.SystemNumber     := '00';
      Connection.Password         := 'testpass';
      Connection.Language         := 'EN' ;
      if Connection.LogOn(0,true) = true then
      (* parameter "true" = SilentLogOn *)
      begin
        (* assign the existing connection to the *)
        (* component SAPFunctions1                *)
        SAPFunctions1.Connection := Connection; // It gives error on this line...
        Funct := SAPFunctions1.add('ZGIS_TEST_FUNC');
      end;
    end;
    end.
    As I said while Codegear 2009 runs this code without any problem, Delphi 7 crashes on that assignment.. Also I tried outside Delphi, and the file compiled with Codegear works on both systems while the file compiled with Delphi 7 again crashes on buth systems...
    Is there a problem with Delphi 7? Should I use at least Delphi 8 or something for compiling?

    Hi Hakan,
    You must use Non-Unicode RFC library for Delphi 7.0.
    ( Bende Delphi 7.0 kullaniyorum. Ayni hatayi aldim. Unicode library kullanmistim. Kaldirip Non-Unicode olani kullandim. Su an hata yok. RFC cagirabiliyorum. )
    Mustafa Yalcin

  • Customer Purchase Order type.

    Hello gurus
    Can any one give me details about the configuration aspect of customer Purchase order type in Sales order.
    Just FYI this is a field  at Item level in SALES order.
    Thanks

    Hi,
    In this menu option you define the possible order types which indicate how the customer has transmitted an order.
    When processing a sales document, you specify the order type for the purchase order data at header level. This specification is copied into the items.
    At the line items you can enter the purchase order type also but then it is better to give it at the header level. If there are suppose 20 items in a sales order giving the purchase order type at the header level is easier and is applicable for all 20 line items.
    For the configuration of the purchase order type:
    IMG-Sales & Distribution-Sales -Sales Documents-Sales document header-Define purchase order types.
    Here you can create your own purchase order type also.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • Service Items for Line Type as Service

    I have created a new line type in purchasing as 'Service'. The Value Basis is 'Amount' and Purchasing Basis is 'Services'. Now when I am trying to create a PO for this line type, the Item field is non updateable. I cannot search for any items.
    Can I not create and select items for this line type?

    Hi,
    This seems to be the current functionality. Instead of choosing the item, you can fill the category and description.
    If you are trying to treat your purchasable services as item, than try using line type with similar setting as Goods
    Thanks

  • INVOICE의 TAX LINE TYPE이 'IPI' 로 생성

    제품 : FIN_AP
    작성날짜 : 2003-05-12
    INVOICE의 TAX LINE TYPE이 'IPI' 로 생성
    ==================================
    PURPOSE
    AP Period Closing 시 발생하는 data 문제를 아래 방법으로 해결한다.
    Problem Description
    Oracle Applications 11i
    Ap Period closing 을 할 수 없고 다음과 같은 Error가 발생한다.
    "Total debits are not equal to total credits in base currency for
    the invoice"
    원인을 살펴보면 Invoice의 tax line type이 'ipi'로 저장되었음을 알 수 있다.
    Workaround
    Solution Description
    1. Unaccounting script를 수행한다.
    2. 다음 문장을 수행한다.
    - 1. select LINE_TYPE_LOOKUP_CODE
    from AP_INVOICE_DISTRIBUTIONS_ALL
    where INVOICE_ID = (enter the invoice id whose type is ipi)
    - 2. UPDATE AP_INVOICE_DISTRIBUTIONS_ALL
    SET LINE_TYPE_LOOKUP_CODE = TAX
    WHERE INVOICE_ID = <from above>
    3. 다시 Accounting 처리하고 Period Close 한다.
    Reference Documents
    Note 178291.1

Maybe you are looking for

  • Resource Bundle Problem

    I have a funny problem with Resource Bundles: In the property editor for a Hyperlink object I replaced the text property with the following: #{messages1.MyKey} I have defined an action on the hyperlink as follows: public String MyHyperlinkId_action (

  • RegEx Lazy mode bug in CS5

    Hello, it seems that sometimes, lazy mode regex doesn't work in CS5. Following this discussion: http://forums.adobe.com/message/4007138 I would like to understand how can I create a regex code for the following cases: 1 0,1 0,10 0,100 1,0 10,0 100,0

  • Edit addresses saved in Find My Friends

    When I open the Find My Friend app it shows me 4 addresses.  2 were custom-saved by me, and the other 2 both displays "Home" However, both "Home" addresses are wrong (I might have saved them incorrectly before). Now I'm trying to delete and re-enter

  • Urgent Help :: BPEL Workflow Auto Release Error

    HI All, im working on a workflow project, i have 3 levels of approval process, first it will assign to one group one of the user pick the task assigned to this group, will act on this by claiming the task and then approve/reject the task. The approve

  • Problems with Subclassing

    We are using a lot of subclass objects in our forms development. One in particular is a Block called Header which we pick up from a Library.fmb form. Sometimes when I inherit this block, in FormA, from the library I can click on any of the items and