HOW TO SET MY OWN PF-STATUS

HI ALL,
My requirement is i have to set my own pf-staus.
when i am using the function module RS_SET_SELSCREEN_STATUS it is not showing any pf-stus here.
i am sending code below. nay body can change the code and resend it to me.
selection-screen: begin of block b1.
parameters : p_appln type zuser_secobjects-appln.
parameters : p_user type zuser_secobjects-appln_user,
  if sy-dynnr eq 1000.
    call function 'RS_SET_SELSCREEN_STATUS'
         exporting
              p_status  = 'SELK'
         tables
              p_exclude = exclude
         exceptions
              others    = 1.
  endif.
thanks,
maheedhar.

hi,
Try with the code below..
Ensure that you have activated the pf-status of the program.
report  z_13317_sdn.
selection-screen: begin of block b1.
parameters : p_appln type mara-matnr.
parameters : p_user type marc-werks.
selection-screen: end of block b1.
data: begin of exclude occurs 0,
        func(10) type c,
      end of exclude.
At selection-screen output.
*    set pf-status 'SELK'.      <-- Comment this line
if sy-dynnr eq '1000'.
call function 'RS_SET_SELSCREEN_STATUS'
exporting
p_status = 'SELK'
tables
p_exclude = exclude
exceptions
others = 1.
endif.
Regards
Sailaja.

