2LIS_02_SCL / Getting both Posting dates of goods receipt & invoice receipt at the same time

Hi,
I have created a DSO based on the schedule lines standard extractor 2LIS_02_SCL.
The keys of this DSO are PO Number, PO Item and Schedule Line number.
I have succeed to get some key figures like PO Quantity, GR Quantity and Invoice Receipt Quantity according to the Process Key value.
Furthermore, I'd like to get too the goods receipt date (Process Key = 02,12,22).
In order to do that I wrote a small routine in the transformation rule for my target field which fill it only if the process key is 02, 12 or 22.
The problem is that it doesn't work well because of the invoice records in my source package...
Indeed when there is an invoice in my PSA for a schedule line, my target field (GR date char) is empty (for these schedule lines, last record is Invoice Receipt type). So it means my transformation rule works but is overwritten by an blank value when there is a process key 03,13 or 23 (invoice Receipt type).
Do you have a idea to solve my issue ?
Thank you very much

Hi.
You have to write start or end routines for this scenario, not the field level routine since it gets overwrite with last record values....
overall logic is:
Collect GR date per PO Num, PO Item and PO SCH. Lin num..like you have internal table with PO number, PO Item and PO Sch line number and GR date. First you have to go through source_package or result_package and fill up that temporary internal table
And than again go through source_package or result_package and READ that temporary table and fill GR date for all records of same PO sch. lines ..hope this resolves the issue.
I would prefer end routine if you have posting date in DSO or target structure
this is little bit complex, so you need ABAP skills....

