Provide brings back the actual date , different to the table content

Hi,
I´m not a developer, but must do that part now in my company.
We have a 46C with actual packages.
In a customer report I have to add 2 fields to an output.
It selects from PNP and provides data like follows:
GET PERNR.
  PROVIDE * FROM P0000
FROM P0001
FROM P0002
FROM P0006
FROM P0007
FROM P0013
FROM P0016
FROM P0053
    BETWEEN PN-BEGDA
        AND PN-ENDDA.
That worked fine.
Now I liked to set 2 fields with contents of IT 0000 (table PA0000):
    IF P0000-MASSG = '01'.            " MA aktuell im Vorruhestand ?
     TRANS-BEGVORRST = P0000-BEGDA.
     TRANS-ENDVORRST = P0000-ENDDA.
    ENDIF.
At debugging I can see, that the requested fields from P0000 are set to the actual date, not to the value I can select from table or shown in the SAP transaction.
All other fields from PA0000 are matching the row I expect, but not the date fields
Any idea?

Hi,
That is the behavior of PROVIDE statement. If you combine (JOIN) several tables (P0001, P0002, etc) together, it will give you all the intersected dates.
For example, in two tables itab1 and itab2, the respective columns col1 and col2 are interval limits of type i. The filling of the internal tables results in the following intervals (rows two and three):
|   Itab1 Int1    |     |Itab1 Int2 |     |
|        |      Itab2 Int1       |        |
|  |          ... BETWEEN ...             |
|  | i1  |   i2   | i3  |   i4   |i5|     |  <<<< This is the result
Regards,
Lim...
Edited by: Ruslim Chang on Apr 17, 2009 11:26 AM

