Get PR quantity from ME21n using Exit

Hi Masters!
I want to get PR quantity for service PR numbers in tcode ME21N. I want to compare PO quantity with PR quantity.
I have extracted PO quantity already using this Enhancement MM06E005, EXIT_SAPMM06E_013.
data lw_field(50).
FIELD-SYMBOLS: <fs_esll> TYPE esll,
IF sy-tcode = 'ME21N'.
  ASSIGN ('(SAPLMLSP)ESLL') TO <fs_esll>. "<fs_esll>-menge contains user inputted desired PO qty
IF <fs_esll>-menge IS NOT INITIAL.
  "compare <fs_esll>-menge (PO qty), with ________ (PR qty)
  ENDIF.
But how to extract Service PR quantity at line item level?
Much help is appreciated. Thank you!

Hi,
Are you comparing them in the exit  EXIT_SAPMM06E_013 ? if yes there is the table XBATU in the same FM ....check out the data in that table
Thanks,
Shailaja Ainala.

Similar Messages

  • BAPI to get the Quantity from orders in live cache.

    Hi Folks,
            Can any body provide me the BAPI to get the quantity value for the orders saved in the Live Cache. I tried using the BAPI
    BAPI_SLSRVAPS_GETLIST2 ...  but its not fetching any records for me. what else i need to provide it as input.
    Thanks in advance.
    Thanks & Regards,
    Ramana

    Check this thread.
    Delete In-Transits.
    In-Transit is not a particular order. Any Goods Movement from one location to another location will be considered as In-Transit.
    Let's say Plant A is sending Product P1 to DC B against a Purchase Order.
    In that case in plant A the stock will be reduced by the quauntity of goods being shipped.
    At DC B, the Purchase Order will become In-Transit Stock.
    Thanks,
    Somnath

  • How to get all events from calendar using calcalendar store framework.

    Hello,
    I have two problems with calcalendar store framework programming.
    1. I need all the event which are present in iCal calendar.Event may be present in year 2025 or 2050. and if the event is recurring then i need only one event.
    2. if the event is recurring then i need only one event within the calendar event predicates (start date and end date). I am not suppose to give the occurrence date for event.
    How can I implement this with CalCalendar store framework.
    Thanks And Regards,
    xmax.

    Hi,
    Per my knowledge, there is not a method to get all the recurring events using CAML query in one request.
    Here is a thread with the similar question for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/eed6be6d-c9ff-4d01-80de-8a4b67d3d7a5/use-caml-to-get-all-recurring-events-from-a-calendar
    We can get all the calendar list events at first, then filter all the recurring event from the result set.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • HT4759 can anyone get their email from icloud using their android tablet?

    can anyone get their emial from i cloud when using their android tablet//

    i downloaded a CardDav app but it wants to know what my server name or URL is and I have no idea what server is needed?  from my android tablet server?  I have a verison ellipse7 i just rec'd yesterday and this is all new to me; and just newbie to iPhone from just two weeks ago. 
    AFter the server name it asks for user name and password - I assume that is for the iCloud email account, right?
    Carol

  • OdbcDataAdapter.Fill() not getting all rows from RDB using 64bit driver

    I am using VS2012 Pro on Windows 7 (64-bit). I am migrating an older 32-bit VS2008 app to the new environment. I'm building for the .NET Framework 4.5.
    The app queries an RDB database and uses the Oracle RDB drivers version 3.3.2.0. When I build as a 32-bit app and use the 32-bit Oracle RDB Driver, the query succeeds and returns all 341 data rows. When I built it as 64-bit and use the 64-bit driver, I only
    get the first 101 rows.
    Oracle says the problem is in the OdbcDataAdapter.Fill() method. I was able to confirm this. I created an OdbcDataReader and used the debugger to see what was being read, I can see all 341 rows, but when I use the DataAdapter.Fill (or DataSet.Load) method,
    the results are truncated to 101 rows. Changing the SQL to query different tables does not change the problem. Below is a code sample:
            private DataSet runQuery()
                string connString32 = @"PROVIDER=MSDASQL;DRIVER={Oracle RDB Driver};SVR=myserver;DATABASE=ATTACH 'filename mydatabase';CLS=myclassname;uid=myusername;pwd=mypassword;xpt=2";
                string connString64 = @"PROVIDER=MSDASQL;DRIVER={Oracle RDB Driver 64 Bit};SVR=myserver;DATABASE=ATTACH 'filename mydatabase';CLS=myclassname;uid=myusername;pwd=mypassword;xpt=2";
                string sql = "SELECT person_id FROM person_tab";      
                DataSet ds = new DataSet();
                using (OdbcConnection conn = new OdbcConnection(connString64))  
                    OdbcCommand cmd = new OdbcCommand(sql, conn);
                    OdbcDataAdapter da = new OdbcDataAdapter();
                    da.SelectCommand = cmd;
                    conn.Open();
                    da.Fill(ds, "myDataSet");
                return ds;
    Has anyone else encountered this problem? If so, how did you get around it?

    Hello,
    Since I do not have the RDB database, I made a test with both 32bit and 64bit ODBC Driver 11 for SQL Server and query for 1000 records, however, both of them can work fine.
    As far as I know, the ODBC is just a component as a bridge to connect the driver and the application and since you are use the Oracle RDB driver, I suggest you posting it to the Oracle forum:
    https://community.oracle.com/community/developer/english
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get ProxyEnable value from registry using Windows

    Hi,
    I have developed a webservice which check for a new version of software. Webservice works fine if the user does not use a proxy otherwise it raises an error "connection timeout....".
    I have found a lot of examples how to read a proxy from windows registry. It works fine. I have a problem with getting value for ProxyEnable. ProxyEnable is REG_DWORD type and I always get null.
    Best regards,
    Primoz

    Hi,
    I have found the solution. I put the solution into my blog. You can read more about that at http://javanus.com/blogs/?p=73.
    I hope this will help someone.
    Regards,
    Primoz

  • Getting null values from nodes using DOMParser

    Hi
    I'm having problems retrieving the values from an XML doc.
    I'm using the DOMParser, but instead of retrieving the values
    from the nodes, I just get null.
    Code fragment :
    DOMParser parser = new DOMParser();
    parser.parse(url);
    XMLDocument doc = parser.getDocument();
    NodeList nl = doc.getElementsByTagName("*");
    Node n;
    iNode = nl.getLength();
    for (int i=0; i<iNode; i++)
    n = nl.item(i);
    String szNodeName = n.getNodeName();
    System.out.print(szNodeName+ " (" );
    System.out.print(n.getNodeValue()+")");
    System.out.println();
    The result is
    course (null)
    Name (null)
    All the node names are correct, but the node values are NOT
    displayed.
    Any idea ?
    Rodrigo
    null

    According to the DOM Level 1 spec, the "value" of an ELEMENT node
    is null and the getNodeValue() method will always return null for
    an ELEMENT type node. You have to get the TEXT children of an
    element and then use the getNodeValue() method in the text nodes.
    Oracle XML Team
    Rodrigo Loureiro (guest) wrote:
    : Hi
    : I'm having problems retrieving the values from an XML doc.
    : I'm using the DOMParser, but instead of retrieving the values
    : from the nodes, I just get null.
    : Code fragment :
    : DOMParser parser = new DOMParser();
    : parser.parse(url);
    : XMLDocument doc = parser.getDocument();
    : NodeList nl = doc.getElementsByTagName("*");
    : Node n;
    : iNode = nl.getLength();
    : for (int i=0; i<iNode; i++)
    : n = nl.item(i);
    : String szNodeName = n.getNodeName();
    : System.out.print(szNodeName+ " (" );
    : System.out.print(n.getNodeValue()+")");
    : System.out.println();
    : The result is
    : course (null)
    : Name (null)
    : All the node names are correct, but the node values are NOT
    : displayed.
    : Any idea ?
    : Rodrigo
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • How i get user info from ldap using java after authenticating user with SSO

    Hi
    I have one jsp/bean application as a partner application with SSO.
    It works fine.
    Now i need to get other attributes of user from LDAP who has logged into the application through SSO.
    using SSO java APIs i only get username, userDN, subscriber info.
    To get user's other attribute i have to user LDAP APIs for that i have to create on Directory Context, for the same i need userpassword.
    so here i my question, how do i get user password after he has logged in thro SSO.
    regards..
    and thanking u in advance
    samir

    Valentina,
    there's no way to get the password value from the directory (it's one way). Of course you can get the hashed (MD4,MD5,SHA-1) base64 encoded value (i.e. the value you see in OiD) but not the 'password'.
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Could not get exact contents from pdf using adobe acrobat professional

    Hi,
    I am using acrobat professional to extract contents from a pdf into HTML. During extraction of pdf into HTML some contents are getting rendered as images. But with pdf to xml extraction i can get the exact contents. But i need HTML file from pdf. Any suggestions. Thanks in advance.

    You might want to see if you can select the background with the object touchup tool. If so, can you then just delete the selected object. May take a while to go through the document, but if it solves the problem you are ahead. You may be able to select it with JavaScript and repeat the process. My point of using the object touchup tool is that it may not be a background set by Acrobat, but something that is simply labeled as an image from the Acrobat viewpoint.

  • Get excess quantity from purchase order quantity

    Hi All,
    if i make a purchase order with item x  100 quantity and time of making GRPO i have got 105 then my user want a approval that he got 105 item  so how i can do this.....????
    plz help me to solve out this problem....
    can i use this on a particular document series...
    and then user wanna that Purchase order amendment  approval . can  this possible and how?
    Regards,
    Manish.....malik.....
    Edited by: manish.malik on Jun 10, 2010 12:34 PM
    Edited by: manish.malik on Jun 10, 2010 1:06 PM

    Hi Manish
    Save this query using query manager
    select distinct 'true' where $[$38.11.Number]>=(select opencreqty from por1 where docEntry=$[$38.45.Number] and lineNum=$[$38.46.Number])*1.05
    Go to Administration->Approval Procedure->Approval Template
    Enter name , originator user name (user that creates GRPO) , On document tab select Goods Receipt PO check box, Enter approving authority on Stages tab, Now go to Terms tab, Click radio "When the following applies" on the bottom of screen , double click query name on "Terms based on User Queries" section and select the above saved query from query manager.
    This query will take care of partial Goods receipt PO of same item.
    I hope this will work for you.
    Regards
    Taimoor

  • Function Module to get planned Quantity from posting date

    hi,
    i need one function module which takes plant and posting date date as an input parameter and get the Planned quantity for that range of that ...i dont want to fetch it from material since the report is run for the whole plant(werks).so it has got a lot of data entries so i need a function for that...
    is there any function module which will fetch this data ...
    Edited by: sonal musale on Jun 23, 2008 3:53 PM

    Hi,
    I have also the same problem. Any solution you have for this one?
    Thanks,
    Raymond

  • Get Field Values from Table using Java api

    I am using the example java code "RetrieveLimitedRecords" that can be found at :
    https://help.sap.com/javadocs/MDM71/current/API/index.html
    The code give the expected result and retrieves the record count for the main table
    Now I want to get the values of the fields for one record
    I added the lines:
    Record[] records = recordResultSet.getRecords() ;
    FieldId[] fields = records[0].getFields();
    System.out.println ("Field Length = "+fields.length);
    and the output is::
    Field Length = 0
    How can I get the fields of the record and read their values?
    Thanks
    Nicolas

    Assuming you want every field, the equivalent of "SELECT *" in SQL, you can use the RepositorySchema object to get a TableSchema, and with that get all FieldIds for the table.
    If your RepositorySchema variable is rs it would be something along the lines of:
    TableSchema mainTableSchema = rs.getTableSchema(mainTableId);
    ResultDefinition rd = new ResultDefinition(mainTableId);
    rd.setSelectFields(mainTableSchema.getFieldIds());
    Hope this helps,
    Greg

  • Not able to get the message from Queue using MQ adapter

    HI
    Using Mq adapter am able to put the message in a queue and am able to get the message if i select the schema type as opaque, but am not able to get the message if i specify any schema type and am getting timed out exception.
    Kindly help to proceed with this issue.

    Hi,
    Am also facing the same issue.
    I would be thankful if anyone can provide the solution

  • Getting chinese charaters from Form using request.getParameter()

    Hi,
    I want my JSPs to be unicode enabled. In HTML forms user can enter any characters like japnese, chinese etc. But on the server side if user enters any such characters i am getting decimal equivalent of that character in the form of &#{decimal equivalent}; in the request.egetParameter() method.
    For ex if I enter �&#35234;&#35235;&#35271;&#35273;&#35333; then i get "&#9570;&# 35234;&# 35235;&# 35271;&# 35273;&# 35333;" in request.getPrameter().
    I have given the charset "UTF-8" in the header of my JSPs.
    I tried to decode it with URLDecoder but it fails then i tried to read these parameters using reader but it also fails, then
    String para = request.getParameter("para"); // where para is name of received parameter
    byte[] bytes = para.getBytes();
    para = new String(bytes, "UTF-8");
    This also fails.
    Can anyone please tell me how to handel this problem?
    Thanx
    -Vaijayanti

    Hi,
    I have tried this in my jsp and it works for me, assuming that the form is submitted with encoding UTF-8 :
    Submitting JSP :
    <form action="test.jsp">
    <input type="text" name="a">
    </form>
    This is test.jsp :
    <%
    String a = new String (request.getParameter ("a").getBytes (), "UTF-8");
    %>
    Passed Parameter = <%=a%>
    Hope that helps
    Thanks
    Amit

  • Get specific eventId from sensor using browser

    Is there a way I can use just a browser (no java) to request only a specific eventId (alarm) from a sensor? XML results are fine. Thanks,
    Matt

    RDEP uses HTTP. I can, for example, pull a range events from a sensor using a normal browser with the following URL:
    https:///cgi-bin/event-server?startTime=0077590400314257&events=evAlert+evError&maxNbrOfEvents=100&alertSeverities=medium&errorSeverities=error&mustHaveAlarmTraits=3,10-15&mustNotHaveAlarmTraits=2
    this much is all nicely documented by Cisco in their CIDEE,RDEP, and SDEE specifications. The question though is can I pull a SINGLE known event from a sensor using an event Id?

Maybe you are looking for