How to get active plan version dynamically

Hi all,
I am making some HR reports in which I am pulling up position long text from hrp1001 by giving condition - where plavr = '01' . Now if the active plan version is not 01, my condition becomes vague.
Please let me know how to determine the active plan version dynamically in my sample code below
SELECT APERNR AOTYPE B~STEXT INTO CORRESPONDING FIELDS OF TABLE ITAB_EMP_DEATILS3 FROM PA0001 AS A
INNER JOIN HRP1000 AS B ON BOTYPE = AOTYPE AND BOBJID = APLANS WHERE ( BOTYPE = 'S' AND BPLVAR = '01' AND AENDDA = '99991231' AND BENDDA = '99991231') AND A~PERNR IN PNPPERNR.
SORT ITAB_EMP_DEATILS3 BY PERNR.
DELETE ADJACENT DUPLICATES FROM ITAB_EMP_DEATILS3.

Simply call FM RH_GET_PLVAR  

Similar Messages

  • HOw to set our Existing Active plan version to The new Created Client.

    Hello experts,
    I  have create two new Clients for idoc processing .
    But when i am creating partner profile for my Model View  the system  gives an "error that no active plan version exist."
    is there any way to solve this problem ????
    Regards,
    Dakshaini.
    Moderator message: only one thread per issue, please.
    Edited by: Thomas Zloch on Oct 14, 2011 3:43 PM

    Please try uncommenting the following line in your method call.
    * IS_PRINT = GS_PRINT
    Regards,
    Rich Heilman

  • "no active plan version exists" while adding system in partner profile

    Hi,
    i am getting "no active plan version exists" while adding logical system in partner profile. while duble click on this it showing "set active plan version".
    Can anyone answer me how to do the set active plan version. I asked my functional team and  they didnt know how to set it.
    Thanks,
    Gowthaman.

    Thanks Sonia,
    in OOAP i could not able to edit so i maintained plan version in OOPV and in sm30 in table T77S0 maintained PLOGI group.
    Now i am getting different error while creating partner profile in we20..
    *Object type US, ID CENTRALADMIN unknown (please observe upper/lower case)*
        *Message no. E0624*
    *Diagnosis*
        *Object CENTRALADMIN of type US is not known in the system.*
    *Procedure*
        *Enter a valid object and check the type.*
        *Make sure upper case and lower case are used correctly.*

  • How to get Active users list in Essbase 6.5.6

    Hi Gurus,
    How to get Active users list in Essbase 6.5.6 version
    I dont find any Esscmd to find active users list....
    i used LISTLOGINS command in ESSCMD but its not helping me out....
    pls suggest me some approach to find active users list.
    Thanks in advance....

    Hi  ,
    Display sessions will give only active users details which are currently connected to the ESSBASE .
    if you need this list ? or  you need the  total list of   security  active users list ?
    if you need the currently connected to the ESSBASE
    if you check  one server  At a time  or you can check the application level also
    1)server level
    display  session all;
    2)application level
    display session on application  'application name ';
    go for the  run command ---> essmsh----->  login;----->enter user name ----> enter password----->enter host (like server name )  then you need to you   above  1 &2  commands
    Thanks,
    suresh

  • Options to maintain persons in active plan version from a current plan vers

    Hi,
    We have two plan  version currently in use. Plan version 01 in the current status and plan version ZZ in the active status. Few employees are still with the current plan version and are active in the system.
    Can anyone guide me how  to maintain the Persons that are still with Plan Version 01 and active in the system ?
    Because we need to somehow maintain them also with ZZ otherwise our Ugraded  system wil not show all reports correctly...This would be considered as Masterdata correction....
    I mean how to move the persons from the plan version 01 to active plan version ZZ and how there relationships will be maintained.
    Edited by: deepti saxena on Sep 19, 2008 8:49 AM

    Hi sikindar,
        Thanks for the quick reply. I executed transacn PP01 . I entered the emp id . but when i select the infotype relationship and try to maintain or dispaly it; it takes me to either PA20 or PA30 screen.
    Please guide me how to change the plan version of the employees.
    Thanks
    deepti

  • Set active plan versions

    Hi,
    How to enable new entries(Menu path) in set active plan versions in IMG actvity.
    thanks and regards,
    naidu.

    hey Thanks for the Same ,
    yes thats the standard,as i am working on a test client inthe menu path
    PM-global settings-plan version maintainance-set active plan version i dont find the standard instead all the fields are hidden ,if i have to make these fields active.
    Naidu.

  • How to get all previous versions page contents of a publishing page using SharePoint Client Object Model 2010

    How to get all previous versions page contents and other field values of a publishing page using SharePoint Client Object Model 2010?
    Thanks,
    Osmita

    Hi Osmita,
    Greetings.
    Here are the links that helps you. It has code attached to it.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a0d2ab40-99ba-4368-8505-1dc559ef6469/get-content-of-previous-version-of-page-sharepoint-2010?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/faaf419f-997e-4150-9911-48cc375c3b46/how-to-get-previous-published-versions-of-publishing-pages-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to get the last version of flash in MSI format automatically?

    How to get the last version of flash in MSI format automatically?
    Roberto Neigenfind
    Bravo Tecnologia
    www.bravotecnologia.com.br

    Hi Barbara,
    Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
    You can purchase this by Adobe's backward Licensing policy :
    " Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
    Please check the doc : http://www.adobe.com/volume-licensing/policies.html

  • Diff: Version on workflow builder and Maintain Active Plan version on SWU3

    Group,
    Can any one help me to understand the Version on workflow builder and Maintain Active Plan version on SWU3
    Thanks in advance !
    Richard A

    Dear Richard Antony,
    The Versioning in the Workflow is very important its some what simmilar to the version on any SAP Objets like Tables, Program etc.
    Here Suppose any change comes in working workflow, then in stead of directly change them you can create a version of them and them modify it. So that you can reverst back to that version if required.
    Like wise there is lots of importance of versioning Workflow.
    The Active Plan version is also important to establish at SWU3. As all the Workflow is using Organization management which is very depended on the Active Plan version. so based on which Plan version you want to use you can Provide in SWU3 to tell Workflow system to use this.
    Hope this will give you a clear picture.
    Regards,
    Chandrashekhar.

  • How to get the original version of Web report in BW ?

    Hello Friends ,
    I have transported one Web report from BW development to BW Production System.
    But unfortunately , the desired result not me met .
    So I have been asked to keep the original version of the Web report.
    As the new version of Web report has replaced the previous one ,
    So could anybody tell me how to get the original version of Web report in BW ?
    Many thanks in advance !!!!!!!!

    Hi,
    You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
    Here you can find the history of requests imported to the prod system.
    Regards,
    K.Manikandan.

  • How to get 64 bit version for premiere elements 12

    How to get  64-bit version for Premier Elements 12 ? 
    I download from ADMISY site.
    Click on win 64 bit and download it.
    When I try to install ther is a error  this download version is not for 64 bit I have try many times but same result

    Hello
    I have been away some days
    ADMISY is a software partners for Adobe
    I running Win 7 Home Edition
    I have received a card with a code when I bought the program and the I
    download from ADMISY
    Sending serial and installation warning
    PhotoshopElements_12_WWEFDJ.7z
    PhotoshopElements_12_WWEFDJ
    PremiereElements_12_WWEFDJ_win32.7z
    PremiereElements_12_WWEFDJ_win32
    I can not find a 64 bit version of 32-bit or 64-bit version of downloads
    This is information I have
    Best regards
    Erling Magnusson
    2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
        How to get 64 bit version for premiere elements 12  created by A.T.
    Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
    Elements* - View the full discussion
    <https://forums.adobe.com/message/7162950#7162950>

  • How to get Adapter Engine version in PI 7.1?

    Hi all,
    How to get adapter engine version in ehp 1sap 7.1 sp08 ?
    Thanks
    Sunil

    Hi Sunil,
    Please follow this -
    http://<hostname>:<port>
    In the system information page, download the component version information, and check out the version there.
    Hope this resolves your problem.
    Regards,
    Neetesh

  • HT1923 how to get the old version of itunes

    how to get the old version of itunes. i dont like the new one. pls help.

    If you want iTunes 10.7:
    http://support.apple.com/kb/DL1576
    But before you to go the effort of trying to downgrade, try these steps, presuming you're referring to iTunes 11:
    - Press Control-B to show the menus
    - From the View menu, select "Show Sidebar" and "Show Status Bar'
    That makes iTunes 11 look much like earlier versions of iTunes and satisfies many people.
    Regards.

  • How to get the trial version of adobe access whether can protect content

    i submit info in
    https://www.adobe.com/cfusion/mmform/index.cfm?name=flash_access_trial_cert
    but nobody contact me..
    How to get the trial version of adobe access?
    Thanks

    Hello,
    Apologies for that!  Currently, Adobe is shut down for the holidays which is why you're seeing a delay. Adobe will resume work again on January 2nd.
    If you can private message me your contact information, I can contact our sales team to make sure they are aware of your request.
    Sent from my mobile,
    /Eric

  • How to get the latest versions of Internet Explorer t

    We are running Single Primary Site with SCCM 2012 R2. 
    I
    cant seem to find out how to get the latest versions of Internet Explorer to be included in software updates?  Do you have to download this separately and install manually?

    Like Henrik said, make sure you have the Classifications selected that you want to address. IE 11 is the current browser, that was added to the catalog a few months back. If you are searching for this month you wont find it.

