Find Purchase Order ADF service

Hi,
Hoping you can help with the search criteria on the FIND service.
I am able to retrieve an entire PO and all child objects using the service.  When I try to reduce this result set to only return the PO_LINE_ID's, the service seems to ignore my child criteria.
I think maybe it is an issue with my childAttrName entry: I have tried PurchaseOrderEntryLine, purchaseOrderEntryLine and PurchaseOrderLine.
Thanks
Here is my envelope:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:findPurchaseOrderByOrderNumber>
         <typ:findCriteria>
            <typ1:fetchStart>0</typ1:fetchStart>
            <typ1:fetchSize>-1</typ1:fetchSize>
            <typ1:findAttribute>POHeaderId</typ1:findAttribute>
            <typ1:findAttribute>OrderNumber</typ1:findAttribute>
            <typ1:excludeAttribute>false</typ1:excludeAttribute>
            <typ1:childFindCriteria>
               <typ1:fetchStart>0</typ1:fetchStart>
               <typ1:fetchSize>-1</typ1:fetchSize>
               <typ1:findAttribute>POLineId</typ1:findAttribute>
               <typ1:excludeAttribute>false</typ1:excludeAttribute>
               <typ1:childAttrName>PurchaseOrderEntryLine</typ1:childAttrName>
            </typ1:childFindCriteria>
         </typ:findCriteria>
         <typ:OrderNumber>DB104</typ:OrderNumber>
         <typ:SoldToLegalEntityId>300000000781286</typ:SoldToLegalEntityId>
         <typ:findControl>
            <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
         </typ:findControl>
      </typ:findPurchaseOrderByOrderNumber>
   </soapenv:Body>
</soapenv:Envelope>