Similar Messages

  • After Bop run the delivery dates differs in STO tables.

    Hi,
    I have created a STO with multiple line items with multiple delivery dates in the same STO. We have APO also
    E.G. 1st and 3rd line item have todays delivery date(01.03.12) and 2nd and 4th line item have 05.03.12.
    for the 1st and 3rd line item the system have material availability and we get the confirmed committed quantity from the APO system and got deliverd successfully.
    for the 2nd and 4th line item there is no stock in R/3 and APO sytem, and we get the committed quantity as 12/31/9999, once the material is available, BOP run happens it gives committed date in the STO delivery schedule, we found the committed date between EKET table and VETVG table is different when we try to do it for the future date, i want to understand how the committed date arrived in the VETVG table and why it is differing from the EKET table, for the 1st and 3rd line item, the committed date is same in both the table, plese advise.
    Regards,
    Rajesh

    Hi
    You can change the dates with userexits if you have specific requirements. Please, see these notes:
    SAP Note 414484 - VL10: Delivery creation date all up to today (user exit)
    SAP Note 198137 - VL10: Customer-specific enhancements / user exits
    If you have any kind of 'accident' while you are trying solutions with records in table VETVG, see SAP Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG.
    I hope this helps you
    Regards
    Eduardo

  • Why is the INVOICE date different than the ORDER date?

    Something odd is happening... I'm receiving workflow notifications from Business Catalyst for Invoices, but sometimes the date of the order is the day before I receive the invoice. This is causing havoc on the shipping side because when I print out the invoice packing slips and export the order files, they don't match up and sometimes customers get missed.
    Any idea why the invoice date would be different than the order date and how do I fix it to make them the same?
    Thanks in advance!

    Hey there,
    An invoice is not an order. That is an important thing to know.
    An order is generated through a few means but mainly as soon as one product is added to a cart - that order exists and the date marked. An invoice is a purchase and comes from an order.
    Create an order in the admin yourself and save it but add no invoice number. You can see you just made an order and you will see the button to generate invoice.
    API can make an order and no invoice, a person can add items to cart and finish it the next day if they have their session open that long... Lots of reasons why these dates may differ.

  • I am reading from an instrument a 1D string array of numbers in ascii. I want to be extract the actual data values from the string. How do I do that?

    labview 6i. Using sr785 instrument.

    Two ways. Use Fract/Exp to Number function on the Strin>Strin Number Conversion palette. It accepts both individual or strin array inputs. Wire your string array in an get an array of doubles out. You can also use Scan From String on the String palette inside of a for loop. The for loop will autoindex the string array in and autoindex an array of doubles out.
    Attachments:
    string_to_double.jpg ‏10 KB

  • To know the actual date & time for created versions in cprojects

    HI ABAPers,
    Am working on cproject version 3.1,  wanted to know where the  exact date & time  is getting captured when a version i.e
    con H & base  versions is created in cprojects ( collaboration projects ).
        Already i have checked in  dpr_project table where versions are getting stored with the same project created date & time. But not with the actual date & time when the versions were created. 
    is there any BAPI or table where we can know the actual date & time of the created versions.
    Thank you!!!
    Abdul

    Hi,
    According to your post, my understanding is that you want to change date format for ‘Created’ field in the getVersions web service.
    Per my knowledge, you can get the date format for ‘Created’ field as “MM/dd/yyyy HH:mm a”.
    For more information, you can refer to:
    Versions.GetVersions Method (Versions)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Is there currently a way to change this back to displaying the actually date and

    New helpdesk in version 7.4 seems to have gone back to using '1 week ago', '2 months ago' time stamps for ticket comments.
    Is there currently a way to change this back to displaying the actually date and time?
    This topic first appeared in the Spiceworks Community

    New helpdesk in version 7.4 seems to have gone back to using '1 week ago', '2 months ago' time stamps for ticket comments.
    Is there currently a way to change this back to displaying the actually date and time?
    This topic first appeared in the Spiceworks Community

  • In Aperture 3.4 Export Slideshow to a video, what are the actual Data Rates used for "Best", "High", ... "Least" quality for a given resolution?

    My Photo website host (SmugMug) converts uploaded video files at a specific Data Rate in Mbps before installing them. I would like to compress my slideshow video file to the same rate before I upload it to reduce file size and upload time. When I choose the "Custom" setting for an Export, I can choose 1 of the 5 Quality choices and see the estimated file size. But, I cannot know what the actual Data Rate is until after I wait a long time to export the slideshow (hours for a long slideshow) and then examine the resulting file in QuickTime Player's Inspector.

    I ran a few tests using a short slideshow (16 images, 1:23 mins/secs) at 1,728 x 1,080 resolution to find out the bit rates for various quality level choices.
    Export setting              Quality          Resulting bit rate          File Size
    HD 1080p                    default                20.68 Mbps              214.8 MBytes
    Custom                       Best                   20.49                       212.8
    Custom                       High                     6.25                         65.0
    Custom                       Medium                3.97                         41.3
    However, I don't know if those bit rates will be the same for different length slideshows or for different output resolutions. My SmugMug host site uses an 8.0 Mbps rate for a 1728 x 1080 video file. If I choose Custom/Best, my file will be almost 3 times bigger and much higher quality than necessary, but if I choose Custom/High, my file will be smaller and lower quality than SmugMug's converted version.
    I have installed MPEG StreamClip that will let me convert an exported Aperture slideshow video file, and StreamClip allows me to choose a specific bit rate in Mbps. But, I would prefer not having to do a 2 step process (Export from Aperture, then convert in StreamClip).

  • Need help The image I saw on the LCD looks different than the actual photo

    i had canon camera and had problem The image I saw on the LCD looks different than the actual photo.any body can kelp me
    [IMG]http://tralalatrilili.ga/thanks.png[/IMG]

    Do you capture in RAW or JPEG? What software do you use to view your image? Is your monitor calibrated? What is the brightness level on your camera LCD? All of these information can affect your image. And keep in mind that image on the back of the camera is often brighter and more saturated.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • How does Labview stores the binary data - The header, where the actual data starts etc.

    I have problem in reading the binary file which is written by labview. I wish to access the data (which is stored in binary format) in Matlab. I am not able to understand - how the data will be streamed in to binary file (the binary file format) when we save the data in to a binary format through Labview program. I am saving my data in binary format and I was not able to access the same data in Matlab.
    I found a couple of articles which discusses about converting Labview to Matlab but What I really wanna know is - How can I access the binary file in Matlab which is actually written in Labview?
    Once I know the format Labview uses to store its binary files, It may be easy for me to read the file in Matlab. I know that Labview stores the binary files in Big Endian format which is
    Base Address+0 Byte3
    Base Address+1 Byte2
    Base Address+2 Byte1
    Base Address+3 Byte0
    But I am really confused about the headers, where the actual data start. Hence I request someone to provide me data about - How Labview stores the Binary Data. Where does the original data start. Below attached is the VI that I am using for writing in to a binary file.
    Attachments:
    Acquire_Binary_LMV.vi ‏242 KB

    Hi Everybody!
    I have attached a VI (Write MAT file.vi - written in LabVIEW 7.1) that takes a waveform and directly converts it to a 2D array where the first column is the timestamps and the second column is the data points. You can then pass this 2D array of scalars directly to the Save Mat.vi. You can then read the .MAT file that is created directly from Matlab.
    For more information on this, you can reference the following document:
    Can I Import Data from MATLAB to LabVIEW or Vice Versa?
    http://digital.ni.com/public.nsf/websearch/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument
    However, I would definitely recommend using the Matlab Script node (All Functions->Analyze->Mathematics->Formula->Matlab Script). In order to use the Matlab Script node, you must have Matlab installed on the same computer. Using the MatlabScript node, you can take data generated or acquired in LabVIEW and save it directly to a .mat (Matlab binary) file using the 'save' command (just like in Matlab). You can see this in example VI entitled MathScriptNode.vi - written in LabVIEW 7.1.
    I hope this helps!
    Travis H.
    LabVIEW R&D
    National Instruments
    Attachments:
    Write MAT file.zip ‏189 KB

  • How to get  the actual data in ALV report

    I am doing some upgradation work   in that i am using Submit  & And return and  also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
    With the use of set table for 1st display i got the  ALV report   but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get  the  actual data in ALV report, With the use of  Any Function Module or with Coding,
    with regards,

    Hi Saravana
    I am sure you must be getting the values in tables of table parameters from every FM.
    consolidate the values from tables of all FMs in one table and built ALV for that table only.
    I hope this way you can show the actual data in ALV.
    thanks
    Lalit

  • How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.

    How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.
    When I start a backup. Time Machine says "Oldest Backup: None; Latest Backup: None", so it seems like it should do a complete backup, but it only does a partial. 

    Hi I'd like to jump in here. Your app showed me this:
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 749.3 GB Disk used: 453.81 GB
              Destinations:
                        Plastic Wrapper [Local] (Last used)
                        Total size: 999.86 GB
                        Total number of backups: 64
                        Oldest backup: 2013-07-24 23:25:11 +0000
                        Last backup: 2013-11-17 01:40:47 +0000
                        Size of backup disk: Too small
                                  Backup size 999.86 GB < (Disk used 453.81 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
              /sbin excluded from backup!
              /usr excluded from backup!
              /System excluded from backup!
              /bin excluded from backup!
              /private excluded from backup!
              /Library excluded from backup!
              /Applications excluded from backup!
    Aside from the size of my backup drive, which I will increase at some point, I'd really like to have time machine backing up all system folders, especially Applications. How to I reset this hidden exclusions?
    Thanks,
    Darcy

  • A good solution to set the actual data record after execute query ..

    Hi,
    in my Form there is a block on a temporary table.
    The user can add query results and wishes to save the last data focus on the last actual record before the execute query to restore this focus after the query.
    Is there a robust and fast solution to save the
    actual data focus - execute_query - restore the saved focus ?
    Thanks
    Friedhold

    Here is a simple solution to try:
    Create a package specification in your form: Package P0 is
      Save_rowid  varchar2(30);
      Found_rec   number;
    End;Create a Key-Entqry trigger on your block: P0.save_rowid := :Myblock.rowid;
    P0.Found_rec := null;
    Enter_Query;Create a Post-Query trigger on the block: If :Myblock.rowid = P0.save_rowid then
      P0.found_rec := :system.trigger_record;
    End if;Create a Key-Exeqry trigger on the block: Execute_Query;
    If P0.found_rec is not null then
      Go_record(P0.found_rec;
    End if;

  • How to set the Reverse date to be the same as the Actual GI date by default

    Hello,
    On VL09 (reverse goods movement) screen, default reversal date is the system date.
    Users have to select the line, click on define date button and enter the correct cancellation date to the local date field on the pop-up.
    I want the reversal date on VL09 screen to be the same as the Actual GI date by default.
    Thank you.

    Hi,
    I checked the program.
    Check in routine FORM insert_data_for_reversal  --->  IF Condition (( xlikpukwa-wbstk EQ charc AND xlikpukwa-vbtyp CA vbtyp_lief ) OR  ( xlikpukwa-wbstk CA 'BC'  AND xlikpukwa-vbtyp CA vbtyp_liav ). ---> 2 performs are there one with '01' and other with '02' as actual parameters.
    In your case '01' is passing to the routine. if you try to pass '02' u can achive your requirement.
    For testing in debug mode pass FIELDS-FIELD_ATTR = '02' for field name DATLO. then you can see the output.
    Try to handle this problem using Enhancement Operations.
    Hope this helps you.
    Thanks
    Raghavendra

  • Found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    Try using Siri and ask "Who's phone is this?" It should give you the name, number, and email address of the owner. Also, you can try swiping to unlock, select Emergency, then see if they have a Medical ID set up. If they do, they may have the name of a contact with a phone number listed.

  • Delivery date differs in the VETVG table after the BOP run.

    Hi,
    I have created a STO with multiple line items with multiple delivery dates in the same STO. We have APO also
    E.G. 1st and 3rd line item have todays delivery date(01.03.12) and 2nd and 4th line item have 05.03.12.
    for the 1st and 3rd line item the system have material availability and we get the confirmed committed quantity from the APO system and got deliverd successfully.
    for the 2nd and 4th line item there is no stock in R/3 and APO sytem, and we get the committed quantity as 12/31/9999, once the material is available, BOP run happens it gives committed date in the STO delivery schedule, we found the committed date between EKET table and VETVG table is different when we try to do it for the future date, i want to understand how the committed date arrived in the VETVG table and why it is differing from the EKET table, for the 1st and 3rd line item, the committed date is same in both the table, plese advise.
    Regards,
    Rajesh

    Hi
    You can change the dates with userexits if you have specific requirements. Please, see these notes:
    SAP Note 414484 - VL10: Delivery creation date all up to today (user exit)
    SAP Note 198137 - VL10: Customer-specific enhancements / user exits
    If you have any kind of 'accident' while you are trying solutions with records in table VETVG, see SAP Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG.
    I hope this helps you
    Regards
    Eduardo

Maybe you are looking for