Similar Messages

  • How to set my own gui status when i use selection-screen

    how to set my own gui status when i use selection-screen command
    and
    how to set the names in the application tool bar when function keys are created

    Make sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
    Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
    Also check out following discussion -
    Selection Screen PF-STATUS
    Cheers,
    Sanjeev

  • HOW TO SET MY OWN PF-STATUS-urgent

    hi all,
    anybody can tell me where i made  mistake . after writing this code when i am running this report it is not showing our own pf-staus.
    report zmahi4.
    selection-screen: begin of block b1.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type zuser_secobjects-appln_user.
    selection-screen end of block b1.
    data : exclude like rsexfcode occurs 0 with header line.
    at selection-screen output.
      call function 'RS_SET_SELSCREEN_STATUS'
           exporting
                p_status  = 'SELK'
           tables
                p_exclude = exclude
           exceptions
                others    = 1.
    thanks,
    maheedhar.t

    HIMaheedhar,
    Check
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/content.htm
    Regards,
    Santosh

  • HOW TO DISPLAY MY OWN PF STATUS  IN ALV LIST DISPLAY

    Hi All,
    i am developing one program in this program i am displaying output by using alv list display. after displaying the out SAP predefined pf status is coming. here i need my own pf status. any body can send me the sample code ir modify my code if possible.
    i am sending my code below.
    report zmahi6.
    type-pools : slis.
    tables : zuser_secobjects.
    data : it_secobjects like zuser_secobjects occurs 0 with header line.
    data : i_field type slis_t_fieldcat_alv with header line.
    data : w_field like line of i_field.
    data : i_sort type slis_t_sortinfo_alv.
    data : w_sort like line of i_sort.
    data : it_filt1 type slis_t_filter_alv with header line.
    data:
    i_tabname type tabname,
    i_repid like sy-repid,
    is_lout type slis_layout_alv.
    data : chk_box type slis_fieldname.
    selection-screen: begin of block b1 with frame title text-t01.
    parameters : p_appln type zuser_secobjects-appln.
    parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
    p_partnr type zuser_secobjects-appln_partner,
    p_ptype type zuser_secobjects-partner_type default '02',
    p_upostn type zuser_secobjects-user_position,
    p_sdate like likp-erdat default sy-datum,
    "type zuser_secobjects-start_date
    p_edate(10) default '12/31/9999',
    type zuser_secobjects-end_date,
    p_revnum type zuser_secobjects-revnum,
    p_cted type zuser_secobjects-created_by,
    p_cdate type zuser_secobjects-creation_date,
    p_ctime type zuser_secobjects-creation_time,
    p_chnby type zuser_secobjects-changed_by,
    p_cdate1 type zuser_secobjects-changed_date,
    p_ctime1 type zuser_secobjects-changed_time.
    selection-screen: end of block b1.
    start-of-selection.
      perform get_data.
      check sy-subrc eq 0.
      set pf-status 'ZMAHEE'.
      perform prepare_fieldcatalog.
      perform alv_list_display.
    *& Form PREPARE_FIELDCATALOG
    text
    --> p1 text
    <-- p2 text
    form prepare_fieldcatalog.
      clear: w_field,i_field.
      refresh:i_field.
      i_field-key = 'X'.
      i_field-col_pos = 1.
      i_field-ddictxt = 'S'.
      i_field-seltext_s = '@11@'.
      i_field-checkbox = 'X'.
      i_field-input = 'X'.
      i_field-fieldname = 'HEADER'.
      i_field-outputlen = 0.
      append i_field.
      clear i_field.
      w_field-fieldname = 'APPLN'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-seltext_l = text-m01.
      w_field-outputlen = '10'.
      w_field-col_pos = 1.
      append w_field to i_field.
      clear w_field.
      w_field-fieldname = 'APPLN_USER'.
      w_field-tabname = 'IT_SECOBJECTS'.
      w_field-just = 'C'.
      w_field-seltext_l = text-m02.
      w_field-outputlen = '7'.
      w_field-col_pos = 2.
      append w_field to i_field.
      clear w_field.
    endform. " PREPARE_FIELDCATALOG
    *form pf_status_set using rt_extab type slis_t_extab.
    set pf-status '0001'.
    *endform.
    *& Form ALV_LIST_DISPLAY
    text
    --> p1 text
    <-- p2 text
    form alv_list_display.
      call function 'REUSE_ALV_LIST_DISPLAY'
      exporting
      i_callback_program = i_repid
      i_callback_pf_status_set = 'PF_STATUS_SET'
      i_callback_user_comomand = 'USER_COMMAND'
      is_layout = is_lout
      it_fieldcat = i_field[]
    it_sort = i_sort
    it_events = it_evts[]
      tables
      t_outtab = it_secobjects.
    endform. " ALV_LIST_DISPLAY
    *& Form GET_DATA
    text
    --> p1 text
    <-- p2 text
    form get_data.
      select * from zuser_secobjects
      into table it_secobjects.
    endform. " GET_DATA
    thanks,
    maheedhar.t

    Follow this steps.
    I ahve done it once and hope wuld work for you as well.
    Go to SE80. Open a a standard ABAP program - SAPLKKBL. diasplay object.
    This program has many standard GUI status. Copy the one which suits you the best. May be any one standars status. Right click it and copy to your custom report. Now open your Z-Program in SE80. You will see the GUI status and when you open it you see the name of the status that you have copied from.
    Now you can go and do any modifications in the screen.
    Remember you have to use the same status in the program as well.
    Please check this piece of code.
    call the ABAP list viewer                                            *
    FORM list_display TABLES a_output.
      pgm = disvariant-report = sy-repid.
      disvariant-variant = variant.
    call list viewer
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = pgm
          i_callback_pf_status_set = 'SET_PF_STATUS'
          it_fieldcat              = fieldcat
          is_variant               = disvariant
          is_layout                = layout
          is_print                 = print
          i_save                   = 'A'
          it_events                = eventcat
          it_sort                  = sortcat
          i_callback_user_command  = 'USER_COMMAND'
        TABLES
          t_outtab                 = a_output
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    ENDFORM.                    "LIST_DISPLAY
    FORM SET_PF_STATUS *
    FORM set_pf_status USING extab TYPE slis_t_extab.
      SET PF-STATUS 'STATUS1'.
    ENDFORM.                    "set_pf_status
    FORM USER_COMMAND *
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
      DATA t_difference TYPE i.
      CASE ucomm.
        WHEN 'ENT1'.<----Function code
    D0 your processing.
      ENDCASE.
      selfield-refresh = 'X'.
    ENDFORM.                    "user_command
    HOpe this helps.
    Shreekant

  • How to set my own Ranges in Charts

    Hi-
    I've just started playing with making charts in Numbers.
    When I select some cells and then ask Numbers to produce a chart it does so and sets it's own values for the Y-Axis.
    How can I set MY OWN values for the upper and lower limits (ie. 0 at the bottom, and, say, 1000 at the top, and not the 200 at the bottom and 800 at the top that it is has put in automatically.)
    Thanks!

    Hi Andrew,
    Here is a Scatter Plot. Data must be in Body Cells, not Header Columns or Header Rows.
    Click on the graph and Format Panel > Axis > Value (Y)
    Set Max and Min to what you want. You can also change the number of steps if you don't like the default.
    The procedure is slightly different for a Category Chart (all the other types except Bubble Chart).
    Good ideas in New From Template Chooser > Charting Basics.
    Regards,
    Ian.

  • How to set my own Default Css.

    Hi,
    I'm able to Change the CSS on selection of SelectOneChoice and binding to value to adf config file.
    but initialy getting the ADF default CSS,How can set my one of my CSS file as Default.
    IDE: JDeveloper 10.1.3.2
    Please Suggest me.
    Thanking You,
    Bandaru.

    Hi,
    not really clear what you want to achieve. To change the look and feel of the application to not use ADF browser look and feel you need to write your own skin. See the developer guides for what skinning is and what it does
    If what you mean is how-to switch the default skin upon start-up then this needs to be configured e.g. in a session variable (or wherever you read the current skin name from), which can be done e.g. in a servlet filter.
    Frank

  • How to Set my own Character Set in DBMS_LOB Package

    Hello All
    A Very Good Morning.
    I am using DBMS_LOB.CONVERTTOCLOB To convert data in BLOB to CLOB.
    My Database Character set is AL32UTF8.
    I want to change that one to WE8ISO8859P15.
    In DBMS_LOB.CONVERTTOCLOB package there is a parameter BLOB_CSID.
    In the Documentation it is said that I can set this value to a desired Character set.
    But the value should be of Integer Type.
    How to set the Character Set conversion.
    Regards
    Madhu K

    To get the id you looking for run:
    select * from V$NLS_VALID_VALUES where parameter='CHARACTERSET';make sure your characterset is in there and then run:
    select NLS_CHARSET_ID('WE8ISO8859P15') from dual;This is the id or number you want to pass into the DBMS_LOB.CONVERTTOCLOB.

  • How to create an own  Maintenance status for Material

    Hi,
    is it possiple to create an own  Maintenance status
    In SAP are following status existing
    User department Maintenance status
    Work scheduling A
    Accounting B
    Classification C
    MRP D
    Purchasing E
    Production resources/tools F
    Costing G
    Basic data K
    Storage L
    Forecasting P
    Quality management Q
    Warehouse management S
    Sales V
    Plant stocks X
    Storage location stocks Z
    I will use it for authority check.
    Thanks
    regards, Dieter

    Hello Dieter,
    No it is not possible to create an additional status. You can create subcreens or add new fields but a view itself is not possible.
    For sreens and fields please review note  44410
    Thanks
    Amber

  • How to set my own icon for java frame ??

    I create a java class it extends JFrame. I want to change default icon on the left_top corner and using my own icon. It is a --.gif file. How to do it. When I try to modify it using setIconImage( Image image), I met problem. I cann't new Image("--.gif"). I don't know how to create a Image object using a string(file name). I try to use ImageIcon , but it is not image obj. Thanks. Gary

    According to the documentation setIconImage does the following: Sets the image to be displayed in the minimized icon for this frame. Not all platforms support the concept of minimizing a window.
    So,
    1) It does not change the icon in the top-left corner
    2) It does not work on all platforms.

  • How to set the overall credit status as "partial release" on SO header?

    Hey guys,
    Do you have any idea on how did the overall credit status become "partial release" on sales order header level?
    Because as my understanding in SAP, i am not sure whether there is a way to partial release a sales order with multiple item lines.
    Jasper

    Hi balajia,
    after seeing your description i have gone to VKM4.
    i have executed OVER ALL CREDIT STATUS with A.
    then i am able to see one sales order with OVCS - 'A'.
    then i have given OVCS as 'B' & also "C' -  i am not able to see any sales order OVCS as B & C.
    that means here there are options to use if OVCS in sales order status is B or C as it has executed for A.
    so,
    some where in sales order program it is hard coded i think so - i am saying this because there is a link between sales order header:
    Delivery status      Not delivered
    Credit status        Not performed
    Overall blkd status  Blocked
    so if it is hard coded with B and C also you can use these options in VKM4.
    that's is what my R & D on this says.
    regadrs,
    balajia

  • How to set our own main application titlewindow  background color ?

    Hi guys
      i stuck in a problem . i wanna change the background color of titlebar in adobe air . i am unable to set it by changing the systemchrome to none and      transparent to true . in flash builder 4 .
    Thanks and regards
    Mohit

    Hi guys
      i stuck in a problem . i wanna change the background color of titlebar in adobe air . i am unable to set it by changing the systemchrome to none and      transparent to true . in flash builder 4 .
    Thanks and regards
    Mohit

  • How to set my own password generationg logic, during reset password

    hi,
    I am working with IDM 7. The requirement is that, when reset passwrod is selected, IDM generates a random password for the user selected. I want to keep my onw password generaton logic to be applied.
    Where i need to change to keep my own logic?
    In reset password WF there there are activities reprovision, commit. I am not sure where exactly i need to apply logic.
    Plese put some light on it.................

    Hi,
    Thanks for the link and thanks Faisal for your answer. i already seen it, but i thought there is a nother way to do it.
    One more question: do i need to extends UsernamePasswordLoginModule while implementing my own LoginModule?
    I prefer not to do it since i do not want to add weblogic imports in my code.
    Thanks,
    Arik

  • Setting my own ringtone for calls

    Can someone please tell me how I set my own ringtones and message tones as I have gone over it so many times its doing my head in now. Many thanks in advance

    You cannot set additional ringtones for messaging, but you can for ringtones.
    There are many ways to make ringtones. Several are explained here:
    http://www.iphoneatlas.com/2008/01/02/guide-the-many-methods-for-using-custom-ip hone-ringtones

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • How to set up TimeCapsule (4th) to create own private (wired) network behind Airport Express (5th) that is set up to join existing wifi-network of fritz adsl modem/router?

    I work in an office building with free Wifi to connect to the Internet. I want to be able to use this internetconnection, but at the same time I want to shield of my own wired network.
    I've made the following configuration:
    - fritz adsl modem / router
    - Airport Extreme (5th gen) set up to join existing wireless network (green light, works)
    - Lan-cable from lan-port AE to wan-port TC (4th gen)
    - Lan-cable from TC to Mac
    - Lan-cable from TC to Printer
    When I set my TC (network-settings) in bridge-mode everything works fine, but my Mac and Printer get an IP-address from the fritz modem / router and are visible to others.
    I tried to set TC in NAT/DHCP-mode, but then I get the error message that I should set a static IP-adress for TC. When I set TC in DHCP-mode, it looses connection to the AE. I'm not sure what to do now. Does anyone know how to set up my TC and create my own private network and still be able to get on the internet?

    Hajenius wrote:
    Is there a better alternative? I'd rather not want to reset my TC every day.
    You are using free internet.. so there is a price to pay.. that is convenience and non-ideal network setup.
    The better alternative is to pay for your own connection. Then you are completely free of the possibility of others in the bullding seeing your connection. (as long as you secure the wireless).
    But I think you are probably over worrying about public wifi.. if it is setup right.. ask the building admins.. it should be setup so each user cannot see another users connection. This is typical for most wifi setup and simply means you can see internet connection but nobody else on the connection. ie other wireless users.
    Having a router with NAT makes it then more secure again and allows clients on your own network to interact with each other. But you can setup wireless to the free wifi for every client.. (depending on how many IP you are allowed).. and run a secondary network without internet access. This is easy for desktop etc where you have a wireless and a wired connection but less convenient for mobile devices.. unless you use a cloud connection and each client can link and share via that.
    Have I made the explanation worse??
    Think of it this way.. if you had 3 laptops.. all 3 could connect to the internet from the building wifi.. but they cannot talk to each other or share resources in local office. You can put resources out in the cloud, that can be shared.. but that adds traffic and most free services are not fast.
    Now you can also plug all three into Time Capsule by ethernet.. and share local resources. Files, printers backup etc. This network is not connected to the internet at all. Each laptop has internet via free wifi and local connection.
    For devices like iphones that have no ethernet or other method.. you could use local wireless and public wireless.. but in turns.. still the only advantage is less issues with double NAT.. if that causes problems.. then this is an alternative.

