Posting date functions

Hai! all
Please give me the funtion module to find out end of the posting day for the current posting date given as input.
Thanks

Hi,
in SAP-standard there's no fm.
you can only control posting-period with TA S_ALR_87003642
Andreas

Similar Messages

  • Date Function - Holiday?

    Date Function - Holiday?
    ==============
    Hi Every body,
    We have date dimension, where we need to populate the USA Holiday such as "Thanks Giving" etc. We are looking to build an holiday table for it.
    Some one of this forum would have faced this situation.
    We are looking to build a Holiday Table (in USA) in Oracle 11g environment.
    Are there any Date function to return the holiday for input date to build this table?
    If you used an alternate method, let us know.
    Thanks in helping me out.

    Multiple posting
    Date Function - Holiday?

  • Imbed Date Function????

    Hi,
    I am having trouble with a date function in Oracle Administrator. How do I make max_date a condition (for a case statement)? I am trying to return a value (a ranking) for the most recent ranking date.
    Ie:
    Case
    When Date = Max --I know you can use a Max(date) function but 
    and (another condition) --how do you make that a condition within case
    Then (return value) -- statement?
    Else 0
    End
    Is this a case where I have to import an Oracle Function? Or can I get around this by using a pre-existing function?

    Multiple posting
    Date Function - Holiday?

  • Function For stock on Posting date

    Hello gurus,
    Is tehere any standard SAP function to calculate stock on Posting date the same as in MB5B?
    Regards
    Laura

    I do not need a report, I need a function.
    I know MB5B works correctly, but I need a function because I want to use it in a Z report that calculates diferent thinks (one of them the stock on Posting date.
    Regards

  • Bapi/function module to get opening or closing stock for a posting date

    I am creating a report where i need to get the opening stock value and closing stock value  for the given starting date and ending date respectively for the PP report.
    The T-code for that is MB5B.
    So,can any1 plzz tell me how i can get the stock value for a starting date/ending date...
    Is there any BAPI or function module to find this out..
    or any logic?
    Thanks.

    Hi Kiran,
    You would like to findout opening and closing stock of a particular period and of a particular period....
    If we would like to findout opening and closing stock of material A as of 18 / 8 / 2008,
    then do like this.
    go to MBEW table .. there u get opening stock as on today. Today the date is 20/8/2008. from today's opening stock if we add / subtract the movements which have happened on 19/8/2008 and 18/8/2008 u'll get opening and closing stock as on 18/8/2008.
    U get the movements from MKPF ( material doc header) and MSEG (material doc item ) based on posting date. In MSEG u get movement type.
    If the movement type is 101, it means the stock is added.
    If the movement type is 102, it means the added stock is reversed.
    from today's opening stock deduct the stock with moverment type 101 and add the stock with movement type 102.
    This will give u opening stock as on 18/8/2008.
    To get closing stock of 18/8/2008 ..... the opening stock of 19/8/2008 is 18/8/2008's closing stock.

  • Function module to validate posting date

    Hi all,
    i am using function module amfi_period_get_and_check to validate posting date.
    if posting date is not open this module raises error message but when i am using it
    in my code its not showing error message but when i am executing the module
    it is showing the message for the same date
    please reply soon
    thnx

    at selection-screen on pos_dt.
    CALL FUNCTION 'AMFI_PERIOD_GET_AND_CHECK'
      EXPORTING
        i_bukrs                = com_code-low
      I_GJAHR                =
        i_koart                = 's'
      I_KONTO                = ' '
       I_MONAT                = '00'
       I_BUDAT                = pos_dt.
    IMPORTING
      E_MONAT                =
      E_GJAHR                =
    EXCEPTIONS
      ERROR_PERIOD           = 1
      ERROR_PERIOD_ACC       = 2
      OTHERS                 = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • 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.

  • Function Module to get planned Quantity from posting date

    hi,
    i need one function module which takes plant and posting date date as an input parameter and get the Planned quantity for that range of that ...i dont want to fetch it from material since the report is run for the whole plant(werks).so it has got a lot of data entries so i need a function for that...
    is there any function module which will fetch this data ...
    Edited by: sonal musale on Jun 23, 2008 3:53 PM

    Hi,
    I have also the same problem. Any solution you have for this one?
    Thanks,
    Raymond

  • Function module to get posting date from posting year and posting period

    Hi all,
    I need a function module which will return posting date when posting period and fiscal year is passed to it..
    Thanks and regards,
    Puja.

    Hi puja
    try this FM
    this will solve ur problem
    G_POSTING_DATE_OF_PERIOD_GET
    G_POSTING_DATE_OF_YEAR_GET
    FCJ_CHECK_POSTING_DATE
    Cheers
    Snehi Chouhan

  • Function Module to check posting date

    Hi,
    Is there any function module avilable to check whether the posting date is open or not.
    Regards
    Suresh.

    check G_POSTING_DATE_OF_PERIOD_GET
    Reward points if useful, get back in case of query...
    Cheers!!!

  • Post data into Ajax function for Item type plugin

    Please advise how to post data into Ajax function for item type plugin
    Edited by: Casufi on Jan 16, 2013 7:44 AM

    Casufi wrote:
    Casufi wrote:
    Please advise how to post data into Ajax function for item type plugin
    Edited by: Casufi on Jan 16, 2013 7:44 AMI used the following code
    var get = new htmldb_Get(null, html_GetElement(''pFlowId'').value, ''NATIVE='||apex_plugin.get_ajax_identifier||''', $v(''pFlowStepId''));
    get.addParam(''x01'', node.data.key);
    gReturn = get.get();You should use this published true ajax API instaed. apex.server.process( pAjaxIdentifier, pData, pOptions )

  • Getting at POST data from a pl/sql procedure through Path Aliasing

    Hi.
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
    any way of doing this looking through the documentation. Is the body of the request lost at the gateway
    (mod_plsql) using path alias?
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?

    Billy  Verreynne  wrote:
    Øyle wrote:
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
    Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
    by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
    My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
    know any other way to get at the body of the request.
    >
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
    Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
    Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
    find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
    trying to find a way to implement a RESTfull service in pl/sql.

  • Posting date and posting periods

    HI Experts,
    I am practicing IDES for SD. While using T VL02N for post good Issue I got this error:
    <b>Posting only possible in periods 2006/12 and 2006/11 in company code 1000
    Message no. M7053
    Diagnosis
    The posting date entered is not within one of the permitted posting periods (current period/previous period).
    This can be due to one of two reasons:
    The correct current period has not been set in the system.
    For the system, the first of the entered periods is the current period. At the beginning of a new period, your systems administrator must change the current period in the material master record, using the function "Shift periods". This has not yet been done.
    You have entered a wrong date in the field "Posting date".
    Procedure
    Check the posting date and correct it if necessary. If your input is correct, inform your systems administrator that the "period shifting" (period-end closing) process has not yet been completed. Copied from M8022</b>
    I don;t think there is problem with my posting date. Can someone guide me on how solving this
    Thanks
    Yael

    Go to OMSY and check the periods are current peiods or not to ur comp code?
    If it is not the current period.
    close the posting period by going to MMPV.
    let us say comp code EG, YEAR-2006  PE-6
    so you have to close the posting periods for all months till this month.
    from comp code-EG
    To comp code- EG
    period-7
    fiscal year-2006
    repeat the same but with period-8(month) 9,10,11,12,
    and do the same for 2007 too till you get the current month in OMSY T-Code.
    you need to do close the period end of every month.
    thank you
    chaitanya

  • Posting date field in reports S_SMC_47000016 / S_SMC_47000017

    Hi all,
    We are using the serice desk function for monitoring the support tickets. I have one quert related to List of notification transactions S_SMC_47000016 / S_SMC_47000017.
    In the service desk whenever we run the report of all open notificaitons (S_SMC_47000017)  Or Find Support Notifications (S_SMC_47000016), in the list output we do not get any data in the field "Posting Date".  We do get the date in field "Valid From", but no information is getting populated in posting Date column.
    If we try to search the notifications using the T Code " CRMD_ORDER" and try to get the list of notifications in the find Tab, then here the posting date gets populated.
    Could you please let me know if  there is any setting which is preventing from Posting Date to be populated in the T Codes S_SMC_47000016 / S_SMC_47000017.
    Thanks and Regards,
    Narendra

    Hi,
    We have chnaged the layout already, my question is that in the layout the posting date column is appearing, but the posting date is not getting updated for any notification in the output. The column remains blank.
    Thanks and Regards,
    Narendra

  • Stock on posting date-MB5B

    Hi! I'm looking for a function that works as MB5B, I need to calculate the stock on posting date, I used the debugger, but I couldn't find a function.
    Thanks!

    Hi,
       Thare is not so such function module for MB5B.I think that you can copy it to your Custom program and change it .
    regards,
    collysun

Maybe you are looking for

  • New Mac Doesn't Recognize Old Mac For Firewire Migration

    I attempted to migrate my files from my G5 desktop to my new Intel desktop MacPro using Migration Assistant and a Firewire cable. It instructed me to connect the two Macs with a Firewire cable and restart the old Mac holding down the "T" key. I did j

  • Unzip the file archived by the File adapter

    Hi Experts, we have a scenario where we are archiving a xml file using the File adapter and also it is being zipped by the OS command. the script not only zips the file, it also rename the file from *.zip to *.xml. Hence after archiving when I am try

  • I/O settle to GL and Profit Center

    We need to settle Internal orders to General Ledger accounts as well as a profit center.  Currently we can settle to the G/L but the profit center isn't required.so many times users won't enter it..Thus creating G/L entries without the Profit Center.

  • Call function 'DD_SHLP_CALL_FROM_DYNP'

    Hi all, i use this function for F4 to field lfa1-lifnr in a report. i wanted to know if there is a way that i can put to 'Account group' code '4100'. i mean everytime that the user will click on f4 in this report, on this field, the 'Account group' w

  • I cant install x-fi drivers

    Hi. I?ve downloaded the new?drivers for Vista64bit-edition. If I start it, Windows installer trys to install the Audio devices. But everytime Vista says "Creative Device Driver Installation Program has stopped working. A Problem caused the program to