Reading all function code of a pf-status

Hi,
I need to read all the function code of a pf-status. Any idea if there's any table or function module to do that?

Hi
Try fm RS_CUA_GET_FUNCTIONS
Max

Similar Messages

  • Handling new function code in customised gui status of report

    I have a very simple report, YRPT1, which write a few lines to the list. I have created a new gui status and set it in my report. In se41, I also added a new function code 'TERM' in the application toolbar. If I am not wrong, i need to handle this new function code in the PAI section of the simple report. So my question is, where is the PAI section of this simple report?

    In selection screen, the user action is to be handler in
    "AT SELECTION-SCREEN" event.
    Code should be like this
    tables sscrfields.
    at selection-screen.
    case sccrfields-ucomm.
    endcase.

  • Pf status and function codes

    Hi,
    I have a report where in i have to add a new icon with a tick symbol along with the existing execute icon ie f8.I have copied the status of the program into another before adding the new icon and to that i have added the new icon and function code.
    i have used set pf-status in the initialisation event.Now when i give the select options and press f8 it enters into the program but sy-ucomm is still empty and does not do the desired functionality.If i click the icon for test run it does not enter the program itself.Can anyone help me out on this.
    The status is activated in se41.
    Points will be rewarded.
    Please help.
    Regards,
    Sowmya.

    hi,
    just try like that used in the report: demo_list_at_user_command
    like:
    START-OF-SELECTION.
      WRITE: 'Basic List',
           / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
      WRITE 'Top-of-Page'.
      ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
      CASE sy-pfkey.
        WHEN 'TEST'.
          WRITE 'Self-defined GUI for Function Codes'.
          ULINE.
      ENDCASE.
    AT LINE-SELECTION.
      SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
      PERFORM out.
      sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'FC1'.
          PERFORM out.
          WRITE / 'Button FUN 1 was pressed'.
        WHEN 'FC2'.
          PERFORM out.
          WRITE / 'Button FUN 2 was pressed'.
        WHEN 'FC3'.
          PERFORM out.
          WRITE / 'Button FUN 3 was pressed'.
        WHEN 'FC4'.
          PERFORM out.
          WRITE / 'Button FUN 4 was pressed'.
        WHEN 'FC5'.
          PERFORM out.
          WRITE / 'Button FUN 5 was pressed'.
      ENDCASE.
      sy-lsind = sy-lsind - 1.
    FORM out.
      WRITE: 'Secondary List',
           / 'SY-LSIND:', sy-lsind,
           / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    Regards,
    Renjith Michael.

  • What is a function Code?

    Can anybody tell me What is a Function Code while creating Application tool bar  with SET PF-STATUS?
    How many function codes are there?
    What are they?
    if I want to associate a new functionality with a new ICON....can I add custom fuction code or there are only SAP function codes available.....?

    Hi
    Function code is the CODE assigned to a particular through which the SAP recognises its action.
    It is something like OK code or Sy-UCOMM.
    see the doc of OK CODE
    In your ABAP programs, you should work with the OK_CODE field instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following reason:
    In the same way that the OK_CODE field in the ABAP program and the system field SY-UCOMM receive the contents of the corresponding screen fields in the PAI event, their contents are also assigned to the OK_CODE screen field and system field SYST-UCOMM in the PBO event. Therefore, you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported.
    In your application programs, the first step in PAI processing should be to save the function code in an auxiliary variable and then initialize the OK_CODE field. You can then read the function code from the auxiliary variable (for example, using a CASE structure), and control the program flow from there.
    The OK_CODE field can have a different name on each screen. However, common practice is to use the same name for the field on each screen of an ABAP program. You then only need one field in the ABAP program, with the same name, into which the function code is placed, and from which you can read it.
    Refer the link:
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e61454211d189710000e8322d00/frameset.htm
    regards
    Anji

  • TS1292 After I scratched the code on the iTunes gift card I could not read the whole code and I do not have a gift receipt, What do I do to redeem my card?

    After I scratched the back of my I Tunes card, I couldnt read all the code numbers and do not have a gift reciept, what do i do to redeem my gift card?

    If the page that you posted from doesn't help then you will need to try contacting iTunes Support (you will probably need to give them images of the front and back of the card, normally I'd also say the receipt but you can see what they say) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • What is excatly the fastpath of function codes in pf-status

    Hi friends,
    I would like to know what is excatly the fastpath of function codes in pf-status. I thought
    at first that I can choose a letter and in my program press Alt+letter and the function code
    will be executed but it did not work for me.
    Please help me.
    Regards,
    Udi.

    Hi aRs,
    Thank you for answering me.
    Is the fastpath is also for buttons or only for menus?
    Regards,
    Udi.

  • GUI Status Function Code search

    I used ALV to list a report. On the Application Tool Bar, I added few push button.  One of them, I want to let user check the box, and then click, and select all other records but not checked records. I want to use the button invert_line. And I am trying to search for function code of a icon "ICON_INVERT_LINE". Hoping that it(SAP) already took care of it just like Select All, and I don't need write any code in program.
    For example, for "Select All", the function code is "&ALL", for "Deselect All" is "&SAL".
    I need use the function of Invert Line, any documents include the function code for it? Any tips?
    Appreciate your help.

    hi
    you can alternate between 'MALL' and 'MALO' as the function codes.
    thanks.

  • Alv status standard function codes

    Hello,
    I have developed an not OO ALV.
    I want to put the sort standard button. Does anybody know the function code i have to put in the status?
    Thanks

    Hi,
    Goto SE41, create a pf-status for your alv report program.
    On the next screen, click menu EXTRAS --> click option ADJUST TEMPLATES and select radiobutton LIST VIEWER --> you will get all standard buttons of alv in the pf-status.
    Delete the unwanted buttons and also you can add new buttons if reqd.
    Activate pf-status --> and apply in alv program.
    Hope this helps you.
    Regards,
    Tarun

  • All Icons and their function codes

    Hi all!
    How can we find all the available icons and their related function codes? I have watched PRINT icon having different function codes in different ALV reports.
    Edited by: Jayasri P. on Jan 7, 2008 12:44 PM

    Hello.
    In order to use them in the GUI status of your ALV do the following:
    go copy the status "STANDARD_FULLSCREEN" of the program "SPLKKBL" to your program and change it.
    If you go to your own status now, under "Application Toolbar", you can define there your own function codes and use them in your code. As far as the icon is concerned, when you will first set the function code, the system will pop-up a screen in which you can define the icon you want to assign to that function code. You just have to do an F4 on the respective field of the pop-up and a new pop-up will show you all the available standard icons of the system that are available for use in your own GUI status. There, the name of each icon (for example, ICON_OKAY, or ICON_CANCEL etc) can be used to display icons in standard ABAP lists. In this case you have to add in your report the following line
    TYPE-POOLS: ICON.
    and then write something like this:
    write:/ icon_okay as icon.
    Reward please if it help.
    Regards,
    George

  • How to translate function codes from GUI-status into other language ?

    Hello experts,
    I've a programm called mrs - multi resource scheduling.
    This programm has texts in english and german.
    Now I want to translate the text also in italian.
    When I opne the programm in se80, in path GUI-status
    there are the ui-elements (Function codes).
    When I open them in english, I get the texts in english, when
    I open them in german , I get the texts in german.
    Openeing in italian shows me the english texts.
    Changing them into italian I get message:
    You can only maintain the object in modification
    lang. German (DE) in this system
    If I proceed in translating the german text in italian, I get italian texts instead of german.
    Some ideas ?
    Thanks Gerd

    Use [SE63|https://www.sdn.sap.com/irj/scn/advancedsearch?query=se63&cat=sdn_all].([Translating Objects Directly|http://help.sap.com/saphelp_nw04/Helpdata/EN/41/71601b3ab0f34a8e00aa01338c68f3/content.htm]) else work on a system where italian language is installed.
    Regards

  • Any function module to read all the values in Tcode-PPQD?

    Hi all
    Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
    and any idea what tables are involved to get these values like parent and child relationship?
    Thanks in advance.
    Murali.

    Murali,
    you can use the following..
    data: w_sobid type sobid, "Qualification ID
          w_objid type objid. "Qualification Catalog
    select objid  into w_objid
                  up to 1 rows
                  from HRP1001
                 where otype = 'QK'
                   and plvar = '01'
                   and istat = 1
                   and risgn = 'B'
                   and relat = '030'
                   and endda ge sy-datum
                   and begda le sy-datum
                   and sclas = 'Q'
                   and sobid = w_sobid.
    endselect.
    if sy-subrc eq 0.
    write: / w_objid,w_sobid.
    endif.
    Regards,
    Suresh Datti

  • How to search for a string in ALL Function Modules source code

    Hello,
    I want to search for the string "HELLO" in all FUNCTION MODULES source code(FM, no reports/programs).
    Is this possible? How?
    Cheers,
    Andy

    hi,
    Execute RPR_ABAP_SOURCE_SCAN to search for a string in the code ... Press where-used-list button on the program which takes to the function group or the function module where it is used ..
    Regards,
    Santosh

  • Is there a Function Module to read all BOM Variants

    Hi,
    I have a requirement to read all the BOM variants of Engineering BOM through a Function Module and pass this information to Third Party Application.
    Is there any such Function module/BAPI?
    Need your expert advice.
    Thanks and Regards,
    OmPrakash

    Hi ,
    If you want to use 'CS_BOM_EXPL_MAT_V2' funtion to get the BOM components, you need to give the importing parameter mtnrv( material number).
    the components are stored in TABLES : stb.
    I am doing this way.
    but werks, date , and capid are optional .
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
           EXPORTING
             mtnrv                 = i_matnr
             werks                 = i_werks
             datuv                 = i_date
             capid                 = l_capid
           IMPORTING
             topmat                = ms_cstmat
           TABLES
             stb                   = lt_stpox
           EXCEPTIONS
             alt_not_found         = 1
             call_invalid          = 2
             material_not_found    = 3
             missing_authorization = 4
             no_bom_found          = 5
             no_plant_data         = 6
             no_suitable_bom_found = 7
             conversion_error      = 8.
    Please give it a try.
    BR,
    Ovidiu

  • Function module to read all the views of material data

    Dear all ,
           Is there any function module to read all the views of material data ?
           Like we have MATERIAL_MAINTAIN_DARK for updating all the views of material data , I need a function module to read all the views of material master.
    Thanks & Regards
    Shivanand

    Hello,
    Check these BAPI'S
    <b>BAPI_MATERIAL_DISPLAY          Display Material
    BAPI_MATERIAL_GET_DETAIL       Determine Details for a Material</b>
    Regards,
    Vasanth

Maybe you are looking for

  • Having multiple service operations in a single JMS adapter best practice

    Hi All, I am using JDeveloper and SOA Suite 11.1.1.6. I need to read from multiple JMS Topics and transform and enhance the messages through the Mediator and then persist into Database. My question is What is the best practice to consume from multipl

  • Upload POST PL/SQL (gateway)

    I've managed to configure upload of documents via a web brower on a box running oracle 9i. It does the usual upload into a documents table (blob data). It is pretty much the same as the well published example given in metalink. I've been trying to re

  • IBook sync with iphone 5 and iPad Air

    Purchased some books and they are downloaded and available to read on my iPhone 5 via iBooks. But on my iPad Air they are shown as downloaded but when I tap to open the book the book description and other info comes up in a window but the book does n

  • Mail and Password Troubles. No good.

    I changed my Gmail password and now both my macbook and ipod will not accept the new password to sign in in Mail. I am 100% sure I'm entering them correctly, and I can sign in on a browser just fine. They tell me the "imap server" is incorrect. Pleas

  • IBIP code in PM module

    Hi , Can anyone explain how to use IBIP code to do direct data transfer in PM Module . Best Regards