Maybe you are looking for

  • My iPod touch 3rd Gen won't connect to my PC?

    Okay, A while ago my iPod stopped being detected for no reason in iTunes, I think it was a little after I updated. (To the latest version as of 20th Sept. 2011) What happens is, I plug it in and it will charge but the computer doesn't detect it. Ther

  • Request to have my SN Margin reset back to 6db???

    Hi I had my line upgraded to ADSL2 about two three weeks ago and on activation the service gave me a SN Margin of 15db and it still hasn`t went back to 6db and i`m losing a lot of speed because of this, so I was wondring if any of you kind forum mods

  • Sending documents they are so small receiving cannot read

    Using mail when sending attachments usually some document, pdf, jpeg etc it attaches like a thumbnail and it is so small the receiver cannot expand to make larger without bluring the document.  I don't remember ever having this issue before.  How can

  • Fix to the problem-- Back up Disk Image could not be mounted

    In order for TC to backup your entire HD it needs to create a Disk Image on your Mac. For example you would have seen your computer do this operation if you ever installed programs on your Mac computer. I actually had this same problem and I searched

  • Odd problem with drop shadows

    I shot some footage of a guy in front of a green screen. I got an awesome key and I put him in front of a white background. In order to add a more animated look I want to put a drop shadow behind him. The problem I am experiencing is when I add a cro