Modify PF-STATUS

Hi,
Please help me in following problem.
I would like to modify PF-STATUS of many Y reports, I just want to add same button in all PF-STATUS. Is there any class available which modify the PF-STATUS of the report by just passing the function code and icon.  or tell me is there any other method?
Thanks,
Sid.

Create a PF STATUS in any report.
Using:
SET PF-STATUS  'PF_STATUS'.
Say the above Pf-status is for report  ZREPORT
In All other Reports use the following syntax:
SET PF-STATUS  'PF_STATUS' OF PROGRAM ZREPORT.
PF-STATUS of ZREPORT  will work for all other reports.
IF you want to Automatically Want to add  the below syntax into 100 reports:
SET PF-STATUS  'PF_STATUS' OF PROGRAM ZREPORT.
Use:
Data : fs_itab(255).
Data: Itab like standard table of fs_itab.
READ REPORT <Zreport> into itab.
Insert the syntax into table.
FInally: INSERT TABLE ITAB INTO REPORT <REPORT NAME>.
Use in loop to do it once for all 100 reports.
Regards,
Gurpreet

Similar Messages

  • Insert or modifying employee status in pa0000 using HR_MAINTAIN_MASTERDATA

    hi abapers
    i am using HR_MAINTAIN_MASTERDATA   to insert or modify employee status (pa0000-stat1).
    IN HR_MAINTAIN_MASTERDATA  there is return statement. and i am giving BAPIRETURN1.and pass data to proposed_values table.
    when i check return iIS iNITIAL or not.  return is coming  initial. what does it mean??
    actually i am new in HR module. plz help
    thanks
    Sachin

    If you paste the code where you call the Function Module it will help.  You don't pass anything to Return, this is where the system places the information after you call the Function Module.  If Return-Type is  ' ' or Return-Type = 'I', it should indicate that the function module did what you wanted.

  • BAPI for modifying project status

    Hello all,
    I have found a function :STATUS_TEXT_EDIT to get the status of a project, but now I want to modify the status of the project. Does anybody know if there is a BAPI to do this?
    Thank you very much.
    Reyes

    Hi Reyes!
    I think that there's no any BAPI to change the Status of the Project or WBS element.
    But you can do the next steps for any <b>OBJNR</b> (Project/WBS):
    1. Set a breakpoint in program LBSVAF12 in the form STATUS_UPDATE. Then go to change the status user/system of the project/WBS using transaction CJ02. Make you updations and save. You should reach your breakpoint.
    2. The function module <b>'STATUS_UPDATE'</b> is triggered using internal table "<u>jest_updt</u>". Copy the records of this table carefully. It is updating the standard table JEST (select the corresponding fields in your program).
    3. Using the function module 'STATUS_OBJECT_READ' with the OBJNR you can obtaing the fields <u>OBTYP</u> and <u>STSMA</u>.
    4. Then you're ready to built your ABAP program to automatize the status updation. Append the corresponding records in  the internal table " jest_update" and just function <b>'STATUS_UPDATE' IN UPDATE TASK</b> with your internal table. Then COMMIT WORK AND WAIT. The status is now changed like manually in step 1.
    5. To make it perfect you should maintain the correct change numbers (<u>CHGNR</u>) in the <b>JEST</b> table.
    Best regards and see you in Madrid next time!
    Roger

  • BPC Modify Work Status

    I have set up a work status that requires that 3 of the statuses are available when I first access the Modify Work Status through eSubmit as a user.  Currently when I run the Modify Work Status only the first 2 in the list are available.  Only when I select the second one from the list and submit it, is the third one available for me to select from.  Does anybody know how I can view more than 2 work statuses as an initial starting point for setting work status?

    The EvLCK (Lock) function in BPC for Excel retrieves information about work status. You can build a Work Status report using this function.
    Syntax
    EvLCK("AppName", "Parameter","Member1, Member2, etc.)
    Parameter
    Description
    AppName
    The name of the application.
    Parameter
    The parameter values are:
    0=Status
    1=User
    2=Time
    Member1 - n
    Member names used to qualify the returned work status information.

  • Modifiable Request Status after changing SID

    Hi All,
    I need to change DEV Systemu2019 SID but there is some modifiable change requests (There are many records in TLock Table). DEV System is the Transport Controller.
    Should all change requests be released before changing SID or System Copy process doesnu2019t related to this issue.
    Is there any possibility for change request loss during this process?
    Any Idea will be greatly appreciated.
    Thanks in advance,
    Sanaz.

    Thank you for the reply.
    I have done a test scenario as follows:
    - SAP Fresh Installation
    - Restore DEV DB
    - System Copy
    Now there is no record in TLOCK table.
    Does it mean that I had to release all modifiable requests before this scenario?
    Any idea regarding this issue will be greatly appreciated,
    Sanaz.

  • A Batch Input to modify status TRAI of an activity

    Hello and thank you in advance for your help.
    I^ve created an ABAP program in order to create a batch Input that could modify the Status TRAI for an activity.
    I upload a file with a list of project, activity and a X to validate or no the status TRAI.
    For example, in the file uploaded we have:
    C1/4563798/020    0003   X
    1- I execute my program to create the batch input.
    2- I process my Batch Input.
    The batch Input launch the transaction CJ20.
    We select the good WBS but sometimes it doesn't select the good activities.
    In fact when we have selected our WBS:
    We have access to this screen:
    line 1                A blank line
    line 2                C1/4563798/020    0001   X
    line 3                C1/4563798/020    0002   X
    line 4                C1/4563798/020    0003   X
    In my program i select the line 4 in order to open the activity 0003.
    Unhappily i have found some project like that:
    line 1                A blank line
    line 2                C1/4563798/020    0001   X
    line 3                C1/4563798/020    0003   X
    line 4                C1/4563798/020    0004   X
    So when i'm trying to select the line 4 to have activity 003, i do not have the activity 0003 but the activity 0004.
    Can you help me please finding an other solution:
    1- I can may be check the value of the activity that i've selected but i don't know how to do that.
    2- Or find an other transaction in wich i could access immediately to my activities.
    CJ20 allows to access project and WBS
    CN22 allows to access Network.
    But for activities ?????
    Thank you very much for your help
    This is a part of my program:
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLCJTR' '108'.
      PERFORM BATCH_FILL_FIELDS USING: 'TCJ41-ALL_ACT' 'X'.
      PERFORM BATCH_FILL_FIELDS USING: 'proj-pspid' ''.
      PERFORM BATCH_FILL_FIELDS USING: 'PRPS-POSID' PROJN.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' 'STTR'.
    In CJ20 i select my WBS and change structure planning. I go on the second mitre "Basic Dates
    PERFORM BATCH_CALL_SCREEN USING: 'SAPLCJTR' '230'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_CURSOR' W_INDEX.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' 'PICK'.
    I select the line which contains the acticity to change
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLCONW' '1000'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' 'STAS'.
    I go on the screen to change status
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLBSVA' '0300'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' 'DIRI'.
    I open the window to enter the status TRAI
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLBSVA' '0882'.
      IF STAT = 'X' OR STAT = 'x'.
        PERFORM BATCH_FILL_FIELDS USING: 'JESTD-ETX04' 'TRAI'.
        PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' '/00'.
    I put the status of my Activity in TRAI
      ELSE.
        PERFORM BATCH_FILL_FIELDS USING: 'JESTD-ETX04' 'TRAI'.
        PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' 'LOES'.
    I cancel the status TRAI of my Activity
      ENDIF.
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLBSVA' '0300'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' '=BACK'.
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLCONW' '1000'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' '=BACK'.
      PERFORM BATCH_CALL_SCREEN USING: 'SAPLCJTR' '0230'.
      PERFORM BATCH_FILL_FIELDS USING: 'BDC_OKCODE' '=BUTV'.
    I save my project changed.

    Hi Loic,
                Goto CN22 -> Enter Network No -> press F7
    you can able to the see the activities now. If i am not matching your requirement. give me ur requirement in detail. I will do recording for u
    Jai

  • Modify status in CRM_JEST

    Hello, is it possible to modify the status of a SC in table CRM_JEST?

    my initial requirement is:
    at a certain time period, an approver might be absent/ leave organisation / change department. So all the shopping carts that he has to approve should be transferred to another approver.
    it should be done technically( by code) for example, if you have 1000 SC, it is not practical to change the approver by hand.
    We have a workflow which selects the approver in a specific table. Problem is, the workflow is launched only during creation and modification of the SC.
    I've tried using a FM BBP_PDH_WFL_APPROVER_CHANGE but unfortunately it is not working.

  • Cannot Execute or Modify DM Packages in BPC 7.5 MS

    Hi Experts,
    We are implementing BPC 7.5 MS. The IT department has installed SAP BPC 7.5 MS on a heavily secured environment.
    Configuration:
    SAP BPC 7.5 MS SP04
    DB server:          SQL 2008 64-bit
    App server:        32-bit
    Client login via local client installation (no citrix/softgrid..)
    Iu2019ve tested both ApShell and our test environment configuration and Iu2019m able to:
    Administration
    -         Process ALL dimensions
    -         Process (save) ALL Applications
    -         Full optimize, index defrag, compress ALL applications
    -         Process Security and add new users
    -         Add a new dimension (as a test)
    Interface for Excel
    -         Send Data
    -         Retrieve Data
    -         Access the u2018Interface for the Webu2019 to modify Work Status
    The only thing that doesnu2019t work is execute or modify DM packages. The systems comes up with an 'exception error' and refers to the new BPC 7.5 log table, which gives me the following error:
    ==============[System Exception Tracing]==============
    [System  Name] : DM
    [Message Type] : 14
    [Job Name]     : EvServerDataMgr.cEvServerDataMgr.GetInfo
    [DateTime]     : 10/19/2010 3:49:21 PM
    [UserId]       : DOMAIN\userid
    [Exception]
    DetailMsg  : {Err.Number= 429 Err.Source= EvServerDataMgr Err.Description= ActiveX component can't create object(Assembly: Unknown, Object: OSoft.Services.Application.DataMgr.PackageExecute2008.DTSX)}
    ==============[System Exception Tracing  End ]==
    I have noticed that Business Intelligence/Visual studio was not installed on the Web server. Is that required, I couldn't find anything about it in the installation guide?
    Or is it the user/communication between front-end and back-end server. I am able to submit data, so...

    Enric,
    The problem was that we only installed Business Development Studio and Integration Services on the DB-server. After we installed the components on the (front-end) Webserver and registered the DLL's on both the front-end and back-end server, the problem was solved.
    See the link below for more information on registering the DLL's via Business Development Studio (we did not use regsvr32).
    http://help.sap.com/saphelp_bpc75/helpdata/en/07/30f30b58f145818861803b2f82ec86/content.htm
    Hope this will help.
    Regards,
    Peter.

  • How can we access workflow status column out of the box (OOTB).

    I have a problem that few of the workflows in production are failed at last stage have status set to "Workflow Errored". Someway I have fixed issue with workflow but I need to modify this status.
    I tried adding a custom column and access workflow status column so that I can modify custom column as I want, and show this in views.
    But I can't access this without using code, anybody has any idea?
    My task is to modify workflow status which are errored out.

    You can rerun the workflow once you've fixed it up.  This'll change the status to something more successful.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Transport Status in Shipment

    Dear All,
        I used the cube 0OI_TDC01- TD: Shipment Items for new requirement. 0OI_TD_OIGSII this datasource has Transport Status object. In R/3  This transport status avaliable up to 6(copmletly deliverd). Once  load the data i get it only transport status 6. bellow 6 not able to get.
    Please give ur valuable solutions.
    Amulu

    solved. Stadnard extraction program modified as status level 6 as per OSS replay.

  • Is it possible to change the status from Bid Rejected to Bid submitted?

    Hi there.
    We are working in SRM 4.0.
    One user rejected a bid, but it was a mistake. Is it possible to change the status from Bid Rejected to Bid submitted?
    We would like to modify the status from Bid Rejected to Bid submitted or Awaiting Approval to Bid submitted in order to solve errors.
    Thanks and regards.
    Raúl Moncada.

    Hi ,
    Use Function Module : BBP_PD_BID_STATUS_CHANGE
    Supply Activity = 'QOSU' .
    Regards,
    Sachin S M

  • Insert or change the employee status (pa0000-stat1) using HR_MAINTAIN_MAST

    hi abapers
    i am using HR_MAINTAIN_MASTERDATA to insert or modify employee status (pa0000-stat1).
    IN HR_MAINTAIN_MASTERDATA there is return statement in import. and i am giving BAPIRETURN1 and BAPIRETURN2 and pass data(employee status to be changed) to proposed_values table
    when i check return IS iNITIAL or not. return is coming initial. what does it mean??
    actually i am new in HR module. plz help
    thanks
    Sachin

    hi Napsterr
    yes i am getting '000'.
    when i am giving incorrect data , some error is coming.
    what does it mean?
    employee status is not yet inserted or modified.
    here is my code. please tell me where i am missing.
    REPORT  ZTEST_STATUSUPDATE2.
    Parameter p_pernr like pa0000-pernr.
    Parameter p_stat1 like pa0000-stat1.
    DATA: OPERATION     LIKE PSPAR-ACTIO,
            RETURN1        LIKE BAPIRETURN1,
            RETURN        LIKE BAPIRETURN,
            VALIDITYBEGIN LIKE P0001-BEGDA,
            ILINES        LIKE SY-TABIX.
      DATA: VALUES        LIKE PPROP OCCURS 10 WITH HEADER LINE,
            IP0000        LIKE P0000 OCCURS  1 WITH HEADER LINE.
        CALL FUNCTION 'HR_READ_INFOTYPE'
          EXPORTING
            PERNR     = p_pernr
            INFTY     = '0000'
            BEGDA     = SY-DATUM
            ENDDA     = SY-DATUM
          TABLES
            INFTY_TAB = IP0000.
          DESCRIBE TABLE IP0000 LINES ILINES.
          IF ILINES EQ 0.
            OPERATION     = 'INS'.
            VALIDITYBEGIN = SY-DATUM.
          ELSE.
            READ TABLE IP0000 INDEX 1.
            VALIDITYBEGIN = IP0000-BEGDA.
            OPERATION     = 'MOD'.
          ENDIF.
          VALUES-INFTY = '0000'.
          VALUES-FNAME = 'P0000-stat1'.
          VALUES-FVAL  = p_stat1.
          APPEND VALUES.
          CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
            EXPORTING
              PERNR           = p_pernr
              ACTIO           = OPERATION
              BEGDA           = VALIDITYBEGIN
              ENDDA           = '99991231'
              SUBTY           = SPACE
              NO_ENQUEUE      = SPACE
              NO_EXISTENCE_CHECK       = 'X'
            IMPORTING
               RETURN        = RETURN
              RETURN1         = RETURN1
            TABLES
              PROPOSED_VALUES = VALUES
            MODIFIED_KEYS   =
            EXCEPTIONS
              OTHERS          = 1.
          IF ( return-type EQ 'E' OR return1-type EQ 'E').
          MESSAGE 'error' type 'E'.
           ELSEIF  RETURN is INITIAL.
            MESSAGE 'initial value' type 'I'.
          ELSE.
            MESSAGE ID     RETURN1-ID
                    TYPE   'S'
                    NUMBER RETURN1-NUMBER
                    WITH   RETURN1-MESSAGE_V1 RETURN-MESSAGE_V2
                           RETURN1-MESSAGE_V3 RETURN-MESSAGE_V4.
    endif.
    thanks
    Sachin

  • Issue with setting work status

    Hi Gurus,
    I am using the standard work status (copied from Appset), in the applications work status setting I have set entity as owner and time and category as yes for work status. In the entity dimension under owner and reviewer property I have keyed in the correct user ids. I am using one of the owner user id to perform the activity mentioned below
    The issue I am facing is when I select modify work status from Esubmit menu it takes me to the web interface for setting the Work status after selecting the value for the 3 dimensions mentioned above when I click on OK it pops up a message that you are not authorized to change the work status setting please contact system administrator. The owners have admin profiles for auth so they should be able to do pretty much everything.
    would appreciate help on this
    BPC 5.1 Support Pack 2
    Thanks

    Make sure all the members within the parent hierarchy you are using have owners assigned.
    In BPC terms; Managers are the owners of parents, owners are the owners of members.
    For example the owner might be a clerk entering forecast data for a single/set of entities, (base level members). The manager owns the parent.
    Also, when testing, make sure you login to the system/server/domain/network, (whatever) with the userid you will be testing with and then login to BPC. (Just to be sure.)
    This should do it if you have everything else laid out!
    Good Luck!

  • Decision Point change status

    Dear Experts,
    I'm trying to develop a report to modify the status of a decision point.
    I have tried to use the standard function /RPM/DECISION_POINT_MODIFY  and I've tried the method set_attributes of the standard class CL_RPM_DECISION.
    In both cases, the return code is OK and apparently the status changed (looking the variables in debug mode) but once the report ends, the old status remains in the database (table /RMP/DECISION).
    I  paste the both ABAP code through I'm trying to change the DP status.
    Please, could you tell me if I missed something or if there is something wrong?
    thanks a lot.
    Aupa.
    ABAP Code:
    When I'm calling the function /RPM/DECISION_POINT_MODIFY  , I do:
    ls_context-object_guid = wa_decision-guid.
    ls_context-portfolio_guid = lv_porf_guid.
      ls_context-parent_guid = wa_decision-guid.
      CALL FUNCTION '/RPM/DECISION_POINT_MODIFY'
        EXPORTING
          is_context     = ls_context
          iv_language    = lv_lang
          iv_change_mode = lv_chg_mode
          it_comments    = it_item_desc_comments
        IMPORTING
          ev_rc          = lv_rc
        TABLES
          it_attributes  = it_item_desc_attr_ins
          et_msg         = lt_msg.
    and when I've tried to use the standard class, I do:
    DATA:   lr_decision     TYPE REF TO cl_rpm_decision,
              ls_attributes   TYPE rpm_ts_decision_int,
              ls_decision_int TYPE rpm_ts_decision_int,
              lv_rc           TYPE i.
      DATA: lr_object_manager TYPE REF TO cl_rpm_obj_manager,
            lr_common         TYPE REF TO if_rpm_common.
      lr_object_manager = cl_rpm_obj_manager=>get_instance( ).
      CALL METHOD lr_object_manager->get_appl_object
        EXPORTING
          iv_project_guid  = i_item_guid
          iv_appl_obj_id   = i_decision_id
        iv_appl_obj_guid = i_decision_guid
          iv_appl_obj_ot   = 'EPO'
        RECEIVING
          rr_object        = lr_common.
      lr_decision ?= lr_common.
      CALL METHOD lr_decision->get_attributes
        IMPORTING
          es_attributes = ls_attributes.
    Make sure that decision point is in edit mode
      lv_rc = lr_decision->if_rpm_entity~set_edit_mode(
                         cl_rpm_co=>sc_edit_mode_change ).
      IF lv_rc IS NOT INITIAL.
        RAISE error.
      ENDIF.
    Update status
      ls_decision_int = ls_attributes.
      ls_decision_int-status = i_status.
      ls_decision_int-active = 'X'.
    Set the DP attributes
      lr_decision->set_attributes( ls_decision_int ).
    Read new atrributes
      clear ls_decision_int.
      CALL METHOD lr_decision->get_attributes
        IMPORTING
          es_attributes = ls_decision_int.
      e_status = ls_decision_int-status.

    When you are using function module to change the decision point status, you must use /RPM/SAVE_CHANGES function module after /RPM/DECISION_POINT_MODIFY function module otherwise the changes will not be committed to database.
    When you are using the classes , then you should use object manager ( cl_rpm_obj_manager) instance method do_save.

  • IDocs in Status 03 not transferring -

    Hi All,
    I am facing some issue with transferring IDcos from one R/3 system to another R/3.
    Idocs are getting created at the application level and are in green status(03) But not reaching the receiving system.
    If I modify the status of Idoc to 30 and process them manually using BD87, they are reaching the receiving system.
    I have checked the partner profile, ports and other setting comparing with other message types which are working OK. I could not find any difference. Please note that custom program is creating Idoc, where the basic type and message are standard.
    Please advice.
    Thanks.
    Mark

    Thanks to all who responded to my message. Appreciate the help.
    With a commit work statement I was able to fix the issue.
    Thanks Advait.
    Mark.

Maybe you are looking for

  • Error executing webutil program

    Gurus, This is the post which I have already closed earlier since I got the solution for Webutil program (the thread is printing file to printer from forms 10g) .. Now the problem is very peculiar When I execute the form from printer (network) when I

  • Why doesnt my swf file play on the server?

    why doesnt my swf file play on the server? but it plays on my computer. what do i need to do to make it work?

  • Chinese Text

    I'm having trouble pasting chinese text from an Microsoft Excel document.  How do I make the chinese characters appear in the InDesign document? Excel: InDesign: Best, Daniel

  • [SOLVED] I cannot start any VM's in Virtualbox.

    I think I have all of the correct packages installed. I installed all of the following packages from the official repos. virtualbox-guest-dkms virtualbox-guest-modules virtualbox-host-dkms virtualbox-host-modules However, when I do "modprobe vboxdrv"

  • CO type- find manager HR : How to enhance it?

    Hi, Experts, I'd like to know the RFC or ABAP logic behind the standard CO type find manager, we want to enhance it to our own logic which based on other 'manager' defition. thanks and  best regards. Jun