Modification date should come on PO Print out

Hi,
I want to show the Modification Dates on PO Print out.. means whenever we change in the PO, that modification date should show in the PO Printout. Is there any idea for do it...
NOTE: - Please note that I m using the copy of Standard Script MEDRUCK.
Regards,

Hi,
Now in my PO printout, last date of changed PO is coming... i write a PERFORM in script with subroutine.
But i want all the modified dated...means whenever the PO has been changed, all dates should come on printout.
Please help me...My code is:----
FORM f_convert_changed TABLES in_par  STRUCTURE itcsy
                      out_par STRUCTURE itcsy.
  READ TABLE in_par WITH KEY c_ebeln_ekpo.
  CHECK sy-subrc = 0.
  l_ebeln = in_par-value.
  SELECT udate
  INTO date_c
  FROM cdhdr
  WHERE objectclas = 'EINKBELEG'
  AND objectid = l_ebeln
  AND tcode NOT LIKE 'ME21%'.
  a = date_c+0(4).
  b = date_c+4(2).
  f = date_c+6(2).
  CONCATENATE f b a INTO date_ch SEPARATED BY '.'.
  READ TABLE out_par WITH KEY 'DATE_CH'.
  CHECK sy-subrc = 0.
  out_par-value = date_ch.
  MODIFY out_par INDEX sy-tabix.
  ENDSELECT.
ENDFORM.                    "f_convert_DATE
and PERFORM in Script is:----
/:DEFINE &DATE_CH&
/:PERFORM F_CONVERT_CHANGED IN PROGRAM  ZPO_MEDRUCK1
/:USING     &CDHDR-OBJECTCLAS&
/:USING     &EKPO-EBELN&
/:CHANGING  &DATE_CH&
/:ENDPERFORM
I1Changed Date    : &DATE_CH&
Thanks...

