2LIS_04_P_ARBPL - figures are grouped according to latest posting date!!

We are trying to fill setup table for App 4 and afterwards when we extract the DS 2LIS_04_P_ARBPL we are getting figures clubbed together based on latest posting date
for ex: a given production order and type, if AFRU table shows below entries:
16.01.2012      1.5
17.01.2012      1.0
19.01.2012      0.2
then in setup table we have only one row (figures are grouped and shown against the latest posting date!!
19.01.2012    2.7
what is the solution?

Hi,
Most of the times data won't fill in the base tables, because the reason is, at the time of data entrry by users, there are certain conditions , so until and un less all that conditions fullfill, then only all feilds will fill in the base tables. I faced the same problem for 2lis_04_p_matnr datasource, I'm not getting Batch, so I enhaced teh datasource. So better add ZZ feild to datasource and enhace the ds based on AFUM table (Based on the process order)
Thanks
Reddy

Similar Messages

  • What G/L Accounts are Updated Accordingly when the Posting Date is Changed?

    We are on SAP 2007 PL15, and our new fiscal year started 1 July 2008. Beginning on 1 July, whenever we change the posting date on a marketing document to a date in June, the following message appears:
    Newly Entered Posting Date Relates to Another Posting Period. Do you want to update G/L accounts accordingly? [Yes]  [No]
    Does anyone know what G/L accounts would be "updated accordingly" based on Posting Date? We did not get any such message last year when we were on SAP 2005.
    Thank you,
    Mike

    Dear Mike,
    Make be the exchange rate difference acount or related.
    Wish it is useful for you .
    Regards
    Apple

  • Exchange rate coefficient on the basis of latest posting date in invoice.

    Hi,
    I have one query on posting date(picking of exchange rate coefficient from TCURR table) in invoice verification.  Please help.
    Conditions are--
    vender and company code are not in same currencies(ex-USD and INR). exchange currencies are maintained perfectly on every month 1st ie co-efficients in TCURR table ie OB08
    Query---
    1.At the time of parking invoice suppose i enter the date 20th august and i have posted that invoice as parking. It is converting the local currency as per 8th month exchange rate.
    2.And at the time of final posting the invoice supose i posted that date as 10th September. Business wanted that converting the local currency as per 9th month exchange rate But now local currency is converting on the basis of initial entry of posting date ie 8th month only.
    Please advise and guide what configeration that i have to set for picking the exchange rate coefficient on the basis of latest posting date in invoice verification.
    Thanks & Regards,
    MadhuBabu.

    Hi
    I dont think it is possible as once you enter posting date while in parking invoice screen, on that date exchange rate will be calculated and it wil not be different at time of posting invoice. Instead of parking, you have to directly post with current posting period.
    Thanks

  • Customers whose latest posting date is older than 2 years

    How to find out the Latest posting date for a customer in the report from the list of Posting date available.
    Sorting option may not be a right Option as i need to create a condition on the formula(Latest posting date(4) -Sy-datum(4) greater than 2 years)
    Please suggest me

    Please let me know for any inputs

  • Latest posting date from table MKPF

    hi all,
    I want to retrive the latest posting date from table MKPF. Here I am using the MARD,MSEG,MKPF tables to get the latest posting date.
    if not it_mard[] is initial.
    select amblnr amjahr amatnr awerks algort bbudat
      into table it_mseg_mkpf
       from mseg as a mkpf as b
       on amblnr = bmblnr
      and amjahr = bmjahr
      for all entries in it_mard
      where a~matnr = it_mard-matnr
      and    a~werks = it_mard-werks
      and   a~lgort   = it_mard-lgort.
    if sy-subrc eq 0.
    sort it_mseg_mkpg decending by matnr werks lgort budat.
    endif.
    loop at it_mard.
    clear it_mkpf_mseg.
    read table it_mseg_mkpf with key matnr = it_mard-matnr
                                                      werks  = it_mard=werks
                                                      lgort    = it_mard-lgort
                                                      binary search.
         if sy-subrc eq 0.
         it_final-budat = it_mseg_mkpf-budat.
         endif.
    endloop.
    from the above code  i need to rereive the latest posting date    , but when I am reading from internal table it is giving the sy-subrc is 4.  i know when we use binary search , the standard table should be ascedning order. but here I need to use descedning order.
    please hhelp i this.
    regards,
    Ajay

    Hi,
    1. Check Storage location (LGORT) value available in the internal
        table it_mseg_mkpf. Some case no value.
    2. Remove the binary search after u try again. Like below.
    loop at it_mard.
    clear it_mkpf_mseg.
    read table it_mseg_mkpf with key matnr = it_mard-matnr
                                                      werks = it_mard=werks
                                                       lgort  = it_mard-lgort.
    if sy-subrc eq 0.
    it_final-budat = it_mseg_mkpf-budat.
    endif.
    endloop.
    3. sort it_mseg_mkpg DESCENDING BY budat matnr werks lgort.
    4. For all material (it_mard) may be or may not be there in the MSEG table.
        So for some case SY-SUBRC = 4  will give.
    Thanks,
    Durai.V
    Edited by: Durai V on Sep 9, 2008 6:50 AM

  • What are  Pre Database Copy and Post data base copy activity list, Pre Migration and Post Migration activity list from SAP BW 7.0 to SAP BW 7.4 SPS6.

    BW on HANA :  Pre Database Copy and Post data base copy activity list, Pre Migration and Post Migration activity list from SAP BW 7.0 to SAP BW 7.4 SPS6.
    We are trying to copy database from SAP BW7.0 to SAP BW on HANA 7.4 SPS6 so we are in search for list of steps or activities during database copy both pre and post steps.
    Along with the above we are in search of Pre and post migration steps ones database is transferred successfully from oracle to HANA on 7.4 SPS6.
    Kindly help us in getting the exact course of action as requested.
    Thanks and Regards,
    Lavina Joshi

    Hi Lavina,
    try this link for starters: Upgrade and Migration - BW on HANA | SAP HANA
    Points to remember are:
    Preparation:
         -- Hardware Sizing
         -- Preparation of Data Centres
         -- HANA Hardware preparation
         -- System Landscape Readiness (upgrade software downloads, system readiness checks, etc)
         -- House Keeping activities on BW system (data clean up, etc)
    Post Installation:
         -- Sanity checks / Preparation and License checks
         -- JAVA Configurations
         -- Infoprovider conversions 
    Overall Stages are described below:
    # Environmental setup (HANA box)
         -- Initial system checks and Building Activities (system copy, Appln server setups, etc)
    # System readiness
                   - ZBW_HANA_COCKPIT Tool
                   - ZBW_HANA_CHECKLIST Tool
                   - ZBW_ABAP_ANALYZER Tool
                   - ZBW_TRANSFORM_FINDER Tool
                   - SIZING Report
                   - System Clean up Activities
                   - Impact of 7.4 on source system checks
                   - Java Upgrade for portal
    # DMO Stages
                   - Preparation & Pre Migration checks
                   - Execution / Migration
                   - Post Migration Activities
    # Testing Phase
                   - Source system checks/Activities
                   - System and Integration Testing
                   - End to End Testing
                   - Performance testing
                   - Reports
                   - BO reports / Interfaces
    Do let me know if you require any further information.
    Regards,
    Naren

  • Abap Query on most Latest Posting Date in G/L Account

    Dear All
    This is the new request that has come from the client. What they want to see is the G/L account and the most recent Posting Date. For eg Lets say that 220000 has 3 line items
    1000 in march 06
    2000 in april 06
    3000 in may 06
    End user wants to see Balance as 6000 and the most recent Posting date as may 06. If i Pull Accounting Doc # and Posting Date it will give me all the details and date which i dont really want. How do i do it ?
    Please help me
    Thanks
    Sameer

    Hi,
    what we can do is that get all the line items for a G/L account in an internal table. Sort it descending by date. Pick the first row's date and then simply sum up the quantities.
    Hope this helps.
    Regards,
    Himanshu.

  • Newly Entered Posting Date - System Message in 2007

    Hi,
    I also have the same questions as I found in the below thread
    What G/L Accounts are Updated Accordingly when the Posting Date is Changed?
    What are the G/L accounts updated when you say u2018yesu2019? Is this update is for the new fiscal year G/L accounts?
    My Client recently upgraded from 2005A to 2007A and the new posting period starts from 01/08/09 to 31/0710
    When the posting date is changed to July 09 (Which is the previous posting period) in A/P or A/R Invoices, the following message appears
    Newly Entered Posting Date Relates to Another Posting Period. Do you want to update G/L accounts accordingly? Yes No
    Also the message keeps coming every time when posting for previous posting period. How to stop this system message?
    Thanks in advance
    Mohan

    Dear Mohan,
    The system message 'Newly entered posting date relates to another
    posting period, do you want to update G/L accounts accordingly' does not
    prevent the document from being added, it is just an alert message.
    The business background of this alert is that it may be possible that
    user has the changes done already to the G/L Account Determination in a
    new year. Therefore an alert is initiated to avoid any wrong postings to
    another period. I.e. this does not mean the system will somehow alter
    the G/L accounts after the alert was displayed and the message is for
    user information only.
    We had investigated the issue and found the following observations
    -Posting period for 01/08/2008 created
    -Create any transaction in previous posting period. (31/07/2008)
    -The system gives this message
    -If there is no posting period created for 2008, there will not be any
    message
    So whenever you enter any transaction in previous posting period other
    than the latest the system gives this message.Because system will update
    the accounts for that period.
    From the functional perspective, this transation can be added, and once
    it has been added to the previous fiscal year you need to perform the
    year-end closing again. It is a standard system behaviour.
    If you press yes the system will update the accounts involved for that
    period and the new account balance will be update accordingly.
    You can test it in a test environment.
    Please refer to note 800291 for more information.
    Kind regards,
    Apple

  • Foreign Exchange - Posting date - updation - Not Working Properly

    Hi Friends,
    At the time of posting the Purchase invoice in Transaction Code MIRO, the system is picking the Exchange rates form the table based on our posting date in the Invoice screen.
    System is not updating the exchange rate, if we change the Posting date just before posting.
    Example:
    Transaction code MIRO
    Posting date 21.01.2010; Exchange rate picked by system - 46.67 (USD and INR) Maintained in Table - 21.01.2010 - Rs.46.67
    before posting we are changing the posting date from 21.01.2010 to 22.01.2010
    Posting date 22.01.2010; Exchange rate picked by system - 46.67 (USD and INR) maintained in Tabl - 22.01.2010 - Rs.46.99
    To bring the correct exchange rate into effect, We are coming out of the Transaction code and Re-entering the correct posting date.
    Is there is any solution to make the system pick the exchage rate whenever we change the posting date?
    Thanks in advance friends and collegues

    Thanks for Quick reply
    I have a separte Exchange rate in PO (purchase Order) and I have not activated the fixed Exchage rate in the Purchase Order
    If I have activated the Fixed Exchange rate in Purchase order - then the system will not accept other Exchange rates in Transaction Code MIRO (booking LIV)
    I have not activated the Fixed Exchange rate in Purchase order (Please have a look at the Purchase Order - A check box for maintaining the Fixed Exchange rate through out the P2P Cycle.
    If the fixed exchange rate is notactivated in PO, the system will pick the Posting Date in the Transaction Code MIRO (LIV) for calculating the Exchange rate.
    Now my query is why the system is not changing the Exchange rate automatically when I change the Posting date in Transaction Code MIRO. Please also let me know what should be done from our side so that whenever I change the posting date in Transaction Code MIRO, the system should pick the Exchange Rate according to the Posting Date in Transaction Code MIRO.
    Thanks for showing Interest
    Thak you and Kindest Rgeards
    Srikaanth

  • How to Post Data to a User's Account

    Has anyone figured out a good way to post data to a user's account? For example, if a site visitor completes something on the site (ie: a quiz) is there a way to show a badge/score on a page inside of their account (ie: you've completed the following tasks/unlocked the following achievements)? It would be nice for the user to see a history of completions/badges.
    Thanks,
    Brian

    Hi,
    No this is not possible.
    If your workitem is sent to 5 users, you should start there. Where is it sent and where are the agents determined.
    What you can do, in case of 4-eyes approval is that you use one agent as the excluded agent in the agents declaration of a workflow step.
    Kind regards, Rob Dielemans

  • Function Module to get the GST tax rate on basis of posting date

    Hi Guys,
    Can somebody suggest any function module to get GST tax rate (Canada) according to the posting date. I have already tried GET_TAX_PERCENTAGE. It is not giving me any results.
    Is there any other functions modules.?
    What is the the name of table for finding the tax?

    hi,
    CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
          EXPORTING
            I_GJAHR        = GV_GJHAR
            I_PERIV        = GC_24
            I_POPER        = GV_POPER
          IMPORTING
            E_DATE         = S_FKDAT-LOW
          EXCEPTIONS
            INPUT_FALSE    = 1
            T009_NOTFOUND  = 2
            T009B_NOTFOUND = 3
            OTHERS         = 4.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
          EXPORTING
            I_GJAHR        = GV_GJHAR
            I_PERIV        = GC_24
            I_POPER        = GV_POPER
          IMPORTING
            E_DATE         = S_FKDAT-HIGH
          EXCEPTIONS
            INPUT_FALSE    = 1
            T009_NOTFOUND  = 2
            T009B_NOTFOUND = 3
            OTHERS         = 4.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ags.

  • SES posting Date

    Dear All,
    In our company users are creating a SES with posting date and document date prior to creation date of Purchase order.
    In realisitc it should not happen.
    How can i restrict users for entering Doc date and posting date in SES only after creation date of PO.
    I don't want to a validation by using a BADI. I need a standard validaion.
    Regrads
    Subhash

    Dear All,
    In our company users are creating a SES with posting date and document date prior to creation date of Purchase order.
    In realisitc it should not happen.
    How can i restrict users for entering Doc date and posting date in SES only after creation date of PO.
    I need a standard validation.
    Regrads
    Subhash

  • Last posting date in Bex

    Hi all,
    Below is my requirement,
    there is a posting date in the cube, and while running in Bex we have to apply a logic to set the version (like actual,plan),
    1. If key date (user variable ) <= latest posting date available for actual then set version = actual
    2. If key date (user variable ) >  latest posting date available for actual then set version = actual and plan
    Here the challenge is how to find out the latest posting date, I think this can be done via create a new info object based on virtual characteristic and derive logic to find the latest date,  but not sure how it affects while drill down to any characteristics. Any suggessions please?
    thanks
    Jose

    Hi Jijo,
    Check my hints:--
    1) Create a new text Infoobject called "Version" of length 1. Maintain two records in it like below:--
        Key   Short Description
        A       Maintain "Actual"
        P       Maintain "Actual & Plan"
    2) Make this infoobject as Nav Attr to "Posting date"
    3) Create a Virtual KF and write a BADI code with the required logic. Your code should read the User entry variable and compare with latest Posting date. You have to SORT Posting Date in Descending.
    Sample Code:--
    SORT IT_VBRK  BY ERDAT DECENDING
    read table it_vbark into wa_vbark index 1.   (" here we got recent date on first row )
    latest_date = wa_vbark-erdat.
    After that you can compare as per your mentioned logic and set version by considering text infoobject keys.
    Regards,
    Suman

  • Streamwork Posting Data to "River" Platform!

    Dear Experts,
    We are utilizing Streamwork API to post data into "River" application (SAP's Platoform) and we are having issue with the "Posting" the data. Please see the code where the issue lies.
    On the other hand, we are able to retreive data from "River" based application utilizing "Get"
    We are trying to POST data from Streamwork to River application and we are using below code for Posting. But when the JavaScript below executes its throwing "Connection Failed" error when we make request to SAP River application. we want to know exact format for POST in streamwork. Also want to know how to assign data from streamwork  to params[streamwork.io.RequestParameters.POST_DATA]
    Code snippet for your reference.
    var myurl = URL of the River application.
    params[streamwork.io.RequestParameters.CONTENT_TYPE] = streamwork.io.ContentType.JSON;
            params[streamwork.io.RequestParameters.METHOD] = streamwork.io.MethodType.POST;
            params[streamwork.io.RequestParameters.HEADERS] = {
                "X-AccessKey": $ACCESS_KEY,
                "X-Accept": "application/json"
           var body = data to be posted.
           params[streamwork.io.RequestParameters.POST_DATA] = body;
            streamwork.io.makeRequest(myurl, onReceivePins, params);
    Thanks to all of you for your valuable inputs.
    Thanks
    Raj

    Hi Raj
    I had the same problem when trying to post from StreamWork to River. Eventually I learned that the parameter
    params[http://streamwork.io.RequestParameters.CONTENT_TYPE] =
      streamwork.io.ContentType.JSON;
    is not the content-type of the request, it's the expected content-type of the response (so StreamWork will be able to parse JSON into a JS object...)
    Adding a content type header
    params[http://streamwork.io.RequestParameters.HEADERS] = {
    "Content-Type": "application/json",
    "X-AccessKey": $ACCESS_KEY,
    "X-Accept": "application/json"
    did the trick for me.
    Mind that you have to deploy your StreamWork method to River in order to avoid cross-site scripting issues
    hth
    --Juergen

  • Can We find out gl posted date of an invoice

    Hi All,
    we need to find out the gl post date. we have a field 'gl date' which will refer to the accounting date but we are looking for  accounting entries posted date in gl from an invoice. to be very particular we want the table and field name of gl posted date of an invoice.Appreciate any inputs
    Thank you

    Hi Yugesh,
    If you query the ap_invoice_distributions_all table, you will see an accounting_date field. That is the accounting date that was used when the accounting was transferred to GL.
    The same accounting_date should match the xla_ae_headers table.
    The xla_ae_lines_all table has a gl_sl_link_id column which links to the gl_je_lines table.
    Cheryl

Maybe you are looking for