FMS required for Posting Date + 4 week excluding weekends

Hi,
I have a UDFas U_FRDWDT in which I want that if the Sales Order posting date is 15/12/2010 then this udf should automatically update + 4 weeks EXCLUDING Fridays and Saturdays which is there in the 4 weeks hence the result should be e.g 27/01/2010 which is excluding Fridays and Saturdays.The requirement is as such that Friday and Saturday are holidays for the company and the client wants to have this field updated on + 4 weeks basis but it should not consider Friday and Saturday as its holiday.
Also note in SAP base setup Holiday Master Weekend is set from Friday to Saturday. Will this help in any way of updating the field or through formated search.
Kindly advise what best solution can be given
Regards,
Soni

Hi Gordon,
I used this formatted search and seeing some discripencies as if lets asume the Sales Order Posting Date is 15/12/2010 then 4 weeks should come in the udf means excluding friday and saturday and the date which is coming as per fms is 12/01/2011 but i guess the fms should show 25/01/2010 which is 4 weeks ( no of days 30 ) excluding friday and saturday. I think your fms is just brining 22 working days and then its showing 12/01/2010.
I want the fms to consider friday and saturday as holiday and then give me 4 weeks.
I hope i am clear to my requirement and able to make you understand.
Regards,
Soni

Similar Messages

  • How to get current date for posting date

    hi,
    how to get current date for posting date ? any sample code ?
    Thanks

    Hi......
    Use
    Select getdate()
    for current date.......
    Regards,
    Rahul

  • Requirements for master data template

    HI,
    Please let me know the basic requirements for master data template. What all the infotype to be involved in collecting master data template.
    Thanks and regards,
    Aylwin

    Hi Alwyn,
    If you dealing with india payroll definately Yes subject to you business process again.
    Even though it is indian payroll some item may not applicable
    For exmple other income resourece will be  if you go to manufaturing industries you may face problem even though they got some they don't want reveal it to the employee.
    in such that infotype is not required as per your business process.
    Some states like UP there is no profession tax. Genrally we say profession tax need to be configure you need that master data.
    If such case that might be wrong for that you need to give all the info
    use PA30 t code go in side check what are the mandatory fields and take them as master data fields and put it in template.
    If your client is able to give other field you can very well add them no harm in it.
    But make sure you filled mandatory fields
    That is the reason i was asking you to tell which coutry payroll you using
    Best Regards

  • MATERIAL DOCUMENTS FOR POSTING DATE TCODE ?

    HI ALL,
    CAN SOMEBODY GIVE ME THE MATERIAL
    DOCUMENTS FOR POSTING DATE TRANSACTION CODE.
    THANKS,
    KSR

    Hi all,
    For dispaly of Material Document we have Transaction Code : MB03,
    this with the Document No & Year,
    like wise for dispaly of Material Document for a date range i want to know the Tranasction Code.
    Thanks

  • No Oracle SSO support for POSTing data to protected resource [yet]

    Hi,
    I am using OHS infront of JBOSS and redirecting all requests from OHS to JBOSS after SSO Authentication.
    Everything works fine except that I get 500 error when I try to post data from HTML form.
    When i click on a button on a JSP page that submits page with the Form Post, the request goes to the OHS and is not getting forwarded.
    OHS log shows the following
    127.0.0.1 - - [11/Sep/2007:08:57:23 -0400] "POST /Sample/protected/standard.do HTTP/1.1" 500 788
    Proxy_error.log shows the followin error
    [Tue Sep 11 08:57:23 2007] [error] [client 127.0.0.1] [ecid: 1189515443:10.6.2.137:268:5568:74,0] \n[OSSO] E09: No Oracle SSO support for POSTing data to protected resource [yet].\n
    Any idea?
    Thanks
    Srikar.

    This error does no occur in our dev or test environments, only production. A workaround for us was to disable SSO by commenting the line to load it in the file $ORACLE_HOME/Apache/Apache/conf/httpd.conf. The line to comment out looks like: include "/u01/app/oracle/product/mid/Apache/Apache/conf/mod_osso.conf" where the /u01/app... above is the expansion of $ORACLE_HOME/Apache/Apache/conf/mod_osso.conf.
    We do not use SSO for our application, so this is not a problem. I next plan to try to figure out why this behaves like this, so I can keep all the server configurations consistent.
    HTH,
    Mark

  • Master Data Required for 2LIS_02_HDR Data Source Installation

    Hi All,
                  We are trying to install  2LIS_02_HDR DataSource through BC for our purchasing implementation . Can you suggest what all the Master Data required for this Data Source.
    Regards,
    Aditya

    Hi ,
    Please see this link.
    http://help.sap.com/saphelp_nw70/helpdata/en/ed/62073c44564d59e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/ed/62073c44564d59e10000000a114084/frameset.htm
    In the same page you can find all details.
    Hope this helps.
    Thanks
    CK

  • FMS for Udf based on Posting Date + 4 weeks and +4 weeks excluding weekends

    Hello,
    Requirement 1
    Have made a udf in the Sales Order Header as Manfacture Drawing Rel Date U_FDRDT in which I want that if a Sales Order posting date is 15/12/2010 then this udf should automatically update with the + 4 weeks date i.e 14/01/2011
    Requirement 2
    Another UDF is also made as U_FRDWDT in which I want that if the Sales Order posting date is 15/12/2010 then this udf should automatically update + 4 weeks EXCLUDING Fridays and Saturdays which is there in the 4 weeks hence the result should be e.g 27/01/2010 which is excluding Fridays and Saturdays.The requirement is as such that Friday and Saturday are holidays for the company and the client wants to have this field updated on + 4 weeks basis but it should not consider Friday and Saturday as its holiday.
    Also note in SAP base setup Holiday Master Weekend is set from Friday to Saturday. Will this help in any way of updating the field or through formated search.
    Kindly advise what best solution can be given
    Regards,
    Soni

    Hi,
    One question per thread. This is forum rule.
    Here is FMS for the 1st one:
    SELECT DateAdd(WW,4,$[ORDR.DocDate\])
    Please post another for the 2nd.
    Thanks,
    Gordon

  • Idoc for Posting data to FB01 transaction

    Hi,
    In my Interface, i need to post data to a SAP FI system->FB01 transaction from XI. The scenario is nonSAP system->XI->SAP FI.So what are the possibilites to post data to SAP FI->FB01 transaction. Is there any Idocs for that or any other method.
    Please share your ideas..Ponts will be rewarded for good inputs...
    Thanks

    Hi,
    You need to get the file with the required format from the sender system and there shouldn't be any mapping in PI. Also please check the below link on how to get the file structure.
    Re: File for 'RFBIBL00'
    There is also a help for the RFBIBL00 program. Check this too.
    http://help.sap.com/saphelp_45b/helpdata/en/35/a47e63763e0392e10000009b38f9b7/content.htm
    The file should be placed in the ECC application folder and this program needs to be scheduled with that file path. If you are not able to get the file in the required format then you may need to go with the IDOC or BAPI solution.
    ~Vaas

  • QA11 for posting date

    Hi all ,
    System allowing to post document having "Posting Date" greater than "System Date" in QA11.
    Any BADI is avialable to restrict the same.
    Please help

    As I know there is no customer exit or BADI to control the posting date field(RQEVA-BUDAT) at UD transaction.
    Using a field exit is only way for your requirement.
    But SAP does not support the field exit functionality anymore through CMOD from version 4.6C.
    Therefore you have to use report RSMODPRF or develop a function like as 'FIELD_EXIT_***'.
    Regards
    Luke

  • Details on data types for posting data to DB2 on AS400 from XI

    Hi
       We have a scenario in which we post data from XI (3.0, SP23 ) to DB2 on AS400 and we are using jdbc adapters ( jdbc drivers from IBM deployed on XI J2EE server as per SAP's instructions )
    On AS400-DB2, there are two files F1 and F2  that we have to update in a particular library L1 - on a server S1.  Each of the two files has a single field with the same name as that of the file.
    I have the following questions :
    1. How do we construct/specify the data type in order to convert XML from XI to the sql that DB2 needs - I do understand there is a standard data type structure used to convert XML to sql calls when we use JDBC receiver adapter type communication channel. Do we use the same for posting XML data from XI to DB2 too ? 
    2. What is the url for the jdbc driver - to connect to DB2 on AS400 ?
    Please share experiences of XI -- > posting to DB2 using JDBC.

    Used standard xml -->SQL constructs

  • Payment block is require for posting key 29

    Dear Guru,
    Payment block field is not apearing for posting ky 29 and 39.
    Can any one tell me how it will come for posting key 29 and 39.
    I have checked in OB41.
    Regards,
    Venkat

    Hi,
    Normally payment block is not set by posting key.
    You can set this field to be showed in account group of vendor or customer.  If you only want payment block to be required fiield for payment key 29, you have to use the suggest above to use a substitution in FI.
    Edited by: Tracy@DE on May 25, 2011 12:15 PM

  • Validation for posting date.

    hi,
    i am creating a validation for fb01 where the posting date should not be less than the posting date for last document posted for same doc type.
    we have assigned different number ranges for different a set of document types.
    From which table can i get the data regarding number ranges used for particular doc type or group of doc types.
    for example i need the nyumber range assigned to doc type 'SA' and the last doc no. assigned to a document.
    Regards,
    Tarun Bahal

    i have checked FBN1.... i beleive its for creating number ranges.....
    how do we find out which range is assigned to which doc type.
    Regards,
    Tarun

  • Any selection input for posting date in Confirmation Report CN48n

    Hi All,
    Is there any way to select some date based on posting date in CN48n report, because if i have run by Plant / co.code it takes so long.
    Plz advice.
    Cheers,
    Nies

    Hi,
    The only option I found out is "Data on Dates Definition -- Finish Date" in dynamic selections.
    This including the Plant & Company Code selection will not exactly meet your requirement but of course can definitely reduce the search load on the system.
    regards

  • MB5B - Closing Value for Posting Date inconsistently reported.

    Greetings,
    I am executing transaction MB5B in ECC 6.0 for a single Posting Date in November of 2008.  The parameters include 3000 ROH materials (selected by MIN/MAX material number ranges)  in 30 plants within 3 different companies (selecting all by leaving these values blank).  The problem I am having is that I am getting a different total USD valuation each time I run the report.  If I run the report 3 times in 15 minutes I will get 3 different USD totals.  Difference is usually small (.006%).
    At times I will get exact matches.  Yesterday, 3 out of 5 runs were exactly the same result.
    Can anyone advise what might be causing this variability?  And how it might be corrected.  Either by using different selection parameters of another more reliable transaction code.
    Regards,
    Joe

    Hi,
    If you post in the previous period and the material price in the previous period differs from the current price, the system generates a stock posting and revaluation line with the same value but opposite signs.
    You can ran an inconsistency check report using SE16: MBEW
    Go through SAP Note 518368
    Bye,
    Muralidhara

  • UDF FOR POSTING DATE

    Hi all,
    i have a document of fileld(LFA1=LIFNR),IT SHOULD BE POSTED ACCORDING TO POSTING DATE (BKPF-BUDAT).i.e 22022008.
    how  to caheive this functionality.should we write UDF?
    regards,
    rao

    Hi rao,
    According to me you don't need any UDF.
    the field lifnr has 7 line items ,these 7 line items should go in onedocument
    For this you have to use concat function.
    posting date for this document is as per (BKPF-BUDAT).
    For this you have to use IfWithOutElse function. By using Equals (Text category) and constant function.
    Take care of CONTEXT. Put Context of all input parameters at upper node(same level).
    and before map to Target field use SplitByValue function.
    Regards,
    Rohit
    Reward points if useful.

Maybe you are looking for