Movement types in a date range

Hi All,
I need to get all the movement types occured in  date range for a material.
I got movement types for material form MSEG but i need to specify within date range.
Plz suggest.
Thanx
Rohit

try it like this: you will get the movement type between this date & time range from mseg
Select a~BWART
  into table t_itab
  from mseg as a inner join mkpf as b
    on a~MBLNR eq b~MBLNR
   and a~MJAHR eq b~MJAHR
where b~BLDAT between l_BLDAT     and h_BLDAT
   and b~CPUTM between s_time-low  and s_time-high.
or you want to check for a single movement type than
Select single a~BWART
  into w_bwart
  from mseg as a inner join mkpf as b
    on a~MBLNR eq b~MBLNR
   and a~MJAHR eq b~MJAHR
where b~BLDAT between l_BLDAT     and h_BLDAT
   and b~CPUTM between s_time-low  and s_time-high
   and a~BWART eq p_BWART.
if sy-subrc <> 0.
Endif.
With luck,
Pritam.
Edited by: Pritam Ghosh on Feb 3, 2009 4:42 PM

Similar Messages

  • Moving multiple files by date range and/or file name filtered

    I need to move multiple files by date range and/or by filename (using a filter) to another directory. 
    OR
    How can I get the attributes of files in a directory, something you would see when typing in "dir" in a DOS or ls in UNIX.  I can parse this info and then make a array of files to move.
    The reason for needing this is that I need to move files that are located in another country, and sort them into different directories based on date.  Having to read each file for it's file information adds wasted time that I can't afford.  I am about to create a dos terminal to do a "dir" command to get the information and parse it out.. but I was hoping LV had a function that can get me that info so I don't have build it.
    THanks.

    You should use the 'File/Directory Info' functionality.
    This will return the last modificatoin of the file.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • TRANSACTION CODE IW31 MOVEMENT TYPE

    Hi,
    when i create order in iw31, i m selecting order type depending on the order type my movement type in item data general tab the movement type should change , as per the customization its selecting the default movement type for differnet order type,
    An the initial screen say if select order type ABC the, I enter line item at 0010 after selecting the line item, and after going to general data tab, the movement type is say 123
    now say if i select order type XYZ and enter the line items and when i go to general data tab , the movement tpe should change to say 789,
    how do i go about which user exit i should use to modify this,
    you reply will be highly appericiated

    Hi Kadam,
    How you solve this problem?

  • Data loading problem with Movement types

    Hi Friends,
            I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.
        Problem is Movement Types for some documents missing.
    But i checked in rsa3 that time showing correctly.
    i restricted the data in bw side infopackage level only particular document that time data loading perfecly.
    this data source having 53,460 records.among all the records 400 records doc type 'we' movement types are missing.
    please give me solution for this how to loading the data with movement types.
    i checked particular document of 50000313 in RSA3 it is showing movement types. then i loaded data in bw side that time that movement types are not comming to be side. then i gave the particular doc 50000313 in infopackage level loading the data that time movement types are loading correctly. this extaractor having 55000 records.
    this is very urgent problem.Please give me reply urgenty. i am waiting for your's replys.
    Thanks & Regards,
    Guna.
    Edited by: gunasekhar raya on May 8, 2008 9:40 AM

    Hi,
    we enhanced Mvement type field(MSEG-BWART) General ledger (0FI_GL_4) extractor.
    this field populated with data all the ACC. Doc . number.
    Only 50000295 to 50000615  in this range we are not getting the movement types values.
    we didn't write any routines in transfer and update rules level.
    just we mapped to BWART field 0MOVETYPE info object.
    we restrict the particular doc no 50000313 infopackage level that time loading the the data into cube with movement types.
    but we remove the restriction infopackage level then loading the data that time we missing the movement types data of particular doc no 50000295 to 50000615.
    Please give mesolution for this. i need to solve this very urgently.
    i am witing for your reply.
    Thanks,
    Guna.

  • Extracting Movement type wise data(MSEG) based on posting date from 0IC_C03

    Hi Experts,
    I have implemented 0IC_C03 in devlopment client and preparing a Physical Inventory report.
    I want to know if I can directly extract the fugures such as Process Loss, Sales, Sales Return, Transfer In and transfer out from the cube 0IC_C03 so, my question is ...
    Is it possible to extract the movement type wise data as in MSEG from any KF of 0IC_C03 ?? If its possible which particular KF should I use from the cube ??
    Please respond at the earliest.
    Thanks,
    Romil

    Hi,
    You  can extract 0RECTOTSTCK & 0ISSTOTSTCK from 0IC_C03 but you need put corresponding Movment type for each
    you can't put 0TOTALSTCK, it is Non-cumulative key fig,
    even all key fig except Non-Cumulative key Fig like (0TOTALSTCK ,   0VALSTCKQTY  ,  0VALSTCKVAL.....) can be extracted
    Best Regards
    Obaid

  • EasyDMS - search by date range for characteristics of type date

    Hi Folks,
    I have a characteristic of type date in the additional data of a DMS document. If I enter the date (for example validity date) as 08/31/2009 and search using cv04n and give a date range for the characteristic (i.e. 01/01/2009 - 12/31/2009), the search result will bring up the document.
    However, I cannot do this from the EasyDMS find function. I need to specify an exact date. This is not very helpful for user who need to find documents with a validity date between 01/01/2009 - 12/31/2009 for example. Is there a way users can search for date range in EasyDMS find function?
    Thanks,
    Lashan

    To search a date range with EasyDMS Client you have to set the registry key
    \HKEY_CURRENT_USER\Software\SAP\EasyDms\Generel\DateSearchPick to Value 0
    Then you can use the input field like in SAP-Gui. (01.01.2009-31.01.2009)
    If you set the value to 1 or the key is not defined you can only search for one specified date.
    If you don't find this key on your PC create it as dword.
    Maybe you must restart you PC for takeing effect.
    Hope this will help you.
    Regards Wolfgang

  • Movement types data not capturing from BW cube data load

    Dear Experts,
    We are supporting BPC 10.0 Netweaver consolidation activities.
    As a part of the monthly consolidation, we are loading the ECC data available in the BW cubes into BPC.
    0FIGL_C10 cube: From this standard cube we are capturing the movement types (i.e, transaction type details) for the balance sheet items. So opening minus closing should be equal to the movement types.
    ZFIGl_CA10  : From this cube the YTD closing balances of the balance sheet items are captured.
    Opening balances are copied from the last period of the previous year through balance carry forward.
    For a balance sheet itens, we are getting the F99 closing balances correctly captures.
    But, the movement types are not getting captured correctly and the difference between the (opening + movements) - closing is sitting the controls.
    I have tried to check ECC data for these accounts in FS10N and 0FIGL_C10. The monthly data is all flowing properly. But when coming into BPC movement type alone has the problem.
    The transformation and conversion has all worked fine time June 2014 but July 2014 it has incorrect figures.
    No modifications are done for both the file.
    Please find the below attached screen shot and kindly help me on the same.
    Regards,
    Shilpa

    Hi Shilpa,
    I had the same problem in mi last consolidation implementation and the solution in this case was
    implement all the data flow for the 0FI_GL_014,
    Regards,
    Mario

  • Subasignment and Movement types in Data colletcion

    Hi
    How to upload reported data first only with all subasignment (Trading Partner, Segment, other Customs) but without Movement Types (MT) and after this load again but only with MT?
    If we do in that order we have double value for item. BDC reguired value for subassignments. For MT it's not necessary to provide ifnormation with other subasignments.
    Sholud we use AFD function for that or there is other way to do this.
    Thanks,
    Pawel

    Thanks Dan
    1. Beacuse BDC are required and MT can not be upload with other subbasignements we must use double values - but when we have doubled values on item (one with subbasignements, other just only with MT) is correct for further BCS process (CoI, IU Eliminations, Reclasyfication, Currency Translation) ?
    2. What about posting MT on statistical items? I mean first upload reported data with subbasignements (without MT) on BS items and then upload MT on statistical items (statisticla items = BS items created as statistical. In our case Equity and Investments are posted in one upload with MT and other subbasignments, so for CoI should be correct (read from Total Record)?
    regards,
    Paweł

  • Disable Shelf Life Expiration date for Movement Type 311

    Hi All,
             Whenever we run the transaction MB1B with the movement type 311, it copies the batch and its shelf life expiiration date. Due to this, there are time when the user unknowingly enter a differrent SLED and hence change the batch unknowingly. We want to stop this. We want that while we are doing 311, the batch record and the SLED should get copied from the batch master BUT the field for SLED should be grayed out or the user should not be abale to enter ANYTHING in the SLED and the system should take the default SLED from batch master. Can we achieve it through config ? Please suggest.

    Please get a user exit developed and add it to the program SAPMM07M which is used in MB1B which will solve your purpose. The User exit should be fired when using 311 movement type during copying of Batch Characteristics. Hope this helps you.

  • Missing movement type data in 0IC_C03 cube

    Hi Gurus ,
    i  have deltas running for 0ic_c03 cube in B1 7.0 i have used transformations for loading cube .
    In a report of this cube for plant material stock,  i can c the quantities matching with MB51  report of R/3 where as the values are not matching for sum material ( negative stock values with 0 qtys )
    i found that a movement type 121 data is missing in BW
    i have read thread on the forum suggesting  to work on OMJJ transaction and make 121 movement type as statistics relevant.
    But i want to know how this action will effect on R/3 update controlling ?
    any inputs will b a grt help
    Edited by: Rajesh Dalwadi on Jan 13, 2009 12:09 PM

    Hi,
    We faced lot of problems with missing movement type, fo that we taken correct confirmation from MM team and then added it in Update Rules and deleted the data in Cube and then Re-Initialized the Cube.
    To do this, you need ECC Down Time. I'm talking about BW 3.5. I think in BI7, it may be easy, (without taking down time, pls check).
    Thanks
    Reddy

  • Movement Type data is not Showing in IW39 tcode

    Hi,
    We run the T.Code IW39 for Single Plant...Output showing correctly....
    But after select whole output, we goes in Environment --> Goods Movements path...but after this, No objects were selected..even i select all the output comes after execution...
    For other Plant, movement type data is coming.... Please help me out of this...
    Regards..

    Hi,
    'No objects were selected' status message appears when you have not selected the order against which any goods movement have taken place. may be with your other plant there are few orders against which the goods movemements have been recorded in the system.
    you can better be ensured by selecting the particular order against which goods movement have been carried out.
    Regards,
    Lucky.

  • Import Movie-type Raw Data File

    Hi Folks - this one should be an easy one but having problems.  Been given a single file that is a series of 10 frames with 256 rows x 320 cols for each frame.  Data representation is I16 or U16 (I have tried both [also tried I8/U8 just in case]). I am using the following simple piece of code to try to open but getting error 71 (File datalog conflict).  Any thoughts - need a second set of tired eyes to look at this.  The raw data file I have named .doc just because the forum post would not accept .raw extension which is what you can rename the raw data file to.
    Message Edited by DonRoth on 09-04-2008 03:27 PM
    Message Edited by DonRoth on 09-04-2008 03:28 PM
    Message Edited by DonRoth on 09-04-2008 03:29 PM
    Message Edited by DonRoth on 09-04-2008 03:30 PM
    Attachments:
    open movie-type file.png ‏7 KB
    al_cor_shut3_10frames.doc ‏1600 KB
    test1.vi ‏41 KB

    My impression when I got the file was that all of the frames were first stored in an array prior to just writing to a file.  (The acquisition was done with a non-LabVIEW controlled instrument).  Then I thought maybe each frame acquired was then stored, followed by next frame acquisition and storage, etc.  Now, my next approach is the byte (binary file) reading using options of I16, U16, big-endian, little-endian as options.  For example, here is the code to do one variation and this seems to be getting me closer (I am not in touch with data acquirer to see what the actual frames should look like).  With this code, I am definitely opening the data frames and displaying them. 
    Message Edited by DonRoth on 09-05-2008 11:08 AM
    Message Edited by DonRoth on 09-05-2008 11:09 AM
    Attachments:
    open movie-type file-binary_read.png ‏9 KB
    therm.png ‏44 KB

  • While uplading Flat Files data to BW without movement type...........

    Hi
    We have to populated historical data to BW. In r/3 we are maintaining MM data with respect to Movement Type.
    However, the historical data which is provided to me is not with respect to movement type.
    will that affect accuracy in reporting if i populate the historical data without Movement type to 0IC_C03.
    Can anybody suggests, how to proceed with this.......
    Thanks in advance...
    Rahul

    Rahul
    You can ask your client to provide you the data according to movement type. Also you can get movement type mappings from the transaction OMJJ.
    If you upload the data without movement type, then you will have problem, while you generate reports which involves historical and operational data.
    Hope it helps
    Sayed Rafi Basheer

  • Classification Data (SLED) not Updated for Movement Type 561

    Dear All,
    I have noticed that after uploading the opening stock with movement type 561, the Classification data (Date of manufacture & Shelf Life expiry date) which was captured in MB1C is not updated in the batch master in Classification Tab.
    Is this standard SAP behaviour for 561 movement type? Or is there any config is missing?
    Please advise.
    Regards,
    Suresh.

    Hi Suresh,
    For your question I understand that while uploading the initial balances, system didn't ask you for the Manufacturing date or total shelf life date. Following is the solution:
    You have to maintain "Check SLExpir.date" and "Classif.batches" indicators for the movement type 561 or any movement type you required. This customization can be perform through SPRO>>MM>>IM>>Goods Mvt. and mvt. No.
    Also activate SLED at plant level in customization.
    Regards
    SAK

  • Movement Type Data is missing

    Hi experts,
    Can some one tell me why i am not getting Movement Type data in the inventory cube 0IC_C03 after loading from 2LIS_03_BX,2LIS_03_BF,2LIS_03_UM infoSources ??
    The thing i don't understand is i can see data for Movement Type in the PSA but not in the cube ?
    Thanks a lot
    B

    Hi,
    I  never see the the characterstic for holding the Movement Type information. I mean to say, there is no characterstic(for example 0MOVETYPE) in Info cube 0IC_C03. Thats why your not able to see the informatin regarding  Movement Type .
    Try this:
    Enhancing(including 0MOVETYPE)the cube.Enhance the DS 2LIS_03_BF only.  It does not make sense to enhance the DS 2LIS_03_BX to have the stock initialization with respect to movement type.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • How to integrate Offlineline  adobe forms in webdynpro

    hi all, iam designed adobe forms through the SFP transaction and developement of driver program to call the forms  through the application program i.e se38. here, the data extraction from tables and popualating the data is okay. My question is how sa

  • Problem during a callback

    Hi, I have an RMI Server that calls back to a Swing Client. The callbacks sometimes go OK, but a lot of the time when I try to alert a simple string that was called back (through JOptionPane.showMessageDialog()), even though I can System.out.println(

  • Regarding the patch level..

    Hi All,      This is krishna, I created two types of add-ons.. One is, In the exiting form only i created some more fields.. Another one is, newly created user defined forms and in which some fileds..  It is working fine..  Later i upgraded the patch

  • There is no SIM card installed in the iPhone you are attempting to activate iphone 3gs

    Hello guys, after update ios in itunes my iphone 3gs cant to find carrier what is the problem telephone is stucked my carrier : Hotmobile , Israel please your help what i need to do now  ???

  • Emails werden automatisch gelöscht

    emails werden automatisch gelöscht. -Habe folgende einstellungen letzte 50 Mails anzeigen(habe aber nie mehr wie 15-20 mail auf dem Konto) -und Sync. Ereignisse 1 Monat züruck trotzdem verschwinden meine letzten Mails einfach plötzlich