Similar Messages

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • How can I verify credit of an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    How can I verify credit for an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    Have you checked the account's purchase history to see if anything could have used up the balance : See your purchase history in the iTunes Store - Apple Support ?
    If there aren't any purchases then try logging out and back into the account (e.g. on your iPad tap on your id in Settings > Stores and then log back in) and see if a balance then shows on it. My account's balance shows at the top right of the store's page on my computer's iTunes, by clicking on my name towards the top right of the iTunes screen, and by logging in to view my account via the Store > View Account menu option. On my iPad devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > Stores and it should show on the screen that you are taken to)

  • Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Yesterday, I downloaded I.O.S. 8 to both my iPhone and my wife's iPad at the same time.  She wants I.O.S. 8 removed.  How do I remove it from both devices?  I am willing to resort to my old IOS7.1.2.

    Sorry...downgrading is not supported.

  • I recently bought a 4th generation ipod shuffle.  Am I able to have both music and audio podcasts loaded on it at the same time?

    I have not been able to include both music and audio podcasts on my shuffle at the same time. Is this possible with the shuffle?

    I disabled all my computer's firewalls and sure enough, IT WORKED!! My iPod is updated and just now finishing restoring! Thank you SOOOO SOOO much. : D

  • Why cannot up-to-date licenses be managed in VLM at the same time as not up-to-date licenses?

    Why cannot up-to-date licenses be managed in VLM at the same time as not up-to-date licenses?
    NI says that existing DIAdem licenses (not up-to-date, but legal) on VLM cannot be merged with new (up-to-date) LabVIEW licenses will not work on VLM. Why cannot two separate license files be installed? Or, what about the alternative of running two VLM installations on one server by using different ports? Do I really have to have two VLM installations, each on a different server??

    Please reference this discussion forum for more information.  Thanks!
    Matt S
    National Instruments
    Applications Engineer

  • Sync with both Mac os 10.4 AND Windows XP at the same time?

    After much research AND much frustration with my Moto Q... I have decided on a Palm Centro (the prodical is returning home --- i used to use Palm all the time)
    Here is my one question... I use Outlook on my computer at work (XP - office suite) and I can use Palm Desktop (or iCal) on my Mac at home (10.4)
    Is it possible to setup the palm to sync with outlook at work and either iCal or Palm Desktop at home so that the same calendar, tasks, contacts, are on work comp, home comp and Centro at the same time? will i make something blow up? I am just trying to get prepped for when I am able to get the centro (8 days and counting).
    If nothing else... I haven't been syncing to the Mac at home with the Moto Q and so I am really not 'out' anything... just wanted to know if it could be done?
    anyone out there doing this? 
    Post relates to: Centro (Verizon)

    yeah... i was thinking Cabled sync. I just want to be able to make changes at work on outlook, sync them with my centro, take my centro home, and sync it with my mac (using palm desktop OR iCal -- suggestions?!) and have the information the same in both places!
    I am wondering if the centro, unlike my iPod, will allow me to sync in two places (not at the same time) and possibly even with different software (outlook and palm)
    Thanks! 
    Post relates to: Centro (Verizon)

  • Is Cleartype able to support both RGB and BGR sub pixel panel displays at the same time?

    Hi,
    I am using 2 27' LED displays on my PC. One has RGB sub pixel, the other has BGR sub pixel.
    I have problem to tune the font using Cleartype. I have tried to tune all displays a few times and always get the following result.
    If I use the RGB one as the primary display, the font on the RGB display looks ok but the font on the BGR display looks weird after tuning using cleartype.
    If I use the BGR display as the primary, the font on the BGR display looks ok but the font on the RGB display looks weird after tuning using cleartype.
    Basicly, the after tuning with Cleartype, the font on the Primary display looks good but on the other looks weird.
    I have also tested with single display setup. i.e. connect only the RGB sub pixel display or the
    BGR sub pixel display.
    ClearType tuning works well for single display setup no matter which display I have connected.
    But once I connect the 2nd display and tune using Cleartype, the font on the Primary display looks good but on the other looks weird. (The same as above)
    To be more specific, the RGB display is Philips 278C4 (connect using HDMI), the BGR display is Dell P2714H (connect using DisplayPort. I have also tried DVI. DisplayPort or DVI give same result).
    My system is Win 8.1 Pro x64 JA-JP with all latest patches installed, and my graphic card is nVidia GTX 760, with the latest driver installed.
    I suspect this is due to one display has RGB sub pixel panel, and the other has BGR sub pixel panel, which means
    Windows ClearType need to take care both RGB and BGR for at the same time. I am not sure if this is fully supported by Windows 8.1 ClearType.
    Is there any solution or workaround to make the font on both displays looks nice?
    Thanks.

    Hi,
    Windows includes several technologies to render text on the screen. These include Windows GDI, Direct Write and Windows Presentation Foundation.
    Windows GDI is limited to using one set of ClearType settings per system
    while the other two support different settings per display.
    It depends. Most LCD screens have a RGB striping order. A very small number have a striping order of BGR.
    For more question, refer to this link:
    ClearType FAQ
    http://www.microsoft.com/typography/ClearTypeFAQ.mspx
    Kate Li
    TechNet Community Support

  • Trying to get Open NAT Type on 2 Xbox 360's at the same time

    After buying 3 new routers in a row trying to find a compatible router at my last house with Comcast, I finally found one that works then move to a house with Fios. I LOVE the speed... but this modem/router took our nat issue back to square one... obviously we're trying to play CoD: MW3 together, but we're both getting moderate NAT. I read a couple posts on the forums here and nobody could offer up a solution (looks like it has something to do with a NAT table that's too small or something?)
    Anyway, I came up with a potential solution but it's something I've never done before, maybe someone else knows how:
    I'm trying to connect my old dlink router to the actiontec router's internet connection, then have the xbox's connected to the dlink router with dhcp enabled. my theory is to make the actiontec router accept whatever traffic is coming through the dlink router, without knowing what devices are connected to the dlink router.
    in this way the dlink router could potentially control the NAT between the xbox's via UPnP by itself, and the actiontec router would have the xbox live ports forwarded to the dlink router's ip address.
    Am I crazy, could this work? so far I have the dlink router on a seperate subnet (192.168.0.1) while the actiontec is 192.168.1.1. the dlink router can ping machines on the actiontec router's network but not vice versa. also the dlink router cannot access the internet through the actiontec router yet. which is why i'm here. if this could work, can anyone explain how to set it up?

    TallgeeseIV wrote:
    After buying 3 new routers in a row trying to find a compatible router at my last house with Comcast, I finally found one that works then move to a house with Fios. I LOVE the speed... but this modem/router took our nat issue back to square one... obviously we're trying to play CoD: MW3 together, but we're both getting moderate NAT. I read a couple posts on the forums here and nobody could offer up a solution (looks like it has something to do with a NAT table that's too small or something?)
    Anyway, I came up with a potential solution but it's something I've never done before, maybe someone else knows how:
    I'm trying to connect my old dlink router to the actiontec router's internet connection, then have the xbox's connected to the dlink router with dhcp enabled. my theory is to make the actiontec router accept whatever traffic is coming through the dlink router, without knowing what devices are connected to the dlink router.
    in this way the dlink router could potentially control the NAT between the xbox's via UPnP by itself, and the actiontec router would have the xbox live ports forwarded to the dlink router's ip address.
    Am I crazy, could this work? so far I have the dlink router on a seperate subnet (192.168.0.1) while the actiontec is 192.168.1.1. the dlink router can ping machines on the actiontec router's network but not vice versa. also the dlink router cannot access the internet through the actiontec router yet. which is why i'm here. if this could work, can anyone explain how to set it up?
    to get both working, you must enable uPNP on your router. If you are connecting your xboxes to your Actiontec, same rule applies. There is no way to allow two xbox's to connect with OpenNAT without uPNP.
    Your best bet (if you can't move the actiontek behind your D-LINK) is to hook the two xbox's up to the Actiontec (preferable wired, but wifi should work).
    I have 2 xbox's running fine with uPNP enabled. Both have OpenNAT.

  • How do I get internet on both my Mac Pro and my macbook pro at the same time?

    Both are running 10.6.8 operating systems.
    There is one ethernet jack in my office. The mac pro does not have a wireless card.
    I want to use internet on my macbook pro from the mac pro. I'm thinking internet sharing through ethernet cord (ethernet cord from wall to mac pro, then second ethernet cord from mac pro to macbook pro), or via firewire. Both methods tell me on my macbook pro that I am connected to the internet but when I try to use the internet it fails.
    Is this an ip address problem? how do I change that?
    suggestions? maybe there is a better way to do this?
    Thanks!!

    Get a router.
    A Apple Airport Extreme router is easy to setup and has extra ports on the back for Ethernet to the MacPro.
    This way you'll have Wifi and can take the MacBook Pro anyplace in range and use it, instead of burning up that Firewire port and being on a leash.
    You could be having IPv6 issues with the MacBookPro if it's on a later version of OS X.
    Look under your network > Advanced TCIP and turn off IPv6, reboot.

  • To processa huge data with good speed and also paint the same data!

    In my project genebrowser in which i am plotting gene, snp, and various other map, I am teking input as a flat file and also page is dynamic like user can change the coordinate view that he wants to see.
    1. We have to plot GC percentage after reading the file and this GC % data is of around 10-15 MB size.How to manage this?"
    2. due to plotting this huge data the painting of components get very slow.how to manage this?

    If you use SS2008 and onward take a look at table valued parameter
    create table myTable (col1 int, col2 datetime, col3 varchar(max))
    go
    create type myTableType as table (col1 int, col2 datetime, col3 varchar(max))
    go
    create procedure up_myTable_insertFromTable 
      @myTableData myTableType readonly
    as
      insert into myTable (col1, col2, col3 )
      select col1, col2, col3 
        from @myTableData 
    go
    declare @myTable myTableType
    insert into @myTable values(1, getdate(), 'Table Valued Parameters are great')
    exec up_myTable_insertFromTable @myTable
    The stored procedure parameter has to be READONLY. 
    This means that you cannot modify it within the stored procedure. 
    You can only modify it in the scope it was created. i.e.
     If you created a table type variable in your procedure you can modify the data in it, 
    however if you pass that to another procedure that other procedure cannot modify it as it wasn't create 
    in the scope of that procedure.
    Otherwise
    1 /*
        2 Here is the string that we need to split
        3 */
        4 DECLARE @str VARCHAR(100)
        5 SET @str = '0001,0002,0003,0004,0005'
        6 
        7 /*
        8 I am converting the string to an XML structure by 
        9 inserting XML tags.
       10 */
       11 DECLARE @x XML 
       12 SET @x = '<i>' + REPLACE(@str, ',', '</i><i>') + '</i>'
       13 
       14 /*
       15 Now we can apply XQuery to return a result set
       16 */
       17 SELECT x.i.value('.', 'VARCHAR(4)') AS Item
       18     FROM @x.nodes('//i') x(i)
       19 
       20 /*
       21 Item
       22 ----
       23 0001
       24 0002
       25 0003
       26 0004
       27 0005
       28 
       29 (5 row(s) affected)
       30 */
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Can I import two sets of data to Essbase at the same time?

    For example, use two MaxL Scripts to import data to one Essbase Application Datatbase in the Same time, is there any impacted or will fail one of them or nothing will happen but just slower?

    Hi,
    It is possible you run 2 dataloads at the same time, there will be probably be an impact in performance than just loading one file at a time, not sure of the impact, you will have to test.
    If you are talking about a BSO cube you could also have a look at the essbase configuration setting DLTHREADSWRITE to see if you can improve the dataload time by increasing the threads.
    If it is an ASO cube then you should be able to do multiple dataloads into different buffers, though you have to commit them to the database at the sametime.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem with the Posting Date of Goods Receipt or Invoice Receipt for PO

    Hi All,
    I am working on 2LIS_02_SCL - Purchasing Data (Schedule Line Level),
    For our report, we should get the scheduled PO quantity,actual PO qty, Scheduled date and actual date in the report.
    we are getting all these fields from the above extractor...
    For a PO which is opened (Delivery Completion indicator not set) - we where getting all field as in ECC(ME23N)
    But for a PO which is finished(Delivery completion indicator is set) - we where are getting actual GR qty,planned qty,planned or scheduled date at schedule line level.But we are not getting the Posting Date of Goods Receipt or Invoice Receipt for PO from history EKBE for all the schedule line.
    ex:
    for open PO
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    02/10/2011       1 day          100             100             0
                                                     2              02/10/2011    04/10/2011       2 days        200             400            200
                                                     3              03/10/2011    07/10/2011       4 days         300            300              0
    For the same PO when it is Finished or completed(Delivery completion indicator is set)
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    07/10/2011       6 day          100             100             0
                                                     2              02/10/2011    07/10/2011       5 days        200             400            200
                                                                    03/10/2011    07/10/2011       4 days         300            300              0
    for all the schedule line its displaying the last posting date(i think its taking from EKKO table)
    Is there any possibility to get that posting date history ....

    You can have multiple receipts against a PO schedule line, but this extractor is not meant to go to that level of granularity.  Please try to use 2lis_02_sgr instead which provides goods receipts per PO schedule line.

  • 2lis_02_scl or 2lis_02_itm - goods receipt/invoice receipt number

    Hi Gurus,
    there is a field:
    BUDAT - Posting date of goods receipt/invoice receipt for purchase order;  Table: EKKO/EKBE
    in 2lis_02_scl and 2lis_02_itm Data Sources.
    As I can see, for every Purchase Order Item I get three records:
    - one record for the last Invoice Receipt (with Posting date of invoice receipt in BUDAT field) 
    - one record for the last Goods Receipt (with Posting date of goods receipt in BUDAT field)
    - one record for something else.
    Do I understand it well? What is the third record?
    I would to get Material Document Number, that is, Invoice Receipt Number for the first record and Goods Receipt number for the second one. How can I make it?
    Regards,
    Dorota

    you should be able to use Movement Type field to differentiate between Invoice or Good Reciept.
    Regards,
    Gaurav

  • How to get both OTF data and spool at a time

    Hi Experts,
        My requirement is to get both OTF data and spool.
    In 'OPEN_FORM' i tried passing itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    I was able to get OTF data but spool is not getting generated.
    IF i pass only itcpo- TDNEWID = 'X'. the spool is getting generated but not OTF data.
    when both the fields are set i.e. itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    the spool is generation is getting supressed.
    Similarly when i tried to get OTF data by passing itcpo-TDGETOTF = 'X'. to 'OPEN_FORM' as i need to convert it to PDF and send it to vendors as email ,
    The print preview in TCODE ME23n was not getting generated for 'MESSAGE' option 'External send'.
    Please suggest me how to get both OTF data and spool at a time.

    Hi Kartik,
    This one is similar to my question to print and email invoice at same time.  I pass itcpo-tdgetotf = 'X' in order to get otfdata and send email with the attachment of otfdata.
    Now I have data in otfdata, but when I call print_otf function, I clear out itcpo-tdgetotf, and passed
    itcpo-tddest = device_type but I still get error message said 'Handler not valid for open spool request'.
    Can you give me a working example that you have otfdata table and print data from that table.  I also post my question on other thread
    submit report and export to memory
    thanks

Maybe you are looking for

  • Best practice for centralized material planning in distributed environment

    Hi All- Hope everybody is doing fine. Things are going fine,at my end. We are debating on the organization hierarchy decision at our current utilities client. We are proposing that: 1)     We will have central warehouse as plant/storage location/ware

  • Aperture 1.1 performance during longer work time

    Hi, I have Aperture 1.1 running on a G5 2.3GHz dual core with a 7800GT and 8GB RAM and on my MacBook Pro 2.16GHz with 2GB RAM. Aperture runs fine and the performance is good on both machines, after staring a work session. But after a few minutes and

  • PIcture in a new quicktime movie

    I have 2 .jpg's that I was able to copy and paste into a quicktime movie. When I press play, how can I adjust the time that the picture appears for? When i press play it basically just flashes between the two pictures back and fourth. Please Help

  • Flash animation playing way to fast in slides

    Hello all, I imported a flash AS3 annimation in captivate 8, but the animaton plays faster than it should. Is there anyway that i could get it to the normal speed as when i play it in a flash palyer ? thanks in advance.

  • SMALL BUSINESS SWITCH SLM 2024

    Hi , for some reason, i cannot access the switch via the web interface. i reset the switch to factory settings , and the same thing happens. i tried to access the switch via a diferrent pc and still the same, i would appreciate some help on this.