SAP Movement Type- Quantity String and Stock type Modification (T156 M)

Hi, Can anyone help me in understanding, how a certain line is selected from T156 M to determine the segment string?
The Quantity string (T156M-BUSTM) comes from movement type, based on number of parameters. The Stock type Modification (T156M-ZUSTD) is a primary key along with Quantity string (T156M-BUSTM), to determine the appropriate entry and then segment strings, which will be used to update various tables and stock types.
Can somebaody explain how the relationship of Quantity string (T156M-BUSTM) and Stock type Modification (T156M-ZUSTD) is established for a transaction?
Thanks for help
Best Regards,
VS

Hello Bass,
You might have to go for a table join for MKPF and MSEG to get all the data as per your requirement.
You can use the below fields.
MKPF-BUDAT for posting date
MSEG-BWART for movement type
MSEG-SHKZG for debit/credit indicator
MSEG-SOBKZ Special stock
Regards
Greg

Similar Messages

  • Stock on posting date with storagelocation,batch and stock types informatio

    Hi,
    I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
    Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
    I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
    I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
    Any light on this matter is highly appreciable.
    Regards
    Prasanna

    Hi Amit Bakshi,
    Thanks for the reply..
    I executed the suggested program but i found the same kind of information aslike in MB5B..
    The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
    For eg.
    On 15 / 03 / 2011
    Material A
    Batch       Slocation       Stock type               Closing balance Qty.
    A1              S001               Unres.                             50
    A1              S002               Unres                            120
    B1              S001               Quality                             15
    C1              S003               Blocked                            30
    In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
    Reg
    Prasanna

  • Transport.of SAP script form , printer def and device type is not enaugh

    I transported the SAP script form , printer definition and device types of a thermal printer.
    On original system the printout is ok but on target system not. What should I do?

    Thank you for your fast answer
    As the matther of fact I am technical person. I think Output type belongs to application. However the difference is visible in  se71 ->Utilities->Printing test -> output device ->print preview.
    As I wrote I transpored corresponding. SAP script form , printer def and device type

  • To differenciate string and list types in Xpress language

    Hi! I have a question in Xpress language:
    I'd like to know how to differentiate between string and list types. For example, *<s>orange</s>* and *<list><s>orange<s></list>*
    How does it know Xpress language what is it string or list?
    Thanks a lot.
    P.D. Excuse for the strike text, I don't know why it shows striked test.

    Try this:
    <instanceof name='List'>
    <ref>orange</ref>
    </instanceof>
    Edited by: Mindie on Mar 28, 2008 8:12 AM
    Edited by: Mindie on Mar 28, 2008 8:13 AM
    Edited by: Mindie on Mar 28, 2008 8:13 AM
    Edited by: Mindie on Mar 28, 2008 8:13 AM

  • Dynamic destination bin with Mov. Type 311-312 and Storage type 001?

    Hello WM experts,
    I'm tryng to determine dynamic destination bin with mov. type 311, when trasfering handling units from IM to WM storages (VLMOVE). First 311 transfer to St. type 921, and then 312 transfer from 921 to St. type 001. I don´t want to use a Fixed destination storage bin in St.type 001, I'd like to configure this like movement type 601, that create a dynamic destination bin using outbound delivery. Can be this possible?
    Another question I have: Is possible to crearte individivual items with Source target quantity in alternate unit equivalent to 1 unit, in LT03. For example, the item 10 of my outbound delivery says 3 ST of XYZ material. But I want to crear 3 items with Source target qty. 1 ST. Is this possible with customizing or using an enhancement? ...
    Why I want to find a way to do any of these things above, because when I have indivial intes in the TO, I can confirm them in RF (LM61) just pressing one button, I don't need to declare any difference, and makes my picking process faster.
    Best regads, and thanks for you time and help.
    Favio Del Castillo.

    Hi Mohit ,
    please check below link , you need to perform steps as given
    http://help.sap.com/saphelp_470/helpdata/en/4d/2b90b043ad11d189410000e829fbbd/content.htm
    also see the sales order subcontracting using the business addon
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c7/2587b8dad94c52854ccd28015dceb0/frameset.htm

  • Time Management - Processing Type, Schema TM00 and Absence Type

    Just like to understand how the processing type is use in TM. Where do we tight the processing type to the absence type? How the schema make use of processing in the time evaluation processing?
    Appreciate some sharing on this topics. TQ.

    HI
    In the TIme evaluation , you can write your absences or LOP in time wage types or create FM to add the LOP day to 2001 .
    Rest of the devaiations can be put in time wage types and can be read in payroll .
    Regards
    sameer

  • 2LI_03_BF Material Stock Type and Stock Category Determination

    Hi All,
    I need your help in determining the stock type and stock category of a certain material.
    Is there a way to determine it manually? cause i tried to look at the MSEG table and it does not show anything but when i try to run the material document that contains the movement/material it populates the stock type and stock catertory in the setup tables.
    Regards,
    Alden

    Hello
    1) 2LIS_03_BF clearly gives you the receiving plant and the issuing plant. For eg if you are doing plant to plant transfer there will be 2 entries in 2lis_03_bf , one for issue and one for receiving. You can bifurcate the receiving plant and the issuing plant by using either process key (BWVORG ) or debit credt (SHKZG)  (H stands for issue & S stands for receipt).
    2) 0MAT_PLANT_ATTR  provides you the plantwise specila procurement type
    3)  you will get  VBUK-GBSTK in the standard source 2LIS_11_VASTH . You will have to combine the data at the BW level
    Regards
    Gajesh

  • LS24 stock showing up as negative with stock type Q

    Hi Gurus,
    Can anybody please help me through this issue. The quality team passed an inspection lot and i see that there is a mterial doc generated with movement type 321 with a storage type 922, storage bin TR_ZONE stock category Q and posting change number on the WM tab of the material doc. Now i also see that there is this quantity of material showing up in LS24 with a negative sign and stock type Q. Now what do we need to so that the entry for the material goes away from LS24 and that the user can move this material from storage type 922 to 003 (where we usually store all tyhe materials).
    Thanks
    Anusha

    As susggested, i tried to creat the transfer order from LU04 and/or LT06 and i get the error message.
    No quants exist for posting changes
    Message no. L3094
    Diagnosis
    No quants requiring a posting change were found.
    Procedure
    Check your entries.
    Also to give little more background on why this problem could be happening is, all these days we used todeal with 101 movement type for international purchases. But recently we went with 107 and 109 movement types for international purchases. The advantage of doing this was, some of our vendors were on 30 days payment terms and it usually takes 60 days to get the material via ocean to US. PLus we take the ownership of material in Asia. So the way we handled this was the moment ownership is taken we would do a 107 (here inspection lot will not be created as the material is still on the water, this is made in config), which would then allows us to post invoice and process for payment, then finally when the material arrives at our plant in US, then we would do a 109 (during this inspection lot will be created, i made this entry in config). I'm starting to think that this could have impavceted somewhere in WM. By the way we only have one plant that is warehouse managed, rest of the other plants are not WM managed. I hope this background will help is solving this problem
    Thanks
    Anusha
    Thanks
    Anusha
    Edited by: anusha vemulapati on Aug 16, 2011 2:54 PM

  • Stock report based on stock type with a storage location

    Is there a standard SAP report that will give me the stock information based on the storage location and stock type (unrestricted, QI, blocked, etc?)...for instance if I want to find all QI stock in a certain plant/storage location?  I want it to show a list of materials and their quantities, not on an individual basis as in MMBE.
    Thanks!

    Thanks again for your response.  I've used your last mentioned method before but with MMBE you have to enter a material number.  We want a report of all materials in a particular stock type.
    I was able to achieve this by goign to MB52 and setting up a filter on a layout.  My users can now select that filter on the selection screen to get the desired result.
    Thanks again for you attempts to help!

  • Conversion from a string to date type

    I am trying for a servlet application , for which the requirement is as under :
    from a html form through a input type text field , a date in string format , say 12/25/01 , is picked up.
    this date is received in the servlet code , and is required to be updated in Microsoft Access Database Table under a field of data type "Date/Time"
    here the problem is , the date's existing data type is String and the Access' field's Data type is Date/Time , therefore, it needs to be suitably converted to a date format before it is put into a sql statement .
    please help , if any functionality is available for a conversion .
    thanx and regards

    yes stephen , taking a tip from you and another from a post from this forum yesterday on SQL Exception , i shifted my focus to java.sql.Date ,
    now modifying my code as under works with perfect perfection ,
    thanks stephen and joe schell for all the help
    kapil
    import java.text.*;
    import java.sql.Date;
    import java.sql.*;
    class HardTrial{
         public static void main(String args[]){
              Connection con = null;
              Statement stmt = null;
              ResultSet rs = null;
              Date d = new Date(123456789);// initialising with some value
              Date d1 = d.valueOf("1994-12-12");
              try{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              con = DriverManager.getConnection("jdbc:odbc:STUDENT_DSN");
              stmt= con.createStatement();
         PreparedStatement ps = con.prepareStatement("INSERT INTO NewTab VALUES (?,?)");
         ps.setDate(1, d1);
    ps.setString(2, "TESTING");
    ps.executeUpdate();
         rs = stmt.executeQuery("SELECT WHEN,WHAT FROM NewTab");
         while (rs.next()){
         System.out.println(rs.getString("WHEN")+ rs.getString("WHAT"));
         }catch(Exception e){
              System.out.println(e);

  • RMS error - Unable to cast object of Type 'System.Byte[]' to type 'System.String'

    Hi,
    I'm experiencing an issue when trying to connect to RMS cluster through server manager. Error is:
    Active Directory Rights Management Services could not complete the task because an error occurred. This error may be caused by variable conditions.
    Details:
    Exception message:
    Unable to cast object of type 'System.Byte[]' to type 'System.String'.
    Exception type:
    System.Web.Services.Protocols.SoapExtension (Inner Exception: System.InvalidCastException)
    I've re-installed server, I've reinstalled RMS role, I've tried with and w/o SSL connection to RMS but the error persists. OS is 2008R2 (updated), database is internal (test environment)... 
    Any suggestions?

    Actually there was not problem witg the laptop ! Please ignore this topic. Thanks.

  • Material document ,quantity and stock location for a given material

    hello all,
    i have a requirement like this.
    in the selection screen i have,
    material.....
    plant....
    posting document date.....
    i need to get material document number,quantity,units and stock location for the above mentioned selection criteria...
    what tables do i need to use..
    do i need to use any BAPI or Function module..
    thanks in advance...

    Hi Vinay ,
    Look into table MKPF & MSEG for material document
    anf for quantity in MARD
    Regards
    Yogendra Bhaskar

  • Where can I get the realtion  between Tcode ,idoctype and message type??

    Hello ,
    I would like to know the relation between Transaction code,idoc type and Message type.
    In which table I can find or which Transatcion I can get all these information..?
    Relation with Transaction code is must where can i find....??
    Please help me in this....
    Thanks in Advance
    Regards
    Preethi

    Hello ,
        It was very helpful answer.....
        But I want the relation with Transaction code....How can I find the realtion between Tcode and Idoc type or Tcode and message type...??
    Please let me know this...
    Thanks in advance..
    Regards
    Preethi

  • Condition class and calculation type missing for conditions downloaded from

    Hi All,
      I have downloaded all the condition types from R/3 using dnl custcndall
    I have even downloaded the following using r3as
    dnl_cust_cnd
    dnl_cust_prc
    dnl_cust_price
    But I have noticed that for the downloaded condition types, condition class and calculation types are missing. Please suggest.

    I have faced the same issue recently.
    The solution is in adapter object DNL_CUST_CNDALL for table T685 and other tables for T685 in that objet put the filters for condition type
    for ex: KSCHL eq PR00
    This sure will work.
    But you have to set this filter for all tables T685*
    Thanks
    Sarabjeet

  • My keyboard will work for about 5-12 typed letters and then will have to re start to beep each time I try to type a letter and I have to click on the field again to  start typing!!

    My keyboard will work for about 5-12 typed letters and then will beep each time I try to type a letter, and no type appears, and I have to click on the field again to  start typing!! Just getting this question typed was a huge chore!! We even bought a new keyboard and it did not fix the issue.

    It depends on what keyboard you have, if not than their May be a problem with your device

Maybe you are looking for

  • Problem inserting and querying XML data with a recursive XML schema

    Hello, I'm facing a problem with querying XML data that is valid against a recursive XML Schema. I have got a table category that stores data as binary XML using Oracle 11g Rel 2 on Windows XP. The XML Schema is the following: <?xml version="1.0" enc

  • How to use SSL certificates in OSX Server

    I have setup OSX server with a host name that is pointed properly to my OSX server. My question is about using certificates that were purchased through my domain registrar. I bought a cert and after the validation process, I was given a link to downl

  • New Macmini and older Cinema Display

    I just bought a new Macmini for my wife and tried to connect it with her LED Cinema Display that has no Thunderbolt. Although the manual says you can plug in the Mini Displayport connector tot the Thunderbolt outlet on the Mini, I only get sount, but

  • How to customize ESS Business package files in Web Dynpro

    Hi Does anyone know how we can customize the ESS Business Package using web dynpro. I tried opening one of its application but since it doesn't carry any .project file, it cannot be opened in the NWDS for customization. Also, if there is any document

  • Smart Forms - problem

    Hello All,   I have created a new smartform from scratch. I am reading in a structure that contains all my data. I just want to read the values and write out the new document. In the form interface i have Itab1 type my-structure(name). Then in global