Similar Messages

  • Difference between Two Date Should come into Text Item

    Dear All,
    i want to get difference between two date into text Item :P36_C in On Change java script.
    i have two Date Item :P36_A and :P36_B .i have extract these date value from table then difference comes into Text Field :P36_C.
    Now i want if i change Date into Item :P36_A or Item :P36_B then Defference between two date Should Come into Item :P36_C .
    So i have use Java Script Code to do this
    <script>
      function diffdat(){
        function getVal(item){
       if($x(item).value != "")
         return parseFloat($x(item).value);
       else
         return 0;
        $x('P36_C').value =
    getval((TO_DATE('P36_B', 'DD-MON-YYYY'))-
    getval(TO_DATE('P36_A', 'DD-MON-YYYY')))+1;
    </script>
    i have put this into Item HTML Form Element Attributes 
    onChange="javascript:diffdat();"it's not woring .
    How to work that Code with dates.
    Thanks

    You can always create your own difference function based on your own criteria. You can modify this to suit your needs.
    CREATE OR REPLACE FUNCTION CALC_OFFICE_DAYS(date1 DATE, date2 DATE)
    RETURN NUMBER
    IS
    v_begin_date DATE := date1;
    v_end_date DATE := date2;
    v_office_start_time VARCHAR2(10) := '09:30 AM';
    v_office_end_time VARCHAR2(10) := '06:30 PM';
    v_comp_begin_time DATE;
    v_comp_end_time DATE;
    v_days PLS_INTEGER := 0;
    v_hrs NUMBER := 0;
    v_ttltm NUMBER;
    BEGIN
    select trunc(v_end_date) - trunc(v_begin_date)
    into v_days
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_begin_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_begin_time
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_end_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_end_time
    from dual;
    select (v_comp_end_time - v_comp_begin_time)/24 into v_hrs from dual;
    IF v_hrs > 4 then
    v_ttltm := v_days + .5;
    ELSE
    v_ttltm := v_days;
    END IF;
    return v_ttltm;
    END;
    As has been noted, this question is best posted on the PL/SQL forum.

  • Select single time printer & multiple PR should come through that printer

    Hi friends,
    I am calling smartform in loop to print multiple Purchase Requisition. End user wants to select single time printer & multiple Purchase Requisition should come through that printer.
    I am calling my Smartform in a LOOP.
    How I will resolve this issue.
    Regards,

    Hi,
    Instead of driver programme write loop statement in the smartform.
    Aswarth

  • The Account ceation date should come PCUI

    Hi Gurus,
        I am wokring in PCUI. After creating account i will click on save. then the Account creation date should be filled by default.
    For this in which method i should do the coding. please tell me.
    Regards,
    Ramakrishna

    Debug through the READ and MODIFY methods.

  • According to PO number and Line item data should come once but its repeatin

    I am calculating IR Quantity and IR value......
    for a PO  if there are four same  line items i wanted them once but they are displaying for each and every line item
    If my po is 2003000151 and line item 0010 if both are same then i wanted ir quantity 500
    but its displaying like this
      PO                 item   IR
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    2003000151   0010 500
    I need like this
    2003000151   0010 500
    2003000151   0010
    2003000151   0010
    2003000151   0010
    If po number and line item are same IR quantity should be displayed only once..
    What should be done if it should not repeat in each and every line item if both PO and line item are same

    i am having internal table of it_ekko.
    in that i am having some data of PO no, Line Item,IR value and IR qty......
    i am having data like below.
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010        1500           4500
    200310052         0010           0                   0
    200310052          0010       0               0
    now where ever IR value and IR qty is present i wanted that to display only once against that PO and line item
    i wanted like below
    PO                        Line Item   IR Value    IR QTY 
    200310051          0010         1500           4500
    200310051          0010            0              0
    200310052         0010             0                0
    200310052          0010            0               0
    Field names for IR value and IR Qty are Menge2 and dmbtr2.
    How to do that.........
    I cant use
    Delete adjacent duplicates of it_ekko by ebeln = wa_ekko-ebeln and
                                                                          ebelp = wa_ekko-ebelp.
    because i wanted that po and same line items , how many times it is like that only.....
    in it_ekko table i only wanted to delete duplicates of menge2 and dmbtr2.
    Pls suggest the code

  • Two separate Print out while MIGO transaction

    All,
    While doing MIGO, internal batch numbers are generated .
    While doing this transaction a GR slip is printed out with batch number , production date , expiry date , material code and many other informations with output type WE01.
    Now  business want while doing this transaction , a separate print out with only batch number , Production date and expiry date .
    These two separate print outs should automatically come while MIGO transaction .
    1. Is this possible ?
    2. If possible , which output type will be for the 2nd print out .?
    2. Any user exit required here?
    Kindly advise.
    regards

    Hi Sandeep
    1) Inventory Mgmt IMG->Output Determ..->Maintain output types
    Copy WE01 and create a new output type ZWE01.
    In processing routines, you need to change the program/form for your new output. Discuss with your ABAPer for this.
    2) In 'Maintain Output determination procedure', insert this new output type in 'Control'
    3) Maintain conditions as required
    After this, use WE90 to print both outputs.
    Best regards
    Ramki

  • Updated record should come in txt file

    Hi Friends,
    My requirements like this way, any changes make in mara, mard, mbew, makt, vbak, vbap, vbrk and abrp table. that newly created data should come in .txt file of application server.
    I have already developed a program for that. it is downloading data in every 3 hours slots. it is running in background. whatever changes made during these hours it will download.
    now, my requirement has been changed, instance data should come in .txt file of app server. e.g. when newly created record save in database table, same time that record should come in .txt file with proper format.
    is it possible? please let me know.
    Thanks in advance,
    Parag

    Hi Parag,
    To obtain changes you know you can get the details from the tables CDHDR and CDPOS.
    Also you have questions about performance and so. SO here are some details.
    - When you flag a data element for change document (is checked) it is ONLY a marker that allows for registration of this field's changes into CDHDR and CDPOS. The actual control is done on datafile level in its technical settings (Transaction SE11 with datafile name and then push button "Technical Settings" or CtrlShiftF9). Herein you will find a flag "Log data changes".
    Within the CDHDR file and CDPOS file a field OBJECTCLAS is used. Only for existing OBJECTCLAS values the changes are logged.
    - Now obvious this is the trick for standard SAP (as Subramanian has already pointed out you can find "OBJECTCLAS" values with transaction SCDO). If you want to know on how to create your own "OBJECTCLAS" values with working logging on your own designed fields follow Subramanian suggestion and read the documentation.
    Now to your questions:
    You gave some tables you need to track changes (and now also for initial creation) like MARA, MARD, MAKT and others.
    To get changes for these tables use the following "OBJECTCLAS" values:
    - MATERIAL (Tables MARA, MARC, MARD, MBEW, MFHM, MLGN, MLGT, MPGD, MPOP and MVKE). By-the-way, this object will be replaced by MATERIAL_N  (available from release 4.6x).
    - VERKBELEG (Tables VBAK, VBAP, VBEP, VBKD, VBLB, VBPA, VBPA2 and VBUK).
    To collect changes (suggested by Andreas) you could use function module CHANGEDOCUMENT_READ. This is very usefull if also archiving is active for the objects you need to track changes for and your changes are scattered through time, but for your problem it is better to approach the log data directly.
    1. First select the main change documents from CDHDR table for a given "OBJECTCLAS" and "OBJECTID". Here you can use additional filtering on DATE (field UDATE) and TIME (field (UTIME). Even filtering on a specific transaction is possible (field TCODE).
    This gives you a number of change documents (field CHANGENR).
    2a. Secondly select the specific field changes from table CDPOS by using the found fields from CDHDR and additionally fill TABNAME with the specific table and if required FNAME with the specific field name. 2b. Since in your case the values will not be known, you need to track changes, you have to be very carefull in your selections. If you track the object MATERIAL or MATERIAL_N, you best loop over the MARA table and for each MATNR fill the OBJECTID field of CDHDR with this MATNR value.
    3. In order to find NEWLY created items you need to check the CHANGE_IND flag. When 'I' it is an new insert, when 'U' it is an update. Now this rule applies ONLY to key fields, since SAP first creates the key record (CHANGE_IND = 'I') and then the other fields (CHANGE_IND = 'U').
    Finally the warning given by Andreas (runtime increases - you MUST select with OBJECTCLAS and OBJECTID) is very important. Not supplying OBJECTID will have a very heavy impact on the runtime.
    Hope this gives you some clues on how to approach your problem.
    Regards,
    Rob.

  • Anyone experience incorrect modification dates with 10.4 server?

    Maybe this is a bug, maybe not, but I have received numerous reports from coworkers of a problem with the finder's 'modification' date for files hosted on 10.4 servers (running 10.4.3 now) in two separate locations. This behavior was not occurring prior to the 10.4 upgrade and it is now happening both via AFP and SMB from 10.4 and 10.3 client machines.
    The way this occurs is when a user simply wants to view a file, a word document for example, they open it, view it and then close it without making any changes (there is no prompt when they close to 'save changes'). In the finder the file will now have it's 'modification' date updated to the time the user closed the file. However, the file was NOT modified when it was closed and so its modification date should have remain unchanged. Also of note, the 'last opened' date remains blank. This does not occur with every file on the server (it largely appears to impact Word, Excel and CAD files) but it is sufficiently easy to replicate that it has inevitably started to cause a great deal of confusion.
    Is this something that other users have experienced? Is there a setting tucked away in AFP to correct this or is it a bug that hasn't been addressed? I may have missed it, but I am surprised I've not seen any other posts about this.
    Thanks -- George
      Mac OS X (10.4.3)  

    I have also seen this problem, and heard of it at other locations. It seems to have started for us after upgrading the file server to 10.4. We have clients running 10.3.9 and Office 2004. The modification date change only occurs when the user is not the owner of the file, but has read access via "group" or "other" privileges. There is some traffic in the microsoft mac word newsgroup about this issue (from August 2005!), but no solutions. Anyone with an idea of how best to complain to Apple and Microsoft about this issue is more than welcome to chime in.
    http://groups.google.com/group/microsoft.public.mac.office.word/browse_thread/th read/eaf91f9ff80a4a49/bf412677a14e75d4?q=modification+date&rnum=1#bf412677a14e75 d4

  • PO print out of delivery schedule

    Hi,
    Suppose I am generating a PO , in some cases I will be giving delivery schedule for some items in item details.
    I want this to come in the print out.
    But its not coming .
    Please advise.
    regards,

    Hi
    You can include logic with the help of Developre, If information is there in EKET for Purchase order ask him to include in print.
    regards
    Srinivas

  • INR should come on the top , not in every row...

    Dear Experts,
    I am facing an onother issue. The issue seems very simple but a m nt able to solve it.
    In service report ,
                      Net Income
                      540,000.00 INR
                     243,000.00 INR
    But in Sales Report,                     
                         Net Sales
                               INR
                        3,718,710.31
                      16,057,490.72
    In above service report the data should come like the Sales Report. I am able to change it only for my system, but i am not able to do it Globally.
    In the report , Net Income --> Right click --> properties --> Display --> Display scaling factors for key figures..
    In such a way I am getting the value like ,
                     Net Income
                            INR
                    540,000.00
                    243,000.00
    But the problem is , its not applicable for the global users.
    Please put some light .
    Thanks,
    Sanjana

    Hi Chandu,
    If I change in the following way :
    In the report , Net Income --> Right click --> properties --> Display --> Display scaling factors for key figures..
    For that time I am able to see the report like
    Net Income
    INR
    540,000.00
    243,000.00
    But If I start after putting transaction RRMX , then its showing like ,
    Net Income
    540,000.00 INR
    243,000.00 INR
    This means its not getting stored . What should I do  ?
    Please put some light .
    Thanks,
    Sanjana

  • CAN PRINT OUT OF CANCELLED EXCISE INVOICE BE TAKEN ?

    Dear All ,
                        I  had  made four excise invoices  in J1IS , & posted through J1IV , when i had  given  print out of these four
    invoives only two print out have come these two print out were of those invoice in which two line items are displaying , while other invoice invoice in which there were only one line item each is not printing , so i had cancelled all these four excise invoices , then again  can u tell me how can i get the print out of these cancelled invoice in which single line item is displaying , pl help user want these cancelled invoice for his record .
    sap11

    Hi,
    Whenever you create an Invoice, an Outbound Delivery will be created with which you can take print-outs. When you cancell an Invoice, an Outbound del (Reversal) will be created. If you take print out of this document, you will get same print out of the document, but no Excise Invoice Number will be printed on it. i.e no excise invoice number will be generated for the cancellation.
    Regards,
    Nagaraja Achar.

  • Goods recipt print-out

    Do we have any master data for the goods recipt print out or its out-put type.
    rakesh

    Hi
    check some of steps for GR print
    1. In OMBR indicate the printer name as LOCL,Item print indicator as 1,Print version-2
    2. In M706 ,mantain output types for WE01/02/03 (as requiired),Also check the default value ,dispatch time-3/4,Tr medium-1 ,print parametr-7
    3.In OMJ3 mantain output device for all the plants
    4.in MN21 for output type WE,mantain print version-3 ,print item as 1.
    Then in MIGO check the print check box and than going to MB90 get the document number and execute for getting print out.
    Vishal...

  • Print out of Report Region dropping negative values

    I am very new to APEX (< 2 months) and don't have much of a programming background. I have created a report layout using BI publisher and made it available as a shared component in my APEX applicaiton. When I print the the report region, most of the data displays fine on the print out, but any amounts with negative values are suppressed. I can view the negative amounts just fine when they are displayed on the report region itself.
    It took me quite a while to get the style sheets from BI Publisher to work with APEX. I thought the two were supposed to be compatible. Does anyone know how to resolve the issue above or if their are any known compatability issues between BI Publisher and APEX? We are on APEX version 4.2.1.00.08 and BI Publisher version 11.1.1.

    This was indeed a bug. Response from Oracle:
    This issue has been noted by development as a bug and I have file bug 16224878 regarding your issue. The issue explained by development pertains numeric format string which wraps the negative value in angle brackets: < val > , and the report is treating this as a HTML tag and filters it out. It looks like this is happening only for classic report regions, i.e. report queries seems to support this type of numeric format mask.
    A work around would be to turn off printing for the classic report region and to provide a button to a report query for printing, using the same SQL for the report query as is used for the report region. Alternatively you could also use a different format mask.

  • MIRO Baseline Date should be same as GRN posting date.

    Dear sir.
    While doing MIRO, the Baseline date should come default date as GRN posting Date. who i can achieve this.
    Because in payment terms, the default baseline date is 1)no default 2)document date3)posting date4)entry date is there.with is it will not come.
    if any user exit or BADI is there Pl send sir.
    regards
    jayareddy

    Hi
    Base Line Date
    Not possible bt std sap.
    Vijay
    Edited by: Vijay on Apr 27, 2009 1:41 PM

  • Reg.condition types should come automatically during CR and Billing creatio

    Dear Friends
    I create new condition types for MRP price and other taxes which is working fine but I have to be entered each time when I create CR and Billing, I want those conditions which is mentioned in the procedure-.control data should come automatically during the the CR and Billing. Please advice me. Previously I got a reply that should create condition record for each condition in VK11,HOW it is possible ?
    I didnot assign any access sequence to my conditions which is newly created, so that the above problem could be arrived?
    Thanks in advance
    Rajakumar.K

    Hi,
    If there is access sequence then it is possible to bring condition in sales document automatically.
    for this Just create on dummy access sequence and assign to condition type
    Generate table with combination of only sales organization by V/03
    Create access sequence by V/07 and assign this table
    Assign this access sequence to condition type
    in V/06 under change can be made tab for Manual entries  put blank (No limitations)
    Maintain condition record for condition type (with price or without price) 
    Then condition will come automatically
    kapil

