I want to create a menu after reports in 9.1 sap b1

now am giving this menu id  43520
but in 9.1 its showing below human resources module
i want that after reports means Last
please help

Hi Nikhil,
To add menu:
SAPbouiCOM.MenuItem oMenuItem = default(SAPbouiCOM.MenuItem);
                SAPbouiCOM.Menus oMenus = default(SAPbouiCOM.Menus);
                SAPbouiCOM.MenuCreationParams oCreationPackage = default(SAPbouiCOM.MenuCreationParams);
                try
                    oMenuItem = SBO_Value.SBO_Application.Menus.Item(UniqueID);
                    return;
                catch
                oCreationPackage = (SAPbouiCOM.MenuCreationParams)SBO_Value.SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams);
                oMenuItem = SBO_Value.SBO_Application.Menus.Item(ParentMenu);
                oMenus = oMenuItem.SubMenus;
                oCreationPackage.Type = MenuType;
                oCreationPackage.UniqueID = UniqueID;
                oCreationPackage.String = Name;
                oCreationPackage.Enabled = true;
                oCreationPackage.Position = Position;
                oCreationPackage.Image = ImagePath;
                oMenus.AddEx(oCreationPackage);
You need to change your Menu Position. So just increment it by 1.
Hope it helps.
Thanks & Regards
Ankit Chauhan