I am not sure I understand the requirement correctly. Assuming the child attribute name is "PurchaseOrderEntryLine" I think you would need to add it to the "parent" find criteria. As I understand you would need to have something like:
<typ1:findAttribute>POHeaderId</typ1:findAttribute> 
<typ1:findAttribute>OrderNumber</typ1:findAttribute> 
<typ1:findAttribute>PurchaseOrderEntryLine</typ1:findAttribute> 
to add the child to the result set. Also if your plan is to filter based on the order number etc. I think there should be a filter. See an example of similar case in the PDF linked above in section "Building Blocks Example 3 - findLocation"
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • Purchase order for services

    When creating a purchase order for services, I am entering services lines in the SERVICES TAB, I would like to structure the services in the service specification into a hierarchy of outline levels. How I can do this? How can I activate the Service Specification outline ?
    Thanks

    Hello,
    You can use an outline only in t the 'Full Screen: service'. In the Services full screen, you can choose 'Outline On/Off' to show and hide the service overview. You ser the width of the service overview as desired and when entering the transaction, system displays the settings selected before leaving the transaction.
    If you select an outline level, the data area of the services displays the relevant service lines. You can choose 'Services' to display at outline level whether service line exist at outline level.
    Regards,

  • Transfer of tax indicator to purchase order for service items in shopping cart

    Hi all.
    I have a problem with the tax indicator in the shopping carts and in the backend purchase orders for service items. If I create a shopping cart with service items with different tax indicators, the backend purchase order have a unique item including all the services. So, all the PO items are under one tax indicator while in the shopping cart there is more than one indicator. I mean, the PO is not correctly replicated with the information of the SC.
    Example: shopping cart in SRM with 3 items, tax codes: V1, V2, V1. The standard code transfers the information to the backend, and creates a purchase order with an unique item with the 3 services under tax code V1. So, the second service is not under the correct tax code, and will be wrongly invoiced.
    We have debugged all the code of the process, and we think it is a standard bug. When you replicate a PO in the backend from a SC in SRM, have you experienced this behaviour, or the service items are grouped in different PO items each one with the correct tax indicator?
    Thanks in advance.

    Hi again...
    I forgot to mention that we have found and applied the note 1822107 (Purchase order: wrong tax code for PO with 2 service items), that fits exactly to our problem. But after testing, it doesn't work.
    Regards.

  • How to find purchase order bapi

    can any one help how to find purchase order bapi.

    This isn't a Web Dynpro Specific question - moving to ABAP general.
    However have you considered going to SE80 and searching for function modules that begin with the name BAPI and have purc in the name?  Or maybe going to the BAPI Browser transaction (T-Code BAPI) and searching either in the Hiearchy or Alphabetical list.  Probably not too difficult to find the purchase order object.

  • BBPIV09: Find Purchase Order Functionality

    Hello SRM Experts
      I am trying to create an Invoice using Invoice Clerk role in IMS . Transaction BBPIV09. When I try to find POs from this screen system takes me to the find Invoices screen. This screen has two options either create invoices or display invoices.
    When I press creat invoice button to go back to the Invoice Entry page ,and then again select Find Purchase Orders, system takes me to the PO Search screen.
    Has anyone encountered this problem in IMS to help me out on this?
    Thanks in Advance
    Regards

    I got a solution to this problem. This was a bug in the Standard SAP System. SAP corrected the code and that fixed the problem. The note created by SAP to resolve this is 1294017
    Regards
    Virender

  • Enhacement  for  Purchase order creation (Service Item)

    Dear All,
    While creating the purchase order for service items , the base value for calculating the tax must be a value of a pricing condition type.
    Can anyone advice how to link the pricing and tax details of a service item.
    Thanks
    Ravindra Suvarna

    Hi,
    It is a coding error.
    Could you please check if you have applied the note 1049031 with the latest version 13?
    Regards,
    Edit

  • Repair Purchase Order without Service Master

    Good Day Guru's
    I need your help please.  A little history....
    I have recently took a position at a company as their SAP Admin and quit the consulting world.  We go live first of December....While looking at some config, requirements, etc. one of the things  I ran into is  that there was not a process in place for a delivery order being created for a repair order (Misc PO), STO or for  a Sub Contract PO.  I spoke with the Purchasing Manager in reference to this; and she said she was never told about a delivery order as an option....I suggested we should have an automated process in place for a repair PO.  As the design sits now, the buyer will have to manually take the PO to the shipping department, there is not a delivery order, packing list, etc being created.  The functional consultant with the company we have implementing our solution, set up a MISC PO without delivery and did not explain the functionality of a delivery order to them so the company could make a good sound judgement on a process.  I then had a meeting with the Purchasing Manager, Functional Consultant, and also his superior.  He was then asked to put a process in place and come back with a solution.  Well, they did this yesterday (I was out sick).  He stated that "since no service master" for the repair process and external operations that it is not possible to create delvery since these PO's are for service; so go with current design."  Since the STO and the Sub Contract PO did not have delivery orders either that our company wanted to see a demo on the delicery order process before they say yes. 
    In my experience you can create a delivery order with the sub con process with an enhancement ...or at least I thought (been a while since I worked with purchasing).  Has this changed?  Why would I need to set up the Service Master for this (I know it is SAP best practice but  all I wanted was a delivery order process), our requirement was not to track every step of the repair on the PO as an operation.....
    My question comes down to this.   Is the reason I can't use the repair order as a sub con process due to the fact they are using the sub con process for a true sub contract?  Can this be set up as two different categories so both could be used?  Is there another way to get a delivery order created for a repair po (in this case misc po)?  Is there something I need to suggest differently in order to show it is a repair PO versus a true sub contract?  I would appreciate some guidance on this that I can pass to the functional consultant....
    I just find that not using the delivery order process not very efficient and not to mention placing a manual task for shipping material out to vendor for repair.  Hopefully I made this clear.
    Thanks in advance

    Hi
    You need to show purchase cost in some GL account. System recognises GL account through material master or material group with account assignment combination. Without these two you cannot identify to which account postings should happen. Assign a valuation class to a material group in OMWQ and assign a GL account to valuation class in GBB - VBR for automatic picking of GL account in purchase order. However you can overwrite this GL account as per the requirement.
    Thanks

  • Purchase order and service entry sheet

    Hi
    Is there a way to prohibit modifications on the position of services purchase order when the service entry sheet and the invoice were already entered for that position?
    Thanks in advance for your help
    Tomas

    hi, thanks for your help, but the problem that i have is when the service entry sheet and the invoice are allready entered, the user change the value of the position and the service tab, so the user can enter services for more amounts. So its produce difference on the purchase order history between the values of LERF (WE) and the value of the purchase position. For example
    Service Purchase order for 100 dollars.
    Tab service: 2 units for 50 dollars
    The user enter one service entry sheet for 50 and the invoice for 50 (lerf and WE= 50)
    Then the user change the position of the purchase order and increase the value to 100 and modifies the service tab to 1 services for 100.
    Then he enter one service for 100 and the corresponding invoice..........so the result is the following:
    Service purchase position: 100
    LERF-WE: 150
    so the purchase order history is inconsistence.
    For that reason i whant to know is there is a wat to prohibit modifications on the position of purchase order
    Thanks in advnace for your help
    Enzo

  • Create purchasing requisition or purchase order from service order

    Hello experts,
    we are facing the following problem:
    We are implementing Customer Service module and out of the notification we create a service order. In the service order (components tab) the technician declares the spare parts he has to order from the vendor. We do not keep stock of the spare parts so all of them have to be ordered from the vendors.
    We have managed so far to create a reservation for the stock material and a purchase requisition for the non-stock materials of the service order according to the standard sap documentation. What we need is to create a purchase requisition or a purchase order for the stock items using standard logic.
    Thanks
    George

    Hi
    Please follow the steps it will solve your scenario
    Steps involved in Service PO:
    1.Define Organizational Status for Service Categories, in IMG - MM - External Services Management.
    2.Define Service Category, Enter Service Category, Org. Service Category, External Number Assignment
    Without Validation, Acct. Category Reference & Service Category Description.
    3.Define Number Ranges for Service Category.
    4. Create Service Master Record (AC03), SAP Menu u2013 Logistics u2013 MM u2013 Service Master, Enter Service Category,
          Base unit of measure, Mat/srv.grp (007 u2013 Service), Division, Valuation class u2013 3200 & Service type.
    5.Create Service PO with Acct. Assignment u2013 Cost Center (K), Item Category u2013 D, Material Short Text, Mat. Group, Plant, Entry for Services in Item Level i.e. Service No., Quantity & Gross Price u2013 Save.
    6.Maintain Service Entry Sheet u2013 ML81N in SAP Menu u2013 Logistics u2013 MM choose PO in ML81N edit and save.
    7.Then do MIRO from PO reference u2013 Service Entry sheet.
    8.Collective Release of Service Entry Sheet u2013 ML85
    Thanks & Regards,
    Mani

  • Frame work Purchase Order Plus Service entry sheet

    Hello,
    We are having the issue of defining this Purchase order process for Non receivable items i:e items which are non goods receipt like PO for services.When we create a PO with one line item and quantity of 5 and total value of PO is 500 .So after the first invoice the system is closing the PO .System is not looking at the quantity and just closing out the PO .So we have to design a process in which we need to create multiple invoice for a Po(Non GR) also we need to set the tolerence limit for the PO which i thing will be set in OMR6 (PP) and also regardless on quantity the system can create multiple invoices .So what is a good process to drive this.Either Frame work PO or service entry sheet??
    Also is there a way in config we can set tolerence limit for the whole amount of PO .Like in OMR6 we define the upper and lower limit of PO .So if the total value of PO is 1000 ,while creating the invoice it vont allow us to create invoices for more than 1050 .can we set the tolerence for the whole amount of PO ?? Regardless of how many invoices we create.

    Thanks Andra,
    The problem is the multiple invoices is for non goods receipt item so there will be no delivery.At the time of creating a PO the GR is not checked so there will be no delivery .
    Also this setting is for invoices which are comming from Vendors.But if we are genrating the invoices manually it is not blocking those invoices.Also i there is nowhere mentioned in Incomming invoice to set tolerence for incomming invoice.Are you talking about Vendor tolerences?
    Thanks in advance
    Edited by: Metroid01 on May 14, 2009 6:52 PM

  • Issue when uploading Purchase Order for Services (LSMW and BAPI_PO_CREATE1)

    Hi,
    I`m getting the error message "In case of account assignment, please enter acc. assignment data for item" when trying to updoad a Service Purchase Order via LSMW using BAPI_PO_CREATE1.
    I'm using two files, one for header and item data and the other one to service lines. Even the account assignment is maintained the error persists. What am I doing wrong?
    Regards,
    Everton

    Hi
    Check If you are giving the Account Assignment Number correct.
    I mean....for a value...to be recognized by the BAPI, the number should be exactly same as it is stored in DATABASE.
    For example: the number stored in database is 0000123...and you enter 123..in the program, then BAPI would fail to recognise the number. The value should be exactly as the field length.
    Regards,
    Vishwa.

  • Delivery completed indicator in purchase order for service item

    How can I make the delivery completed indicator (EKPO-ELIKZ) in a purchase order for a service item ready for direct changes.
    Per default this field is hidden on purpose for service items (according to SAP note 735404). Please inform me of customizing entry where that can be changed!
    Thanks,
    Johnny

    delivery completed indicator only gives information for MRP ( That not consider balance qty as onorder stock), it has no control on GR, so I am not sure what you will achieve to mark it in service PO?

  • Purchase Order History not appearing for Purchase Order with service items

    A purchase order with a service item has been created.  A SES has been created and Miro transactions as well. When tcode ME2L is executed, the Purchase Order History field is blank. Any configuration missing or is there an applicable OSS note to fix  this?

    Hi,
    It is a coding error.
    Could you please check if you have applied the note 1049031 with the latest version 13?
    Regards,
    Edit

  • Purchase order history (Service PO)

    Hi,
    For Service PO, in purchase order history we are not getting the service entry sheet no in that field field is blank. why ?
    How to get it that
    Thanks
    Prasad

    Hi,
    Check the configuration
    SPRO>>Material Management>>Purchasing>>Statistics>>Maintain purchase order history categories.
    here PO history category As D, Short text as LERF and long text field as service Entry made this configuration and check it,
    Thanks & Regards,
    Andra

  • Purchase Order with Service Tax and Sales Tax both

    Dear Sir,
    We have a scenario where we have to make a Purchase Order for buying some Software . In the PO , we need to mention Service-Tax as well as Sales-Tax both . Pl guide us as whether it is possible to have such condition available in SAP , if yes then what procedure need to be followed .
    As at present , we can not charge Service Tax in the PO against the Material Purchase . Service Tax can be charged only against the Services being purchased .
    Pl guide us .
    With Thanks and Regards
    B Mittal

    Hi
    If you are talking about a MM pricing procedure create two condition types by copying a standard ( take RAOO and then change the Plus/minus to " Positive" there by u can include this in your PO print as well.
    regards
    Mahesh

Maybe you are looking for