XML Purchase Order Example

Here are the XML files define an instance of a purchase order and the type definition files and ClassDomains required to define the Purchase Order in iFS
<?xml version="1.0" standalone="yes"?>
<PurchaseOrder>
<REFERENCE>AMILLER:20000328-091508137</REFERENCE>
<REQUESTER>Angela B. Miller</REQUESTER>
<USERID>amiller</USERID>
<COSTCENTER>A10</COSTCENTER>
<PONUMBER/>
<SHIPPINGINSTRUCTIONS>
<SHIPTONAME>George King</SHIPTONAME>
<ADDRESS>500 Oracle Parkway MS 5op-12 Redwood Shores CA 94065</ADDRESS>
<PHONE>650 506 7000</PHONE>
</SHIPPINGINSTRUCTIONS>
<SPECIALINSTRUCTIONS>Please Expidite this order</SPECIALINSTRUCTIONS>
<REJECTION>
<REJECTEDBY/>
<COMMENTS/>
</REJECTION>
<ACTIONS>
<ACTION>
<ACTIONEDBY>eclark</ACTIONEDBY>
<DATEACTIONED/>
</ACTION>
</ACTIONS>
<LINEITEMS>
<LINEITEM>
<ITEMNUMBER>1</ITEMNUMBER>
<QUANTITY>1</QUANTITY>
<UNITPRICE>2999.0</UNITPRICE>
<ITEMDESCRIPTION>Dell Laptop CPIx</ITEMDESCRIPTION>
</LINEITEM>
<LINEITEM>
<ITEMNUMBER>2</ITEMNUMBER>
<QUANTITY>2</QUANTITY>
<UNITPRICE>299.0</UNITPRICE>
<ITEMDESCRIPTION>Dell Battery</ITEMDESCRIPTION>
</LINEITEM>
<LINEITEM>
<ITEMNUMBER>3</ITEMNUMBER>
<QUANTITY>2</QUANTITY>
<UNITPRICE>250.0</UNITPRICE>
<ITEMDESCRIPTION>Dell Expansion Bay</ITEMDESCRIPTION>
</LINEITEM>
</LINEITEMS>
</PurchaseOrder>
Purchase Order Type Definition
<?xml version="1.0" standalone="yes"?>
<CLASSOBJECT>
<NAME>PurchaseOrder</NAME>
<SUPERCLASS REFTYPE="name">Document</SUPERCLASS>
<DESCRIPTION>Internet Purchase Order</DESCRIPTION>
<BEANCLASSPATH>ifs.demo.purchaseOrder.type.PurchaseOrder</BEANCLASSPATH>
<ATTRIBUTES>
<ATTRIBUTE>
<NAME>Reference</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>64</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Requester</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>48</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>UserID</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>32</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>CostCenter</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>3</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Vendor</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>32</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>PONumber</NAME>
<DATATYPE>Integer</DATATYPE>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>ShippingInstructions</NAME>
<DATATYPE>PublicObject</DATATYPE>
<CLASSDOMAIN REFTYPE="name">
PurchaseOrderShippingInstructionsDomain
</CLASSDOMAIN>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Rejection</NAME>
<DATATYPE>PublicObject</DATATYPE>
<CLASSDOMAIN REFTYPE="name">
PurchaseOrderRejectionDomain
</CLASSDOMAIN>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Actions</NAME>
<DATATYPE>PublicObject_Array</DATATYPE>
<CLASSDOMAIN REFTYPE="name">
PurchaseOrderActionDomain
</CLASSDOMAIN>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>SpecialInstructions</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>2048</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>LineItems</NAME>
<DATATYPE>PublicObject_Array</DATATYPE>
<CLASSDOMAIN REFTYPE="name">
PurchaseOrderLineItemDomain
</CLASSDOMAIN>
</ATTRIBUTE>
</ATTRIBUTES>
</CLASSOBJECT>
Purchase Order Action
<?xml version="1.0" standalone="yes"?>
& lt;CLASSOBJECT>
<NAME>PurchaseOrderAction</NAME>
<SUPERCLASS REFTYPE="name">ApplicationObject</SUPERCLASS>
<DESCRIPTION>Internet Purchase Order</DESCRIPTION>
<BEANCLASSPATH>ifs.demo.purchaseOrder.type.PurchaseOrderAction</BEANCLASSPATH>
<DATABASEOBJECTNAME>POActionHistory</DATABASEOBJECTNAME>
<ATTRIBUTES>
<ATTRIBUTE>
<NAME>ActionedBy</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>32</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>DateActioned</NAME>
<DATATYPE>date</DATATYPE>
</ATTRIBUTE>
</ATTRIBUTES>
</CLASSOBJECT>
Purchase Order Action Domain
<?xml version="1.0" standalone="yes"?>
<CLASSDOMAIN>
<NAME>PurchaseOrderActionDomain</NAME>
<DOMAINTYPE>1</DOMAINTYPE>
<CLASSES>
<CLASS REFTYPE="name">PurchaseOrderaction</CLASS>
</CLASSES>
</CLASSDOMAIN>
Purchase Order Rejection
<?xml version="1.0" standalone="yes"?>
<CLASSOBJECT>
<NAME>PurchaseOrderRejection</NAME>
<SUPERCLASS REFTYPE="name">ApplicationObject</SUPERCLASS>
<DESCRIPTION>Internet Purchase Order</DESCRIPTION>
<DATABASEOBJECTNAME>PORejection</DATABASEOBJECTNAME>
<BEANCLASSPATH>ifs.demo.purchaseOrder.type.PurchaseOrderRejection</BEANCLASSPATH>
<ATTRIBUTES>
<ATTRIBUTE>
<NAME>RejectedBy</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>32</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>DateRejected</NAME>
<DATATYPE>date</DATATYPE>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Comments</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>2048</DATALENGTH>
</ATTRIBUTE>
</ATTRIBUTES>
</CLASSOBJECT>
Purchase Order Rejection Domain
<?xml version="1.0" standalone="yes"?>
<CLASSDOMAIN>
<NAME>PurchaseOrderRejectionDomain</NAME>
<DOMAINTYPE>1</DOMAINTYPE>
<CLASSES>
<CLASS REFTYPE="name">PurchaseOrderRejection</CLASS>
</CLASSES>
</CLASSDOMAIN>
Purchase Order Shipping Instruction
<?xml version="1.0" standalone="yes"?>
<CLASSOBJECT>
<NAME>PurchaseOrderShippingInstructions</NAME>
<SUPERCLASS REFTYPE="name">ApplicationObject</SUPERCLASS>
<DESCRIPTION>Internet Purchase Order</DESCRIPTION>
<DATABASEOBJECTNAME>POShipInst</DATABASEOBJECTNAME>
<BEANCLASSPATH>ifs.demo.purchaseOrder.type.PurchaseOrderShippingInstructions</BEANCLASSPATH>
<ATTRIBUTES>
<ATTRIBUTE>
<NAME>ShipToName</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>48</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Address</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>512</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Phone</NAME>
<DATATYPE>String</DATATYPE>
<DATALENGTH>32</DATALENGTH>
</ATTRIBUTE>
</ATTRIBUTES>
</CLASSOBJECT>
Purchase Order Shipping Instruction Domain
<?xml version="1.0" standalone="yes"?>
<CLASSDOMAIN>
<NAME>PurchaseOrderShippingInstructionsDomain</NAME>
<DOMAINTYPE>1</DOMAINTYPE>
<CLASSES>
<CLASS REFTYPE="name">PurchaseOrderShippingInstructions</CLASS>
</CLASSES>
</CLASSDOMAIN>
Purchase Order Line Item
<?xml version="1.0" standalone="yes"?>
<CLASSOBJECT>
<NAME>PurchaseOrderLineItem</NAME>
<SUPERCLASS REFTYPE="name">ApplicationObject</SUPERCLASS>
<DESCRIPTION>Internet Purchase Order</DESCRIPTION>
<BEANCLASSPATH>ifs.demo.purchaseOrder.type.PurchaseOrderLineItem</BEANCLASSPATH>
<DATABASEOBJECTNAME>POLineItem</DATABASEOBJECTNAME>
<ATTRIBUTES>
<ATT RIBUTE>
<NAME>ItemNumber</NAME>
<DATATYPE>integer</DATATYPE>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>ItemDescription</NAME>
<DATATYPE>string</DATATYPE>
<DATALENGTH>128</DATALENGTH>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>Quantity</NAME>
<DATATYPE>integer</DATATYPE>
</ATTRIBUTE>
<ATTRIBUTE>
<NAME>UnitPrice</NAME>
<DATATYPE>double</DATATYPE>
</ATTRIBUTE>
</ATTRIBUTES>
</CLASSOBJECT>
Purhcase Order Line Item Domain
<?xml version="1.0" standalone="yes"?>
<CLASSDOMAIN>
<NAME>PurchaseOrderLineItemDomain</NAME>
<DOMAINTYPE>1</DOMAINTYPE>
<CLASSES>
<CLASS REFTYPE="name">PurchaseOrderLineItem</CLASS>
</CLASSES>
</CLASSDOMAIN>
null

