First date field in va01

Hi all,
   i have a requirement i.e i have to show the FIRST DATE  of sales order line item
but am unable to find out the table name , when i pressed F1 i found that a structure name i.e. RV45A and field ETDAT but i want database table and correct field name.
plz its urgent.
Regards,
Amit

Data come from database table VBEP, it is mapped in sap transaction to your desired field :
CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT'
     EXPORTING                               
          INTERNAL_DATE   = VBEP-EDATU       
          INTERNAL_PERIOD = VBEP-PRGRS       
     IMPORTING                               
          EXTERNAL_DATE   = VB_ETDAT         
          EXTERNAL_PERIOD = VB_PRGBZ.    
and back if changed in dynpro
CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT'
     EXPORTING                               
          EXTERNAL_DATE   = RV45A-ETDAT      
          EXTERNAL_PERIOD = RV45A-PRGBZ      
     IMPORTING                               
          INTERNAL_DATE   = VBEP-EDATU       
          INTERNAL_PERIOD = VBEP-PRGRS
Regards

Similar Messages

  • F4 help for PO date field in VA01 transaction during upgrade

    Hi All,
    We are working on upgrade project 4.6c to ECC 6.
    We came across one scenario.
    F4 help for PO date field is not coming in newer version in VA01 transaction but i checked in older version it is coming F4 help for PO date(calender).
    May i know the reason regarding this.
    Any clues
    Regards
    Jai
    Edited by: Jayanth16 on Nov 12, 2009 6:14 PM
    Edited by: Jayanth16 on Nov 12, 2009 6:22 PM

    Hi,
    User did some changes in include LSDSDF05 due to that F4 help is not coming.
    So i correct that one.
    Regards
    Jai

  • How to get schedule line date copied to "First date" in sales order

    Dear forum
    I am creating a sales order as normal and put in a Requested Delivery Date (KETDAT) for the order.
    This requested delivery date is then copied to the "First date" (ETDAT).
    Now, the ATP is checked for each line item in the order and a Schedule line date / material availability date is calculated for each line item.
    My question is: Is there any way to have the "First date" field of the line item in the sales order populated by the first material availability date (calculated by ATP), instead of copying the Requested  Delivery Date? Any user exit? Any config?
    It would mean that every time I rerun ATP check in the sales order line item, the "First date" field would change if the material availability date change. If there is multiple material availability (multiple schedule lines) dates per line item, then the earliest date would be copied to the "First date" field.
    Is there such functionality? Or possibility to config/program?
    /Ola

    Kannan
    OK. Unfortunately reservations cannot be created at the serial number level. So the unsupported way of doing this is updating the mtl_serial_numbers tables. I hope you would know (by some means) which serial numbers you want to allocate to a specific sales orders. If you know, update group_mark_id column in mtl_serial_numbers table with your order_line_Id, This will avoid any one from picking the serial numbers (they will not come up in the LOV or will not be auto allocated).
    But you have to make sure to take it off when you actually want to pick this order line and allocate this serial number. So just before you pick release/ confirm this order line you need to update column back to null so that you can allocate that serial number.
    Thanks
    Nagamohan

  • Creating process for multiple Date fields for update or insert in APEX

    hello there,
    could someone please help me?
    i have a form on Apex based on view that is based on three tables and updating and inserting ok using trigger instead of.
    i have a problem now as in my form i have around 75 fileds (items) incuding 30 or more date fields which could be populated or left blank or update later.
    so for each date field i have two boxs; one for date, input as dd/mm/yyyy (text field) and second for time, input as 23:45. All dates will be insert or update manually by user. so as i mentioned not all date fields could be poulated at one stage.
    so i have created some process and validations and all of them work fine but i came accross if date left blank then (:) giving me problem so i have done following further process for each date field. In real table all the date fields have data type date.
    declare
    v_my_var date; -- for first date field
    str_dy VARCHAR2(10);
    dt_indx date;
    str_tm VARCHAR2(20);
    tm_indx date;
    begin
    str_dy := :p4_first_date
    str_tm := str_dy||' '||substr(:p8_first_date_hh,1,2)||':'||substr(:p8_first_date_HH,4,2);
    dt_indx := to_date(str_tm,'DD/MM/YYYY HH24:MI');
    IF str_dy is not null then
    v_my_var :=dt_indx;
    ELSE
    v_my_var := NULL;
    END IF;
    update table 1 set my_date = v_my_var where d_id= :p4_d_id;
    end;
    above code work fine but one date field of course therefore i have to do same code for each date field with changes and initialise variable again and again for each field.
    so i like to ask is there any easy way that is more professional. i was thinking about the procedure and using collection or similar but honestly not much experience on that so could some one please help me?
    I will be very thankful.
    KRgds

    Hi,
    You can do the needful by re-using the code if you can give the item names as P8_DATE1, P8_DATE_hh1, P8_DATE2, P8_DATEhh2 etc..So your item name just differs by a sequence.
    Now you write function which will return desired date value taking above items as input. Pass item names to this function, get session state using APEX_UTIL.GET_SESSION_STATE('item_name') API.
    Now modify you code as
    FOR i IN 1..30
    LOOP
    v_date_array[i] = f_get_date('P8_DATE'||i, 'P8_DATEhh'||i);
    END LOOP;
    ....Now you have all date valus in array. Just write one update as follows
    UPDATE  TABLE1
    SET date1 = my_date_array[1], date2 = my_date_array[2]..
    WHERE ....Hope it helps :)
    Cheers,
    Hari

  • Strange behaviour of data field in Monthly Invoice.

    Dear all,
    I need to create new layout  for monthly invoice using Print Layout Designer. I need to add the closing date procedure code, so I create new data field refering to the Closing Date Procedure file. This first data field shows many files. But when I want to add another new data field, this second data field only shows the Administration and Closing Date Procedure file. I need to add field from other file, but it does not appear. 
    If I delete the second data field, I can find the file I need in the first data field (the one supposed to be fill with closing date procedure code).
    Is there any idea how to get other files in the second data field ?
    By the way, I am using SBO version 2004.2b for Japanese user, and  monthly invoice is an important function in Japan.
    Thank you very much,
    Emiliana

    Thank you, Adele.
    Do you also know how to display list of the variables used in the monthly invoice layout ?
    Thanks again.
    Emiliana

  • Custom Date field range

    Hi
    I have 3 date fields in my view.
    what i need is
    for example
    My First date field i am selecting 1st January 2008
    Second date field i am selecting 10th January 2008
    in my third date field calendar should enable only in between that 2 dates.remaining dates are disable.
    How to dothis? pls reply ASAP.
    regards,
    Gobinath

    Hi,
    I dont think it is possible, just go through the following link
    [Disabling dates in the past]
    Regards
    Raghu

  • First date in Sales Order

    How could we make the "First Date" field in the SO to be changeable?
    Once I enter the cust.requested delivery date under the "First Date" column in the SO, if later cust. wish to change the delivery date. That field is greyed out !
    Is't it controlled in VOV8?

    Hi,
    Check the dates for delivery in scedule line tab at item level in sales order.
    You can maintain the dates for deliveries and also delete the same. based on these dates system will create deliveries.
    Once you create delivery for total quantity, no schedule line is required so it will be grayed.
    Regards,
    Sameer
    Please reward points if it is useful.

  • Date field input help - changing first day of the week

    Hi,
    I need to change the starting day of the week  in a date field value help. I also need to change the days name in this calender.
    Thanks in Advance,
    Dekel.

    I found how to change the first day of the week, through BAdi calendar_definition.
    Can anyone help me locate the day names? (I checked - FM day_names_get dosen't get the names of the UI search help).
    Thanks,
    Dekel.
    Edited by: dekel31 on May 29, 2011 1:17 PM

  • How to restrict the fields in a std screen i.e addtional data b of va01

    how to restrict the fields in a std screen i.e addtional data b of va01
    certain document type
    as i already added some fields in it
    can u help me with the setp
    With regards
    rohan Shetty

    Hi Rohan,
    Can you please let us know the solution that you had, i have similar requirement?
    Thanks,
    Manohar.

  • Adding custom  fields in va01

    Hi  Experts,
    I have an requirement to add custom fields in VA01 at the header level(screen area where sold-to-party,
    ship-party,Etc shown). These custom are already available in the screen va01->goto ->header->additonal functions->
    additionl data B. I need to bring these fields in initial screen of VA01 based on order type.
    Is ther any user-exit to do this or Should I do the repair for it
    I appreicate your suggestions
    Thanks ,
    Santhosh

    hi,
    First find the program name of VA01
    then the package of the program of VA01
    the goto-. se84->click on enhancement button ->customer Exit->enhancements->give package name and execute
    now find all the Exit in this transaction
    hope this helps
    Regards
    Ritesh

  • First Date on sales Order Line item problem

    I am having a problem with understanding why am I getting different First Date at the line Item every time I create an order using VA01.
    Our lead time for order type OR is set to 3 days in the TVAK table and field VLAUF.
    If I go to VA01 and enter a sales order OR, the date should be today's date (04/02/2014) + 3 work days = 04/07/2014 because 04/05/2014 is a Saturday.
    Today when I calculate the order it brings in the first date as 04/05/2014 in some cases.
    But if I put in the Sales Org in the VA01 screen along with the order type OR, the first date comes in as 04/07/2014.
    Can someone please  explain it?

    """""Users may or may not enter the sales org when creating an order"""""
    You cannot create a sales order without the sales organization.....
    Even though you missed system will always redetermine after entering the Sold to party number in sales order from your master data...
    Phanikumar

  • Data fields in dso

    Hi
    If I need to calculate amount based on source and destination,and if these two source and destination fields char are there in data fields of dso and keyfigure amount is also in data fields of DSO can we get exact value if make report on this.
    thx
    rubane

    Actually i need to build report where in rows there will be some char
    like source plant and destination plant and in rows on the basis of source and destination the cummulated value of amount base on some other few restriction
    now my question is :-
    acc to my need I need to make genric extractor but one is already there which contains all my fields. now can i use the same extractor,but the worry is ;these all feilds are first going in dso and all are there in data fields coloumn
    What I'm thinking is; it will suppress or accumulte records on the basis of key field's(as usual).
    so can you pls let me know what to do in this scenario?
    how to build a new report using existing extractor ;can i use existing one?
    rubane

  • Error While using date fields in HIbernate Criteraia

    I am trying a sample applciation using Hibernate with JPA. I am using annotations to map database table with Java class.I am using org.hibernate.Criteria to form where clause. My code looks as follows:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("PERSISTANCE_UNIT");
    EntityManger em = emf.createEntityManager();
    Session session = em.getDelegate();
    Criteria criteria = session.createCriteria(MyDO.class)
    criteria.add(Restrictions.eq("myDO.date",myDO.getDate()));
    List list = criteria.list();
    I am searching the data base based on the date field (myDO is an instance of MyDO.class which contains the mapping to the data base table). While running the application first time after publishing to server, I am getting the following error. For subsequent running of the application I am not getting any error and the appliaction was running with actual results.
    JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: -181, SQLState: 22007
    JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions THE STRING REPRESENTATION OF A DATETIME VALUE IS NOT A VALID DATETIME VALUE
    org.hibernate.exception.DataException: could not execute query
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.loader.Loader.doList(Loader.java:2223)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
         at org.hibernate.loader.Loader.list(Loader.java:2099)
         at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    Can anybody help in fixing the problem.
    Thanks in advance.

    Resolved the issue by setting System date where expected

  • Filling Data fields of a DSO in End Routine

    Hi Everyone,
    The data fields of a DSO contains 2 key figures and a characteristic.
    In the End routine of the transformation, i have assigned constant values for the infoobjects in the data field.
    After executing the DTP, if I check in the New Table of the DSO, these constant values are present.  But when I activate the DSO, the values for key figures gets initialised and the values for the characterisitic becomes empty (NULL).
    Is it not possible to assign values for the infoobjects in the data field? If so, why is this limitation?
    Thanks in advance,
    Uma

    Uma,
    To populate any field in the end routine, you have to assign some constant in the transformation first and then re-populate them using the end routine.
    Sometimes if you dont assign any constant in transformation, the values remain initial and even after you write a code fo that field, it is not populated in the end routine.
    All you have to do is assign constant 0 to the key figures you are populating in the end routine and run the DTP again.
    Thanks
    Sachin

  • How to reset Date field

    Hi
    I want to reset the Date field of the form.
    I hava a search cirtaria in that i have the folling fields
    1. Indent No
    2. Start Date      and   End Date:
    when i select Indent No:  the Start and End Date should be null;
    When i select Start Date and End Date the Indent No Should be null.
    When i first select Start Date and End Date select search the data displaying between dates
    one again i select Indent No the Start date and End date will be like that only
    now i want to set Start data and end  Date with null or Empty values.
    and let me know what is the default value of the Date
    regards
    mmukesh

    Hi Mukesh ,
    To set date to null..
    Date d = null;
    wdcontext.<Element>.set<dateAttribute>(d);
    Regards,
    Sunitha

Maybe you are looking for

  • BI Publisher not able to create a report

    Hi am pretty new to BI Publisher., Am trying to create a report in BIP using SQL query. While i am going to build the query with Querybuilder i am not getting any tables to select and even am unable to search also. What could b the reason., Please he

  • PLS-00386 when fetching into a previously declared type.

    I received error PLS-00386 when trying to fetch a cursor into a variable based on an object: SQL >-- Create type based on scott.emp SQL >CREATE OR REPLACE TYPE t_emp AS OBJECT 2 ( 3 empno NUMBER(4), 4 ename VARCHAR2(10), 5 job VARCHAR2(9), 6 mgr NUMB

  • Indirect Role Assignment with HR-ORG in a system landscaper with CUA

    Hi all, we have 2 SAP systems: 1) SAP ECC6 (with composite roles) 2) SAP HR with PA and OM We would like to assign SAP ECC6 roles through HR-OM. Since HR-OM is not on the same ECC6 system, we would like to try the logic: HR-OM -> CUA -> ECC6 There ar

  • Unable to import .doc or PDF documents to create a new project

    When trying to import a WORD document into RH 6.0 to create a new project, I am only able to proceed up to the Improt Word Document Wizard dialog "Covnersion Options". Clicking Next leads the program to start the import, however after a few seconds I

  • Steps to create dblink?

    I have two separate Oracle 10g Database windows server and i want to create dblink in between them please let me know the complete steps to accomplish successful dblink Thanks, Waheed.