Error executing Custom Infotype..

An Invalid table name PA9001 is mentioned in the open SQL Statement.
Runtime Error:SAPSQL_INVALID_TABLENAME
Exception:CX_SY_DYNAMIC_OSQL_SEMANTICS occoured in procedure READ_DATABASE but neither
handled locally nor declared in the RAISING clause of its signature.
Termination occoured in ABAP Program SAPFP50P- in "READ_DATABASE".
The main Program was "MP900100".
I did not do any modifications in the programming part.Even then I am getting the errors..

I had faced these issues before while creation of custom infotype. But I found later that its the incorrect authorizations which is not allowing the system to create the structures.
When you create an infotype, sap follows few steps to create various strcutures and table enties.
But due to insufficient authorizations, many of them are skipped. e.g. A functional person does not have authorization to create tables/ structures through SE11. I think this is the reason why the table PA9xxx is not created in your case.
Fix your authorizations, and recreate the custom infortype.
Reward points if it helps.

Similar Messages

  • Error for custom infotype in PPOME

    Hello Experts,
    I have created one custom OM infotype for object position.Now when i am trying to acccess that Infotype in PO13 it is working fine but when i am trying to acccess the custom infotype in PPOME it is giving a dump.
    EERROR:
    Error in the ABAP program "SAPLRHOMDETAIL_PP01" had to be terminated because it has come accross a statement which cannot be exceuted.
    An exception occurred.
    The exception, which is assigned to class 'CX_SY_ASSIGn_CAST_UNKNOWN_TYPE', was not caught in procedure "INIT_SUBSCREEN" "(FORM)" nor was it propagagted by raising clause exception.
    The reason for the exception is :
    The type "" dynamically specified with ASSIGN....CASTING TYPE is unknown.
    Please guide me where i am doing mistake.
    Thanks in advance.
    Shweta

    Hi Sudha,
    PM01 is the tcode.
    Similar questions were already answered in the following threads
    ABAP HR : Infotype Enhancement
    So please search and then post specific queries.
    rgds
    gayathri

  • Subtype ERROR in Custom infotype

    Hi,
    i have created a custome infotype.
    i have assigned a subtype for the same.
    but it is not working.
    when i press F4 in subtype field  error is displayed.
    ERROR MESSAGE is " infoytpe xxxx not supported".
    regards
    thiru

    I am also facing the same problem  .
    Can anybody tell how to remove this error.
    Thanx
    Prabhati

  • Error in custom infotype creation

    Hi
    I have created a custom infotype IT9100 .
    When I am seeing the screen layout in se51 information message
    Element PSPAR-ITTXT touches or overlaps other element
    ITTXT stores the infotype text
    Now when I am activating my screen its showing error
    Collision at target location.*
    Could you please let me know how to deal with such prob.
    P

    Hi,
    please check whether in the layout set may be those fields are overlaping.
    generally i didnt get those type of messages.

  • Error executing custom function module

    Hi all,
    am trying to read a function module form my java code as below.
    There is no problem with the function module.
    I think there is some problem with the java code that is written. I am sure the problem lies with the  TABLES IT_PRODUCT_DATA STRUCTURE  ZOG_ITEM_SCREENSTR.
    Function module parameters and signature.
    FUNCTION ZGET_CUST_ORDERGUIDE_ITEMDATA.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_ORDER_GUID) TYPE  CRMT_OBJECT_GUID OPTIONAL
    *"     VALUE(IV_CUSTOMER) TYPE  BU_PARTNER
    *"  TABLES
    *"      IT_PRODUCT_DATA STRUCTURE  ZOG_ITEM_SCREENSTR
    Java Code that is Implemented is attached above.
    public ArrayList fetchOrderGuide(String customerNumber) {
              ArrayList itemList = new ArrayList();
                                       ItemSalesDoc itemSalesDoc = new ItemSalesDoc();
              if (log.isDebugEnabled()) {
                   log.debug("inside ZAdminLogin");
              try
              JCoConnection aJCoCon = (JCoConnection) getConnectionFactory().getConnection(com.sap.isa.core.eai.init.InitEaiISA.FACTORY_NAME_JCO,
                                                                                                 com.sap.isa.core.eai.init.InitEaiISA.CON_NAME_ISA_STATEFUL);
                   try
                        try
                             JCO.Function zFetchSalesOrderFunctionModule = aJCoCon.getJCoFunction("ZGET_CUST_ORDERGUIDE_ITEMDATA");
                             // set the import values
                             Table zItemsTable = new Table("ITEMS");
                                       //zPackagesTable.addColumn(Table.TYPE_STRING,"HUI");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JOGITEM");
                             zItemsTable.addColumn(Table.TYPE_INT,"JPRUOM");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JPRSEQ");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JOGDESC");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JLINE");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JOGNR");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JPACK");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JSIZE");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JBRAND");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JWEEKAVG");
                             zItemsTable.addColumn(Table.TYPE_STRING,"JDELFLAG");
                             JCO.ParameterList importParams = zFetchSalesOrderFunctionModule.getImportParameterList();
                             importParams.setValue("BP-104", "IV_CUSTOMER");
                             aJCoCon.execute(zFetchSalesOrderFunctionModule);
                             JCO.Table zRtItems = zFetchSalesOrderFunctionModule.getTableParameterList().getTable("IT_PRODUCT_DATA");
                                            int numberOfPackages = zRtItems.getNumRows();
                                            if (log.isDebugEnabled()) {
                                                 log.debug("number of packages " + numberOfPackages);
                                            if (numberOfPackages > 0)
                                                 for (int j=0; j<numberOfPackages; j++)
                                                      TableRow itemRow = zItemsTable.insertRow();
                                                      //itemRow.setRowKey(new TechKey(zRtItems.getString("EXIDV")));
                                                      //packageRow.getField("HUI").setValue(zGoods.getString("EXIDV"));
                                                      itemRow.getField("JOGITEM").setValue(zRtItems.getString("OGITEM"));
                                                      itemRow.getField("JPRSEQ").setValue(zRtItems.getString("PRSEQ"));
                                                      itemRow.getField("JOGDESC").setValue(zRtItems.getString("OGDESC"));
                                                      itemRow.getField("JLINE").setValue(zRtItems.getString("LINE"));
                                                      itemRow.getField("JOGNR").setValue(zRtItems.getString("OGNR"));
                                                      itemRow.getField("JPACK").setValue(zRtItems.getString("PACK"));
                                                      itemRow.getField("JSIZE").setValue(zRtItems.getString("SIZE"));
                                                      itemRow.getField("JBRAND").setValue(zRtItems.getString("BRAND"));
                                                      itemRow.getField("JWEEKAVG").setValue(zRtItems.getString("WEEKAVG"));
                                                      itemRow.getField("JDELFLAG").setValue(zRtItems.getString("DELFLAG"));
                                                      zRtItems.nextRow();
                        catch(JCO.AbapException abapException)
                             //Exception thrown, user is not valid
                             if(log.isDebugEnabled())
                                  log.debug(  abapException.getKey());
                   catch (Exception ex)
                        if (log.isDebugEnabled()) {
                             log.debug(ex);
                   finally
                        aJCoCon.close();
              catch(BackendException beeEx)
                   if(log.isDebugEnabled())
              return itemList;     
    LOGDETAILS
    ZGET_CUST_ORDERGUIDE_ITEMDATA:: - IN: INPUT * IV_CUSTOMER='BP-104' IV_ORDER_GUID='00000000000000000000000000000000'
    Oct 9, 2008 6:48:41 AM,507 SAPEngine_Application_Thread[impl:3]_7 Error com.sap.isa.core.eai.sp.jco.JCoConnectionStateful Error occcurred in EAI layer "com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet".
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet
                at com.sap.mw.jco.JCO$Record.checkRowCapacity(JCO.java:12354)
                at com.sap.mw.jco.JCO$Record.getString(JCO.java:12827)
                at com.sap.mw.jco.JCO$Field.getString(JCO.java:11055)
                at com.sap.isa.core.eai.sp.jco.JCoUtil.paramIterator(JCoUtil.java:412)
                at com.sap.isa.core.eai.sp.jco.JCoUtil.logCall(JCoUtil.java:382)
                at com.sap.isa.core.eai.sp.jco.JCoUtil.logCall(JCoUtil.java:236)
                at
    All helpful answers will be rewarded heavily

    hi,
    first of all you do not set the import values for your table correct. You should do something similar like this:
    Function myFunction = connection.getJCoFunction(Z_FM");
    Table myTable = myFunction.getTableParameterList().getTable("Z_TABLE");
    for(int i=0; i<2; i++) {
        myTable.appendRow();
                        myTable.setValue(value1,"VALUE1");
                        myTable.setValue(value2,"vALUE2");
                   connection.execute(myFunction);
    Did you debug your java class? You should check at which point your java class throws the error.
    Regards
    Michael

  • Error while creating a query for my custom infotype

    Hi,
    I have created a custom infotype with fields currency amount and currency field .
    While I am creating a query for it its giving an error
    Message no. AQ_AD_HOC221 Error when generating the report(see long text )
    I tried to execute the standard program RPUMS40CCI but still I am facing same error .
    I have also maintained table T777i for my infotype but still problem exists.
    Please help.
    P

    Hi
    Check in PM01

  • Query HR: error execution with infotype custom

    Hello!
    Can you help me?
    In upgrade to ECC 6.0, when I create a query with an Infotype custom, I see this error:  "Error when generating the report" (long text is about "AQ_AD_HOC221").
    Thanks,
    Manu

    Hi Manu,
    I executed the above mentioned program RPUMS40CCI by putting flag on above mentioned fields but I am still getting the error *Error when generating the report ( see long text ) *
    My custom infotype has currency field. Due to think its something related with currency field.
    Please let me know if u have any clue.
    Palak

  • Error while editing an automaticlly populated record of  a custom infotype

    hi,
    a query in HR ABAP.
    i have created a custom Infotype to store the CTC details of an employee. this custom IT needs to get the records auto populated, when they are created in Infotype 0008.
    i have used the exit. EXIT_SAPFP50M_002  inside which  an include program is written  :ZXPADU02
    using this, the records made to get create automatically in the custom IT.
    but when we try to modify or delete those records thru the tcode PA30,
    it does not allow to do so and throws a standard error message. as  below.
    Specified subtype is invalid
    Message no. PG088
    please help me out to fix this issue.

    the exact point of the std error is,
    i do the folowing steps.
    1)_ for auto creating a record in custom IT Pa**** , i goto transaction, PA30, create record in IT 0008 with a basic Pay., click on save.
    on saving , the EXIT_SAPFP50M_002 is called where i ve written a Z inlcude Program, which inserts the record in custom IT PA****.  this is successful.
    2) when i try to change or delete the same record which i ve created as above, through the Tcode PA30 for custom IT, PA
    ****, i get the error.
    hope the problem is clearly mentioned

  • Execute custom SQL in DB Adpater errors out in Production - urgent please.

    Hi,
    I get this error when running the process in PROD at invoking delete operation that I'm doing by selecting the execute custom SQL option while defining the DB adapter. It worked fine in TEST environment but errors out in PROD env.
    Any suggestions on why? Its urgent.
    Thanks
    -Prapoorna
    The state of this instance is Faulted
    <messages><input><InvokeDelete_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DeleteDataInput_msg"><DeleteDataInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DeleteData"/>
    </part></InvokeDelete_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>17410</code>
    </part><part name="summary"><summary>file:/prod/app/bpel/as/bpel/domains/verint/tmp/.bpel_SynchOTLLoad_1.0_0259c5f142631959ec0fb067d23fe98e.tmp/DeleteData.wsdl [ DeleteData_ptt::DeleteData(DeleteDataInput_msg) ] - WSIF JCA Execute of operation 'DeleteData' failed due to: Pure SQL Exception.
    Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
    ; nested exception is:
    ORABPEL-11633
    Pure SQL Exception.
    Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part><part name="detail"><detail>No more data to read from socket</detail>
    </part></remoteFault></fault></messages>

    Looks like in production you have much more data than you do in your test environments.
    It could be something wrong with your rollback segments. Is there any other activity happening when this is running?
    What happens when you run this command inside SQLPlus?
    cheers
    James

  • Add new loop field in custom infotype - error field .. not assigned to loop

    Hi,
    I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
    1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
    Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
    There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
    Best regards,
    George

    Not a nice solution but I had to do this quick and I'll correct it in the next days:
    The old flow logic PBO code was:
      LOOP.
        MODULE FILL_DYNPRO.
      ENDLOOP.
    If I wanted to insert here something like:
      FIELD whatever
        MODULE dummy.
    , I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
    Wanting just to get this over with, I added the following code (after the initial loop):
      LOOP.
        FIELD whatever
          MODULE FILL_DYNPRO."same module as above
      ENDLOOP.
    This was repeated in PAI.
    This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
    Thanks for the help, guys.
    Best regards,
    George

  • Custom infotype getting error in overview

    I have a custom infotype that short dumps when I click on the overview button.  The message that I get is 'Syntx error or generation error in a screen.'  The error analysis says 'Screen "MP900500" 3000 could not be generated.'.  Screen 3000 is the screen that is created by SAP when you create the custom infotype.  Does anyone know how to correct this?

    Rob,
    I have all of the fields in the structure in both of the chain sections of the PAI.  do they have to be in the order that they are in the structure?  I also tried removing the display only fields from the section that said 'check and mark if there was any input: all fields that accept input HAVE TO BE listed here'.  The screen works normally, it just dumps when I click the overview button.
    Thanks,
    Paul
    Edited by: Paul Sullivan on Jan 11, 2011 8:39 PM
    Edited by: Paul Sullivan on Jan 11, 2011 8:39 PM

  • Custom Infotype error in upgrade.

    Hi,
    We did a upgrade from 4.6C to 5.0.
    When we are doing syntax check for one of the program which has used custom infotype 9002
    it is giving following error "Include report "%_HR9002" not found."
    What could be the reason for this ?

    >>>Could please explain me the use of this include....
    YES.. SAP looks for this include if you have used it with the INFOTYPES:9xxxx declaration in any Program. Otherwise, you will not hit the error. this was a known bug in 46c-47 upgrade and SAP ought to have fixed it by now.. I am surprised.. anyway good that PM01 fixed it for you.. you can also use the report I suggested to generate the include enmasse ie for all the Custom Infotypes in one go..
    Regards,
    Suresh Datti

  • Custom infotyp creation error

    Hi,
    I am creating a customized infotype, when i activate the layout shows me the error message "Input/output field not defiend"
    But am unable to input the check in screen painter already the field is disabled.  Pls Assist. URGENT.

    Hi,
    For this you need to go to the change mode on the screen painter and then click on input/output field..
    Or you can go directly yo the element list of your screen and check the I/O option there for that field.
    Regards
    Sonu Gupta

  • Custom infotype syntax error

    in the modulepool program for my custom infotype 9050, I have defined a field symbol like below in the top include.
    FIELD-SYMBOLS: <PNNNN> STRUCTURE P9050
                           DEFAULT P9050.
    still it is showing <PNNNN> is unkown.
    Seconldy, can anyone give an simple modulepool code for custom infotypes ( 9xxx).
    Regards,
    Uday Madhav

    Hi,
    check out these..
    Re: how to transport  infotypes?
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1
    Regards
    Mudit

  • Error imparting while creating Customized infotypes

    Dear Expert,
    I am working on customized infotype for the PA module.
    i am creating through PM01, i have update the fields and save, check and activate the structure then i go back to PM01 main screen the following warning massage imparting. for reference following screen shot
    But still i go back and click on technical attribute button for the maintain the details. the new warning massage
    Please help me out how to resolved this issue, i am unable to do the customized infotypes.
    Thanks
    Urvashi

    Hi Urvashi,
    The field names of your infotypes better have to start with ZZ* like ZZWRITE or ZZREAD. This would avoid 2 warnings.
    The other 2 warnings are caused because you didn't set an enhancement category for your structure PS9002.
    If you're creating a new infotype, please use the button "generate objects" in place of edit.
    Afterwards, you could go to each step with the edit button.
    Best regards,
    Jonathan

Maybe you are looking for

  • Logic Pro 7.2 and Tascam FW-1884 Not Working

    I recently upgraded to Logic Pro 7.2 and I'm using a Tascam FW-1884 as my audio interface / Control Surface. Everything was working fine in 7.1.1, but now it doesn't work correctly. When I press buttons and faders on the Tascam I see MIDI information

  • How to upload the web query result  to CSV/Text file

    Hi, Kindly help me on the following. 1)       I have info-provider (IP), which has info-objects "company code" and "supplier". 2)       I built a query by putting company-code with a variable in free-charateristics and supplier-code in row. 3)      

  • Number of elements in an enum

    Is there a way to get this? Like if you have this enum: private enum Fish { TUNA(); BASS(); SHARK(); Fish() { }It would be three. Thanks for any help.

  • Random tracks disappearing from iTunes on purchase or sync

    Since iCloud has been introduced, I've had nothing but headaches keeping the songs I want on my iPhone. Until the cloud, it was simple enough. I had all my songs on my Mac. The ones I wanted on my iPhone, I checked, did a USB sync, and I was golden.

  • Error on Call Manager 7

    Hi all we have 2 Call Manager 7.1.2.31900-1 boxes. Recently we had a power outage and the servers were not shut down properly. One remaining issue we are having trouble resolving is this error below. It appears in the logs every 15 seconds or so. Any