Hi,
i put the example into my ifs - (it works) - but i have 2 questions:
1.) when i look at the ifs-schema - for example ODBMS-PURCHASEORDER - i found reference-id's to REJECTIONS, SHIPPINGINSTRUNCTIONS.. but for the attributs with the datatype PublicObject_Array i found only the number of items inside. In which way is the relationship handled ??
2.) where can i found the referenced classes from your example ?
TIA
Oliver

Similar Messages

  • Alter the "Dynamic Interactive Purchase Order" example

    In the Sample files, there´s a fantastic form called the "Dynamic Interactive Purchase Order". This form worked perfectly for me, but now I need to change something. Instead of the "Quantity" field, I need the user to make a choice out of 4 options. The Unit Price then automatically should change as well, depending on the option the user choose ofcourse.
    For example, the Part.No dropdown lists consists of 4 types of t-shirts: blue, red, white and black. All have a standard description (their colour), and a basic price. Now I want to change the Quantity field into a field with 4 radiobuttons, let´s say the size of the shirt: S, M, L and XL. That particular button should have a description as well. And ofcourse, the unit price should change with it.
    It should look something like this:
    Part No. (dropdown)
    Description
    Size
    Description
    Price
    Blue
    A nice blue t-shirt
    S
    You´re a small person!
    $15
    Red
    Wow, my favorite colour!
    XL
    Isn´t it time to go on a diet?
    $30
    Red
    Wow, my favorite colour!
    M
    Nice size
    $20
    Black
    Back to Black
    M
    Nice size
    $20
    Is there anyone with the knowledge and a few minutes to spare to help me out here? I really don´t see it, and I´m getting pretty frustrated with that

    Are you using Workshop? Is so, workshop does not provide for running plain java
    classes. You can run a web service (.jws) or a web application (.jpf). You can
    edit .java classes in workshop no problem but you need to build and execute them
    from outside workshop. You might try creating a simple .jws. Workshop makes
    that very easy to do.
    "Vaidhy" <[email protected]> wrote:
    >
    I am trying to use the purchase order example. I have used the xsd file
    to create
    all the relevant java classes. I am trying to the get the POHandler.java
    class
    working. I am able to compile the class but I cannot run/debug. All the
    menus
    are greyed out. Any ideas??

  • XML Purchase order - ESOA

    Hi,
    We are trying to configure service procurement using ESOA.Ideally once a PO is created in my ERP system a corresponding XML PO should be generated for sending it to SUS via XI.
    For this I have activated Business Function LOG_MM_P2P_SE_1 and workflow linkages have been activated for events BUS2012 (Created, Changed, Completed, Released) within workflow definition WS53800008.
    However the XML PO is still not generated. I have also applied the note : 1316245 in ERP system.
    In swi1 T-code of my ERP system I get the following error after I create a PO.
    Error : "Error in a service of application MMPUR"
    Kindly let me know how to resolve this and proceed with sending XML PO to SUS.
    Thanks,
    Nikhil.

    Symptom
    You want to use the new cross scenarios between ERP EhP 4 and 'SRM Server 7.0 delivered with Business Suite 2008:
    creation of SRM RFx from within the ERP Web Dynpro applicattion "Collective processing of Purchase Requisitions (CPPR)
    Central Contract Management (CCM)
    Other terms
    SRM, ERP, CPPR, harmonized roles, Procure-to-Pay, SOAMANAGER, Web Service, Synchronous services, Point-to-point communication
    Reason and Prerequisites
    These cross-scenarios utilize synchronous Enterprise Services for the following reasons:
    Bidder search help (RFx creation): In CPPR the user can already select bidders which will be assigned to the RFx in SRM. These bidders need to be queried from the SRM system. Therefore, the synchronous service operation RFQRequestSUITEAllowedBiddersByIdentifyingElementsQueryResponse_In is introduced.
    Querying pricing information (CCM): While creating the Purchase Order in the ERP system using the central contract as source of supply, ERP queries the SRM Server for the most actual price using the synchronous service operation PurchaseOrderSRMPricingSimulateQueryResponse_In.
    Checking archiving status (CCM): Before archiving the central contract in the SRM server, the status of the distributed contract in the connected ERP systems must be queried by the SRM Server using the synchronous service operation PurchasingContractSRMArchivingCheckQueryResponse_Out.
    Retrieving RFQ Transaction Types from SRM ( RFx Creation ) : In CPPR, user can select any one of the transaction types of RFx which are confired in the SRM system. RFx transaction types will be retrieved using the service interface QueryCodeList ( NameSpace: http://sap.com/xi/BASIS ).
    Rather than using these sychronous service operations mediated via PI, it is recommended to configure them peer-to-peer.
    As a prerequiste you have installed
    SRM Server 7.0
    SAP ERP 6.0 EhP 4 with the resp. Business Function activated
    configured the Central Contract Management and Sourcing scenarios according to documentation available in Solution Manager
    installed all required business packages as mentioned in note 1232945
    This note deals with the delta information how to enable the synchronous peer-to-peer communication for the service operations mentioned above.
    Solution
    Synchronous services are no longer maintained using the transaction LP_CONFIG, WSADMIN, but the new SOAMANAGER. For more details about the SOAMANAGER please refer to: http://help.sap.com/saphelp_nw70/helpdata/EN/b0/787748cf3a4200bb1ba32a62aa8519/frameset.htm.
    Configuration on both the provider and consumer side for synchronous service operations must be done. For:
    RFQRequestSUITEAllowedBiddersByIdentifyingElementsQueryResponse_In: SRM Server is the provider and the ERP system the consumer
    PurchaseOrderSRMPricingSimulateQueryResponse_In: SRM Server is the provider and the ERP system the consumer
    PurchasingContractSRMArchivingCheckQueryResponse_Out: ERP system is the provider and SRM Server the consumer.
    Query Code List: SRM is the service provider and ERP is the consumer for this service.
    This note explains the steps necessary for for the example of the pricing service, please configure the other services accordingly.
    Settings in the Provider system
    1. Open the transaction SOAMANAGER.
    2. If you are using SRM Server 700 Version then  goto SingleServiceAdministration under Application and Scenario Communication Tab.
    3. If you are using SRM Server 701 Version then goto Single Service Administration under service administration Tab.
    4. Search for the Provider service in the search tab. Eg: In this note, Pricing service is taken as example for configuring. For this service, SRM system is the provider and ERP is the consumer system. For this, searching by Service with search pattern "pricing" should return the result PurchaseOrderSRMPricingSimulateQueryResponse_In.
    5. Select the service from search results and click 'Apply Selection' button.
    6. In the Configurations tab, use CREATE SERVICE action to create a web service for this enterprise service proxy.
    7. Mention the name for service, description and binding name. For example, for pricing service, you may want to give 'SRM_Pricing' as new service name, 'Pricing from SRM contracts' as description and 'SRM_Pricing' as new binding name. Click on 'Apply Settings' button.
    8. Select the Check Box 'UserID/Password' under Transport Channel Authentication. By doing this step, authorization at webservice level is imposed. Only users who have acess to the provider system ( here SRM system ) will be able to acess this webservice.
    9. Save the changes using SAVE button as shown below.
    10. Goto overview tab and click on the link 'Display Selected Binding's WSDL url' and copy the wsdl address which will be displayed in a text area.
    Settings in the Consumer system
    1. Open SOAMANAGER transaction in consumer system.
    2. Go to single service admistration under Application and Scenario Communication Tab.
    3. Search for the consumer proxy. Eg: Search for pricing service consumer proxy, in ERP as ERP is consumer system for pricing service.
    4. Select the consumer proxy in search results and click on Apply selection.
    5. Goto Configurations tab and click on 'Create logical port'.
    6. Enter a logical port name (e.g. SRM_ERPpricing_LP), description. Select the check box 'Logical Port is Default' and select the Configuration type 'WSDL Based Configuration'. Select 'Via HTTP acess' as the WSDL access settings.
    7. Enter the WSDL address which is copied as explained in step 9 of configuration in provider system. Enter the WSDL Access user and pass word which will be used to in the provider ( SRM ) system to execute the service. Click on 'Apply settings' button. The user should be a dialog or service user in provider system and should exist in SRM Organization plan.  The user should have roles SAP_BC_WEBSERVICE_CONSUMER assigned. User should also have application roles (/SAPSRM/EMPLOYEE) necessary to execute the underlying purchasing processes in SRM. Please refer to: http://help.sap.com/saphelp_nw70/helpdata/EN/2b/07074155bcf26fe10000000a1550b0/frameset.htm
    8. Save the changes.
    Header Data
    Release Status: Released for Customer
    Released on: 24.05.2010  15:32:44
    Master Language: English
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: SRM-EBP-ESA SRM Enterprise Services
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 604 604 604  
    SRM_SERVER 700 700 700  
    SRM_SERVER 701 701 701  
    Related Notes
    1286936 - PI configuration for SRM - additional information
    1268821 - SRM 7.0 / ERP 6.04: Config. of Central Contract Management
    1263876 - SAP SRM: Configuration of Procure-to-Pay Scenario
    1223493 - SAP SRM 7.0 SP Stack 01 (11/2008):Release & Information Note
    Print Selected Notes (PDF)

  • Printed XML Purchase Order Report - Printing blank Blanket PO page

    Hi,
    When printing the xml report of a Blanket PO Release, the release lines and headers print first but the last page is a page for the primary blanket PO (PO Num without any releases attached). This page does not contain any information in the header or line fields therefore it is a waste of paper. Looking into the XML code the blanket PO page is pulled in the same manner as the Release lines, against G_Headers. I'm going to look into the Reports Developer SQL to see if I can find something but I would rather not mess with the configuration of the SQL if I did not have to.
    Any ideas on how to get rid of this extra unnecessary page?
    Thanks,
    -Steve

    Hi,
    RDBMS : 11.2.0.1.0
    Oracle Applications : 11.5.10.2
    OS: Unix
    The issue can be reproduced.
    The report in question has had customization but the blank page prints in the Printed Purchase Order Report(Portrait) seeded function as well. From what I see the SQL might be able to modified based off of the input paramet "Print Blanket PO". When this is selected "No" the Blanket header is printed with no lines (that's where the blank PO page is coming from). When selected Yes the blanket header with all the blanket lines are printed. So I may be able to go in and change how that input parameter changes the output, unless there is a better way.
    -Steve

  • Rfc XML Purchase Order via business connector

    Hi,
    I am new to business connector and currently I am faced with a task where I have to send the Purchase Order to vendor via rfc XML with business connector 4.7.
    The vendor should receive the order via ebp XML.
    Can any one specify me the exact steps involved in this.
    Please reply asap as there is an urgency in the task.
    Points assured to helpful answers.

    hi,
    there used to be standard content for EBP for BC
    SAP BC Support Packages for EBP, BBP, and CRM link on:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000463624&_OBJECT=011000358700000267402002E
    but I cannot access it anymore
    you can asking SAP about it as I'm sure this could help you in your EBP scenario
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Oracle B2B - Trading Partner identification for Custom XML purchase order

    Hi ,
    How to identify From TP and To TP from the data available in the custom XML?
    Also need know will it be possible to identify the Agreement based on XML data of custom purchase order (Not with File Name format identification)?
    Thank you.
    Regards
    Anvesh Raju

    Hi,
    please refer to below doc for various identification options
    Creating Types - 11g Release 1 (11.1.1.7)
    Generic exchange is also discussed
    Thanks,
    Prasanna

  • How to export purchase order dtd from SRM 5.5

    In earlier versions of SRM one could export an XML DTD based on the corresponding IDoc. However, in 5.5 there is no purchase order IDoc.
    I need to send a vendor the DTD for the XML purchase order we are going to send to them electronically.
    Where can I find and download the XML DTD for purchase orders in SRM 5.5?

    Stuart,
    we were doing this to transmit XML orders to a Market Place but we had to use our PI server.
    If you have no PI server then I am not sure the option exists.
    If you have a PI server, I suggest you ask the PI person as I know nothing about PI.  The config for XML output in SRM is in SPRO > SRM Server > Cross Application Basic Settings > Set Output actions and Output Format
    Regards
    Allen

  • LIV Authorization for a particular type of Purchase Order

    We are having a particular type of purchase order.We want to give permission only to a particular user,who will be able to do LIV related to only this type of  purchase order,
    Example.
    Purchase order type is : NZ:PO for issue to vendor.
    we want when user run t.code MIRO,he only posting NZ document type of P.O.
    Can anyone help me how I configure it.........
    Thanks in advance
    Bhuban

    Hi,
    Unfortunately there is no standard SAP option for this.
    The existing authorisation config does not include a check for the PO document type.
    If you really must have this then you need to get your ABAP programmer to look for a suitable user exit and control it this way.
    It might make the coding a bit easier if you give this docmunet type a unique number range e.g. 9900000000 to 999999999, so that the code only has to check the doucment number entered without having to read the PO and obtain the document type.
    Steve B

  • XML P. Orders to BASDA eBis spec

    As an Oracle based Finance system provider we need to be able to provide XML Purchase Orders for B2B requirements. We want to conform to the (ever changing) BASDA eBis specification. We can quite easily just wrap the XML tags around a standard order print. However it would seem to make sense to use some of the new PL/SQL packages to do this. Is there then any way of using these to comply to a pre-defined standard such as eBis, or would it better to do this manually? Certainly the demos using plsxml etc. look productive.
    Conversely is there any recommendation for reading such electronic Purchase Orders into the database, again from an eBis standard PO?
    Thanks in advance
    Gary

    My book dedicates an entire chapter to building and explaining an XMLLoader utility that helps you handle situations like this.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • Component item duplicated in Posting Purchase Order (BOM Template) from XML

    Hi,
    I have a SDK program that posts draft document using XML.  I have a problem in posting a Purchase Order using a bom template from XML, it duplicates the component items of the document. Here is an example of the transaction.
    Draft Document to be posted----
    Card Code - PM0013
    Status - Draft
    ItemCode         | Quantity           | UOM          | Warehouse         | Profit Center        | Price     
    PMBX13            1                        set               DHO                      KAP                        
    PMBX13-B        1                        piece            DHO                      KAP                      USD 0.8000
    PMBX13-C        1                        piece            DHO                      KAP                     
    PMBX13-P         1                        piece            DHO                       KAP
    Draft Document to be posted----
    Posted Document----
    Card Code - PM0013
    Status - Open
    ItemCode         | Quantity           | UOM          | Warehouse         | Profit Center        | Price     
    PMBX13            1                        set               DHO                      KAP                        
    PMBX13-B        1                                            DHO                      KAP                      
    PMBX13-C        1                                            DHO                      KAP                     
    PMBX13-P        1                                            DHO                       KAP
    PMBX13-B        1                        piece            DHO                      KAP                      USD 0.8000
    PMBX13-C        1                        piece            DHO                      KAP                     
    PMBX13-P        1                        piece            DHO                       KAP
    Posted Document----
    Thanks!

    Hi Cecille,
    When adding template BOMs to a marketing document via the DI API, you only need to add the BOM header item and not the components. When the DI API adds the document it will copy the components from the BOM definition. This is why your components are doubling up. If you want to be able to edit the components then you'll need to add the PO using the DI API (with just the BOM header in your XML) and then reload it in to a PO object. You'll then be able to loop through the component lines and edit quantities etc.
    Kind Regards,
    Owen

  • Purchase order replication – extended classic scenario using XML proxy via PI

    Hi Experts
    Question:
    In case of extended classic deployment is it possible to use XML proxy to
    transfer SRM purchase orders to ECC? As we know as of SRM 7.01 its via RFC
    whether SRM 7.02 onwards does SAP support XML for ECS too?
    Has
    anyone read about this in any of the SAP forums?
    Background: In our project, client have invested
    heavily on XI and XI monitoring and troubleshooting, integrated to SAP SOLMAN.
    And would like to opt for XML mode of transfer and reuse existing solution.
    This is the main reason we would like to be very clear in our understanding
    before we go back to client.
    We appreciate your time and support.
    Regards
    Prashanth

    Dear Rahul,
    Thanks for you input
    Let me give you an example of the behaviour:
    in PPOMA_BBP TOG assigned to user has : DQ with $1000 and upper percentage 5%.
    User orders a PO  with quantity=1000, price $100;
    No additional tolerances assigned in the PO itself
    User tries to enter confirmation with quantity 1001 (so qty variance converted to currency amount results in $100 over delivery) So the confirmation is under both the 5% and the $1000 limit.
    In that case I donu2019t receive an error message from the SRM, but the error message u201CBackend Purchase Order quantity exceeded by 1 EAu201D from ECC still prevents me from posting the Confirmation. And this is the problem I havenu2019t been able to solve so far.
    So I want the TOG tolerance to be used. And I am also happy with the absolute limit always having priority over percentage limit...
    But I am trying to find a way to get rid of the back end message (with assigning a tolerance to the PO itself as the will get rid of the absolute limit see my previous post.)
    Cheers
    Ulrike

  • Create a Purchase order using the BAPI using the data in the XML file.

    Hello Gurus,
    here is the scenario can anyone help me how to proceed explaining the procedure?
    Create a Purchase order using the BAPI using the data in the XML file.
    comprehensive explanations are appreciated.
    thanks in advance.

    hi,
      first use fm "bapi_po_create".
      then use fm "BAPI_ACC_GL_POSTING_POST"
    The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
    •     No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
    •     In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
    •     A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM).

  • XML Pub: Purchase Order  Report (Portrait) running too long

    Hi:
    "XML Pub: Purchase Order Report (Portrait)" running too long. It should be 1min. but now over 20min. This is 11.5.10.2 on unix.
    The log file is like the following. It stops there. I checked another one ran before, there are more data...
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_report_type='R'
    P_po_num_from='6640015'
    P_po_num_to='6640015'
    P_test_flag='N'
    P_user_id='14955'
    P_QTY_PRECISION='4'
    P_fax_ind='N'
    P_EMAIL_IND='N'
    P_REQUEST_SOURCE='MANUAL'
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /oracle/product/8.0.6finshdw/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oracle/product/8.0.6finshdw/guicommon6/tk60/admin/Tk2M
    otif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    ===============================================
    From the internal Manager log:
    Process monitor session started : 29-APR-2011 12:35:56
    Internal Concurrent Manager found node APPSNOTE2 to be down. Adding it to the l
    ist of unavailable nodes.
    Process monitor session ended : 29-APR-2011 12:36:00
    Process monitor session started : 29-APR-2011 12:38:00
    Process monitor session ended : 29-APR-2011 12:38:04
    Process monitor session started : 29-APR-2011 12:40:04
    Process monitor session ended : 29-APR-2011 12:40:09
    Process monitor session started : 29-APR-2011 12:42:09
    Internal Concurrent Manager found node APPSNOTE1 to be down. Adding it to the l
    ist of unavailable nodes.
    Process monitor session ended : 29-APR-2011 12:42:15
    ======================
    please advise.

    last lines of FNDCPGSC29793.tx
    )]:BEGIN :[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 10 seconds (10000 ms)
    [ 1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Running loop from the top.
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:BEGIN (noEvent)
    :-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:Did not receive any control events.
    -1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsm.GSMQueueProcessor.process()]:BEGIN
    :-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsm.GSMQueueProcessor.read()]:BEGIN
    :-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Running loop from the top.
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:BEGIN (noEvent)
    :-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.processControlEvent(String)]:Did not receive any control events.
    :-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.process()]:BEGIN
    -1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:BEGIN
    -1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.process()]:On-Demand monitoring will not occur this round; the count is 3 out of 5
    [Apr 29, 2011 1:19:5 :-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.run()]:Resetting Error Count
    [Apr 29, 2011 1:19:51  1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:BEGIN :1304097591452:Thread[ComponentMonitor,5,main]:0:-1:
    -1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 60 seconds (60000 ms)
    [Apr 29, 2011 1:20:00 PM EDT] 1:-1:PROCEDURE:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:BEGIN
    [Apr 29, 2011 1:20:00 PM EDT]: 4:-1:-1:STATEMENT:[SVC-GSM-WFALSNRSVC-262965 : oracle.apps.fnd.cp.gsc.Processor.sleep()]:Waiting 10 seconds (10000 ms)
    Edited by: user9231603 on Apr 29, 2011 10:22 AM
    Edited by: user9231603 on Apr 29, 2011 10:25 AM

  • Purchase Order to Purchase Order using BPEL and/or XML Gateway

    Hi,
    Is there a way to do create a duplicate Purchase Order in another instance using BPEL and/or XML Gateway? We're looking to do A2A transactions, namely duplicating data from one instance to another (of course the functional setups would have to be the same). Thanks!!

    this is the perfect usace for the upcoming ESB (shuffling data with transforming from A to B) - but this can be done with BPEL too .. there are some solutions to this
    1) on a database level (db to db)
    2) having events setup'ed in the master instance, that fire a process that get's the data
    3) and then using the functions from iRep
    hth clemens

  • Customizing Printed Purchase Order (XML) in R12

    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.

    855902 wrote:
    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.Yes..there is no xml associated with it..I have seen it even in my instance..better to log a SR with oracle to get the data template...even when you submit the program it will end up saying no data template...program will be errored out..because there is no template available to pick that
    All Parameters: P_REPORT_TYPE=R:P_AGENT_ID=:P_PO_NUM_FROM=:P_PO_NUM_TO=:P_RELEASE_NUM_FROM=:P_RELEASE_NUM_TO=:P_DATE_FROM=:P_DATE_TO=:P_APPROVED_FLAG=:P_TEST_FLAG=:P_PRINT_RELEASES=Y:P_SORTBY=:P_USER_ID=1013895:P_QTY_PRECISION=2:P_FAX_ENABLE=:P_FAX_NUM=:P_CANCEL_LINE=Y:P_BLANKET_LINES=N:DebugFlag=N
    Data Template Code: POXPRPOL_XML
    Data Template Application Short Name: PO
    Debug Flag: N
    {P_RELEASE_NUM_FROM=, P_DATE_FROM=, P_CANCEL_LINE=Y, P_FAX_NUM=, P_SORTBY=, P_RELEASE_NUM_TO=, P_PO_NUM_TO=, P_REPORT_TYPE=R, P_USER_ID=1013895, P_AGENT_ID=, P_APPROVED_FLAG=, P_PO_NUM_FROM=, P_BLANKET_LINES=N, P_TEST_FLAG=, P_FAX_ENABLE=, P_QTY_PRECISION=2, P_DATE_TO=, P_PRINT_RELEASES=Y}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    HTH
    Mahendra