Maybe you are looking for

  • I have a clamshell last upgraded to Panther-I "lost" ,disk need reload

    I have a graphite that I was about to put Tiger on. A pal tweaked it to accept my OSX10.4 already. A bad break up included the X taking all my original install disks to various systems and programs...even mac (he is anti mac...so you can guess why he

  • Where is the iCloud Drive app icon (folder) in iOS 8? Like the one the show on their website.

    I am running Yosemite on my Macs and updated to ios8 on all of my iPads and iPhone. Yet, I have found no way to access my iCloud Drive folder on the mobile devices. The Apple website for iCloud clearly shows iOS devices viewing an iCloud drive folder

  • Removing an attribute from a group by clause

    This concerns a web application developed by JDeveloper 10.1.2 (adf, uix). I have viewobject with a query, written in expert mode, that has a group by clause. I removed an attribute from the select statement that was included in the group by clause a

  • Relinking Forms executable in Oracle 11i

    Hi Friends, I am facing an issue where after i starts the forms server using adfrmctl.sh, it works fine for a few hours after which i receive an FRM-92050 error in forms application. I have to restart the forms server again to get it back working and

  • Tagged PDF Settings

    Hi, Can anyone tell me how to preserve the list of structured tags in the PDF Setup > Tags windows? I'd like the paragraph formats and structure I set up to become part of the template, so that it is always the default for new files I create from the