How to get the loaded cost for the Parked Purchase Order Invoices.

Hi,
Could any one of you please help me out to find out how the loaded cost is calculated for Parked Purchase Order Invoices which have not been posted. The problem is that if the invoice is posted the ekbe-wrbtr field contains the total amt for any particular line item, i.e. the (material cost + unplanned costs + taxes ).
But for the documents which are not posted ekbe-wrbtr does not have all the key data fields as that of a posted document. Is there any way out to find the total cost for the line item which is not posted.
Please try to help me..
Thanks & Regards,
Sanjay.

in that case u have to get the document amt of that accouting Document of PO invoice.
how --->
get the IR number from EKBE
CALL FUNCTION 'FI_DOCUMENT_RECORD'
    EXPORTING
      I_AWTYP            =  'RMRP'
      I_AWREF            =  W_AWREF1----->IR of Po
      I_AWORG            =  W_GJAHR1----->year
    I_AWSYS            = ' '
    I_AWTYP_INCL       = ' '
    I_AWTYP_EXCL       = ' '
    I_BUKRS            = ' '
    TABLES
      T_DOCUMENTS        = T_DOC.--->here u get the accouting document number.
Regards
Prabhu

Similar Messages

  • I had my ipod touch 4th generation plugged into my sterio and i tried to swipe open my pinger app and now its stuck on the load screen for the app and wont do anything at all its frozen. How do I fix it??

    I had my ipod touch 4th generation plugged into my sterio and i tried to swipe open my pinger app and now its stuck on the load screen for the app and wont do anything at all its frozen. How do I fix it??

    Reset your iPod. Hold the power and the home button for 10 seconds till the iPod restarts. No data will be lost.

  • How to get Material Master Moving average price into Purchase Order

    Hi,
    How to get Material master moving average price into purchase order instead of Purchase Info record.
    Thanks,
    Sridhar

    Hi,
            I  cannot understand whether it is necessary .
           How about as following step?
                 1. create Purcahse requisition
                                Price come form moving average price in material master.
                 2. Create Purchase order reference Purchase  requisition
                                There is a setting  from the unit price of P/R onto the unit price of P/O.
      Regards,
         Gaito

  • How to get a week number  for the year using oracle sql query?

    hi everyone,
    i have the requirement to find the week number for the calender..
    so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number starts with sunday and ends with saturday ,continously.. in the end date of the year it should not be 'saturday' but week number should end with last date of the year.. again in the next year it should start with '01'.
    for example:
    01-JAN-13 tuesday 01
    02-JAN-13 wednesday 01
    03-JAN-13 thursday 01
    04-JAN-13 friday 01
    05-JAN-13 saturday 01
    06-JAN-13 sunday 02
    07-JAN-13 monday 02
    26-DEC-13 thursday 52
    27-DEC-13 friday 52
    28-DEC-13 saturday 52
    29-DEC-13 sunday 53
    30-DEC-13 monday 53
    31-DEC-13 tuesday 53
    01-JAN-14 wednesday 01
    02-JAN-14 thursday 01
    how can i achieve this, can anyone please help me out on this..
    i have a query that starts with 01 when year starts but it gives problem in the end of the year .. described below with a query..
    select mydate,
    to_char(mydate,'day') as weekday,
    to_char(next_day(mydate,'sunday'),'iw') as week_num
    FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
    FROM dual
    CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
    - TRUNC (SYSDATE, 'yy')
    FROM DUAL))
    this query gives date, weekday and week_num for 2 years 2013 and 2014,
    when i run this query ,at the end of the 2013 it gives the result as,
    26-DEC-13     thursday      52
    27-DEC-13     friday      52
    28-DEC-13     saturday      52
    29-DEC-13     sunday      01
    30-DEC-13     monday      01
    31-DEC-13     tuesday      01
    01-JAN-14     wednesday     01
    02-JAN-14     thursday      01
    for dates 29 ,30,31st it should give 53 .. how can i achieve that using this this query .. can any one help me out on this please...
    thanks,
    pradeep

    I tried with the IW ...
    it is giving week_id for the year.
    select
    mydate,
    to_char(mydate,'day'),
    case when mydate between trunc(mydate,'yyyy') and next_day(trunc(mydate,'yyyy'),'saturday')
    then to_number(to_char(mydate,'yyyy')||to_char(trunc(mydate,'yyyy'),'iw'))
    when mydate between next_day(trunc(mydate,'yyyy'),'saturday') and trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1
    then to_number(to_char(mydate,'yyyy')||to_char(next_day(mydate,'sunday'),'iw'))
    when mydate between trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d') and add_months(trunc(mydate,'yyyy'),12)-1
    then to_number(to_char(mydate,'yyyy')||to_char(trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1,'iw')+1) end as WEEK_ID
    FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
    FROM dual
    CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
    - TRUNC (SYSDATE, 'yy')
    FROM DUAL
    ))

  • How can i get different Condition Type for third-party Purchase Order?

    Hi, experts,
    for standard PO my Schema works well. now I want to get a different condition type for third-party purchase order. I try to extend field catalog (Pricing Purchasing). The Field PSTYP exists already. However, it is not provided in the field catalog.
    How could i do?
    Thanks
    Rene

    Hi Rene,
      If you are seeing fields in the field catalog but are not seeing this field when creating the condition table then the field  probably does not exist in the KOMG structure for allowed fields for condition structures. KOMG  represents the total of KOMK and KOMP which are the pricing communication structures. If your field is not there then you need to append it to item data in INCLUDE KOMPAZ in KOMP since this is an item level field. If it were a header level field you would append it to include KOMKAZ in KOMK.  The inclusion of new fields in KOMK or KOMP automatically means that they are also included in KOMG.
    After doing this you will see the field when creating a table. There is further documentation on this process in the IMG under SPRO-> Materials Management-> Purchasing-> Conditions-> Define Price determination Process -> System Enhancements  - View the documentation associated to this node in the IMG
    Hope this helps,
    Matt

  • How to setup a release strategy for store generated purchase order

    Hi there,
    Does anybody know how to setup a release strategy for store/plant generated purchase order? I have a request from our client, but I never cross this before. Please help and let me know the step with every single detail.
    Greatly thank for your help.
    Kind Regards,
    2tea

    Please go thru the below Release Procedure and check whether you have maintained all the settings properly.
    PO RELEASE STRATEGY
    The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
    Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
    e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
    CT04 - Create Characteristic e.g. NETVALUE
    Click Additional data Table name CEKKO Field name GNETW and press enter
    (for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
    In the Basic data (X refers to tick),
    X Mutliple values
    X Interval values
    In the Value data, in the Char. value column, type >10000 and press enter
    Save your data
    CL02 - Class
    Class - Create REL_PUR
    Class type - 032
    Click Create
    Description - Release Procedure for Purchase Order
    In the Same Classification section, click Check with error
    In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
    OMGS - Define Release Procedure for Purchase Order Type
    Release Group - New entries
    Rel.group Rel. Object Class Description
    02 REL_PUR Rel. Strategy for PO
    Release codes - New entries
    Grp Code
    02 01
    Release indicators
    Release indicators Release Description
    0 Blocked
    1 X Release
    Release Strategy
    Release group 02
    Rel.strategy 01
    Release codes 01
    Release status 01
    Classification Choose your check values
    OMGSCK - Check Release Strategies
    (make sure there are no error messages)
    Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
    Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
    In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
    The person with the release authorization have to use ME28 to release the Purchase Order.
    Regards,
    Ashok

  • How to get list of permissions for the PCD location

    Hello Team,
    I have group called "ABC". We have lots of roles created in PCD, and some of the roles are assigned to "ABC" group. I want to list out all the roles which is added to the group "ABC".
    Can you please help me?
    Thanks
    Manoj K

    Hi,
    Thanks for the reply.
    Yes, i would like to know what are all the PCD roles which are assigned to group "ABC".
    Yes, you are right, that we can select the group in user Management and if we click on the "Assigned roles" and if we use the string * then we will get a list.
    But if i do that, it is giving below information.
    Last search returned 134 elements. This exceeded the defined max hits of 50. Narrow your search criteria and search again.
    So,this information i got when i select the Search Recursive button, So, i want to know how to get these 134 list from User Management.
    Thanks
    Manoj K

  • How much would the screen cost for the iPod 5G if it cracked?

    I fell and my iPod 5G was in my back pocket.
    It got cracked and I would like to fix it. The crack is on the left side and formed a skinny backwards C. It also has a few minor scratches on the glass too.
    Can anyone please tell me how much it would be?
    Thanks.

    Welcome to the Apple Support Communities
    Apple doesn't repair iPods, so you will get a refurbished device. See "Repair Pricing" > http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod

  • Ipod has shut off and only shows the apple logo and the loading screen for the past day

    I was downloading a song from one of the ipod apps for illegal songs and it just stoped downloading so i restarted my ipod and it would turn back on but if i would try to go back into the app it would only push me out of it. so after restarting it a coupld more times just with the ipod it has resulted in not turning back on and remaining on the apple logo screen then to the loading screen. it wont turn on at all. i have charged it (or tried) for a whole night but the whole night it has remained on the two screen. i cant plus it into my computer because then i will lose all my music. i dont know what to do.?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    You will very very likely lose the contents on the iPod. That is the way it is .

  • How to get help with refund for in app purchase

    I downloaded the free app "Bakery Story" without realizing it was an app that allowed the user (in this case, my child) to run up a bill very quickly with in-app purchases (using my real money instead of the play money within the game). As soon as I received the statement from Apple about these unexpected purchases, I enabled the parental controls that block purchases from within apps like this. I am trying to use Apple website to find the rightbplace to request a refund on those purchases, but I only get so far with the express lane before I get a "server not responding" message. Any ideas for how to get help? (clicking the Report a Problem" link in the invoice email doesn't work either (and my WI fi Internet connection seems fine).

    These Links may be Helpful
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • Item Standard Cost for foreign currency purchase order

    Hi there
    I have a question about
    We have foreign currency purchases of USD which is fixed in USD.
    Currently, we are converting this into AUD and entering this as the standard cost.
    But if the currency rate is changed, we need to adjust the standard cost of AUD even though the price of USD is still the same.
    Does Oracle have standard functionality where we can enter the USD purchase price into the system and have the system rate convert it to AUD whenever we have a new exchange rate?

    Hi,
    my solutioning would be
    1. Create an Org where in item cost is maintained in US$, and perform no material transactions in this Org.
    2. Use the prog 'Copy Item Costs Across Organizations', to copy the cost from US$-Org to AUS$-Org using any conversion rate as defined (Corporate, or average etc)
    Use this process on regular basis so that you have the latest coversion and cost rate.
    Regards
    Adarsh Krishna

  • How to add external URL link to SAP object (Purchase Order, Invoice, etc)

    Hello,
    Is there any function module /BAPI that allows me to add an external URL link to a existing Purchase Order
    or Invoice document in R3 system?
    I tried to debug the system but have not found no suitable function module for it.
    I also analyzed the ABAP code of the small GUI window that allows to add a external URL link to
    a Purchase Order, and found the function module SO_OBJECT_INSERT. However I could not debug
    it (seems to be created with BOR objects) so I've no example for it.
    Please help!
    Regards,
    Manuel Dias

    CONSTANTS:
        c_http(36)    TYPE c VALUE '/BpHttpApis/slaphapi?ibmperson/(uid=',
        c_listxml(12) TYPE c VALUE ').list/byxml',
        c_value(5)    TYPE c VALUE 'value',
        c_cn(2)       TYPE c VALUE 'cn',
        c_mail(4)     TYPE c VALUE 'mail',
        c_em_num(19)  TYPE c VALUE 'managerserialnumber',
        c_em_cou(18)  TYPE c VALUE 'managercountrycode'.
      DATA  client          TYPE REF TO if_http_client.
      DATA  url             TYPE string.
      DATA  xbuffer         TYPE xstring.
      DATA  l_value         TYPE zchar2000.
      DATA  l_value_string  TYPE string.
      DATA  content         TYPE string .
      DATA  rows            TYPE STANDARD TABLE OF string.
      DATA  wa_rows         TYPE string .
      DATA  conv            TYPE REF TO cl_abap_conv_in_ce.
      DATA  ixml            TYPE REF TO if_ixml.
      DATA  streamfactory   TYPE REF TO if_ixml_stream_factory.
      DATA  parser          TYPE REF TO if_ixml_parser.
      DATA  istream         TYPE REF TO if_ixml_istream.
      DATA  document        TYPE REF TO if_ixml_document.
      DATA  node            TYPE REF TO if_ixml_node.
      DATA  xmldata         TYPE string.
      DATA  iterator        TYPE REF TO if_ixml_node_iterator.
      DATA  nodemap         TYPE REF TO if_ixml_named_node_map.
      DATA  attr            TYPE REF TO if_ixml_node.
      DATA  name            TYPE string.
      DATA  prefix          TYPE string.
      DATA  value           TYPE string.
      DATA  indent          TYPE i.
      DATA  count           TYPE i.
      DATA  index           TYPE i.
      url = 'http://bluepages.ibm.com'.
      CLEAR: l_value_string, l_value.
    ***Create the HTTP client
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url    = url
        IMPORTING
          client = client
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
    Create the HTTP client failure, sy-subrc =
        MESSAGE i005(zm) WITH text-026 sy-subrc.
        EXIT.
      ENDIF.
      CONCATENATE c_http
                  p_accnt
                  p_couty
                  c_listxml
                  INTO l_value.
      l_value_string = l_value.
    ***Get employee information
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_uri'
          value = l_value_string.
      client->send( ).
      client->receive( ).
    ***Load to xstring
      CLEAR xbuffer .
      xbuffer = client->response->get_data( ).
      conv = cl_abap_conv_in_ce=>create( input = xbuffer ).
      conv->read( IMPORTING data = content ).
    create the ixml main factory
      ixml = cl_ixml=>create( ).
    create a stream factory
      streamfactory = ixml->create_stream_factory( ).
      xmldata = content.
    create a input stream
      istream  = streamfactory->create_istream_string( string = xmldata )
    create a ixml document
      document = ixml->create_document( ).
    create a xml parser
      parser  = ixml->create_parser( document       = document
                                     stream_factory = streamfactory
                                     istream        = istream ).
    parse the xml document into DOM tree
      IF parser->parse( ) <> 0.
    parse the xml document into DOM tree failure
        MESSAGE i005(zm) WITH text-027.
        EXIT.
      ELSE.
        node ?= document.
        IF node IS INITIAL.
    To be done
        ENDIF.
    create a node iterator
        iterator  = node->create_iterator( ).
    get current node
        node = iterator->get_next( ).
    loop over all nodes
        WHILE NOT node IS INITIAL.
          indent = node->get_height( ) * 2.
          indent = indent + 20.
          CASE node->get_type( ).
            WHEN if_ixml_node=>co_node_element.
          element node
              name    = node->get_name( ).
              nodemap = node->get_attributes( ).
              IF NOT nodemap IS INITIAL.
            attributes
                count = nodemap->get_length( ).
                DO count TIMES.
                  index  = sy-index - 1.
                  attr   = nodemap->get_item( index ).
                  name   = attr->get_name( ).
                  prefix = attr->get_namespace_prefix( ).
                  value  = attr->get_value( ).
                ENDDO.
              ENDIF.
            WHEN if_ixml_node=>co_node_text.
    User name
              IF name  = c_value AND
                 value = c_cn.
          text node
                value  = node->get_value( ).
                p_name = value.
              ENDIF.
    User email
              IF name  = c_value AND
                 value = c_mail.
          text node
                value  = node->get_value( ).
                p_email = value.
              ENDIF.
    Employ serial number
              IF name  = c_value AND
                 value = c_em_num.
          text node
                value  = node->get_value( ).
                p_em_num = value.
              ENDIF.
    Employ country code
              IF name = c_value AND
                 value = c_em_cou.
          text node
                value  = node->get_value( ).
                p_em_cou = value.
              ENDIF.
          ENDCASE.
      advance to next node
          node = iterator->get_next( ).
        ENDWHILE.
      ENDIF.

  • How to get rid of zeros for the data which has been extracted with open hub

    Hi all
    I am trying to extract data from the cube thru an open hub, but the data which i have extracted, for a cost center i am able to see '0's which is expected to be an empty space, even in cube there is an empty space.
    Can anyone suggest me quickly, points will be rewarded
    thanks
    preethi......

    In the transformation of the Open Hub,use BAPI....
    Create a target structure with all fields as type characters,move data from source structure to target structure in the BAPI using ABAP codes.When there is no value in character fields it would not show up 0's.

  • How to find the Commitment cost for a PM order using tables ?

    Hello all ,
           How to find the Commitment cost for a given PM order using table  .
    Thanks and regards ,
    Prem.

    Issue got resolved

  • Can't access EMS or Toolbox - get "load quota for the system has been exceeded" error

    I'm trying to run some commands on our CAS servers, and I'm getting the error "load quota for the system has been exceeded".  I'm running two CAS servers in an Exchange 2013 Standard Environment, running on Windows 2012 Standard servers. 
    Both my CAS servers are getting the error.  I also have two MBX servers, and I can access EMS on those just fine.
    I checked another thread that had a similar issue for Exchange 2010: 
    https://social.technet.microsoft.com/Forums/exchange/en-US/1cc17514-44dc-41d9-b319-3232107490c0/cant-open-emc-or-ems-for-exchange-2010-from-local-machine?forum=exchange2010
    However none of the fixes they described worked, and some of the fixes look like they're out of date.
    Here's the full error message.  It tries to connect to both CAS's, fails, and then connects to the first MBX it can.
    VERBOSE: Connecting to cas2013.contoso.com.
    New-PSSession : [cas2013.contoso.com] Connecting to remote server cas2013.contoso.com failed with the following error message :
    The WS-Management service cannot process the request. The load quota for the system has been exceeded. Send future
    requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troubleshooting Help
    topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108120,PSSessionOpenFailed
    VERBOSE: Connecting to CAS2013.contoso.com.
    New-PSSession : [cas2013.contoso.com] Connecting to remote server cas2013.contoso.com failed with the following error message :
    The WS-Management service cannot process the request. The load quota for the system has been exceeded. Send future
    requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troubleshooting Help
    topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108120,PSSessionOpenFailed
    VERBOSE: Connecting to ca2-2013.contoso.com.
    New-PSSession : [ca2-2013.contoso.com] Connecting to remote server ca2-2013.contoso.com failed with the following error message :
    The WS-Management service cannot process the request. The load quota for the system has been exceeded. Send future
    requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troubleshooting Help
    topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108120,PSSessionOpenFailed
    VERBOSE: Connecting to MB2-2013.contoso.com.
    VERBOSE: Connected to MB2-2013.contoso.com.
    [PS] C:\Windows\system32>
    ----------- Ron E Biggs Chief Tech Officer Entertainment Studios

    Hi,
    Is the ”
    cas2013.contoso.com” the second CAS Server you added?
    What’s the authentication settings on the powershell VD on the Back End Server. If the
    Anonymous is enabled, please disable it and restart the IIS to check if the issue persists.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

Maybe you are looking for