Maybe you are looking for

  • Flash Movie runs Choppy

    Hi, hopefully someone has some ideas on how to better pull off what I am trying to do.  I have a movie clip that animates a background.  I am trying for an effect of the background getting larger, as if someone were zooming through some clouds and ge

  • EventListener not working - AS2

    I have been tearing my hair out on this one. I found some code on a FAQ site that seems like it should work, but I can't get it to function. I have put an .flv video into my scene, it plays fine, but then I need the program to move to the next scene.

  • Bug with big Black Pixel on Photoshop CC

    Hi, I recently install Photoshop CC (iMac 2,8 Ghz Intel Core i5, 16Go 1333 Mhz DDR33, Mavericks) When using different layers, I have a HUGE BLACK PIXEL coming on the picture (365x365px) , often on the low lef corner. It disapears when I strongly zoom

  • Event on Equipment Change/Creation

    Dear SDN, unfortunately I haven't found any response for this question on this forum so far. Our business needs an IDoc Outbound to be generated every time an Equipment is Created or Changed. (this is a customized IDoc) All the IDoc configuration and

  • Classes in ALV

    Hello Everyone , I am developing an oops alv , i need some help like in the output list if i select particular row and press a push button it has to do some operation. Is there any Method which captures the selected row by the user. Thanks, Srinu.