Check Name length of Development Objects

Hallo I`d would like to develop a programm that checks if the name of a Development Object does fit to the Length restriction of ABAP. Are there any useful Functions / Methods ??
e.g.
the function: DD_CHECK_NAME does this implicit .... (using function: DD_TABL_CHK_SAANORM)
but this works only for DDIC-Objects not for Classes / Reports etc ...
furthermore these Functions are not enabled for external usage ...
any hint ??
Edited by: Peter Burgard on Sep 12, 2011 11:04 AM

Hi ,
I`d would like to develop a programm that checks if the name of a Development Object does fit to the Length restriction of ABAP
SAP will not allow only to  give name  more than  its restricted  Limit for each Development Object   .
so  there no question of check from urside  " SAP does that  in Standard  .
ONly  in Case there is less than the limit  and You want to know the  length   then you can do it   using
simple logic of  DESCRIBE SYNTAX .
regards
Deepak

Similar Messages

  • How to programatically syntax check development objects

    Hello,
    We are going through a test upgrade project (4.6C to 4.7) and need to identify all custom objects that have syntax errors. I was able to find some FMs that do syntax check for executable programs (EDITOR_SYNTAX_CHECK, CHECK_SOURCE, etc) but was not able to find any FM/Program that can syntax check different kind of development objects like tables, FMs, Includes, programs, etc. It seems that different objects use different syntax check programs. I am basically getting a list of custom objects from tadir and then want to submit this object to a FM that can tell me if the object is syntactically OK.
    Any help is much appreciated.

    Hello All,
    With the tips I got from you I was able to identify a transaction called SCI - Code Inspector that does everything that I was wanting to do.
    You need to specify an object set that you want to inspect (e.g.: Z programs, Z function groups, etc) along with the type of inspection (syntax check, object generation, etc) you want to perform via a variant and then create an inspection referring to the object set and variant and that's it. The result gives a complete list of objects based on the type of inspection you wanted performed. Another useful thing that I found was an ABAP statement called syntax-check that you can use to check executable programs and function groups without calling any FMs. It is limited in the type of objects it can check but works great for executable programs.
    Keep up the great work and thanks again to all of you that responded.
    A special thanks to Sailatha for the code inspection program tip.
    Best regards,
    Shamim

  • Development Objects with " / " names

    Hi ABAP experts,
    Have you ever come across ABAP custom objects with "/" names, such as /BPPwhatever
    I'm wondering if developers can use such names for custom objects instead og "usual" Z_ or Y_
    Thanks,

    This is a namespace.
    Developer organisations (SAP, customers, Partners, ISVs, etc.) can register their own namespace with SAP.
    Then they can create their own objects inside this namespace without worrying about nameing conflict with others.
    E.g IBM might register the namespace "IBM". Then they can create objects such as /IBM/PROGRAM1, /IBM/DBTAB1, etc.
    If they created objects in the "customer namespace" (i.e. starting with "Z" or "Y") someone else could create an object of the same name in another development system and when the two development streams were consolidated there would be a conflict. Namespaces prevent this from happening.
    Cheers
    Graham Robbo

  • Field name lengths

    The field name lengths in the Citadel database are approaching 80 characters when Citadel adds the total path to each field. I am saving data from a process running on computer #1 to computer #2. I am using OPC and to select the analog input values require an extremely long length to the field names.
    i.e.
    "\\Dispatchbd1\Freq_Process\FreqOPC.'OPC DAQ Items'.'Analog Input'.'PHS Narrow Freq'" is just one of my field names. When you have 75 values in a database that you want to look at this long name gets discouraging. Any help would be appreciated.

    Hi Wapa,
    You are right the names are a bit long. Citadel stores the absolute names (includes computer and process name), to make sure the names are unique. For example if process1 and process2 have both Pot1 and you are storing the data to the same database, unless you log it with a process name and computer name you would get a conflict - (if there is just Pot1 you would not know from which process).
    So, the computer and process parts are always there. The Item name has to be also included, but you have more choise there. The member ('OPC DAQ Items'.'Analog Input'.''PHS Narrow Freq') can be aliased to anything you want (and is valid). Go to the Edit database - select the item in the second window - select the datatype - type in alias (for example item1) - check the log to
    historical database and hit save (you are going to get a warning - don't worry about it, just make sure the alias (item1) you typed is is not already an existing item - because of the folder structure exposed by DAQ OPC you'll be fine).
    Now instaed of using "\\Dispatchbd1\Freq_Process\FreqOPC.'OPC DAQ Items'.'Analog Input'.'PHS Narrow Freq'" you can go with "\\Dispatchbd1\Freq_Process\FreqOPC.item1" - you can stop loggin the original member.
    If you need to go even shorter, you can create an expression object for every member you want to log and then log the expression. Then you get to something like:
    "\\Dispatchbd1\Freq_Process\Exp1"
    I hope this helps.
    Martin

  • SQL Developer objects not showing DDL

    Greetings! First time posting here on the Oracle forums, so hopefully I can be as specific as possible :)
    I'm having an issue with displaying the SQL that makes up an object, specifically a VIEW.
    Here is the scenario:
    I log on as an IT user - WDSQUERY (this account can be used my multiple folks for querying in different schemas). I navigate down to other users and expand that node. I find the schema I want to use, ALCHEMY, and expand that node.
    It now places me in the ALCHEMY realm we'll call it. I should be able to see all the different objects owned by this schema (assuming permissions are set up). I click on the 'VIEWS' node to expand all the view objects. I can see the data and columns. What I cannot see is the SQL that generates that view, and I have no idea why.
    Co-worker of mine uses Toad, and he can do the exact same scenario (same user id, goes to same schema, etc.), however when he clicks on the 'Script' tab, it will generate the SQL that builds that view. Which leads me to believe this isn't a permission issue, because he's on the exact same user_ID.
    Is there some option I don't have checked somewhere in SQL Developer? The current work around for this is that I simply query the DBA_VIEWS where owner = 'ALCHEMY', and then pull out the name/text of the view I want. But....still this is just one of those things I want to know why it isn't working.
    Here are the little ORA codes I'm getting when trying to view the SQL code of the VIEW:
    ORA-31603: object "PO_LINE" of type VIEW not found in schema "ALCHEMY"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    Any help would be GREATYLY appreciated!

    Hi,
    If you can see the objects in the 'Other Users' schema, then I would imagine your user_ID has the SELECT ANY DICTIONARY system privilege. Seeing the data and DDL requires additional privileges, however. I haven't looked deeply enough to be absolutely sure, but there are two or three methods that SQL Developer uses:
    1) If you have SELECT ON <other user_ID>.<viewname> object privilege, then you can see both data and DDL.
    2) Otherwise if you have EXECUTE ON DBMS_METADATA you can see the DDL (except it may depend on other privileges too(?)).
    Sorry I don't have time to dig deeper into DBMS_METADATA. It works on some of my connection users but not others. And, of course, privileges like SELECT ON DBA_VIEWS always give one an unfair advantage.
    Hope this helps,
    Gary Graham
    SQL Developer Team

  • Global list of all custom/developed objects

    Hi all!
    We need to get a list of all custom objects of a SAP systems.
    First time we think accessing TADIR to get all repository objects of the system and after this access, get all atributes for any of the retrieved objects.
    Example:
      To a report, access TADIR and TRDIR dictionary tables. in TADIR use class of development custom or in TRDIR any of the user that don't belongs to SAP.
    But this solution to the problem is very effort and we should access so too many tables for the objects to get their attributes.
    Second time, we think filtering the objects using their namespace with FM TR_CHECK_NAME_CLASS, but this option jumps some objects, like VOFM generated objects or customer exits form VA01 transaction.
    Do any of you know the way of extracting a list of all Custom/developed objects for a System?

    Hi,
    Just check if this suffices.
    REPORT  zobjects no standard page heading
    TABLES:TADIR,TSTC,V_USERNAME,VRSD.
    TYPE-POOLS:slis,VRM.
    TYPES: BEGIN OF ittemp,
           object    LIKE tadir-object,
           obj_name  LIKE tadir-obj_name,
           text      LIKE trdirt-text,
           author    LIKE tadir-author,
           devclass  like tadir-devclass,
           name_text LIKE v_username-name_text,
           tcode like tstc-tcode,
           korrnum like vrsd-korrnum,
           END OF ittemp.
    DATA: itfinal TYPE STANDARD TABLE OF ittemp WITH HEADER LINE,
          wafinal   TYPE ittemp.
    DATA : name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.
    DATA:itfieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA:itrepid TYPE sy-repid.
    itrepid = sy-repid.
    DATA:itevent TYPE slis_t_event.
    DATA:itlistheader TYPE slis_t_listheader.
    DATA:walistheader LIKE LINE OF itlistheader.
    DATA:itlayout TYPE slis_layout_alv.
    DATA:top TYPE slis_formname.
    DATA:itsort TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER: PACKAGE LIKE TADIR-DEVCLASS.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
    PERFORM getdata.
    PERFORM alv.
    *&      Form  GETDATA
          text
    FORM getdata.
    read the repository object table and link with username if found
    SELECT tadir~object
            tadir~obj_name
            trdirt~text
            tadir~author
            tadir~devclass
            v_username~name_text
            INTO TABLE itfinal
            FROM tadir
            LEFT JOIN v_username
            ON tadirauthor = v_usernamebname
            LEFT JOIN trdirt
            ON tadirobj_name = trdirtname
            WHERE tadir~devclass = PACKAGE
            "'$TMP'
            AND ( tadirobj_name LIKE 'Z%' OR tadirobj_name LIKE 'Y%' ).
    CHECK sy-subrc EQ 0.
    loop at itfinal.
    *TCODE FROM TSTC
    select single tcode from tstc into (itfinal-tcode) where pgmna =
    itfinal-obj_name.
    *LATEST TRANSPORT REQUEST NUMBER FROM VRSD
    select single korrnum from vrsd into (itfinal-korrnum) where objname =
    itfinal-obj_name.
    modify itfinal.
    endloop.
    delete itfinal where korrnum is INITIAL.
    SORT itfinal BY author object.
    ENDFORM.                    "GETDATA
    *&      Form  ALV
          text
    FORM alv.
    IF itfinal[] IS INITIAL.
        MESSAGE 'No Values exist for the Selection.' TYPE 'S'.
        STOP.
      ENDIF.
      DEFINE m_fieldcat.
        itfieldcat-fieldname = &1.
        itfieldcat-col_pos = &2.
        itfieldcat-seltext_l = &3.
        itfieldcat-do_sum = &4.
        itfieldcat-outputlen = &5.
        append itfieldcat to itfieldcat.
        clear itfieldcat.
      END-OF-DEFINITION.
      m_fieldcat 'OBJECT' ''   'OBJECT' ''       04  .
      m_fieldcat 'OBJ_NAME' '' 'PROGRAM NAME' '' 40 .
      m_fieldcat 'TCODE' ''    'TCODE' ''        20 .
      m_fieldcat 'TEXT' ''     'DESCRIPTION' ''  70 .
      m_fieldcat 'AUTHOR' ''   'AUTHOR' ''       80 .
      m_fieldcat 'DEVCLASS' '' 'PACKAGE' ''      30 .
      m_fieldcat 'KORRNUM' ''  'LATEST TRANSPORT REQUEST' '' 20 .
    itlayout-zebra = 'X'.
    itlayout-colwidth_optimize = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = sy-repid
            is_layout               = itlayout
           i_callback_user_command =  'LIST1'
            i_callback_top_of_page  = 'TOP'
            it_fieldcat             = itfieldcat[]
            i_save                  = 'A'
         is_variant              = ITVARIANT
            it_events               = itevent[]
         is_print                = ITPRINTPARAMS
            it_sort                 = itsort[]
          TABLES
            t_outtab                = itfinal
            EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "ALV
    *&      Form  TOP
        Top of page for ALV Report
    FORM top.
    DATA:STRING1(70),
         STRING2(70),
         title1(100),
         title2(100),
         count(10).
    describe table itfinal lines count.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
         EXPORTING
            i_list_type           = 0
         IMPORTING
            et_events             = itevent
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    string1 = 'List of Objects in Development Class'.
    concatenate string1 ':' itfinal-devclass into title1.
    walistheader-typ = 'H'.
    walistheader-info = title1.
    APPEND walistheader TO itlistheader.
    string2 = 'Total No.of Objects'.
    concatenate string2 ':' count into title2.
    walistheader-typ = 'H'.
    walistheader-info = title2.
    APPEND walistheader TO itlistheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary      = itlistheader
        I_LOGO                   = ''.
        I_END_OF_LIST_GRID       =
       ENDIF.
      CLEAR itlistheader.
    ENDIF.
    ENDFORM.                    "TOP
    *&      Form  list1
          ALV Interactive-
         -->R_UCOMM    text
         -->RS_SELFIELDtext
    FORM list1 USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          IF rs_selfield-fieldname = 'OBJ_NAME'.
            READ TABLE itfinal INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'RID' FIELD itfinal-OBJ_NAME.
            CALL TRANSACTION 'SE38' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'TCODE'.
            READ TABLE itfinal INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'TCD' FIELD itfinal-TCODE.
            CALL TRANSACTION 'SESSION_MANAGER' AND SKIP FIRST SCREEN.
         ENDIF.
      ENDCASE.
    ENDFORM.
    K.Kiran.

  • What is SAP name space for different objects.

    Hi Guys,
    Kindly let me know the SAP name spaces for different objects.
    Thanks

    hi,
    Naming Conventions in ABAP Objects 
    Global classes and interfaces that you create in the Class Builder are stored in the class library and administered by the R/3 Repository: they therefore have the same namespace as all other Repository objects (database tables, structures, data elements, and so on).
    It is therefore necessary to have naming conventions for object types and their components and to use them uniformly within program development.
    The following naming convention has been conceived for use within the SAP namespace:
    If you do not observe the naming conventions for object types (classes and interfaces), conflicts will occur when the system creates persistent classes, since it will be unable to generate the necessary co-classes.
    Namespace for Components
    A single namespace within a class is shared by:
    All components of the class itself (attributes, methods, events, constructors, interfaces, internal data types in the class, and aliases)
    All public and protected components of the superclasses of the class.
    Method implementation has a local namespace. The names of the local variables can obscure those of class components.
    Naming Convention
    The naming convention has been kept as general as possible to avoid adversely influencing the naming of objects.
    General Remarks
    When you choose names for development objects, you should:
    Use English names
    Use glossary terms when possible
    For example, CL_COMPANY_CODE instead of BUKRS
    In compound names, use the underscore character (_) as a separator. Since names are not case-sensitive, this is the only character that you can use to separate names.
    Example: CL_COMPANY_CODE, CL_GENERAL_LEDGER_ACCOUNT
    Names should describe the action, not the implementation of the action.
    Example: PRINT_RECTANGLE, not RECTANGLE_TO_SPOOL
    Conventions for Object Types
    Class and interface names in the class library belong to the same namespace as data elements, tables, structures, and types. They are maintained centrally in table TADIR.
    Class in the class library
    CL_<class name>
    The class name should be made up of singular nouns.
    CL_COMPANY_CODE, CL_GENERAL_LEDGER_ACCOUNT
    Interfaces in the class library
    IF_<interface name>
    The same naming convention applies to interfaces as to classes.
    IF_STATUS_MANAGEMANT, IF_CHECKER
    Local classes in programs
    (recommendation)
    LCL_<class name>
    The class name should be made up of singular nouns.
    LCL_TREE_MANAGEMENT
    Local interfaces in programs
    (recommendation)
    LIF_<interface name>
    The sane naming convention applies to interfaces as to classes.
    LIF_PRINTER
    Recommended naming conventions are not compulsory. However, if you use prefixes for these class and interface names, you should use those listed above.
    Conventions for Components
    Method name
    <method name>
    Method names should begin with a verb:
    GET_STATUS, CREATE_ORDER, DETERMINE_PRICE
    Events
    <event name>
    Event names should have the form
    <noun>_<participle>:
    BUTTON_PUSHED, COMPANY_CODE_CHANGED, BUSINESS_PARTNER_PRINTED
    Local type definitions within a class
    (recommendation)
    TY_<type name>
    TY_INTERNAL_TYPE, TY_TREE_LIST
    Data definitions (variables)
    <variable name>
    When you name variables within a class (CLASS-DATA or DATA), avoid using verbs at the beginning of the name (to avoid conflicts with method names).
    LINE_COUNT, MARK_PRINTED, MARK_CHANGED, STATUS
    Data definitions (constants)
    (recommendation)
    CO_<constant name>
    CO_MAX_LINE, CO_DEFAULT_STATUS, CO_DEFAULT_WIDTH, CO_MAX_ROWS
    Recommended naming conventions are not compulsory. However, if you use prefixes for these class and interface names, you should use those listed above..
    Concrete Method Descriptions
    Attribute access
    SET_<attribute name>, GET_<attribute name>
    Methods that access attributes of any kind should be prefaced with GET_ or SET_.
    GET_STATUS, SET_USE_COUNT
    Event handler methods
    ON_<event name>
    Methods that handle events should begin with ON, followed by the name of the event that they handle.
    ON_BUTTON_PUSHED, ON_BUSINESS_PARTNER_PRINTED
    Methods that perform type conversions
    AS_<new type>
    AS_STRING, AS_ISOCODE
    Methods that return a Boolean value
    These methods may not return any exceptions.
    Recommendation: Use SPACE and 'X' to represent false and true respectively.
    IS_<adjective>
    IS_OPEN, IS_EMPTY, IS_ACTIVE
    Check methods
    CHECK_<objective>
    CHECK_AUTHORIZATION, CHECK_PROCESS_DATE
    Local Conventions Within Methods
    For parameters
    The parameters are regarded from the point of view of the method that implements them:
    IMPORTING parameters
    IM_<parameter name>
    EXPORTING parameters
    EX_<parameter name>
    CHANGING parameters
    CH_<parameter name>
    RESULT
    RE_<result>
    Using prefixes is NOT compulsory. However, if you do use them, use those listed above.
    For exceptions
    The following table contains a series of possible exception names, that can also be used generically (for example, NOT_FOUND could also be used as DATE_NOT_FOUND)
    EXCEPTION
    Meaning
    ACTION_NOT_SUPPORTED
    The requested action or function code is not supported.
    CANCELLED
    If a method uses a dialog to find out what has to be dome (for example, a list of choices), and the user chooses "Cancel", you can set this exception.
    EXISTING
    A new object that you want to create already exists in the database.
    FAILED
    The method could not be executed because of the current environment. This exception is intended for cases where the method cannot be executed because of variable system circumstances.
    ..._FAILED
    Part of the method could not be completed because of the current environment. (OPEN_FAILED, CLOSE_FAILED, SELECTION_FAILED, AUTHORIZATION_FAILED)
    FOREIGN_LOCK
    Data is locked by another user.
    INCONSISTENT
    Object data in the database is inconsistent.
    ..._INCONSISTENT
    The component data for … of an object in the database is inconsistent.
    INVALID
    The object data entered is incorrect (for example, company code does not exist). Compare NOT_QUALIFIED.
    ..._INVALID
    The component data entered for an object is incorrect. Compare NOT_QUALIFIED.
    INTERNAL_ERROR
    Last resort. Only use this exception if you cannot be more precise about the nature of the error.
    NOT_AUTHORIZED
    The user does not have the required authorization.
    NOT_CUSTOMIZED
    The object requested is not correctly customized.
    ..._NOT_CUSTOMIZED
    The component … of the requested object is not correctly customized.
    NOT_FOUND
    Unable to find the requested object.
    ..._NOT_FOUND
    Unable to find component … of the requested object.
    NOT_QUALIFIED
    The combination of input parameters is insufficient to run the method. Compare INVALID.
    ..._NOT_QUALIFIED
    One parameter of the method is not qualified.
    NUMBER_ERROR
    Error assigning a number.
    SYSTEM_ERROR
    This exception is set if the Basis system returns an unexpected error message.
    regards,
    sudheer.

  • How to change the name of a Box Object in Crystal Reports 2008

    I am trying to change the name of a box object in a crystal report - 2008. This report was originally developed by consultants and requires that certain boxes be named according to a specific naming convention. I am making a change to the report and need to add a box with a name that matches the naming convention.  This is so some program functionality will work for the new box.  I can't contact the consultants because they don't work with our company anymore.
    Does anybody have any ideas? I've tried 'Format Box', but it won't let me change the name from there. I also tried it in the Report Explorer but to no avail.
    Thanks,
    Joanne

    Hi Joanne,
    Boxes do not actually have a 'name'. When you add a Box in a report, it will be called 'Box 1' by default. And the only place this name is visible is under the Report Explorer.
    Or do you mean to say 'Text Object'?
    -Abhilash

  • Report Name Length Problem

    Hies
    Guys I've a problem in oracle report calling from Oracle FORMS. I am using reports and forms 6i. When the report name length is more than 30 characters the report engine runs first time correctly but on the second call of report the system gives an error :
    " RWRBE60.exe has generated errors and will be closed by windows.You will need to restart the program ".
    After this error the report engine closes and i have to call the report again.
    Is there a length fixed for reports name in Oracle 6i.
    Is any possible solution available.
    Remember i dont want to shorten my report names.
    Kindly help me with this.
    Thanx.

    There may be a limit, but I'm not aware of any. I never ran accross a limit. You may try the latest patch to see if it helps. What is your exact Developer version?
    But I really have never seen report names of more than 10 characters or so. Almost every application has some short program coding, like xyz_0010.rep, r_emp.rep etc.
    Do you mean the the name including the full path is more than 30 characters? If you put the path in the REPORTS60_PATH variable, your report names don't have to include the path.

  • Creation of New Custom Development Object in Solar02

    Hi,
    We are trying to create an object type of Form for a new custom development object in solar02 under tab Development,and for this I get an error that the object doesn’t exist in development environment. 
    Based on my analysis, it looks like Solution Manager only allows to link pre-existing development objects but not creating new objects.  Is that right?  If  not please advice how can we add new custom objects through solution manager.
    Thanks & Regards,
    Sandeep Alapati

    hi,
    solar01/02 is the tools for documenation, it is not for creating objects. 
    basically it should allow you to enter any developement objects names, irerespective of whether they are created in the back end system or not.
    please provide the screenshots.
    Thanks
    Jansi

  • Font name length limitation...

    Hello all,
    I have a serious problem related with .PFB font files. Is there any relation between font name length; I checked and if font name length is more than 30 characters I am getting an error that "the requested file C:\....\....Pfm,C:\....\....Pfb was not a valid font file". Although I am using the same way to install all fonts.
    Please help me and give me any solution. Please let me know if there any limitation with windows XP, or its a limitation of Type 1 fonts.
    Thanks in advance and pardon my English.
    Thanks........

    I believe the answer is "both" for practical purposes. Although, my recollection would have been that the limit was 31 characters, not 30.
    Regards,
    T

  • ERROR - JBO-25005: Object name  for type View Object is invalid

    Hi All,
    I am getting this error "JBO-25005: Object name for type View Object is invalid" while executing my VO query in Controller code. Can any one please tell me the reason behind this error?
    I am creating a VO dynamically and .xml file of a VO is placed in a proper directly. Please let me know some inputs to resolve this.
    Thanks & Regards,
    -Abm

    I found the below explanation for the error mentioned. Check if your package name, Object names confirm to the standard specified
    JBO-25005: InvalidObjNameException
    Cause: An attempt has been made to associate a business component name with an object for which it is not valid.
    Action: The name should be a valid Java identifier with no spaces or punctuation. Names are of the format myProjectPackage.BusinessPackage.BusinessComponent

  • Change namespace for development objects

    hi at all,
    i have to transport a lot of customer development objects (reports, tables, programs, WebDynpro-components...) from one system to another development system. in the source system all customer-objects are named like Y* or Z* (e.g. Z_CM_COURSDETAILS).
    After that in the target system i have to change this names into our own company namespace (like /ABCD/CM_COURSDETAILS).
    How can i do this? The company namespace is activated an part of the view V_TRNSPACE.
    So, do i have to change every object by myself? Or is there a report or another automaticly help?
    Thanks for your information and help,
    regards
    Hendrik

    You can probably write a small BDC in the target system which accepts one type of objects, rename the object and activate it.

  • File Name Length

    Hi All,
    While down loading .csv file, i can get my file name length dynamicallly upto 157 bytes but not getting more than that.
    I have a requirement to download very long file name. Can any one please suggest me a good solution?.
    My code is
    response.setContentType(contentType);
                        response.setCharacterEncoding("WINDOWS-932");
                        response.setHeader("Content-Disposition",
                                  "attachment; filename="
                                            + URLEncoder.encode(fileName, "UTF-8"));-vignesh

    It seems there is no restrictions in filename's maxlength.
    However, if you check the section 2.3 of this link
    [http://www.faqs.org/rfcs/rfc2183.html|http://www.faqs.org/rfcs/rfc2183.html]
    It says:
    It is important that the receiving MUA not blindly use the suggested
    filename.  The suggested filename SHOULD be checked
    (and possibly changed) to see that it conforms to local filesystem conventions,
    does not overwrite an existing file, and does not present a security problem
    (see Security Considerations below).I tried to test filename's maxlength with different browsers and found that results differ with browsers.
    The HTTP response header nevertheless contained the full filename.
    Above all, IMO avoiding long filename is the best solution.

  • S_RFC,RFC authorization - what names of the RFC objects to be protected(+)?

    Good day. I have a WebDynpro component which executes a BAPI in backend.
    Which names of the RFC objects to be protected should I enter?
    I have entered the following PRGN_G2EE, RFC1, SDIFRUNTIME, SYST, SYSU... But now it says that "User XXX has no RFC authorization for function group RFC2.".
    OK, I can add RFC2 but where is the end? Where can I find a minimum required list to run BAPIs?

    Hi
    for this question : But now it says that "User XXX has no RFC authorization for function group RFC2."
    1. Before executing the model u can check the logged in your and its role ,based on this credentials only allow to execute .
    and for this : Where can I find a minimum required list to run BAPIs
    1. Just a set of authentication to deal with that system in other words All those things to create a JCO connection required to run a BAPI.
    (Elaborate this problem. I have written based on some keywords only )
    Best Regards
    Satish Kumar

Maybe you are looking for

  • Report for AR reserve invoices

    I want to see all AR reserve invoices for a particular item. Is there a report for this in SBO or do I have to write a query? thanks

  • Best-practice for use of object styles to manage image text wrap issues when aiming at both print and EPUB output?

    I have a work-flow question about object styles, text-wrap, and preparing a long document with lots of images for dual print/EPUB output in InDesign CC 2014. I am sort of experienced with InDesign but new to EPUB export. I have hundreds of pages and

  • 13" MacBook Pro and Apple 27" LED Display Not Sleeping Properly

    I recently purchased a new 13" MacBook Pro (MacBookPro8,1) and a 27" Apple LED Cinema Display. When they are connected the computer occasionally has a problem being put to sleep. When clicking sleep, the monitor will take a little while to shut off,

  • Camera Raw Sluggish in CS5 vs CS4

    My computer is Windows Vista Home Premium, 64-bit.  Quad Core Q6600, 2.4 GHz, 6gb RAM. When running Photoshop CS4 with Bridge and Camera Raw, I could change any of the settings, and the preview would update pretty much instantaneously, with no lag. I

  • Problem sending texts on Nokia 2310

    I am having problem sending texts on my nokia 2310. I have plenty of credit, and service, and can make outgoing calls. I have looked everywhere in settings and can't find anything wrong. I think some sort of barring may have been put on text messages