Use standard Function kyes as custom in PF ststus

Hi all,
I want to use standard Function kyes(such as F1 & F3) as custom in PF ststus so that I will perform my code by these function keys. Is it possible.
Thanks
Sanket sethi

Yes it is possible.

Similar Messages

  • How to use standard function keys as custom keys

    how to use standard function keys as custom keys.
    i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
    kindly help me out.

    Hi ,
    Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
    If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
    Thanks

  • How to create textpool by using standard function module?

    hi,
    gurus.
    I have find two function modules ( RS_TEXTPOOL_READ / BX_AGR_READ_TEXTPOOL ) which is used to read but i want to write into the textpool is there any standard function module

    REPORT ZTEST1.
    WRITE : / 'ddddddd'.
    WRITE : / 'ddddddd'.
    WRITE: / 'hhhhhhh'.
    WRITE: / 'ddddddd'.
    WRITE: / 'ddddddd' , 'uuuuuuuu'.
    WRITE: / 'ddddddd', 'sssssssss'.
    for example i am this report i want to convert it into text elements like
    REPORT ZTEST1.
    WRITE : / 'text-001'.
    WRITE : / 'text-001'.
    WRITE: / 'text-002''.
    WRITE: / 'text-001''.
    WRITE: / 'text-001'' , 'text-003''.
    WRITE: / 'text-001'', 'text-004'.
    this elements also store into the textpool so how can we achieve  this functionality by using standard function module.
    can any body give some idea .
    shabeer ahmed

  • Create CVC using Standard Function /SAPAPO/TS_PLOB_CREATE

    Hello All,
    please can you explain me in detail how the Function /SAPAPO/TS_PLOB_CREATE work to create the CVC.
    we have a custom program that use this function to create the CVC for Italy Project, we have copied this program to use it for a roll out project in brasile, my client is asked me for the new project brasile should we create new tables?
    my interest is to now if this function need a custom table to work? or we can use it in various program without needing different
    tables?
    if we use this function on the same system to create CVC for different area Italy/brasile will we have some problem on the data?
    for our brasile project we have created new custom master data  tables.
    thanks for All
    Bilal

    Hi Bilal ,
    Function /SAPAPO/TS_PLOB_CREATE - Create Single characteristic combination, is nothing but a program  called internally in standard TCode: /sapapo/mc62 for CVC creation. This function is used specifically when you want to create single CVC based on the individually/interactively entered characteristics combination.
    Whereas there is a similar function /SAPAPO/TS_PLOB_MAINTAIN-Create Characteristic combinations (again a part of standard TCode/SAPAPO/MC62 called internally) which is used for multiple CVC creation based on the characteristic data either from MPOS, Info provider, external file or BAdI.
    As understand from your requirement that you want to roll out the CVC creation process based on the table entries, we have similar setup in which we have following process which is working very fine u2026
    -We have created a Z Table where the new characteristic combinations are entered globally -for all four regions
    -Based on entries in that Z table as a data source we have built a Info provider(Cube) and then
    -This Info provider is used in function /SAPAPO/TS_PLOB_MAINTAIN (as a part of scheduled jobs running with some frequency) to create multiple CVC combinations across regions.
    Hope this helps youu2026
    Regards,
    Digambar

  • Handling date to ADD or Substract fixed # of days using standard function

    Hi ,
    Using the standard functions in XI, is it possible to add or subtract a fixed number of days from the date i get from the input file.
    Like, from file I get the date as 25/06/2009.My output should be 05/07/2009 after adding 10 days .
    can some one guide how to handle this.
    Thanks,
    Ven..

    Hi Ven,
    Here is a  UDF code,which takes date(format:yyyyMMdd) as input and does addition or subtraction operations based on <field 1> value,return the result date(format:yyyyMMdd) as string value.
    public String GenerateDate(String date_input, String field1,Container container){
    //Here "date_input" and "field1" are inputs for this UDF
    int date = Integer.parseInt(date_input);
    Calendar cal;
    int day = date % 100;
    int month = (date/100) % 100 - 1;
    int year = date / 10000;
    cal = Calendar.getInstance();
    cal.set(year, month, day);
    /implement addition or subtraction logic here as your needs/
    if (field1 == "A")
    cal.add(Calendar.DATE, 10);
    else if(field == "B")
    cal.add(Calendar.DATE, -5);
    day = cal.get(Calendar.DATE);
    month = cal.get(Calendar.MONTH)+ 1;
    year = cal.get(Calendar.YEAR);
    date = year * 10000 + month * 100 + day;
    return (""+date);
    You can use Standard Funtion DateTrans to convert date from your format to the format used in the UDF and vice versa.
    Regards
    Pravesh

  • How to use standard classes to create custom modulepool program like ME21N

    I am at the Starting Point of doing a classical dynpro program via Abap Objects which address all controls with MVC Architecture .So i debugged the standard ME21n transaction to find out how i can start with. I came across this interface which has no Attributes and Methods.I wondered y .Thats y i posted a Question .I also seen a lot of Standard classes
    CL_TABLE_VIEW_MM
    CL_BASIC_MODEL_VIEW_MM
    CL_COMPOSITE_SCREEN_VIEW_MM
    CL_SCREEN_VIEW_MM
    CL_TABLE_VIEW_MM
    CL_TABSTRIP_VIEW_MM
    CL_TC_BUTTON_VIEW_MM
    CL_TC_ITEM_VIEW_MM
    CL_TOGGLE_VIEW_MM
    CL_VALUE_MODEL_VIEW_MM
    and much more for Model and Controllers ..Can u plz guide me how i can make use of this classes effictively in my custom module pool programming

    I think all these classes serve the purpose of embracing the basic ones and are used specificalty in MM module.
    If you want to create similar module pool program with nice expand/collapse buttons in relation to subscreens please refer the some tips [here|expand/collapse button functionality on module pool screen;
    Also there are transactions like BIBS, DWDM which you can follow the examples from. I think SAP has covered all GUI controlls there so you can create really complex programs with various GUI controlls independently of module used for.
    Of course you can still stick to classes you mentioned but I think the better is to learn some standard approach of creating such screens, then if you feel more advanced go for using module specific ones if you really need that.
    Regards
    Marcin

  • How to use standard Java file in custom module

    Hi All,        
    I want to use some CatalogItemImpl.java file in my custom DC but i was unable to find any entry in the standard component in businessobject.xml file as <businessObject name="XYZ" className="x"/>. Can anyone let me know how can we use the file file in my custom DC.
    Please provide your inputs......
    Regards,
    Rahul.

    Hi Rahul,
    You will not find the "CatalogItemImpl" in the 'businessobject.xml'. The 'businessobject.xml' is there to define session based API of modules. Those API have properties and web channel builder values injected when the user start a web session.
    For the "CatalogItem", you will have to use the Generic Factory concept. The Generic Factory is used to allocate instance given a configuration. If no configuration exists, the default implementation is used. By adding an entry in the Generic Factory you can choose to allocate your class instead of the default class.
    Within the catalog module, the alias to use for classes extending "CatalogItemImpl" is "com.sap.wec.app.common.module.catalog.businessobject.ext.interf.CatalogItemExtInterf".
    Please refer to the extension guide on how to manage the Generic Factory configuration file.
    Regards,
    Robin

  • Use standard GUI status in customer GUI status without extra programming

    Hi,everyone.
    I have a problem in my development.
    now, I'm developing my own dialog program. And I need use my own GUI status.
    there are some buttons on application tool bar.when I click some buttons on the
    application tool bar,the program will do something according to the function code.
    But now, I also need the standard tool bar in the screen too.yeah,I know I can input function code
    to the buttons of the standard tool bar and the buttons of standard tool bar will be bright and can
    be clicked. But when I click the button on the standard tool bar like 'back', the program will not
    return to the previous screen .
    so, what I want to know is how can I make the buttons bright and achieve the functionality provided
    by the standard tool bar without extra programming.

    HI,
    you can use Tcode SE41 ( MENU PAINTER ) to copy the status of a standard program.
    to go back to the screen from where you come from like the standard BACK button.
    in PAI
    module go_back.
    in abap source code the module looks like this
    module go_back.
    case sy-ucomm.
    when 'BACK'.
    LEAVE TO SCREEN O.
    endcase.
    endmodule.
    to by pass the screen validations the above code should be written in
    MODULE MNAME AT EXIT-COMMAND.
    in the PAI.
    Thanks and regards
    Ramchander Rao.Krishnamraju

  • IDOCS : Use standard FM replacing the custom FM

    Hi friends,
                      As a part of redesigning a material interface, I have been assigned a job of replacing the current inbound custom functional module by the standard inbound functional module 'IDOC_INPUT_MATMAS01'.
    So, the code which was written in custom functional module needs to be accomodated in the standard inbound FM. As far as I see the possibilites, we could go for the enhancement points given inside the FM or any userexits available there..
    Please guide me to find the possibilites of accomodating the existing code from custom FM inside the standard FM.
    Thanks,
    Gaurav

    Don't copy SAP standard to Z-versions...that's usually the work of inexperienced noobies, in most cases, and is rarely an intelligent solution, IMHO.
    You have the solution...problem is: how to figure out what the custom function module is doing differently and get that into available enhancements in the standard, if the different logic that the custom FM did is still needed, of course...  Are there available requirements/spec documents for the custom work?  If so, that could be a start, but one could just replace the custom with standard, start testing in Development and work from there, comparing standard to custom results.

  • How to create a generic data extractor using standard function module

    Hi,
    I have to generate report based on Function module(standard FM),client know only Fm Name n they have given FM Name n asked reports based on that, so can any one give me steps to create DS based on that.
    Thanks,
    Swapna

    check this blog
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    and this pdf:
    Generik extraction: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    Generic delta:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Edited by: Aduri on Dec 17, 2007 4:04 PM

  • How to use standard VS commands in custom menu (vsct)

    Hi,
    I have a .vsct file which defines a custom menu. I want to add some default Visual Studio commands to this menu as well. I already managed to add some default commands such as copy / paste:
    <UsedCommands>
    <UsedCommand guid="guidVSStd97" id="cmdidCopy"/>
    </UsedCommands>
    <CommandPlacements>
    <CommandPlacement guid="guidVSStd97" id="cmdidCopy" priority="0x0100">
    <Parent guid="guidMyMenuCommands" id="grpMyMenu"/>
    </CommandPlacement>
    </CommandPlacements>
    When I do this, the "Copy" command shows up in my custom menu, with default Icon, text and shortcut - just as it should be. However, this does not work for all commands. To be precise, when I want to add the following commands...
    <UsedCommand guid="guidVSStd2K" id="ECMD_FORMATDOCUMENT"/>
    <UsedCommand guid="guidVSStd2K" id="ECMD_COMMENT_BLOCK"/>
    <UsedCommand guid="guidVSStd2K" id="ECMD_UNCOMMENT_BLOCK"/>
    ...nothing happens - no entry is added to my custom menu. How can I include the above default commands in a custom menu?
    Thanks,
    Max

    I just found out that the above commands are there after all, but they are invisible until a source code file is opened. I expected them to be grayed out instead of being totally invisible.
    Nevertheless, there are some commands that cannot be "instantiated" with the CommandPlacement tag. Instead, one needs to create a button for the respective command to show up in the menu. The following code shows an example:
    <UsedCommands>
    <UsedCommand guid="guidVSStd97" id="cmdidGotoDefn" />
    </UsedCommands>
    <Commands>
    <Buttons>
    <Button guid="guidVSStd97" id="cmdidGotoDefn" priority="0x0400">
    <Parent guid="guidMyMenuCommands" id="grpMyMenu" />
    <Strings>
    <ButtonText></ButtonText>
    </Strings>
    </Button>
    </Buttons>
    </Commands>

  • How to get active tab strip name using standard function ?

    Dear all,
    I have 5 Tab strip in my view, how can i know which tab strip is active during runtime ?
    Best Regards
    Fernand

    HI
      I hope you may be looking  at this thread , hope its  a  similar requirement as yours
      How to get the selected Tab from a TabStrip.
    Thanks

  • Is it necessary to use the standard function modules always?

    Hi All,
       Suppose i can retrieve the BUSINEES PARTNER ID from the table BUT000 with the help of 'BP_GUID' field through a select query statement. 
    Now is it necessary to use a standard function module to retrieve the same data. what about the performance? which is the better solution. to implement our own code or to use the function module available.
    Please someone clarify me about this issue.
    Regards,
    Sharry.

    If you'd ask the question in general it's obvious that there is no good answer as it always would depend on the circumstance. However, as you've posted your question in the performance tuning forum, let's look at your question in this context first. I think it's fairly safe to say, that in almost 100% of the cases a standard function module will not be as fast as any well implemented and custom tailored code. If in doubt, just try reading the code of the function module you want to read; most likely you will find lots of unnecessary fluff in there, often they read data that you don't even need.
    And as far as buffering is concerned, that can also be an issue. E.g. let's say you do a massive read of distinct business partners and you only need the data once for each partner. Obviously buffering is silly in this case and it might even slow down your program, because the implemented buffering is not necessarily well implemented. I've come across a few cases, where the buffer tables where standard tables with no efficient read access (so no sorted table or hash table) and once tons of data were buffered, it actually took a moment to look up if the record already was buffered (just to find it wasn't there yet).
    Now most of the times this slowdown is not an issue as the lookup is still fast compared to the (usually) prevalent database accesses with their slower IO timing. But another factor to consider is memory consumption and why buffer data in memory (and waste it), if you can't use the buffer anyway? So when I do use standard function modules, I usually try to see what they retain in global memory, to better understand if I need to call some initialization/clearing/refresh function...
    Note also that often you need to process lots of data, but don't find a standard function module for "mass access", so you need to read your object one by one. Obviously that's another good candidate for implementing your own queries, where you can process the data in packages.
    So what might be the reason to use a standard function module? Well, often it's required because the logic is so complex that it would take you too much time to implement it (not to mention that we often simply don't know all the logic that's coded in there). Another advantage is that you might get independent of the data model. E.g. for IDoc interfaces SAP switched in some release the tables where the data is stored. So if you had coded your own queries to get IDoc data, they wouldn't have worked after this particular release upgrade. The standard function on the other hand, checks both the old and new tables, so by using it you would have been fine.
    The one major caveat I'd give though is to always check whether the function module is released or at least documented to some degree. I.e. if it's not released, SAP won't support it and does not guarantee that the interface or logic stays the same. In my experience lots of functions I do want to use are not released (or documented), but I will still use them because they seem to be the best alternative in certain scenarios.
    Cheers, harald

  • Standard tool bar for custom Dialog program

    Hi,
       I need to have a standard tool bar functionality like (Search & Print) for my screen 9000. Could you please let me know how can i get it. And i have a ALV in that screen, if i print the data will all the lines will be printed or only displayed lines will be printed, could you please let me know how to get all the lines of ALV. Basically i have some fields & ALV... everything should be printed out.
    Thanks

    my question is when you create a custom screen like 9000, pf-status also need to created. If i need to printing functionality what needs to be done. If i need all the standard functions in my custom screen...what i need to do.
    In that custom screen i have normal fields and one ALV. if i have print button in the standard tool bar and if i use it will it print all the lines of alv along with other fields. {please note that i am not talking about the alv print icon, i am talking about that standard tool bar print icon}.
    Thanks

  • How to use or function in Message Mapping?

    Hi! I was wondering if anyone can show me how to use the or function.
    Im trying to match the current date to three possible values so i need three or functions.
    EG. if ( currentDate == 01.02  || currentDate = 02.02  || currentDate = 03.02 ) {
              do something;

    Petre:
    If you want to use standard functions then you try this:
    If-->currentdate -OR- Constant(01.02)
    currentdate -OR- Constant(02.02)   --> OR -->
    currentdate -OR- Constant(03.02)
    Then give some output
    Else give some output
    So give the output for the first two conditions to another OR and the result of the third to the same OR. So whenever the condition is true in any of the condition you will get the THEN value else you will get the ELSE value.
    ---Satish

Maybe you are looking for

  • How to restore an iPhoto Library after hdd change?

    Hi all! I just had my old 120gig hdd changed on my MBP to a 500 one and all my files have been restored on there apart of my iPhoto library under Lion. I also had a backup done on time machine but unable to find the file of the library to restore it

  • Can the Data Foundation Of Business View Manager Handle 100 tables or views

    Post Author: palm CA Forum: Crystal Reports Hi All, I am working on the DF which will take 100 Oracle Views , some may be tables in it Do any one know the limit of tables or views to include in DF  Or is DF can handle any number of tables or views in

  • Webi with Opendoc and Hierearchy Refresh time

    Hi Experts, A colleague of mine is experiencing some difficulties with her report.  She has a WebI report that uses hierarchy and when an opendoc link is added to the report, it takes around 20 mins to open/refresh.  Now, when the link is removed, it

  • How to use customized exception

    Hi all, I have a problem using struts-action-mappings. I have a method for update in my app module, and i'm using that method with data action. In that method, I have to throw my customized exception to user if there is error. I just don't know how t

  • 2nd generation ipod touch wont turn on. The screen blinks but the apple icon doesn't show up.

    I have a 2nd generation ipod touch that I got from a friend. I drove all the way across the country (three day trip) and it worked perfectly. It was in a hard case and has no damages to it. I haven't dropped it or gotten water on it at all. But for s