Validation of service entry date with respect to po date

i want to validate the service entrysheet date with respect to Purchase order date.
service entry sheet should not be before po date(doc date).
SRVESSR- name of user exit for service entry sheet.
but it is not triggering ,
suggest me how to do .
if sy-tcode = 'ML81N'.
  if i_ekpo-werks = '5000' or i_ekpo-werks = '4000' or i_ekpo-werks = '6000'.
    if C_ESSR-BUDAT  < I_EKKO-BEDAT.
      message 'Service Entry sheet Psting data should not be before PO Date' type 'E'.
    endif.
  endif.

Hi shaiz.
Try to under the concept of schduling During MRP run,
Scheduling will be done  for FG with respect to  scheduling data maintained for FG material. It will not consider the planned delevery time of its child  materail.
Requirement date is created for FG only, on this date FG should be deliverd to stock.
u have to plan  raw material to meet requirement date.
System will not  reschedule FG order automatically if raw delivery time is delayed it will give exception message only to reschedule. You have to reschedule FG order with respect to delivery date of ROH  manually by doing material avilablity check.
I hope this should have  given some idea
Regards
Pradeep

Similar Messages

  • Service Entry Sheets with respect to PO

    Hi,
    Please let me know how we can create service entry sheets with respect to Purchase Orders in MM.
    Can we default the details of PO if we give PO reference in ML81N in MM.
    Thanks,
    Vijay

    I think this possible with Lm01.
    - When you issue the components through SC vendor, you create delivery via ME2O.
    - Configure LM01 as such you can stage with respect to the delivery and load it. Check with technical team. you dont need to have WM or PP module to use LM01 as we used LM01 without these modules.
    Or if you want to use just 311 movement type using goods issue, you should make use of the item text or header text in Good issue screen to refer the PO number

  • How to get dates with respect to System Date?

    Hello,
    I am trying to get Date value after 30 days of my System current date. I am using
    System.out.println(new java.util.Date(System.currentTimeMillis()+30*3600*24*1000));
    but I am not getting correct date.
    Suppose my system date is 15July then after executing this code I should get 14Aug, but it is giving a date of month June.
    Please suggest solution for this.
    Thanks,
    Niket

    This doesn't have anything to do with the Collections Frameworks. You should direct this type of question to "Java Programming".
    Here is the code you're looking for anyway...
    import java.util.*;
    import java.text.*;
    public class thirty
        public static void main(String[] args) throws ParseException
         Calendar todaysdate = new GregorianCalendar();
         SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
         System.out.println("today's date: " + sdf.format(todaysdate.getTime()));
         todaysdate.add(Calendar.DATE, 30);
         System.out.println("thirty days later: " + sdf.format(todaysdate.getTime()));
    }

  • Service Entry sheet with BAPI

    Hello,
    I want to create service entry sheet with BAPI_ENTRYSHEET_CREATE. can anyone tell me step by step process like what data I need to maintain in which table?

    Hi,
    REPORT test_program.
    DATA: wa_header TYPE bapiessrc,
    i_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
    ws_entrysheet_no TYPE bapiessr-sheet_no,
    i_service TYPE bapiesllc OCCURS 0 WITH HEADER LINE,
    i_service_acc TYPE bapiesklc OCCURS 0 WITH HEADER LINE,
    i_service_text TYPE bapieslltx OCCURS 0 WITH HEADER LINE,
    i_account TYPE bapiesknc OCCURS 0 WITH HEADER LINE,
    ws_pack_no TYPE packno.
    DATA: ws_po TYPE bapiekko-po_number,
    po_items TYPE bapiekpo OCCURS 0 WITH HEADER LINE,
    po_services TYPE bapiesll OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF wa_po_header OCCURS 1.
    INCLUDE STRUCTURE bapiekkol.
    DATA: END OF wa_po_header.
    DATA: BEGIN OF bapi_return_po OCCURS 1.
    INCLUDE STRUCTURE bapireturn.
    DATA: END OF bapi_return_po.
    DATA: serial_no LIKE bapiesknc-serial_no,
    line_no LIKE bapiesllc-line_no.
    DATA: bapi_esll LIKE bapiesllc OCCURS 1 WITH HEADER LINE.
    ws_po = '4300000051'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
    EXPORTING
    purchaseorder = ws_po
    items = 'X'
    services = 'X'
    IMPORTING
    po_header = wa_po_header
    TABLES
    po_items = po_items
    po_item_services = po_services
    return = bapi_return_po.
    wa_header-po_number = po_items-po_number.
    wa_header-po_item = po_items-po_item.
    wa_header-short_text = 'Sample'.
    wa_header-pckg_no = 1.
    serial_no = 0.
    line_no = 1.
    bapi_esll-pckg_no = 1.
    bapi_esll-line_no = line_no.
    bapi_esll-outl_level = '0'.
    bapi_esll-outl_ind = 'X'.
    bapi_esll-subpckg_no = 2.
    APPEND bapi_esll.
    LOOP AT po_services WHERE NOT short_text IS INITIAL.
    line_no = line_no + 1.
    CLEAR bapi_esll.
    * MOVE-CORRESPONDING po_services TO bapi_esll.
    * bapi_esll-gr_price = '456'.
    bapi_esll-pckg_no = 2.
    bapi_esll-line_no = line_no.
    bapi_esll-service = po_services-service.
    bapi_esll-quantity = po_services-quantity.
    bapi_esll-gr_price = po_services-gr_price.
    bapi_esll-price_unit = po_services-price_unit.
    APPEND bapi_esll.
    ENDLOOP.
    CALL FUNCTION 'BAPI_ENTRYSHEET_CREATE'
    EXPORTING
    entrysheetheader = wa_header
    * testrun = 'X'
    IMPORTING
    entrysheet = ws_entrysheet_no
    TABLES
    * ENTRYSHEETACCOUNTASSIGNMENT =
    entrysheetservices = bapi_esll
    * entrysheetsrvaccassvalues = i_service_acc
    return = i_return
    * entrysheetservicestexts = i_service_text
    * ENTRYSHEETHEADERTEXT =
    break gbpra8.
    LOOP AT i_return.
    ENDLOOP.
    DATA: ws_wait TYPE bapita-wait.
    ws_wait = '3'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = ws_wait.
    Thanks,
    Krishna...

  • Blocking of Good Issue with respect to posting date

    Hi Expert,
                   Is there any way out in SAP B1 to block the Good Release with respect to posting date.i.e. If User receipt the Good in stock today then system should not allow the user to issue the same good on the back date.
    regards,
    PankajK

    Hi Pankaj,
    There are so many options e.g you can check in oinm select that particular item sort on docdate and check inqty and compare with your goods issue date if it is same then send same transaction to approval if you want.
    Thanks
    Sachin

  • Metagen is skipped sometimes complaining because all output files are up-to-date with respect to the input files

    Hi,
    In one of my dll (VS2010), the process Skipping target "MetaGen" because all output files are up-to-date with respect to the input files.
    it is at  random.  I have checked the time stamps of the dll and metagen.write.1.tlog both having the time stamp on the failed build.  But all files in release folder did not have the same time.  They are one hour earlier than the dll
    and the  metagen.write.1.tlog.
    On the good build  it said the input file is is newer than output file ".\Release\\metagen.write.1.tlog" and allfiles in the release folder have same time stamp.
    Any clue to solve this ?
    Regards,

    Hi,
    Based on your post, I am not very clear about your issue. I feel your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
     Could you please provide us more information so that we resolve your issue better?
    What type of project are you working with? C++ MFC project?
    How was the
    metagen.write.1.tlog file generated in your project?
    What error messages did you get?
    What is the 'input file'?
    If possible, please provide us a sample project to reproduce your issue.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Expense reports with respect to posting date

    Hi Folks,
    Kindly let us know if any statndard reports are available to extract trip details with respect to the trip posting date (prrw).
    Thanks,
    Nandagopal C

    Hi Folks,
    The posting date is maintained in the table PTRV_Doc_header. Using the table we have created a  query to fetch the posted trips according to  posting date.
    Thanks,
    Nandagopal C

  • MIR7 exchange rate is not modefied with respect to posting date

    Hi Experts,
    In our SAP system , we use MIR7 to create park invoice at first ,and then use MIR4 to change the parked invoice and post it.
    but when creating parked invoice, it's in say June and the exchange rate is 100, and when we create real invoice from parked invoice, it's October and exchange rate turns to 115.
    Then I change the posting date in the invoice from June to Ocetober, but the exchange rate is still 100 it is not changing according to the new posting date. How can I solve this problem, please give me a solution a.s.a.p.
    Thanks in advance for your help.
    Regards
    Sunil

    Hi Pankaj,
    There are so many options e.g you can check in oinm select that particular item sort on docdate and check inqty and compare with your goods issue date if it is same then send same transaction to approval if you want.
    Thanks
    Sachin

  • How to access date with respective to different language

    Hello,
    In my database i stored the date in the following format1992-03-28 13:07:53.000.
    In My application user can use upto 8 languages.Now the problem is when the user logged in with english the date format will be like 5/26/08(dd/mm/yy).but me convert this format to 05/26/2008(dd/mm/yyyy) through and use the following syntax for constrains dateformat(MaoDate,'mm/dd/yyyy') = '05/26/2008'
    Now my problem is for some other language the date format is like Arr 20 07 or 25.05.92.But me wrote the code conversion only for the format mm/dd/yy.
    Is there any general way to acces the date for all the languages?
    Please help Me.
    Thank You!!!

    Hello sathish,
    Now the problem is i will get the string like 5/8/08 or Jan 21 07 .... from My GUI. But me wrote code only to convert from 5/8/08 to 05/08/2008...Bcz date comparison was happening in dd/mm/yyyy format.
    But whenever i am getting data like Jan 21 07 from GUI my conversion is not happening.And now the date constrain is dateformat(MaoDate,'mm/dd/yyyy') = 'Jan 21 07' i mean my code checking the date format with dd/mm/yyyy with date Jan 21 07.
    So i need to write a code to convert all the regional format to dd/mm/yyyy.So is there any common way to comapre the date with all regional format!!!!!!
    Thank You!!

  • Calculation logic for date with respect to time.

    Dear all,
    In BI, i want to get the time for two different dates - how to caculate this
    For example
    Initial date :- 01.08.2007
    Final date :- 24.08.2007  - I want system to calculate the total hours between these dates - the logic should also be applicable if years,months and days are different.
    Regards,
    M.M

    Dear ....
    By subtracting final from the initial we will be able to get if the difference is only in days but if the month or year is differing will the same logic hold good - kindly explain?
    Regards,
    M.M

  • Data with huge volume of data with DTP

    Hi Experts,
    I have this problem with upload of huge volume of data with DTPs.
    I have my initialisation done as I am doing reloads, Now I have this data from fiscal year period 000.2010 to 016.9999.
    I have huge volume of data.
    I have tried uploading this data in chunks by dividing 3 months for each DTP and had made full load.
    But when I processed the DTP the data packages are decided at source and I have about 2000 data packages.
    Now my request is turning to red after processing about 1000 datapackages, batch processes allocated to this also stopped.
    I have tried dividing DTP only by month and processed the DTP I have same problem. I have deleted the indexes before uplaoding to the cube, Changed the setting battch processing from 3 to 5.
    Please can any one advise what could be problem.I am uplaoding this reloads in quality system.
    How can upload this data which are in millions.
    Thanks,
    Tati

    Hi Galban,
    I have made the parallel processing from 3 to 5 even and the datapakcage size
    Can you please advise in this area how can I increase the data package size as the data package size for my upload is the package size corresponds to package size in source it is determined dynammically at runtime.
    Please advise.
    Thanks
    Tati

  • Service Desk Enhancement with Forms & Survey - no data evaluation possible

    Hello,
    I implemented an additional form in the service desk (using the survey functionality)
    See details here: http://www.solutionmanagerexpert.com/article_printable.cfm?id=5621
    Creation was fine, I am able to see the additional form as extra tab in Service Desk Support Messages (transaction type SLFN).
    But evaluting the data does not work.
    According to the survey suite, no data is available - but I answered to the survey/provided input to the form.
    I saved the values, and looking into the appropriate tables (mentioned here: CRM Survey Evaluation Data Storage) give the impression that answers are there.
    But I cannot evaluate them...
    Does anybody have experience with this kind of service desk enhancement and knows how to get the data for evaluation?
    Regards,
    Jan

    Hi Shilpi,
      Could you please share  how did you achieve this..
    Regards.,
    Franklin.

  • Defining Payment Terms with respect to Shipping Date

    Dear Friends,
    I need your help on the following issue.
    One of our user wants payments terms (obb8) to be defined from shipping date.
    His requirement is N45 + 3 days form the shipping date. My major concern is how to take shipping date as base line date.
    Thanks
    Umed

    You need to use substitution in OBBH
    Search SDn for the process
    Regards,
    SDNer

  • Trying to replace a 'default date' with a 'blank cell' (data presentation issue)?

    Hi Everyone,
    I am trying to add the total cost of purchases to a reports that shows 'row level' items and costs. To do this I have used the UNION ALL command, as shown below.
    SELECT
    T1.DocDate
    , T0.Dscription AS 'Item Description'
    , T0.Price
    FROM AU.dbo.POR1 T0
    INNER JOIN AU.dbo.OPOR T1 ON T1.DocEntry = T0.DocEntry
    WHERE T1.DocType = 'S' AND T1.CardCode = 'V010050'
    UNION ALL
    SELECT
    --CASE WHEN CAST(SUM(0) AS varchar) = '1900-01-01 00:00:00.000' THEN 'A' ELSE 'B' END
    , 'Total Cost'
    , SUM(T0.Price)
    FROM AU.dbo.POR1 T0
    INNER JOIN AU.dbo.OPOR T1 ON T1.DocEntry = T0.DocEntry
    WHERE T1.DocType = 'S' AND T1.CardCode = 'V010050'
    I am getting the results that I expect however instead of seeing '1900-01-01 00:00:00.000' in the bottom left hand corner of my result set I would simply like to see a blank cell (with no contents).
    Here is what I am currently seeing -
    How can I 'remove the contents' and substitute a 'blank'? I tried using a case statement and the SUM operator without success. I chose SUM, because to choose a non-aggregate function would require me to use the GROUP BY clause, and doing so would then affect my result set adversely.
    Any suggests here will be greatly appreciated.
    Kind Regards,
    David

    Hi!
    Try This.
    SELECT 
    cast(T1.DocDate as varchar)  'Date'
    , T0.Dscription AS 'Item Description' 
    , T0.Price 
    FROM AU.dbo.POR1 T0 
    INNER JOIN AU.dbo.OPOR T1 ON T1.DocEntry = T0.DocEntry 
    WHERE T1.DocType = 'S' AND T1.CardCode = 'V010050' 
    UNION ALL 
    SELECT 
    --CASE WHEN CAST(SUM(0) AS varchar) = '1900-01-01 00:00:00.000' THEN 'A' ELSE 'B' END 
    ''  'Date'
    , 'Total Cost' 
    , SUM(T0.Price) 
    FROM AU.dbo.POR1 T0 
    INNER JOIN AU.dbo.OPOR T1 ON T1.DocEntry = T0.DocEntry 
    WHERE T1.DocType = 'S' AND T1.CardCode = 'V010050' 
    Regards,

  • How to get data with out having any date/timestamp columns by year wise

    hi,
    how can i select years wise rows from tables,if that have not any date/timestamp column.

    Well Govind it quite depends on what is the data type of that column and the format in which it is stored.
    If the data type is varchar2/varchar and all the values are in a uniform format then there is no problem. All you need to use is the to_date function to convert the supplied strings to default date format and then use to_char function to only extract the YY or YYYY or RR or RRRR aspect of the data.
    For example: If the column is called 'hire_date' and it's data type is varchar2 and the entries in this column are all in a uniform format, say month,date,year like January,12,1999. What you need to do is convert this string to a default date value using to_date function, like to_date(hire_date,'format_model') In the format model mention the format of the hire_date string. The out put of this function can be fed into to_char to extract the year, like to_char(output_of_to_date,'YYYY')
    I hope you got what I meant. Let me know if it was of any use.

Maybe you are looking for

  • Problem with commandline APEXEXPORT after upgrade to 3.2

    Hello, After the upgrade from Apex 3.1.2 to 3.2 (the upgrade went fine), I get the following error when trying to do a command-line export of all applications: Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/apex/APEXExport

  • Webdynpro for ABAP - Interactive Form property 'Enabled'

    Hi All, I have developed a webdynpro and created a Interactiveform in main view. In Property if i check Enabled the form is not displaying in the output. If I uncheck it 'The form is not interactive (means user input not allowed)'. How can i make the

  • Installation RDBMS Oracle11g Express Edition fails on Windows 7 64bits.

    Hi, I want to install an Oracle11g Express Edition on a Windows 7 64bits. I have clicked on 'setup.exe' and i have ran this module with the 'Administration Option'. It's works well but when 'setup.exe' ends, the directory C:\oraclexe\app\oracle\orada

  • Transporter name & vehicle no.

    Hey friends!!! Which table can give transporter name & vehicle no.as output? Thanx a lot. Best regards, Mili

  • Query re creating a new due date schedule

    Hi We are looking to create a new suite of 'free-choice' courses whereby students can choose their own selection of modules at the start of each of three semesters and pay for them, in total, at that time. As the fee will be based around the course,