Is there any standard variable to calculate previous and current month

hi,
Is there any standar variable to calculate previous month and current month which will calcualte from system date (sy-date). I found standard SAP Delivered variable - 0CMONTH to calculate current month. But i want both current month and previous month.  IF it is not avialble can you please provide me the ABAP code..
thanks in advance.

Hi,
Check this thread.
ABAP routine for loading previous months data in infopackage
Regards.

Similar Messages

  • Is there any standard extractor to extract Assessment and Action Plan deta

    Hi
    Is there any standard extractor to extarct HR assessment details from the table PA9220 and Action Plan details from the table
    PA9221.
    Please advise.
    Thanks in Advance.

    Select-options:
    u2022     Plant
    u2022     Creation date
    Select document number from EDIDC (transparent table) into an internal table by:
    u2022     Direction (in/outbound)
    u2022     Receiver port
    u2022     Partner type of receiver
    u2022     Message type
    u2022     Creation date
    u2022     IDOC type
    u2022     Partner function of receiver
    Then loop on the internal table
    - For every step use FM: IDOC_READ_COMPLETELY
    - This will return 2 tables per IDoc, which you can use any which way you like
    - Append your ALV table with the info you need.
    Display ALV

  • Is there any standard Adhoc query to get the Previous employers list

    Hi Experts,
    Is there any standard Sap Adhoc query available to get the details of Previous empoyers list.
    Please advice me to get the list of employees with their previous employers..
    Thank you very much.
    Regards,
    Vishnu.

    Hi Vishnu,
    U could go as per wat Suhasini has said. But if u want the end user to view this report time and again, then u need to create a query.
    The steps are as follows:
    1) T-code: SQVI
    2) Qucik View: give some name here and then click on "Create"
    3) You will get a "Create Quick View" screen.
    4) Goto "Datasource" and select "Logical Database" from the drop down
    5) Then goto "Tableview" and enter "PNCPE" and click on enter.
    6) A screen pops up and click on the Infotypes u would want to extract the data from and press enter.
    7) Now, u would get the following screen "Qucik Viewer: Initial screen". Here u can see coulple of tabs.
    8) Goto the tab "List selcted field" and select watever fileds u want in the output screen and then press "Execute".
    Hope this would solve ur issue.
    Thanks

  • Is there any standard SAP table which stores the license number assigned to a delivery item

    Hi Experts,
    This is in relation to license number assigned to a delivery item under ‘Export License Log’. Our scenario is for delivery of type NLCC created for an inter-company stock transport order. (i.e.not a sales order case where the license may get copied from sales order to delivery through copy control)
    As we understand, for legal control – relevant scenarios, export license for each item shall be determined afresh every time the delivery is accessed. (Depending on legal regulation, grouping, destination country, export control class, delivery partners vis-à-vis license master customer assignments etc.)
    To print the license text on one of the delivery output types, we want to access the license number for each item. (determined under export license log)
    Our question is:  is there any standard SAP table which stores the license number assigned to a delivery item?
    We have checked some of the license tables (T606*, VAEX, EMXX etc.) but couldn’t get any specific table storing delivery-item-specific license data.
    Helpful answers Text Removed
    Regards,
    Jagan
    Message was edited by: G Lakshmipathi
    Dont add such text in your post

    Hi Lakshmipathi,
    The export control log can be accessed by going to delivery Extras-> Export license log
    We need a table that stores the determined license for each item in a delivery document ( as shown in the below screenshot)
    Regards,
    Jagan

  • Is there any standard report for capacity of machines used /ideal

    Hi,,
    i am interested in knowing any standard report which tells us how long is my machine ( work center) ideal and how many hours i have used during a period of  say one month.
       how can we use capacity planning and work scheduling in repetitive manufacturing . pls tell me a the procedure to be followed.
    thanks in advance
    regards
    madan mohan

    Hi,
      thanks for your reply . but i am not able to get a report on  total capacity available in  the  last month and capacity i have utilized  for that month . so that i can derive my  work center ideal time during that past month.this gives  the time i have kept  the machine ideal . Is there any standard report meeting this requirement.
    pls give me  some solution
    regards
    madan

  • Is there any  standard report  for GR / IR to see as on particular date

    Hi ,
    Is there any standard report for GR/ IR  to see as on paricular date.
    please help me. points will be given.
    regards,
    Hari priya

    Hi,
    Please go to MR11.
    It may help you.
    Regards,
    Jigar

  • Is ther any standard report for GR/IR Maintenance Main Tool

    is ther any standard report for GR/IR Maintenance Main Tool ?

    Hi Salsa,
    Use Tcode MB5S --> List of GR/IR Balance.
    Assign pts, if found useful
    Regargds
    Sandeep Acharya

  • Is there any way to "resore" a previous backup, like from a different day?.....like a restore on my pc?????

    Is there any way to "resore" a previous backup, like from a different day?.....like a restore on my pc?????

    Here's one:  SMS Export Plus - Backup SMS and iMessages to your PC in excel file format on the App Store on iTunes
    Just Google iPhone SMS backup and you'll get all kinds of options.

  • Is there any standard report which give all information about purchase orde

    hi
    is there any standard report which give all information about purchase order.
    i need following information from Purchase Order.
    Vendor No, vendorname, PO No, basic , Excise , insurance , Frieght.
    thanks .

    Hi,
    Try following
    MC$G  PURCHIS: Material Purchase Val Selection
    MC$I  PURCHIS: Material Purch Qty Selection
    Kedar K

  • Is there any standard report which give all info about purchase order.

    hi
    is there any standard report which give all information  about purchase order.
    i need following information from Purchase Order.
    Vendor No,  vendorname, PO No, basic     Excise      insurance     Frieght.
    Thanks.

    Hi,
    Following are reports for PO list.
    ME2C           Purchase Orders by Material Group  
    ME2J           Purchase Orders for Project        
    ME2K           Purch. Orders by Account Assignment
    ME2L           Purchase Orders by Vendor          
    ME2M           Purchase Orders by Material        
    ME2N           Purchase Orders by PO Number
    Message was edited by:
            Vigneswaran S

  • 8while generating reports is there any standard way of fectching

    8.while generating reports is there any standard way of fectching data.i.e u have take matnr from mara not from makt.etc any tips please.

    hi ,
    this can be done by the grouping option.
    only necassary objects : this will collect only the required objects .
    in data flow before : this will activate all the objects that the object is dependant.
    in data flow afterwards : this will actiivate  all the depandant objects on the in the data flow .
    in dat fow bfr n aftr wards : will activate all the objects in the data flow ..
    normally in implemantation we use bfr n aftrwards to collect all the objects in th dataflow.
    regards ..... Kumar Sarvepalli  //////

  • Hi Is there any standard program?

    Hi All,
    This is my question to the forum? Is there any standard program to create a report for AP manager to manage workpools? Please help me..
    Vicky

    Hi,
    The requirement is to create a report with a transaction for AP manager to view all the expense reports assigned or to be assigned. Once he see the list he must be able to assign the expense reports to different processors in the workpool.
    Thanks
    Vickie

  • Is there any standard BAPI available to vendor , customer and G/L ?

    Hi all,
    any standard BAPI available to vendor , customer and G/L? I found BAPI_CUSTOMER_CREATE and BAPI_VENDOR_CREATE but when i traying to execute , then control directly taking to XD01 and XK01 initial screen's .i need to create vendor and customer master data using BAPI(data will come from legacy system).
    Other than these , is there any standard  BAPI available .Pl tell me
    Regard's,
    Pratap.

    Hello Pratap
    For customer the following BAPI is available:
    BAPI_CUSTOMER_CREATEFROMDATA1
    "This fm uses a reference customer as template for the new customer.
    " Using this BAPI you cannot create a new customer from scratch
    Regards
      Uwe

  • Is there any standard SAP report to see all active,inactive, retiree employ

    SAP experts
    Is there any standard SAP report where I can look all the employees whose employment specific status is 0 (terminated), 1(employee with the company but inactive), 2(retiree), 3(active).
    please help
    regards
    renu

    Hi Experts,
    I had a similar requirement and I used S_PH9_46000223 Report for my need as suggested.
    I observed one thing.
    "If I give Selection Date as "Today" then the entry date column is 00.00.0000"
    Can anyone clarify my doubt? it is happening in same way for other similar standard reports as well.
    Doubts
    1) Why this is happening
    2) Is it happening as it should? Whats the reason
    3) is there any functional/technical way to correct or modify
    Regards

  • Is there any standard Atrition Report Available

    Hi Experts,
    Is there any standard Atrition Report Available.
    Regards,
    IFF

    Hi,
    Std report has EE entry and left and Staff changes. If these helps for ur req use it else create a new report for attrition. Mostly std report will not covers the orgn attrition report..
    http://help.sap.com/saphelp_47x200/helpdata/en/48/35d4ad4abf11d18a0f0000e816ae6e/frameset.htm

Maybe you are looking for

  • Saving to a folder

    want to save iweb comtent to a folder, then move to ftp site later. need to do now as mobilme is over. not letting me save to folder. creates folder but doesn't put any content in there

  • Profit centre at storage location level

    Hi Experts, Can we define a profit centre @ storage location level? My scenario : The document splitting of FI is activated for the document type of FI and also the profit centre is mandatory entry for any accounting document that will be created so

  • AT SELECTION-SCREEN OUTPUT.

    Hi All, I have a selection screen which i need to influence before it is shown in the screen after the transaction is executed. I want the user to influence one of the fields in selection screen by an user exit.So if in the user exit the parameter is

  • What is needed to make the right connection from MacBook Pro to Samsung HDTV 1080p??

    Using macbook pro  w/Mtn Lion O/S to connect to Samsung LED ultra thin flat screen TV with DVI/HDMI cable to DMI input on TV.  This connection works only for screen saver photos and not much else- no audio and no video and no mac screen output. 

  • HT1727 i lost all that i paid cash for..... computer crashed now on a differant computer

    i had a laptop that crashed.i am now on a differant laptop but using same itune account and it will not bring up any music or apps the i paid for