FM to get OA/SA history and its value

hi guys,
is there any FM that can be used to get OA/SA history and its follow-on documents value ..pls advice

Hi Huang,
     i had a similar requirement and unfortunately i wasnt able to get any solution on this(probably there isnt).
how to get Position of cursor and its cell value in webdynpro alv
My requirement was to pick up the value from the cell and do a multi paste to all lead selected records of the same column.
Sadly, i had to do a workaround to achieve the solution.
1) user needs to click on "Enter" key with cursor on the cell
2) lead select all the records where multipaste is required
3) then click on button "Paste" on application bar to paste the values to multiple cell.
Let me know if you get anything on this (for my education).
Regards,
Tashi

Similar Messages

  • I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the proble

    I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the problem when reopened

    https://forums.adobe.com/message/6219922#6219922
    See if the issue in the thread above helps you to solve your problem.

  • I want to get increment only amount and its percentage of increment from HR

    Dear Sir,
    I want to get increment only amount and its percentage of increment can you plz help me how to get it
    please find below mentioned query.
    Regards
    select
    papf.employee_number as employee_number,
    papf.last_name as last_name,
    papf.middle_names as middle_name,
    papf.first_name as first_name,
    papf.known_as as preferred_name,
    ppt.user_person_type as employment_type,
    ppp.change_date as change_effective_date,
    cur.currency_code as currency,
    ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id , to_date(sysdate)) as current_salary_annual,ppp.proposed_salary_n,
    per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
    ppp.proposal_reason as sal_proposla_resaon,
    ppp.attribute2 as performance,
    ppp.attribute3 as gandac,
    ppp.attribute4 as NINEBOXPOSITION,
    ppp.attribute1 as RPR
    from
    per_all_people_f papf,
    per_all_assignments_f paaf,
    per_pay_proposals ppp,
    per_pay_bases ppb ,
    pay_input_values_f piv,
    pay_element_types_f pet,
    fnd_currencies_tl cur,
    per_person_type_usages_f pptu,
    per_person_types ppt
    where 1=1
    and papf.employee_number in (127)
    --and ppp.change_date >= ’01-Jan-2005?
    and papf.current_employee_flag = 'Y'
    and sysdate between papf.effective_start_date and papf.effective_end_date
    and papf.person_id = paaf.person_id
    and sysdate between paaf.effective_start_date and paaf.effective_end_date
    and paaf.assignment_id = ppp.assignment_id
    and paaf.pay_basis_id = ppb.pay_basis_id
    and ppb.input_value_id = piv.input_value_id
    and piv.element_type_id = pet.element_type_id
    and pet.input_currency_code = cur.currency_code
    and papf.person_id = pptu.person_id
    and pptu.person_type_id = ppt.person_type_id
    order by papf.employee_number, ppp.change_date desc
    Edited by: user10941925 on Jan 20, 2012 2:37 AM

    Maybe (taking it literally)
    select proposed_salary_n - PREVIOUS_SAL increment,
           100 * (proposed_salary_n / PREVIOUS_SAL - 1) increment_percentage
      from (select papf.employee_number as employee_number,
                   papf.last_name as last_name,
                   papf.middle_names as middle_name,
                   papf.first_name as first_name,
                   papf.known_as as preferred_name,
                   ppt.user_person_type as employment_type,
                   ppp.change_date as change_effective_date,
                   cur.currency_code as currency,
                   ppp.proposed_salary_n * per_saladmin_utility.get_annualization_factor(paaf.assignment_id,to_date(sysdate)) as current_salary_annual,
                   ppp.proposed_salary_n,
                   per_saladmin_utility.get_previous_salary(paaf.assignment_id,ppp.PAY_PROPOSAL_ID) PREVIOUS_SAL,
                   ppp.proposal_reason as sal_proposla_resaon,
                   ppp.attribute2 as performance,
                   ppp.attribute3 as gandac,
                   ppp.attribute4 as NINEBOXPOSITION,
                   ppp.attribute1 as RPR
              from per_all_people_f papf,
                   per_all_assignments_f paaf,
                   per_pay_proposals ppp,
                   per_pay_bases ppb,
                   pay_input_values_f piv,
                   pay_element_types_f pet,
                   fnd_currencies_tl cur,
                   per_person_type_usages_f pptu,
                   per_person_types ppt
             where 1=1
               and papf.employee_number in (127)
    --         and ppp.change_date >= ’01-Jan-2005?
               and papf.current_employee_flag = 'Y'
               and sysdate between papf.effective_start_date and papf.effective_end_date
               and papf.person_id = paaf.person_id
               and sysdate between paaf.effective_start_date and paaf.effective_end_date
               and paaf.assignment_id = ppp.assignment_id
               and paaf.pay_basis_id = ppb.pay_basis_id
               and ppb.input_value_id = piv.input_value_id
               and piv.element_type_id = pet.element_type_id
               and pet.input_currency_code = cur.currency_code
               and papf.person_id = pptu.person_id
               and pptu.person_type_id = ppt.person_type_id
             order by papf.employee_number,ppp.change_date desc
    order by employee_number,change_effective_date descRegards
    Etbin

  • SQL Query to get All AD Groups and its users in Active Directory

    Hi,
       Is there any query to get all AD groups and its user in an instance of a SQL server?

    Check this blog.
    http://www.mikefal.net/2011/04/18/monday-scripts-%E2%80%93-xp_logininfo/
    It will give you more than what is required. If you dont want the extra information,then you can try this.. I took the query and removed the bits that you might not require.
    declare @winlogins table
    (acct_name sysname,
    acct_type varchar(10),
    act_priv varchar(10),
    login_name sysname,
    perm_path sysname)
    declare @group sysname
    declare recscan cursor for
    select name from sys.server_principals
    where type = 'G' and name not like 'NT%'
    open recscan
    fetch next from recscan into @group
    while @@FETCH_STATUS = 0
    begin
    insert into @winlogins
    exec xp_logininfo @group,'members'
    fetch next from recscan into @group
    end
    close recscan
    deallocate recscan
    select
    u.name,
    u.type_desc,
    wl.login_name,
    wl.acct_type
    from sys.server_principals u
    inner join @winlogins wl on u.name = wl.perm_path
    where u.type = 'G'
    order by u.name,wl.login_name
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Is there any function module to get vc characteristics and its value using material number?

    Hi Experts,
    I am using BAPI_CLASS_GET_CHARACTERISTICS, BAPI_OBJCL_GETCLASSES to get characteristics description and its values.
    Is there any other Function module to pull this values using material number?
    Thanks in Advance.
    Ramkumar

    Have you tried this BAPI_OBJCL_GETDETAIL
    Import parameters
    MATNR value in the OBJECTKEY
    MARA in OBJECTTABLE
    Class name in CLASSNUM
    '001' in CLASSTYPE
    You will get the Class Characteristics data into these tables:
    ALLOCVALUESNUM
    ALLOCVALUESCHAR
    Jogeswara Rao K

  • How to get selection screen elements and its table reference of a report ?

    halo experts
    How can I get selection screen elements and its table reference of a report ? . I tried rs_refresh_from_select_options. But I am unable to get the table and field it is referring to
    For eg if my selection screen 1000 is
    parameters: p_carrid type spfli-carrid,
    select-options :s-_connid type sflight-connid.
    is there any Fm or method which gives me what are the screen elements( p_carrid and s_connid ) and what table( splfi and sflight ) and field ( carrid and conid )it is referring to ?

    The following code is an example of how you might dynamically determine all your PARAMETERS and SELECT-OPTIONS variables at run time.  The PARAMETERS and SELECT-OPTIONS only point to a dictionary element--not a specific table.  Even though you may say "spfli-carrid" or "sflight-connid", the data type really references the dictionary type and not a specific table/structure.
    REPORT  ZTEST_PROG.
    TABLES sflight.
    DATA:
           screen_tab TYPE STANDARD TABLE OF screen,
           wa_screen TYPE screen,
           scrn_nm TYPE string,
           scrn_leftover TYPE string,
           l_type TYPE REF TO cl_abap_typedescr,
           typ_nm TYPE string,
           typ_pre TYPE string.
    FIELD-SYMBOLS <fs_data> TYPE ANY.
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECT-OPTIONS s_connid FOR sflight-connid.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-group3 = 'PAR'
          OR screen-group3 = 'LOW'.
            APPEND screen TO screen_tab.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
      LOOP AT screen_tab INTO wa_screen.
        ASSIGN (wa_screen-name) TO <fs_data>.
        l_type = cl_abap_typedescr=>describe_by_data( <fs_data> ).
        IF wa_screen-group3 = 'LOW'.
          SPLIT wa_screen-name AT '-' INTO scrn_nm scrn_leftover.
          TRANSLATE scrn_nm TO UPPER CASE.
        ELSE.
          scrn_nm = wa_screen-name.
        ENDIF.
        SPLIT l_type->absolute_name AT '=' INTO typ_pre typ_nm.
        WRITE:
                 / 'Screen Name:  ', scrn_nm,
                 / 'DDIC Type:    ', typ_nm.
      ENDLOOP.
    When you get into defining internal tables you can determine those at run time with cl_abap_structdescr.  The following is an example of how you might do that.  You can loop through the "components_table" and evaluate each field of the structure in this way.
    DATA: structure_reference TYPE REF TO cl_abap_structdescr,
          components_table TYPE abap_compdescr_tab,
          components_structure LIKE LINE OF components_table.
    structure_reference ?= cl_abap_structdescr=>describe_by_data( any_structure ).
    components_table = structure_reference->components.
    I don't know if this answers any of your questions but I hope that some of it is useful.

  • How to get Portal Login User and Its Related BP in CRM?

    Hi,
    An ABAP Webdynpro program is called in CRM from Portal user by a portal link. How to get the user ID and its related BP in CRM? Thanks!
    The portal is integrated with ECC, and all users and BPs are maintained in ECC then replicated to CRM.
    Best regards,
    Hao

    Hi,
    Try the below code
    IUserFactory userfact=UMFactory.getUserFactory();
    IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
    String usrid=user.getUniqueName();
    And also you can get the groups assigned to user by using the below code
    Iterator groups = user.getParentGroups(true);
    while (groups.hasNext()) {
         String groupstr = (String) groups.next();
         IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
         response.write("Group name "g.getUniqueName()"<br>");
    Regards
    Suresh

  • I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its sasy the cose can only be used once. I dont have the movie and now i cant get it at all.

    I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its says the code can only be used once. I dont have the movie and now i cant get it at all. i paid for it when i bought the movie but now i dont own it at all. i feel cheated, somebody please help!

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • Display data to edit based on fields and its value defined in internal tabl

    I need to display data in a internal table for editing in a screen.
    you have a internal table with field name , data types and its value. I need to display data in a screen ( sceen painter not in a report) row by row in vrtical format.
    The internal table's structure not fix. you can have any number of fields in the internal table.
    Can you please send me code if it is available with you or send me any senario in SAP if any ...so that i can debug to extract the code..
    have to display data vertically as below in editable format,
    for example,
    Airline
    Flight Number
    Flight date
    Flight price
    Airline Currency
    Plane Type
    Maximum capacity
    Occupied econ.
    Total
    No of fields will change.
    also F4 help needs to be attached with each field.
    I think it can be done through step loop. can anybody give sample code or tell me where to find in SAP or somewhere else?
    it will be great help to me..
    Sanjeev

    Hi
    just check out this program DEMO_DYNPRO_STEP_LOOP.

  • Function to extract characteristics and its value from PI sheet

    Hi experts,
      I am working on a report to generate Avg. deckle for the month form the PI sheet. In the PI sheet the data that is displayed is basically the message characteristcs and its value.
    Please tell me ne function that will give me the related data to be displayed.
    Thanks in advance..

    reading the characteristics: CAVC_DB_READ_CFG_IN_CBASE.
    reading the values according to the characteristics: CARD_CHARACTERISTIC_READ.
    Note: the second FM is obsolete according to SAP. but it still works in opposition to the new ones.

  • Characterstics and its values

    Hi All,
              In whih table i could find Characterstics and its values.
    regards
    sunil

    Hi sunil,
    T2513                          Table of Characteristic Values
    T2538                          Table of Characteristic Values
    will give you Characteristic wise values.
    AUSP                           Characteristic Values for STD LOBM Characteristics.
    Find Some More herewith.
    COMM_CFGCLNHIER                Numeric Characteristic Values Hierarchy
    COMM_CFGCLSHIER                Symbolic Characteristic Values Hierarchy
    COMM_CFGNHIER                  Numeric Characteristic Values Hierarchy
    COMM_CFGSHIER                  Symbolic Characteristic Values Hierarchy
    COMM_CFGVALSYM                 Symbol Table for Characteristic Values
    EHQMT_CODE2                    EH&S-QM: Assignment of Characteristic Valu
    IBSYMBOL                       IB: Characteristic Value Assignment
    PGPLE                          SOP Characteristic Values
    RCCHARVAL                      Characteristic Value for Classification
    RSMDTMPTAB                     Temporary Storage for Characteristic Value
    SCEVALSYM                      Symbol Table for Characteristic Values
    T22A7                          Text Table for Characteristic Values
    T22A8                          Text Table for Characteristic Values
    T22A9                          Text Table for Characteristic Values
    T22B0                          Text Table for Characteristic Values
    T22B1                          Text Table for Characteristic Values
    T22B2                          Text Table for Characteristic Values
    T22B3                          Text Table for Characteristic Values
    T22B4                          Text Table for Characteristic Values
    T22B5                          Text Table for Characteristic Values
    T22B6                          Text Table for Characteristic Values
    T22E6                          Text Table for Characteristic Values
    T22E7                          Text Table for Characteristic Values
    T22E8                          Text Table for Characteristic Values
    T22E9                          Text Table for Characteristic Values
    T241B                          Description of Characteristic Values
    TDCHARACVALUE_T
    TDCHARACVALUE2_T
    TE518G
    TF199C
    TFC_INST_VAL
    TFC_TEMPL_VAL
    TFIN000
    TFK115G
    TFK115S
    TFK125G
    TKEPROT
    TRACC_GROUP
    TRACC_GROUP_T
    VTBLSLA
    WRF_APC_PACHR
    WRF_CHARVAL
    WRF_CHARVALT
    WYT2M
    I am sorry but I have pasted this much data because you haven't specified the requirement.
    Regards,
    Shyamal
    Edited by: Shyamal Joshi on Aug 20, 2008 1:01 PM
    Above all will give you in form that can be transported to EXCEL

  • How can I get rid of "History and Bookmarks" section from the search history drop down menu in safari 6.0.2?

    Let's just say I have saved bookmarks of things that i do NOT want my friends to see when they use my computer occasionally. I know they could go and find these bookmarks anyway in the bookmarks menu but they dont snoop around my computer. i would rather it not just pop up when they go to search for something or type in a webpage. If there is no way to customize what shows up in the drop down menu for search results then that is something apple overlooked. Not everybody wants things all in one place. Whats the point of deleting search history and website history if its just going to show the certain things you have bookmarked? Any solution to this would be appreciated. One solution i thought would work was disabling search from suggesting, but i guess that only supresses the webpages not the url/search bar. Oh and this is for safari 6.0.2 please dont give me outdated advice.
    Thanks

    Activate the Guest account for your friends and keep your account for yourself.

  • Get question id's and its corresponding answer id for given Doc id's

    Hi,
    I am trying to write a program which gets the  Equality values (Questionaire - Erecruiting) like :
    1) Gender
    2) Care Resp
    3) Care Type
    4) Ethnic Origin
    5) Religion
    6) Disability
    7) Sexual Orientation
    8) Age Range
    And move it to an internal table which has each Equality as a field.
    I referred to the following tables in order to get the question id's and its corresponding answer id's for questionaire.
    1) hrp5141
    2) hrp5125
    3)T77RCF_INFDAT
    And i tried to fetch the equality data using the class CL_HRRCF_QA_BL. This class returns the values from hrp5141. It also returns the object id, answer id and answer text. CL_HRRCF_QA_BL class also intern calls the function module HRHAP_DOCUMENT_GET_DETAIL, which gets the set of questions and its answers. But this question id's and answer's differ for document id's (QA_DOC_GUID).
    Here the problem is the object id for Doc id's (QA_DOC_GUID) are differing.
    Example 1: I have taken first QA_DOC_GUID - BF2C554821CFBFF180C5DKDINGKGNSKE as input to check its question and answer using CL_HRRCF_QA_BL class.
    The question id is here I am assuming is 20366558 and the corresponding answer id is 20368559 for Gender.
    Example 2: I randomly picked one more QA_DOC_GUID - BAS06AE4533374F1B3CF0018F346808A. The question id here is 50368915 and answer id is 50368918 for gender which is different from the first example.
    I am not able to decide on other fields as the answers for it could be generic viz., YES, NOT, Prefer not to answer etc. Whereas Gender holds the value of either Male, Female or Prefer not to answer, Religion holds Religion name or Prefer not to answer value and similarly Age holds the age range or Prefer not to answer value.
    Can anybody suggest on how to get the equalities values (the question id's and its corresponding answer id's).
    Appreciate quick response.
    Thanks in Advance.
    Thanks and Regards,
    Rashmi

    Hello RichR,
    To setup an iCloud account, you don't need an existing email address. Take a look at this article which contains more information about iCloud email:
    iCloud: Mail overview
    When you set up iCloud with a new Apple ID that doesn’t use an existing email address, your new Apple ID ends with @icloud.com and is the email address for your free iCloud Mail account. If your Apple ID doesn’t end with @icloud.com, @me.com, or @mac.com, you must set up an @icloud.com email address before you can use iCloud Mail. 
    If you already use iCloud Mail with an @mac.com or @me.com email address, you also have an @icloud.com email address. You have an @icloud.com equivalent for every active @me.com or @mac.com email address or alias that you have as part of your account. 
    After you set up your iCloud Mail account, you can sign in to icloud.com/#mail and start using iCloud Mail on the web right away. To use iCloud Mail on your devices, you must set it up on each device. For more information, see Set up iCloud Mail on your devices.
    Thank you for contributing to Apple Support Communities.
    Take Care,
    BobbyD

  • Get Target table name and its count

    Hi Experts,
    I have created a Procedure where I want to get the Target table name and its count of the previous Interface in a Package and insert these values into the Audit table.
    I am able to get the number of Inserts in previous step using getPrevStepLog() API, but I also want the Target table name and its total count of the previous Interface. Is there any generic way or code to bring these Information without hardcoding the table name. Kindly help to sort this issue.Thanks!
    Warm Regards,
    VBV

    Hi VBV,
    Please follow the below steps to audit ur execution.
    Please note i coded in such a way that u can use ur existing procedure to capture the table name no need to query ur repository as its not advisable to query the repository as Oracle may change the structure in future which i personally feel right.
    I created a Audit table with the below structure.
    CREATE TABLE AUDIT_TABLE
    INSERT_COUNT VARCHAR2(100 BYTE),
    TABLE_NAME VARCHAR2(4000 BYTE)
    Step 1 :
    This step needs to be added in ur existing IKM after Commit step where i am using API to capture the target table name.
    Step Name: Get Table Name
    Command On Source
    Technology: Oracle
    Schema: Any Oracle related Schema
    Command:
    SELECT '<%=odiRef.getTargetTable("RES_NAME")%>' AS TGT_NAME FROM DUAL
    Command On Target
    Technology: Jython
    Command:
    TargetTable='#TGT_NAME'
    Step 2:
    In ur existing procedure add the below or add a new procedure.
    Step Name: Audit Log
    Command on Source
    Technology : Oracle
    Schema: Whichever schema holds the audit table
    Command on Target
    Technology : Jython
    Command:
    import java.sql as sql
    import java.lang as lang
    myCon =odiRef.getJDBCConnection("SRC")
    MyStmt=myCon.createStatement()
    myRs = MyStmt.executeQuery("INSERT INTO ODITGT.AUDIT_TABLE (INSERT_COUNT,TABLE_NAME) VALUES (<%=odiRef.getPrevStepLog("INSERT_COUNT")%>,'"+TargetTable+"')")
    Thats it.
    OTN doesnt allow me to put + sign in front of any word ( its assume its a Italic) so please add + (plus) sign before and after TargetTable in the above script.
    This way u can capture the table name, insert count in to ur audit table.
    Please note u need to call this Procedure after the successful completion of the interface in a package and make sure u selected the right IKM which capture the table name as in Step 1.
    I tested in my local and its working fine. Let me know if u find any difficulties in implementation.
    Thanks,
    Guru

  • How to get  xml Element , data and its Childs

    hi,
    I am trying to get entire Element and its childs depending on condition.
    suppose
       if(doc.element.name== "despatch"){
                   // here i want entire despatch element with data and childs and copy into one string like
                   // eg: String dsp = <despatch><name>body1</name> <value>value1<value>
    </despatch>
    <?xml version="1.0">
    <handler>
         <name>header1</name>
         <value>value1</value>
    </handler>
    <despatch>
         <name>body1</name>
         <value>value1<value>
    </despatch>
    <gov>
         <name>env</name>
         <value>value1</value>
    </gov>I managed to get number of elements depending on the Element name but i need to get the entire block.
    nodeList = document.getElementsByTagName("despatch").item(0).getChildNodes();
                        for(int i=0;i<nodeList.getLength();i++){
                             System.out.println("i :"+document.getElementsByTagName("m:Security").item(i));
                        }any kind of help is appreciated.
    Han.
    Edited by: HANRAM on Apr 24, 2008 2:48 AM

    Hi Kartik,
    This one is similar to my question to print and email invoice at same time.  I pass itcpo-tdgetotf = 'X' in order to get otfdata and send email with the attachment of otfdata.
    Now I have data in otfdata, but when I call print_otf function, I clear out itcpo-tdgetotf, and passed
    itcpo-tddest = device_type but I still get error message said 'Handler not valid for open spool request'.
    Can you give me a working example that you have otfdata table and print data from that table.  I also post my question on other thread
    submit report and export to memory
    thanks

Maybe you are looking for

  • CUCM Upgrade 8.0 to 8.6 Question

    Hi guys, i have a 8.0.2 CUCM and i want to go to 8.6 I was wondering if rebooting the server after the installion of "ciscocm.refresh_upgrade_v1.0.cop.sgn"  can compromise the update because i did install it a week ago and meanwhile the servers had a

  • How can I extract pics from my iPad synched to another PC

    So I have got an iPad which was synched to another computer and now I dont have that computer anymore. I have a macbook which has its own library which is synched with my iPhone. Everytime I connect the iPad to my macbook, I get an error message sayi

  • I cannot connect my iPod touch to iTunes

    There are several factors preventing me from connecting my sister's iPod Touch to iTunes on my computer (the same one I used to set up her iPod): 1.  The sleep/wake button is jammed, or just doesn't work. The button ITSELF feels fine.  It pushes down

  • FedEx Rate Available Services

    I'm having trouble getting the RateAvailableServies working with the FedEx web services. I can make my call to the service and get information but when I try to add more specific information I get the following error: Web service operation rateAvaila

  • FRM-40202 and mandatory items on a multi-tab canvas

    Hi all ! Short technical question for you guys : let's say that I have datablock whose fields are displayed on different tabs of a same tab canvas. Now, let's say that two fields of this datablock are defined as mandatory : one on the first tab, the