Help required to get GR and IR Detaisl based on PO

HI,
I need some help in developing BAPI to get GR and IR details based on PO. Could anyhow help me out in getting this. I need to pass PO as import parameter and should get all the GR and IR values for the same. Pls send me the flow to get these details..Also the tables related in developing this..
Regards,
Ramesh

Hi,
  By passing the PO number, GR details can be obtained from the following, MSEG, MKPF, PO number is found in MSEG table,
IR details can be obtained from RKPF & RSEG, you find the PO number in RSEG table,
Rgds,

Similar Messages

  • How to get vendor and company code based on logistic invoice document

    how to get vendor and company code based on logistic invoice document in abap/4?

    Hello Kumar
    When you call BAPI_INCOMINGINVOICE_GETDETAIL using
    INVOICENUMBER = <number of invoice>
    FISCALYEAR = <fiscal year>
    the returned HEADERDATA contains what you are looking for:
    HEADERDATA-COMP_CODE
    HEADERDATA-DIFF_INF
    Regards
      Uwe

  • Please Help me  on get Attribute and getParameter

    Dear All Developer clear my doubt on get Attribute and getParameter . and which is more better.
    I will be very much graetful to all.

    They are two different things.
    To put it in an application perspective
    Parameters are like command line parameters
    Attributes are like the variables in your program
    Parameters are the name-value pairs that get submitted as part of a ServletRequest.
    They are either part of the URL, or submitted from a form.
    It is always a string.
    ie myWebpage.jsp?name=evnafets&job=programmer
    has the parameters
    name = evnafets
    job = programmer
    You access it like : request.getParameter("name")
    You can read parameters, you cannot modify them directly.
    Attributes, are java objects
    You can get and set them eg request.getAttribute("name") request.setAttribute("name", "raj");
    you use session attributes to retain state across multiple requests
    you use request attributes to set a variable and then forward to another page that uses that variable.
    They are essentially like variables for your web application.
    Hope this makes sense,
    evnafets

  • Help Required to get Age of an Item at fix day of every week

    Hi Friends suppose i am having following table structure
    INVSTOCK
    Entcode
    ItemCode
    Entdt
    Enttype
    Qty
    Rate
    Invitem
    ItemCode
    Group Name
    Item Name
    Where invitem.itemcode =invstock.itemcode
    Now i want to create a report based on user input of month. (If i have given month as Aug)
    It  has to show me Closing Stock as in following format
                   0-30 Days                                                                 31-60 Days                                                            > 60Days
                   W1_Qty, W2_Qty, W3_Qty, W4_Qty                    W1_Qty, W2_Qty, W3_Qty, W4_Qty                         W1_Qty, W2_Qty, W3_Qty, W4_Qty
    Division
    Where
    W1_qty : Quantity of Division as on first Monday
    W2_qty : Quantity of Division as on Second Monday
    Calculation Used to get Weekday : TO_NUMBER(TO_DATE (next_day(trunc(sysdate, 'MONTH')-1, 'Monday')+21)
    Thanks in advance
    Mahesh Sinha

    Thanks David
    In any of the above mention
    In fact i am facing problem while joining in OLAP
    Table
    Invstock
    Entcode
    Entdt
    Enttype
    Barcode
    Qty
    Table
    Invitem
    Barcode
    Division
    Section
    Invstock.barcode = Invitem.barcode
    Now what I want is as follows
    Week1
    Week2
    Week3
    Week4
    0-30 Days
    30-60 Days
    >60 Days Old
    0-30 Days
    30-60 Days
    >60 Days Old
    0-30 Days
    30-60 Days
    >60 Days Old
    0-30 Days
    30-60 Days
    >60 Days Old
    Division
    I am having formula to get age and that I am getting on FIFO Basis
    Now the problem Is
    1. either I have to create four different queries for four weeks
    2. It could be that an item which was available in First week is not available in other week so how to join?

  • Help Required in getting personolization

    Hi ,
    I am new to OAF and need help in OAF personalizations. I have a few requirements below please let me know what fileds to be changed to acheive these.
    1) While creating a supplier site by default purchasing, Payment flags to be check. I have tried to change the filed value (Initial Vlaue) to Y for purchasing check box and pay check box for address form. But changes are not reflecting. Am I updating the correct field?
    2) when Void payment the reason should be mandatory. Here in this case I am not sure where exactly we need to make the personalization
    3) for check payment printer name should be defaulted. Where we can do this setup
    Please suggest.

    Hi ,
    U need tto get the URL of the called application through method
    construct_wd_url and generate the popup window for the second application with the above URL .
    in ur first app , crate an event on lead selection of the table and write the following piece of code :
       DATA:
          w_url   type string,
          w_value type string.
             call method cl_wd_utilities=>construct_wd_url
            exporting
            application_name              = u2018 u2018 // here specify the name of the called application
          importing
            out_absolute_url              = w_url.
       * make the Value type compatible that has to be passed with the URL
      w_value = lv_ebeln.
    * Attach the parameters and its value with the URL that
    * have to be passed to the 2nd application
      call method cl_http_server=>append_field_url
        exporting
          name  = ' '   // input parameter here
          value = w_value
        changing
          url   = w_url.
    * generate a popup window for the 2nd application with the above URL
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_external_window(
                       url = w_url ).
      lo_window->open( ).
    Now in the doinit of ur called application , u can get the value for that particular input parameter
    [code}
    DATA:
      lv_param type string.  
    lv_param = wdr_task=>client_window->get_parameter( ' u2018  ).  // paramtr name
    Now select the appropriate values in internal table for this and bind it to ur context node ..
    I hope this helps..

  • Minimum set of ACLs / security access required for getting MBeanHome and Runtime MBeans

    Hi,
    Where can I get information regarding the "minimum set" of ACLs and security access/permission
    required for
    a) Accessing weblogic.management.MBeanHome [Local and Admin interfaces] and RemoteMBeanServer
    interfaces
    b) Use MBeanHome and RemoteMBeanServer interface to look up MBeans [especially
    Runtime MBeans] for Cluster, Server instances, EJBs, JDBC, Execute Queues, etc?
    Any help or hint is appreciated!
    Regards,
    DKV

    "DKV" <[email protected]> wrote in message
    news:3f4e8429$[email protected]..
    >
    Hi,
    Where can I get information regarding the "minimum set" of ACLs andsecurity access/permission
    required for
    I believe this was answered in the management jmx newsgroup.

  • Help required with understanding References and finalizers

    Background
    I have an online Application which has been developed over 6 years now. It is a Website CMS and runs 300 simultaneous sites per webserver. For the first time I am experiencing capacity / performance issues. I switched from SUN Java to JROCKIT in 2006 which speeded evertything up by 200% but now I have periods of the day where The memory fills up and I get Swapping which leads to 100% cpu utilization - mainly in I/O. I have upped the RAM in the server as a solution and now I want to see if I can do anything to reduce my memory footprint.
    Specifically : The question
    I have captured stats which I can view in Mission Control and it shows that the number of Weak References increases continuously over a 4 hour period (also the number of Phantom references shows similar behaviour). Therefore I suspect a memory leak - Also I suspect that this is of my own making since I have not realy had to deal with this before. The thing is I cannot clearly see how to proceed and identify what my error is.
    I have spent a couple of weeks reading loads of docs about weak / stong etc.. references but I realy need a bit of help with zeroing in on a starting point. I know that I release objects by setting them to null but I now expect that this is not realy good enough.
    Anyway - before I ramble too long, If there is anyone with relevant experience and a few minutes I would be very gratefull to hear from them.
    Regards
    Jonathan Carter
    Glimworm IT
    Amsterdam

    Hi Jonathan,
    Reference objects and finalizers are a frequent cause of performance issues. The reason is that 1) objects tend to be kept alive longer, leading to an increase in live data and more frequent GC and 2) processing of these objects during GC is expensive, which leads to more time spent in GC, i.e. long pause times.
    There are various ways you can approach your issue. One is to use -Xverbose to see what you find. If you are using JRockit R27.2 or later, run with "-Xverbose:referents" to get a list of all reference objects at every GC. More info:
    http://edocs.bea.com/jrockit/jrdocs/refman/optionX.html#wp1029960
    Note that you can enable verbose logging during runtime through "jrcmd <pid> verbosity set=referents" and later disable it using "jrcmd <pid> verbosity set=referents=warn". No JVM restart required.
    If you send your JRA recordings to jrockit-improve AT bea DOT com, we'll try to take a look at them.
    -- Henrik

  • Help require to get the XML output to design template- JDE

    Hi Friends,
    I am asking this question from JDE perspective.I want to design XMLP Template for R40572 Check Printing.
    When I upload an blank template and after attaching RD, When ever I initiate a check from P04572 Application.RThe Write Row exit will lead to check printing which in turn will call a batch R04571 and this batch will call R04572(Which I require the XML output) since it is the second report and we cant direct it to local server I am not able to get the XML output..
    Another think is since its running in server i think its not taking the RD modification we done in loacl because it always fires PDF .

    Hi,
    I assume you're Using XMPOSA for generating the files locally. What I suggest is, you set the application to run with the report definition by default. That way, even when it is called, it will be called along with the report definition. You can take the resultant XML file from P95630
    hope this helps,
    -Domnic

  • Help required to get Talk21 e-mails via Outlook

    Although not that new to using Microsoft I'm a bit of a newbie to Windows etc I have MS Office Professional 2010.
    I have always managed to set my Talk 21 address up in Outlook and iPhone but I have to concede defeat after about 3 hours of trying. (mind you it's taken a few minutes to work out this forum)
    Suggestions from anyone who has succesfully achieved this would be appreciated.
    Sadie
    NB: This post has been dictated using voice activated software and may account for any errors in wording and/or context.
    Solved!
    Go to Solution.

    Cleaninglady wrote:
    Although not that new to using Microsoft I'm a bit of a newbie to Windows etc I have MS Office Professional 2010.
    I have always managed to set my Talk 21 address up in Outlook and iPhone but I have to concede defeat after about 3 hours of trying. (mind you it's taken a few minutes to work out this forum)
    Suggestions from anyone who has succesfully achieved this would be appreciated.
    Sadie
    NB: This post has been dictated using voice activated software and may account for any errors in wording and/or context.
    Hi Sadie. Welcome to the forums.
    If I may say so, you say you've set up your Talk21 email address via Outlook before, and now have Office 2010. The latest version of Outlook is perhaps slightly different to previous, but should be very similar.
    Are you getting actual errors when setting up the account ? or trying to send/receive emails ?
    I believe that the talk21 servers are still working, pop3 (for receiving) is in.talk21.com and smtp (for sending) is out.talk21.com - however if not then you will need to use the trick of adding .t21 at the end of the username, replace @talk21.com with @btinternet.com and use mail.btinternet.com for both servers.
    The problem will be if you still want to use your talk21.com email address as the "From" address - you will need to go through address verification, but perhaps go through that later if required.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Help required in running SPAU and SPDD transactions for post upgrade

    Hi All,
    We are doing a system upgrade to EHP1.
    We need help in SPAU and SPDD runs and why are they required in upgrade activity.
    Kindly respond.
    Thanks in advance
    Regards
    Rashmi

    Hi Rashmi,
    SPDD and SPAU are modification adjustments that you need to adjust after upgrade. This is a situation where the upgrade has to enhance some structures and elements that was available in previous version (probably 3.x). The system can not determine whether to overwrite the structures or to retain the old version. If the structures are custom structures, the system might overwrite any enhancements that you have done. In this kind of situations, the system puts any such structures and elements that it can not make a decision into these 2 lists. SPDD is for dictionary objects and SPAU is for configurations. You have to fix all the issues that are produced in these transactions. You need to first fix the ones in SPDD list and then the SPAU list. Once you drill down in those lists, it asks you to take actions like "change it", "keep the old version" or "ignore the changes" (I think these are the options). You need to chosse these options based on your analysis and turn all the yellow and red ones into green. Hope this gives you some idea.
    Thanks and Regards
    Subray Hegde

  • Help required in getting the header details.

    Hi All ,
    In my first WDA , I am showing the header details of Purchase Order for a input parameter  in table
    and now I want to show the items details for that particular PO on lead selection of the the PO details
    in my second application . How can I achieve the desired functionality .
    Please help , any pointers regarding this ..
    Thanks in Advance.

    Hi ,
    U need tto get the URL of the called application through method
    construct_wd_url and generate the popup window for the second application with the above URL .
    in ur first app , crate an event on lead selection of the table and write the following piece of code :
       DATA:
          w_url   type string,
          w_value type string.
             call method cl_wd_utilities=>construct_wd_url
            exporting
            application_name              = u2018 u2018 // here specify the name of the called application
          importing
            out_absolute_url              = w_url.
       * make the Value type compatible that has to be passed with the URL
      w_value = lv_ebeln.
    * Attach the parameters and its value with the URL that
    * have to be passed to the 2nd application
      call method cl_http_server=>append_field_url
        exporting
          name  = ' '   // input parameter here
          value = w_value
        changing
          url   = w_url.
    * generate a popup window for the 2nd application with the above URL
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_external_window(
                       url = w_url ).
      lo_window->open( ).
    Now in the doinit of ur called application , u can get the value for that particular input parameter
    [code}
    DATA:
      lv_param type string.  
    lv_param = wdr_task=>client_window->get_parameter( ' u2018  ).  // paramtr name
    Now select the appropriate values in internal table for this and bind it to ur context node ..
    I hope this helps..

  • Help required to get data from Cash Mgt

    Hi
    I need help to get following data from cash managemment .
    Bank Name
    Branch
    Account#
    Date
    cheque#/Ref
    Amount Direct Debited by bank
    Amount Direct credeted by bank.
    Kindly help
    Regards

    Hello.
    See if this helps. When the Amount column shows a negative number it represents a Debit.
    select b.bank_account_name "Bank Account" ,
    bb.bank_branch_name "Branch",
    b.bank_account_num "Bank Acc Num",
    l.trx_date "Date",
    l.trx_type "Type",
    l.trx_text "Description",
    l.amount "Amount"
    from ce_statement_headers_all h,
    ce_statement_lines l,
    ap_bank_accounts_all b,
    ap_bank_branches bb
    where b.bank_account_id = h.bank_account_id
    and l.statement_header_id = h.statement_header_id
    and bb.bank_branch_id = b.bank_branch_id
    and b.bank_account_id = <bank_account_id>
    and h.statement_number = <'statement number'>
    Octavio

  • How can you help Apple ID get done and start working write way.

    Hi Apple Support Communities,
    This is excellent helping me.  I am very happy because I really want enjoy with my iPhone 5.  Apple ID and my own email is same I am using the am I write or worng explain for me.  If I wrong how sall I do the write way to do send my email.
    Kind regards
    Margaret Thompson
    <Email Edited by Host>

    The link in your post is not leading anywhere. You are in good hands there with  @CherylG and @erico and @lasvegaswireman. 
    I will just echo that you did not get recovery disks with your PC....no PC maker provides them in the box any more. When the laptop is new you are prompted to make recovery disks but most people do not do that. You can download a disk image of your licensed Windows 7 version from which you can burn a DVD and then fill in the drivers as mentioned on your other post. Let me know if you need a link for the download. But frankly it is worth getting the recovery disks from HP. I would not buy them from eBay and I buy lots of stuff from eBay....too much chance you will get the wrong ones. 

  • Help required in Getting XML output as Required

    Hi All,
    I have below xml
    INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?>
    <Node_1 empID="202" empName="Pro1" oper="Update">
    <Node_2 empID="20" empName="Pro2" oper="Update">
    <Bode_3 empID="2" empName="Pro3" oper="Update">
    <Bode_4 empID="22" empName="Pro4" oper="Update">
    <Bode_5 empID="12" empName="Pro5" oper="Delete"/>
    <Bode_6 empID="223" empName="Pro6" oper="Insert"/>
    <Bode_7 empID="201" empName="Pro7" oper="All"/>
    <Node_3 empID="21" empName="Pro71" oper="ll">
    </Bode_4>
    </Bode_3>
    </Node_2>
    </Node_1>');
    I have a sequence seq_i
    seq_i start with 1 increment by 1
    am able to display output as below,
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    Bode_3|2|Update|Pro3|Node_2
    Bode_4|22|Update|Pro4|Bode_3
    Bode_5|12|Delete|Pro5|Bode_4
    Bode_6|223|Insert|Pro6|Bode_4
    Bode_7|201|All|Pro7|Bode_4
    Node_3|21|ll|Pro71|Bode_4
    Now I want below one as output
    All nodes starting with Bode_, I need to replace that with sequence, seq_i
    so for the seq_i (starting with i and incrementing by 1)
    Please note when ever node changes to sequence, corresponding mgrid also changes,
    Node|EMPID|OPER|EMPNAME|MGRID
    Node_1|202|Update|Pro1|Null
    Node_2|20|Update|Pro2|Node_1
    1|2|Update|Pro3|Node_2
    2|22|Update|Pro4|1
    3|12|Delete|Pro5|2
    4|223|Insert|Pro6|2
    5|201|All|Pro7|2
    Node_3|21|ll|Pro71|2
    Please let me know your thoughts on this to acheive the same,
    Thanks,

    Well you've already said you can get your XML into the initial flattened hierarchy structure, so you just need to manipulate that to assign a sequence (row number) as appropriate.
    Something like...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (
      2  select 'Node_1' as node, 202 as empid, 'Update' as oper, 'Pro1' as empname, Null as mgrid from dual union all
      3  select 'Node_2', 20, 'Update', 'Pro2', 'Node_1' from dual union all
      4  select 'Bode_3', 2, 'Update', 'Pro3', 'Node_2' from dual union all
      5  select 'Bode_4', 22, 'Update', 'Pro4', 'Bode_3' from dual union all
      6  select 'Bode_5', 12, 'Delete', 'Pro5', 'Bode_4' from dual union all
      7  select 'Bode_6', 223, 'Insert', 'Pro6', 'Bode_4' from dual union all
      8  select 'Bode_7', 201, 'All', 'Pro7', 'Bode_4' from dual union all
      9  select 'Node_3', 21, 'All', 'Pro71', 'Bode_4' from dual
    10  )
    11  -- end of test data obtained from flattening XML - just use query below against own data
    12  select rpad(' ',(level-1)*2,' ')||coalesce(bode_no, node) as tree
    13        ,coalesce(bode_no, node) as node
    14        ,empid
    15        ,oper
    16        ,empname
    17        ,case when bode_no is not null then prior coalesce(bode_no, node) else mgrid end as mgrid
    18  from (
    19    select node
    20          ,case when node like 'Bode%' then
    21                     to_char(row_number() over (partition by case when node like 'Bode%' then 1 else 0 end order by node))
    22                else null
    23           end as bode_no
    24          ,empid
    25          ,oper
    26          ,empname
    27          ,mgrid
    28    from t
    29    )
    30  connect by mgrid = prior node
    31* start with mgrid is null
    SQL> /
    TREE                 NODE                                EMPID OPER   EMPNA MGRID
    Node_1               Node_1                                202 Update Pro1
      Node_2             Node_2                                 20 Update Pro2  Node_1
        1                1                                       2 Update Pro3  Node_2
          2              2                                      22 Update Pro4  1
            Node_3       Node_3                                 21 All    Pro71 Bode_4
            3            3                                      12 Delete Pro5  2
            4            4                                     223 Insert Pro6  2
            5            5                                     201 All    Pro7  2
    8 rows selected.

  • I like to start my morning by looking at my email first thing in the morning  it helps my brain get jumpstarted and gives me a jump on the events of the day.I keep my iPhone encased in an Otter Box. Will this help protect it from steam when I take shower?

    I like to start my morning by reading my emails that came in during the night. This jumpstarts my brain and gives me an edge on the events of the day. Since my wife is still asleep when I get up I do this in the bathroom while I'm getting ready. I keep my iPhone 4 encased in an Otter Box case. Will this protect the phone from steam damage or should I thow it in a drawer while I take a short shower?

    TMI dude.
    You should be asking this to Otterbox but I'm guessing it depends on the specific Otterbox case... check the case specs at Otterbox.
    IMO, I would just leave it outside the bathroom... I'm sure your email can wait a few extra minutes.

Maybe you are looking for

  • FM - Budget check at the time of procurement and at the time of Issue

    Hi For a Material there is a budget for a procurement ( Check should happen at the time of procurement and a seperate budget for consumption ( Check should happen at the time of issue).How can I map this in FM- BCS.I am thinking of creating two commi

  • How to use PPM 5 (standalone or integrated with portal)

    Hi, I would like to know which advantages and disadvantages are presented by using PPM 5.0 standalone or integrated with portal? all functionality are the same in both cases? which is the best option? Thanks a lot, CAMILO URIBE

  • TS3297 I get a R6025 runtime error when signing in to itune

    I receive a R 6025 run time error when starting a search in I Tunes Store. I have downloaed the latest version of itunes.

  • Binary/bit-operation

    hi folks, i would like to do the following: i have a byte and split it up to get the left and right half of the byte. then i xor the left with the right and replace the right with the result of the xor. how can i do this ? here some code to get the h

  • PDF-Export Dialogbox in InDesign CC

    Hallo zusammen, ich habe ein Frage zur PDF-Export Dialogbox in InDesign CC (zu erreichen über cmd+e). In bisherigen Versionen der Creative Suite war es so, dass der Seitenbereich automatisch markiert war und man sofort den benötigten Seitenbereich ei