Similar Messages

  • Want to create a menu/list that expands with additional links when you rollover it

    The hardest part about using the "help menu" is figuring out
    what to search for.... I want to create a button on my website that
    expands to additional options/links when you roll over it.... An
    example would be on this Adobe website.... There is a bar across
    the top that says solutions, products, etc. When you roll over it,
    the link expands to additional options.... If someone can tell me
    what to search on in the help menu, I can take it from there....
    Thanks,
    Nancy

    Haaga wrote:
    > The hardest part about using the "help menu" is figuring
    out what to
    > search for.... I want to create a button on my website
    that expands
    > to additional options/links when you roll over it.... An
    example
    > would be on this Adobe website.... There is a bar across
    the top
    > that says solutions, products, etc. When you roll over
    it, the link
    > expands to additional options.... If someone can tell me
    what to
    > search on in the help menu, I can take it from there....
    http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=css-based+drop+ down&spell=1
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    CSS Tab Menu:
    http://www.TJKDesign.com/go/?3

  • Want to create a Quotation through Report programming

    Hi Expert,
    I need to create an Quotation in my ERP system through report programming. I just want to know, what are the FM Used for this purpose or any idea about this. I really welcome your great ideas.
    <removed by moderator>
    Thanks and Regards,
    Shakun
    Moderator message: please search for available information/documentation before asking.
    Edited by: Thomas Zloch on Oct 23, 2010 6:05 PM

    Hi Niji,
    refer to the following link:
    /people/kevin.wilson2/blog/2007/08/31/what-mechanisms-are-available-to-you-in-order-to-create-a-business-object-event
    hope this will help you.........

  • Want to create Searchbar on SQL report

    Hi evryone...
    I had created SQL report in my appication.......But i coould nt find serch bar option which generally create with interactive report...so if i would like to create serchbar in my SQL report then how could i able to do that thing??
    thanks in advance
    rommy

    Hi Rommy,
    Have a look at my first post in this thread: Re: Search option for  a REPORT AND FORM page.
    Regards
    Andy

  • Mail wants to create new account after crash

    so, i ran out of batteries and my laptop just died. power attached, restart, my firefox session is there with all windows intact, but when i start up mail, it gives me the "welcome to mail" create account wizard. HELP! of course i know all my mail is there mel>library>mail, but how do i just 'bypass' this wizard to find my mail again?

    Greetings,
    how do i just 'bypass' this wizard to find my mail again?
    You can't. Because you let your battery die (never a good idea), your mail preferences file is now corrupt and doesn't know you have any mail accounts. So you need to do this:
    If all your mail accounts are POP:
    1. Quit Mail.
    2. Go to Home/Library/Preferences and delete the com.apple.mail.plist file.
    3. Restart Mail and setup your account(s) again; Mail will automatically find your existing mailboxes.
    If any or all of your accounts are IMAP:
    Do steps 1 and 2 above.
    3. Go to Home/Library/Mail and remove each mailbox beginning with "IMAP-".
    4. Restart Mail, setup your accounts again, and wait for Mail to download your IMAP mail again.
    In either case, check to be sure Mail is working properly again after the last step; if so, you can delete the IMAP folders on your Desktop and empty the Trash.

  • I want to create a programable menu, need advice...

    I want to create a menu that will allow the viewer to select, and subsequently view, several segments and any order they want.
    Can anybody give me some hints?
    Thanks!

    http://discussions.apple.com/message.jspa?messageID=1995061#1995061
    Some answers and possts of examples, I posted a basic one and there are others a bit more challenging (take a look towards bottom, I posted a couple of links, the last link is the easy one)

  • To create a normal interactive report

    Hai All!
       i want to create a normal interactive report, in the basic list CARRID should be displayed with checkbox. the detail list should be displayed after selecting the checkboxes & clicking the pushbotton in application toolbar.
    plz help me to findout the solution.

    Hi smitha,
    Report z_sfpfli.
    *Data Declarations ...................................................
      Field String fs_spfli                                              *
    DATA:
      BEGIN OF fs_spfli,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       airpfrom LIKE spfli-airpfrom,       " Departure airport
       airpto   LIKE spfli-airpto,         " Destination airport
       deptime  LIKE spfli-deptime,        " Departure time
       arrtime LIKE  spfli-arrtime,        " Arrival time
      END OF fs_spfli.
    *Data Declarations ...................................................
      Field String fs_sflight                                           *
    DATA:
      BEGIN OF fs_sflight,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       date LIKE sflight-fldate,           " Flight date
       seatsmax LIKE sflight-seatsmax,     " Maximum capacity in economy
                                           " class
       seatsocc LIKE sflight-seatsocc,     " Occupied seats in economy
                                           " class
      END OF fs_sflight.
       Internal Table To Hold spfli Table Details                       *
    DATA:
      t_spfli LIKE
       STANDARD TABLE
         OF fs_spfli.
       Internal Table To Hold sflight Table Details                     *
    DATA:
      t_sflight LIKE
       STANDARD TABLE
         OF fs_sflight.
    DATA:
      w_checkbox TYPE c,
      w_lines    TYPE i,
      w_currentline TYPE i,
      w_last_line TYPE i.
    TOP-OF-PAGE.
      PERFORM top_flight_data.
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM top_sflight_data.
                          AT SELECTION-SCREEN EVENT                     *
    START-OF-SELECTION.
      PERFORM get_flight_data.
    *&      Form  TOP_FLIGHT_DATA
    This subroutine DISPLAY to_flight_data                             *
    There are no interface parameters to be passed to this subroutine.
    FORM top_flight_data .
      SKIP 2.
      FORMAT COLOR 5 ON.
      WRITE:
        /5(15) 'Airline Code'(010),
         (15) 'Flight Connection Number'(011),
         (10) 'Departure airport'(012),
         (10) 'Destination airport'(013),
         (10) 'Departure time'(014),
         (15) 'Arrival time'(015).
      FORMAT COLOR OFF.
      SKIP 2.
    ENDFORM.                    " TOP_FLIGHT_DATA
                          END-OF-SELECTION EVENT                        *
    END-OF-SELECTION.
      SET PF-STATUS 'MENU'.
      PERFORM display_flight_data.
    AT LINE-SELECTION.
      IF sy-lsind EQ 1.
        PERFORM get_sflight_data.
        PERFORM display_sflight_data.
      ENDIF.                               " IF SY-LSIND..
    AT USER-COMMAND.
      SET PF-STATUS space.
      CASE sy-ucomm.
        WHEN 'SELECTALL'.
          w_checkbox = 'X'.
          PERFORM modify_checkbox.
        WHEN 'DSELECTALL'.
          w_checkbox = ' '.
          PERFORM modify_checkbox.
        WHEN 'DISPLAY'.
          PERFORM get_sflight_data1 .
      ENDCASE.                             " CASE SY-UCOMM
    *&      Form  GET_FLIGHT_DATA
    This subroutine  retrieves necessary data from SPFLI                *
    There are no interface parameters to be passed to this subroutine.
    FORM get_flight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             airpfrom                      " Departure airport
             airpto                        " Destination airport
             deptime                       " Departure time
             arrtime                       " Arrival time
       FROM spfli
       INTO TABLE t_spfli.
    ENDFORM.                               " GET_FLIGHT_DATA
    *&      Form  DISPLAY_FLIGHT_DATA
    This subroutine DISPLAY necessary data from SPFLI                  *
    There are no interface parameters to be passed to this subroutine.
    FORM display_flight_data .
      LOOP AT t_spfli INTO fs_spfli.
        WRITE:
          /02 w_checkbox AS CHECKBOX,
            fs_spfli-carrid   UNDER text-010,
            fs_spfli-connid   UNDER text-011,
            fs_spfli-airpfrom UNDER text-012,
            fs_spfli-airpto   UNDER text-013,
            fs_spfli-deptime  UNDER text-014,
            fs_spfli-arrtime  UNDER text-015.
        HIDE:
            fs_spfli-carrid,
            fs_spfli-connid.
      ENDLOOP.                             " LOOP AT T_SPFLI INTO...
      w_last_line = sy-linno.
    ENDFORM.                               " DISPLAY_FLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA
    This subroutine  retrieves necessary data from SFLIGHT             *
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             fldate                        " Flight date
             seatsmax                      " Maximum capacity in economy
                                           " class
             seatsocc                      " Occupied seats in economy
                                           " class
      FROM sflight
      INTO TABLE t_sflight
      WHERE carrid EQ fs_spfli-carrid
      AND   connid EQ fs_spfli-connid.
    ENDFORM.                               " GET_SFLIGHT_DATA
    *&      Form  top_sflight_data
    This subroutine to Display to_sflight_data                         *
    There are no interface parameters to be passed to this subroutine.
    form top_sflight_data .
    SKIP 2.
      FORMAT COLOR 3 ON.
      WRITE:
        /1(15)  'Airline Code'(010)   LEFT-JUSTIFIED,
         15(15) 'Flight Connection Number'(011)   LEFT-JUSTIFIED,
         25(15) 'Flight date'(016)    LEFT-JUSTIFIED,
         38(17) 'Maximum capacity'(017) LEFT-JUSTIFIED,
         48(15) 'Occupied seats'(018) LEFT-JUSTIFIED.
      SKIP 2.
      FORMAT COLOR OFF.
    endform.                    " top_sflight_data
    *&      Form  DISPLAY_SFLIGHT_DATA
    This subroutine DISPLAY  necessary data from SFLIGHT                *
    There are no interface parameters to be passed to this subroutine.
    FORM display_sflight_data .
      LOOP AT t_sflight INTO fs_sflight.
        WRITE:
          / fs_sflight-carrid UNDER TEXT-010,
            fs_sflight-connid UNDER TEXT-011,
            fs_sflight-date UNDER TEXT-016,
            fs_sflight-seatsmax UNDER TEXT-017,
            fs_sflight-seatsocc UNDER TEXT-018.
      ENDLOOP.                             " LOOP AT T_SFLIGHT INTO...
    ENDFORM.                               " DISPLAY_SFLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA1
    This subroutine  retrieves necessary data from SFLIGHT
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data1 .
      DATA
         lw_checkbox TYPE c.
      DESCRIBE TABLE t_spfli LINES w_lines.
      DO w_last_line TIMES.
        w_currentline = 2 + sy-index.
        CLEAR:
          w_checkbox,
          t_spfli.
        READ LINE w_currentline FIELD VALUE
           w_checkbox   INTO lw_checkbox.
        IF sy-subrc EQ 0.
          IF lw_checkbox EQ 'X'.
            PERFORM get_sflight_data .
            PERFORM display_sflight_data .
          ENDIF.                           " IF LW_CHECKBOX..
        ENDIF.                             " IF SY-SUBRC..
      ENDDO.                               " DO W_LAST_LINE
    ENDFORM.                               " GET_SFLIGHT_DATA1
    *&      Form  MODIFY_CHECKBOX
    This subroutine  MODIFIES accordingly
    There are no interface parameters to be passed to this subroutine.
    FORM modify_checkbox .
      CLEAR w_currentline.
      WHILE w_currentline  LE w_last_line.
        READ LINE w_currentline.
        MODIFY LINE w_currentline FIELD VALUE w_checkbox FROM w_checkbox.
        ADD 1 TO w_currentline.
      ENDWHILE.                            " WHILE w_line LE w_last_line.
    ENDFORM.                               " MODIFY_CHECKBOX
    Regards,
    Sravanthi

  • How to create a menu in the canvas

    Hi,
    I want to create a menu in my canvas, like this:
    http://nsa30.casimages.com/img/2013/01/14/130114030406639595.png

    Yes you can create menu in form canvas
    First create menu under main form property just above program units. and then create menu items for displaying menu item.
    After creating you menu item you just click on Canvas property by selecting canvas and F4
    then under Function property select your menu under "POPUP MENU"
    when you right click your canvas runtime you will see a menu just like web.
    mark this correct/helpful

  • Create this tabbed SSRS Report????????

    I am trying to create this tabbed SSRS Report as shown below. What would be the best practice to do this?  I understand how to get the query to get the columns, but tabs are a little confusing for me.  Maybe 3 different reports with links to each?

    Hi D Henson,
    Per my understanding that you want to create an tabbed SSRS Report that click each tab will display different  kind of reports, right?
    I have tested on my local environment and as in the snapshot you have provided that we have three tabs(Loan overview,Loans to Date and Demographics), we can create three textbox to display as the three tabs in each three reports and then create three different
    reports for each tabs, when click on the different tabs will link to different reports.
    Details information below for your reference:
    Create three report(Report1,report2,report3).
    Create three textbox and enter the value(Loan Overview,Loans to Date and Demographics) in report1.
    Repeat step2 to create the three textbox in Report2 and report3.
    Right click Textbox(Loan Overview) and select the "Textbox properties" and cilck the "Action" on the left pane, then select the "Go to Report" to specify a report (Report1), after the setting  when you click
    the textbox it will link to the Report1.
    Repeat the step4 to setting the "Go to Report"action for Report2 and Report3
    Repeat the step4,step5 to add the "Go to Report" action on each report's three textbox.
    Deploy the three reports to the Report Server.
    Note: you can also add the "Go to URL" action instead of the "Go to Report" action and specify the URL of the each reports in the report Manager, but before do the setting, please deploy the three report and get the URL first.
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Creating dynamic menu structure

    Hi Pals,
    I am using Jsp and database is MYSQL.
    I want to creat a menu structure dynamically.I have tabs in my main manu home,menu1,menu2,menu3.
    when i click on add new menu ,i need a page asks for menu name,and drop down listing all menu structure asking for which parent menu i want to add this menu.After submission the menu shold be added.Same should happen to to sub level menus also.
    for eg
    Home Menu1 Menu2 Menu3
    ..Menu11 ..Menu21
    ..Menu12 ..Menu22
    ...Menu221
    I will have a link Add new menu.when i click on that a new page should be like
    Menu name text box
    Parent menu listbox ..consists all the menu structure
    when i give a Menu name and select a particular menu from list box that menu should add under that parent menu.Suppose the user clicks on Menu221 and gave menu name as "support" then the menu structure
    shold b like this..
    Home Menu1 Menu2 Menu3
    ..Menu11 ..Menu21
    ..Menu12 ..Menu22
    ...Menu221
    ...Support
    Please advise me the database structure
    Thanks in advance
    Regards
    ...Rama

    If you want to display list for ADMIN's you can set it like this:
    rendered="#{jhsUserRoles['ADMIN']}"

  • Is it possible to create editable columns in report output?

    Hi guys,
    I want to create a column in report output displayed using Write statement as editable such that User can change the value at the output after display.
    Let me know the possible solutions.
    Thanks,
    GURU

    hi,
    use this statment
    WRITE: num1 INPUT
    After entering or changing the value
    MODIFY LINE 1 FIELD VALUE num1 FROM num1
    this Line 1 may differ according to ur prigram
    Reward points if helpful
    Regards,
    priya

  • Help with publishing website templates and creating a menu please?

    Hello, I’m new to this website and flash so please bear with me.
    I have purchased a website template from istockphoto (example…  http://www.istockphoto.com/file_closeup.php?id=631369 ), which is easy to upload pictures on to, but i have a few questions...
    I have now uploaded my images on to it, but please can you give me some advise on how to publish it on to the Internet?  I have bought my own domain name but I don’t have a clue how to link it to this web template, and I can’t seem to find any specific information.
    Also I want to create a menue with 8 different subject categories, each with a separate image gallery and I don’t know how to link them together and list them in a ‘home page’.
    If you could give me some tips or a link to some information that would be fantastic!
    Thankyou very much in advance! Any help would be very much appreciated as i have been searching for a few days now and i don't understand how it works.
    Donna

    First, after exporting your FLA to SWF, you have to embed it into an html page, then upload both html and swf to your host.

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?

    Hi All,
    Suppose I have table, whose structure changes frequently on daily basis.
    For eg. desc my_table gives you following column name on Day 1
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    On Day 2, two more columns are added, viz, Address and Salary.
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    Address
    Salary
    Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
    For Day 1 my XML file should be like this.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 1, EXCEL output from RTF template should be like this.
    Name     Age     Phone
    Swapnill     23     12345
    For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 2, EXCEL output from RTF template should be like this.
    Name     Age     Phone     Address     Salary
    Swapnill     23     12345         Madrid     100000
    Now, I dont know below things.
    Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
    Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
    Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
    Regards,
    Swapnil K.
    Message was edited by: SwapnilK

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • How to create a Group Above report using APEX

    I want to create a Group above report with more that one group using APEX. Is it possible to generate such a report using APEX. If so kindly let me know how to go about creating a Group above report with more than one group.

    Hello Srini,
    Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
    Please let me know if any... urgent
    Thanks in advance
    Krishna

  • How to create a Menu Bar at the bottom of the Panel?

    Hi all,
    I want to insert Menu bar into the bottom of the Panel but it always appears at the top and I want to create a menu at the bottom and in the left so when i click to that menu, all the menu items will appear above like window icon of Microsoft. So can you show me how to do it?
    Thanks!
    Regard,

    Put another JPanel at the bottom and insert your menubar there.

Maybe you are looking for