Maybe you are looking for

  • What dvi to vga connector do I need for a MacBook Pro A1286?

    I bought a mini DVI to VGA for my 15 inch MacbookPro (Model 1286) but the mini-DVI connector is too big. I need a connector HALF that size. Is there one I can use, find, purchase?

  • Apple TV on vacation

    Hi, I want to bring my Apple TV on my vacation to Portugal. ( I live in Ireland and my itunes acct is an Irish account) We have wireless broadband and and old IMAC in the apartment. Will it work OK to rent movies ETC in Portugal ?

  • Report - empty value problem (-)

    Hey When I have me report, I have a few fields who are empty but displayed with a '-'. Is there any way I could remove this? I'm asking because in the report is a link that passes back 3 values together, if one is empty i have a '-' that is passed ba

  • NSBitmapImageRep - how can I remove or reverse an alpha channel from tiff?

    Below is some code I cobbled together to save a square preview of an image. I am looking to figure out how to remove or inverse an alpha channel mask from a tiff image, and could really use some help.... // I have been using 256.0 and 0.4 for the las

  • IPhone + Outlook, recurring meetings not adjusted for Daylight Saving (Arizona)

    Anybody else out there living in Phoenix and syncing with Outlook? I have an iPhone 4 running iOS 5.0.1 and I sync my calendar with Outlook 2007 running on Windows XP.  Recurring meetings that were sent from another timezone are not showing the corre