I want parameter for program name entering with f4 help pls send  code

I want parameter for program name entering with f4 help pls send code
Points if helpful

Hi,
PROG is a string which indicates the type of the object --- program
u can call the FM as follows
CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'
  EXPORTING
<b>    object_type                     =  'PROG'
   OBJECT_NAME               =  p_report</b>
  ENCLOSING_OBJECT                =
  SUPPRESS_SELECTION              = 'X'
  VARIANT                         = ' '
  LIST_VARIANT                    = ' '
  DISPLAY_FIELD                   =
  MULTIPLE_SELECTION              =
  SELECT_ALL_FIELDS               = ' '
  WITHOUT_PERSONAL_LIST           = ' '
IMPORTING
  OBJECT_NAME_SELECTED            =
  ENCLOSING_OBJECT_SELECTED       =
  STRUCINF                        =
TABLES
  OBJECTS_SELECTED                =
  RECORD_TAB                      =
EXCEPTIONS
  CANCEL                          = 1
  WRONG_TYPE                      = 2
  OTHERS                          = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Patil

Similar Messages

  • I want parameters with f4 help for program names in value request

    I want parameters with f4 help for program names in value request
    points will be awarded if  useful

    lv_name1 TYPE name1,        "Vendor Name
    CALL FUNCTION 'POPUP_TO_SEARCH_VALUE'
        EXPORTING
          textline1   = 'Vendor Name'(f09)
          titel       = 'Enter'(f17)
          valuelength = 35
        IMPORTING
          value       = lv_name1.
    try this out ..

  • The TADIR entry for Program name is missing in ABAP report

    Hi,
    I created an  User group , Infoset  & ABAP query, generated a report with the help of ABAP Query.
    However when I did the extended syntax check for the same i got the fatal error.
    "The TADIR entry for <Program name> is missing
    (Message cannot be hidden using comment)"
    Could you please let me know why the above error is being given & how we can remove the same.
    Thanks
    Vinay Pasalkar

    Moved to ABAP General, thanks for pointing this out. In the future you can use the yellow triangle on the top right of each message to report such cases, they will be taken care of.
    Thomas

  • How to pass parameter for table name in  form6i.

    Hi ,
    I am facing the problem to pass parameter for table name in form6i.
    If any solution please infirm me earliest to my mail id.
    ([email protected])
    example:
    begin
    select ename into :ename
    from :tab_name
    where empno =7788;
    end;
    It gives error as bad bind variable 'tab_name'
    *** where :ename and :tab_name are form fields
    Thanking you,
    Balasaheb

    object name not taken as table --> what do u mean by
    this?
    Please be more clear..
    Regards
    PriyaI have two block. First block I am displaying all the table using user_objects table. Another block I want display, user which table selected, corresponding table all the records.

  • I Seek code for programming lego minstorm with labview

    Hi,
    I'am building a car with lego mindstorm for a project and i seek code for programming my car with labview. If you already use labview for programming lego mindstorm, can you send exemples codes for see how the car do for move or turn. please.
    Thanks 

    duplicate post
    duplicate post
    Please try to keep your question to one thread. Otherwise people don't know where to respond. 

  • TS1538 I'm trying to synch my Ipad/iphone on my Windows 8 Laptop.  when plugged in it recognises them as storage devices but they don't appear as devices in itunes for me to synch with.  Help

    Hi.  I'm trying to Sync both my IPhone and IPad having just updated Itunes on my windows 8 laptop.  Although the laptop recognises both devices and both devices ask if I trust the laptop they don't then appear in ITunes as devices for me to Sync with.  Help.

    No, that doesn't work for me.  And things seem to be inconsistent.  Where it lets you vary the file size (small/medium/large/actual) when large and actual are the same, it doesn't send the actual jpeg file for windows to open.  When large and actual size files are different when you toggle between the two, the file seems to go through to my windows pc ok.  When I tried this through preview, that's when I noticed this difference, not through just email or Aperture yet.  Help!

  • Starts With Parameter for Last Name for Created By serach criteria F4

    Hi,
    I have a requirement, where I need to add a seach parameter "Starts With" in backend for the last/first name of the Created by serach criteria F4 in lead search.
    But I am seeing for the CREATED_BY criteria the F4 automatically comes from standard and there is no view exist for the F4 in backend.This seems to come from the domain level! Can anyone help how to achieve this?
    Thanks.

    Hello Raj,
    In lead search, we have a criteria for Created_by. Now when user uses the F4 of the Created_by, there are option for first name and last name to search the user names.
    Now when user uses any name(1st or last), the result shows as 1 result found, but actually now result comes.
    hence now they are asking me to add a parameter as starts with for the 1st name and last name of the created_by F4 window search criteria.
    Hope this explanation will be clear for you. If possible please help.
    Actually the F4 of the Created_by comes from the standard, and there is no component/view available in CRM.
    Thanks.

  • Report Script : Parameter for file name?

    hi all,
    I am using a report script to generate a text file with budget data. This works fine in AAS console but I am automating this process by usning an ESSCMD and batch script.
    tha batch script will call the ESSCMD script which in turn executes the follwoing command
    RUNREPT 2 "RepScripName" "c:\Otputfile.txt"
    Now here I am hard coding the Output file name and location.But my requirement is that when I run the script it should prompt for file name and location.
    Any Idea on this
    Thanks

    Another solution I have tried is simply writing a small VB app that has a dialog that allows you to type in a file name or even navigate a file system directory. If I understand you correctly, you just want to be able to output the file anywhere you want. This works well and you can add more features to, just depends on if it is worth the effort. Other wise you can just write MXL and supply your script with position variables. You just need to type it in and hope you type typed it in correctly. Good luck, there are several ways to accomplish this.

  • Table name for 'Program name of method' and 'Method name'

    As we know, each method method contains different  program name with ext. like "====CM0001" etc., Where can I find this program name of method in database tables?
    Note: Program names are in REPOSRC with type as 'I' and name as "CLASS NAME======CMXYZ". But here we can not decide with program name belongs to which class!
    Thanks,
    Naveen.I

    Use FM SEO_CLASS_GET_METHOD_INCLUDES. Provide your class name and you will get the method names with include name.
    Regards,
    Naimesh Patel

  • Translation table for Program name/screen number for ECC 6.0

    Hello Experts,
    Do you know if there is a translation table and/or document that would list the Program Name / Screen Number for the transactions in SAP 5.0 and the equivalent Program Name / Screen Number for those same transactions in SAP 6.0?
    The reason that I ask is that we our encountering errors within the TxShuttle macros we are testing that are telling us that the current screen name listed in the macro in no longer valid in the 6.0 environment.
    Regards,
    Atul

    I thnk we dont have any such program .Try searching for a SAP Note if its a standard program.
    Can u tell me the program name and screen number which is not available in ur system.

  • Program name starting with an exclamatory mark at runtime .

    Hi ,
    Whenever we execute an abap program the first letter of the program name is being replaced by exclamatory mark at runtime .I like to know why this happen and is there any logic behind it that sap follows .

    Hello
    This programm was modified, saved and not activated. Just activate programm and first letter in programm name will be 'Z'.

  • Function with for loop and parameter table/column names ... syntax help

    I'm trying to create a function that returns the distinct values and counts from a user defined schema/table/column.
    The code below defines an object type [stats_on_column_obj] and creates a single table of this type [stats_on_column_tab].
    The function is supposed to take three input variables: p_schema_name, p_table_name, p_column_name and return a table (above).
    I can hard code a SELECT statement into the () ... but once I try to convert it to parameters & exec immediate I am stuck. The red section is where the issue is (i think).
    Oracle 10g.
    CREATE TYPE stats_on_column_obj IS OBJECT(
      COL_VAL      VARCHAR2(500),
      COL_VAL_CNT  NUMBER    (7)
    CREATE TYPE stats_on_column_tab IS TABLE OF stats_on_column_obj;
    CREATE OR REPLACE FUNCTION get_STATS_ON_COLUMN
       p_schema_name IN varchar2,
       p_table_name IN varchar2,
       p_column_name IN  varchar2
       RETURN STATS_ON_COLUMN_tab
    IS
       l_STATS_ON_COLUMN_tab   STATS_ON_COLUMN_tab := STATS_ON_COLUMN_tab ();
       n                       INTEGER := 0;
       str_select_tbl          varchar2(5000);
    BEGIN
       str_select_tbl := 'SELECT '||p_column_name||' as col_val, count(*) as col_val_cnt FROM '||p_schema_name||'.'||p_table_name||' group by '||p_column_name;
       FOR r IN (str_select_tbl)
       LOOP
          l_STATS_ON_COLUMN_tab.EXTEND;
          n := n + 1;
          l_STATS_ON_COLUMN_tab (n) := STATS_ON_COLUMN_obj (r.col_val, r.col_val_cnt);
       END LOOP ;
       RETURN l_STATS_ON_COLUMN_tab;
    END;
    [Error] PLS-00103 (124: 4): PLS-00103: Encountered the symbol "LOOP" when expecting one of the following:   * & - + / at mod remainder rem .. <an exponent (**)> ||   multiset year DAY_
    [Error] PLS-00103 (126: 9): PLS-00103: Encountered the symbol "=" when expecting one of the following:   constant exception <an identifier>   <a double-quoted delimited-identifier> table LONG_ double ref   char time timestam
    [Error] PLS-00103 (127: 29): PLS-00103: Encountered the symbol "(" when expecting one of the following:   constant exception <an identifier>   <a double-quoted delimited-identifier> table LONG_ double ref   char time timestam
    [Error] PLS-00103 (128: 4): PLS-00103: Encountered the symbol "END" when expecting one of the following:   begin function package pragma procedure subtype type use   <an identifier> <a double-quoted delimited-identifier> form
    SELECT * FROM TABLE (get_STATS_ON_COLUMN('SCHEMAS_X','TABLE_X','COLUMN_X'));

    SCOTT@orcl > CREATE OR REPLACE
      2    FUNCTION get_STATS_ON_COLUMN(
      3                                 p_schema_name IN varchar2,
      4                                 p_table_name IN varchar2,
      5                                 p_column_name IN  varchar2
      6                                )
      7      RETURN STATS_ON_COLUMN_tab
      8      IS
      9          v_STATS_ON_COLUMN_tab STATS_ON_COLUMN_tab := STATS_ON_COLUMN_tab ();
    10          v_n                   INTEGER := 0;
    11          v_str_select_tbl      VARCHAR2(5000);
    12      BEGIN
    13          v_str_select_tbl := 'SELECT stats_on_column_obj(' || p_column_name || ',count(*)) FROM ' ||
    14                              p_schema_name || '.' || p_table_name || ' group by ' || p_column_name;
    15      EXECUTE IMMEDIATE v_str_select_tbl
    16        BULK COLLECT
    17        INTO v_STATS_ON_COLUMN_tab;
    18       RETURN v_STATS_ON_COLUMN_tab;
    19  END;
    20  /
    Function created.
    SCOTT@orcl > select  *
      2            from  table(
      3                        get_STATS_ON_COLUMN(
      4                                            'SCOTT',
      5                                            'EMP',
      6                                            'JOB'
      7                                           )
      8                       )
      9  /
    COL_VAL              COL_VAL_CNT
    CLERK                          4
    SALESMAN                       4
    PRESIDENT                      1
    MANAGER                        3
    ANALYST                        2
    SCOTT@orcl >
    Or better change it to pipelined function.
    SY.

  • @count for first names beginning with "

    I was trying to come up with a formula for counting club members and partners by using an "&" in front of the first name of partners. I could not find a conditional function whereby I could count the names that begin with the "&". I used trial and error with various count functions on strings with if thens, etc. I either end up with syntax errors or a null. Not that important but I like solving puzzles and may find a use for the concept with other strings in the future. Bottom line is: I would like to pick out a unique character at the beginning of different strings and count it (numerically) if is there (true).

    Here's an alternative that is similar to Jerry's, but allows placing the ampersand in a more logical location in the Name column entries. The yellow-filled column (Flag) may be hidden.
    Column B: Entered data (names), with an ampersand used to join names of partners where applicable.
    Column C (Flag) contains a formula that places a null string in rows where there is no entry in the column B (Name), zero in rows where the names entry does not contain an ampersand, and a number larger than zero corresponding to the position of the ampersand in rows where the Names entry has one.
    C2, and filled down: =IF(LEN(B)>0,IFERROR(FIND("&",B),0),"")
    Cells D2 and E2 contain similar formulas to count the two-name (partner) entries and the single name entries, using the flags set in column C.
    D2: =COUNTIF(C,">0")
    E2: =COUNTIF(C,"=0")
    Regards,
    Barry

  • XML Schema for elements names varying with number

    HI ,
    I have an xml document where the no of tags are unlimited ,but having same name +tag number
    ex:-<name1>String</name1>
    <name2>String</name2>
    <name3>String</name3>
    <name4>String</name4>
    <name5>String</name5>
    I need to design a schema for this xml,where the name tag can go up to any number,i am not able to use attributes,as the system recieving this xml is demanding this format.
    can any one give me a schema for this,so that i will be able to generate jaxb objects to generate xml from the schema,in my webservice

    Hi Abhishek,
    Thanks for your reply
    In our project
    The remaining part of the code we are dealing with schema and jaxb objects..i am having only this xml which is pending....
    as of now i was creating this xml in a dynamic passion only using DOM.
    my plan is to atleast do like below
    expected result
    <doc>
    <tag1></tag1>
    <tag2></tag2>
    <tag3></tag3>
    <tag4></tag4>
    <tag5></tag5>
    </doc>
    I am able to generate the below xml
    Actual
    <doc>
    <tag></tag>
    <tag></tag>
    <tag></tag>
    <tag></tag>
    <tag></tag>
    </doc>
    I am trying to write an XSL and transform above result to the expected result. But still not be able to write the xsl to match mmy expected result
    Edited by: Aditya on Aug 3, 2011 7:26 AM

  • Program name starting with " ! "

    Hi ABAPers !
    For some unknown reasons, while working on the development of a custom program called "ZVER0221_V2", at some point in my development, the Workbench stared asking me ( almost everytime I save a program and/or and include related to this main program ) to select to which main program the object I'm about to save in linked to.  The option it gives me are:
    !VER0221_V2
    ZVER0221_V2
    I don't understand why its asking me that... where this !VER0221_V2 is coming from ??&**?
    I'm able to display this !VER0221_V2 program and it shows itself as "active".  When I try to edit it, I get the following message:
    No TADIR entry found for ABAP !VER0221_V2
    Can anyone tell me where this program might come from and how can I get rid of it... !!!
    Thanks in advance.
    José Paquette

    Hi everybody,
    this may be a bit late for the original post, but as I did not find a solution on SCN, I thought, I'd share mine (I also had a "!"-program, that did not disappear after activation):
    - Change the program and save to create an inactive version.
    - Run this inactive version.
    - After the next activation, the mysterious "!"-program disappeared.
    Kind regards
    Chris

Maybe you are looking for

  • PDF to word document

    On my adobe reader on my pic I am able to sign in and convert PDF files to word documents in order to change them.  I have paid for this upgrade and was wondering how I can go about using this function on my iPad.

  • Finding the Text of SQL Query causing Full Table Scans

    Hi, does anyone have a sql script, that shows the complete sql text of queries that have caused a full table scan? Please also let me know as to how soon this script needs to be run, in the sense does it work only while the query is running or would

  • Missing component in wireless~OC4J

    Hello All, I'm taking over an iAS 10g (9.0.4) deployment, and recently they have an error in one of the log file. at ORACLE_HOME/opmn/log/wireless~OC4J_Wireless~default_island~1. The errors as follows. 06/05/09 17:39:00 Error initializing site Oracle

  • Newbie wants to learn Flash

    i want to learn flash. I have a very simple idea, but i need to start somewhere. I didn't get anything with my software. Where can I go to see a tutorial on Flash. I found some, but they go into all the cool things, and I need to learn the very basic

  • Error to create a new 'Nota Fiscal' Model

    Hi experts, I trying to create a new Model in 'Nota Fiscal' Model (ONFM) and this error message appears: So I query the table ONFM and the code 59 already exist. I clicked the help option to restore the numbering files but did not fix the error. Any