Passing Data to the Purchase Order Style Sheet

I am new to oracle so please pardon my ignorance.
I was tasked with switching the Purchase Order from transmitting via a 3rd party application to using XML Publisher.
I was able to get the PO to generate successfully and I have made a few minor changes to the standard XSL-FO. What I would like to do is send down additional fields (messages that can be changed more easily from within the application without code changes).
We are on version 11.5.10.2. but this is a layered upgrade, so their report builder version is 6.0.8.25.0.
I think I figured out how to get the data i want to be added to the xml created by POXPRPOP.rdf.
My confusion stems from a lack of understanding of how the xml created from POXPRPOP is translated into XML Publisher.
The original report was generating the following XML before I switched the PO Output Format in Purchasing Options/Control from Text to PDF:
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Generated by Oracle Reports version 6.0.8.28.0
-->
- <POXPRPOP>
- <LIST_G_INIT_INFO>
- <G_INIT_INFO>
<MANUAL_PO_NUM_TYPE>ALPHANUMERIC</MANUAL_PO_NUM_TYPE>
<C_COMPANY></C_COMPANY>
<C_ORGANIZATION_ID></C_ORGANIZATION_ID>
<BASE_CURRENCY_CODE></BASE_CURRENCY_CODE>
<STRUCTURE_ACC></STRUCTURE_ACC>
<STRUCTURE_CAT></STRUCTURE_CAT>
<C_CATEGORY_SET_ID></C_CATEGORY_SET_ID>
<C_YES>Yes</C_YES>
<C_NO>No</C_NO>
- <LIST_G_HEADERS>
- <G_HEADERS>
<SHIP_VIA />
<POH_SHIP_TO_ORG></POH_SHIP_TO_ORG>
<POH_BUYER_PHONE />
<POH_VENDOR_ID></POH_VENDOR_ID>
<POH_PO_NUM></POH_PO_NUM>
<POH_REVISION_NUM></POH_REVISION_NUM>
While, the PO stylesheet appears to be expecting the following format as defined in the PO_STANDARD_PO.xml document defined in the Standard PO Data Definitions:
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: PO_STANDARD_PO.xml 115.0 2004/08/12 15:33:28 nipagarw noship $ -->
<!-- dbdrv: none -->
<!-- GSCC_Category="Xdo Data Definition" -->
<PO_DATA>
<TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
<SEGMENT1>21263</SEGMENT1>
<REVISION_NUM>0</REVISION_NUM>
<PRINT_COUNT>0</PRINT_COUNT>
<CREATION_DATE>12-AUG-2004 00:08:06</CREATION_DATE>
<PRINTED_DATE/>
<REVISED_DATE/>
<START_DATE/>
<END_DATE/>
<NOTE_TO_VENDOR>Terms Supplier Note</NOTE_TO_VENDOR>
<DOCUMENT_BUYER_FIRST_NAME>Pat</DOCUMENT_BUYER_FIRST_NAME>
Is the XML that was originally being generated from POXPRPOP different now that I changed the output format? If not, how is the original XML being translated to match the correct format as required by the stylesheet?
Thanks,
-Tim

Try
                            oForms.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE
                            oForms.Items.Item("4").Enabled = True
                            oForms.Items.Item("38").Enabled = True
                            oMatrix = DirectCast(oForms.Items.Item("38").Specific, SAPbouiCOM.Matrix)
                            oMatrix.Columns.Item("1").Editable = True
                            Dim oEditText As SAPbouiCOM.EditText = DirectCast(oMatrix.Columns.Item("1").Cells.Item(i).Specific, SAPbouiCOM.EditText)
                            oEditText.Value = TempTbl1.GetValue("ItemCode", j)
                        Catch ex As Exception
                            oApplication.MessageBox(ex.Message.ToString)
                        End Try
No it coming as Not editable see the above code.
Thanks,
Ruheena

Similar Messages

  • In MIGO, i need to see delivery dates from the purchase order

    Is there a way to see in transaction MIGO, the delivery dates from the purchase order?  I hope there is some exit or BADI or BAPI or .... to perform this copy function? 
    We have multi-line POs for the same material with staggered delivery dates and the Warehouse needs to know which PO line to receive against.

    when you enter the PO number in MIGO and hit enter, then you only get the items that can be received.
    If you make sure that the PO items are created by ascending delivery date, then you can always take the first.
    if you have the personal setting to display all items (even the already received ones), then you can take the first with a quantity proposal. already received items do not propose quantities.
    I would ask purchasing to tell the vendor that he has to state the PO number along with the item number in all papers (delivery note, invoice).

  • Logic required to findout "Release To Date" of the Purchase order

    Hi
    We are developing a custom program to release purchase orders as per clients requirements. In that, in the output, we need to display the "Release To Date" of the purchase order. Consider the release codes are R1,R2& R3, and currently the PO is released by R1, then we need to show "Release To Date" as R1. Simillerly once R2 also released the PO, we need to show "R1 R2" in the Release To Date field. This you can see in the Release Tab of the PO.
    Now we need to adopt the same logic in our custom program also. Which table i can find the release to date details. The latest release code of the PO also good enough to build the logic to findout the "Release To Date"
    Any pointers would be of great help.
    Thanks
    Venkat.

    Hi Venkat,
    Check up these tables
    T16FC, T16FD, T16FG, V_T16FC
    Regards,
    Hareesha
    If it's help's reward the pts

  • Issue with the Posting Date of the Purchase Order.

    Hi All,
    There are fields in BW like SSL1: Time OK, SSL2: Qty OK, SSL3: Time & Qty Ok, SSL4: Days Late (Routines are written to calculate). These fields will indicate whether the delivery against a GR is OK or not with respect to Time, Quantity and the No. of Days..
    But here the issue I am facing is
    If there is only1 delivery/ GR against a single item the calculation in BW are correct - i.e. for a particular PO if there is only one delivery the above fields like SSL1: Time Ok, SSL2: Qty OK will show like the delivery is done within the specified time and everything is OK (in case if it is delivered within the allotted time)
    But if there are multiple deliveries or multiple GR's  posted for one PO item, the calculations are going wrong i.e. even if the delivery is done well within the specified time it is showing the wrong calculations like it is delievered too late. Because in this case the earlier dates are overwritten.
    Can anyone throw me some light on how can I go about solving this issue.
    I am thinking of declaring the Posting Date as the KeyField of the DSO as of now it is a Data field  I also want to know the impact of assigning this as a Keyfield.
    Thanks in advance,
    Prasapbi

    Hi,
    As I understand, you have a DSO based on Purchase Order and your key field is PO and its line item. The problem as you stated will always be there if you have multiple deliveries/GRs created for a single line item because the system will overwrite the entries for same key.
    Problem with adding Posting date as keyfield will be that then your key will be PO-PO Lineitem-Date. When PO will be created, the Posting date will be blank(correct me here if I am wrong), therefore you will have one entry for same PO-line item combination. One without date and other with date, which again would be incorrect. If my assumption about Posting date was wrong, even then your data may not be correct because then you may have many entries with same posting date which again would overwrite each other.
    If there is any direct link between PO line item and number of deliveries that will get created for them, then you can bring that field in DSO as keyfield. But I don't think there is any such field.
    Looking at your report requirement, I would suggest that you make a DSO based on Goods Receipts and then calculate these keyfigures by comparing the dates between GR posting date and PO line item date.
    Else you can change the way your datasource works(if its generic one based on function module). Since your main requirement is to check whether the GR posting date has met your SLA or not, you should fetch all the details only when GR is created and make your key field as PO-PO Line item-GR

  • Delivery date in the purchase order

    Hi all,
    Iam creating the standard P.O. today 2nd Jan.System is taking the delivery date as 5 th Jan ie..after three days.
    How system is calculating this?
    I know this is MM related But is is quite confusing when I practise Schedluing & avai check
    Regards
    Mano

    Hi,
    Check factory calender. E.g Factory calender - US
    Goto SCAL t.code. Select factory calender field. choose change / display icon.
    Select the calender and click on definition. Here you will get working days.
    Goto vendor master data, Enter vendor number,company code and purchase org.
    Check planned delivery time in purchase data screen.
    Regards,
    Chandra

  • Does the inbound delivery date get updated in the Purchase Order?

    Dear Experts,
    Here is the use case, The original delivery date in the purchase order is 01.11.2011. Accordingly, the supplier sends an ASN to my client against the PO with the same delivery date. However, now, store keeper of my client wants to receive the stock on 03.11.2011.
    1) Can the store keeper/ goods recipient change the delivery date in the corresponding inbound delivery document to 03.11.2011?
    2) Will the change of the intended delivery date be notified back to the supplier who has triggered the ASN?
    3) Will the new delivery date be updated back in the purchase order?
    Point 3 is particularly important for the client from vendor evaluation point of view as any delay from the client side should not affect the vendor performance for ontime delivery.
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

    for point 2 not the dates wont be sent back to supplier untill unless you have any logic writen for that and if there is a Interface designed for it and I dont there will be any since ASN is sent from Vendor and if you are changing the dates in ASN .
    for point 3 no its not going to change the delivery date in PO at item level but at the item detial level in PO history tab the scheduled date and delivery date as per ASN will be mentioned
    its better you run the case in system and check it....this wont take much time

  • Billing date for a purchase order in the corresponding billing document

    Hello,
    for a purchase order I need to select the billing date in the bill which corresponds to the purchase order. There is a posting date in the order history but I am not sure that this date is identical with the billing date in the purchase order. Any suggestions? Thanks.
    Regards, Lars.

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • Profit Center Value in the Purchase Order Pricing

    Dear Friends
    I am stuck at a process design step and I need your help to proceed further.
    We have created a new Condition type in MM Purchasing to display the charges incurred towards the inward freights.
    These freight costs vary depending on the Profit center. ( The Profit Center is already included in the Communication Structure KOMP) So We have Profit center field included as one of the field in the Table and in access sequence.
    The Profit center is visible in the item data of the Purchase order in the Account Assignment Tab Page  Under Item Details section.
    But this value is stored in EKKN & not in EKKO or EKPO
    I have created condition records  also.
    Now when I create  a  PO the value is not picked from the condition records. When i looked at Pricing analysis the value for Profit center is Blank.
    So Kindly advice me how can i get the value of the Profit center in the condition records.
    Thanks & Regards
    Srinivas

    Hi,
    We have  a similar scenario with the order type and we created a new field as ZZBSART in the field catalogue.
    included the ZZBSART in to the communciation structure KOMG so that it will be available in the KOMK structure.
    After that, some coding have to be written in the user exit J_117_USEREXIT_FILL_KOMK_KOMP.
    Sample coding for Vendor region
    Select single regio into XKOMK - regio
       Where LIFNR = XKOMK LIFNR
    Try with this and let me know if you have any issues.
    Regards,
    RitiG

  • Can't find Posting date in ME23N (Purchase order)

    Hi
    I am looking at a puchase order document in ME23N, but I cannot find the posting date of this document. Can some please explain me where I will find the posting date?
    Kind regards,
    Torben
    Message was edited by:
            Torben Pedersen
        (ME23N - not ME24N)

    Hi,
    In ME23N you cann't find the Posting date, you can find only Document date of the Purchase order, when the PO is created like that,
    If you done any Goods reciept w.r.t this Purchase order you can find the Posting date of GR document in Purchase Order History tab at Item details of the PO in ME23N.
    rgds
    Chidanand

  • Can we change the doc date in a purchase order ?

    can we change the doc date in a purchase order ?
    i have created PO with wrong dates but now want to correct it, but its not letting me do it ...why ?

    I don't think DOC DATES can be changed. You can only change the posting dates of the Goods receipt and Invoice documents as that is what matter for your financial consolidation.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • HOW CAN I GET THE PURCHASE ORDER RELEASE DATE

    Dear All,
    HOW CAN I GET THE PURCHASE ORDER RELEASE DATE - any reprot is there?
    Thank you
    Ahmad

    Hi,
    u goto that PO and select Environment on top line .under that select header changes if u click on that u will get entire details who reased when released, date , time etc
    regards,
    Srinivas Kona

  • What's the purchase order agreement master data table name?

    hi experts
    what's the the purchase order agreement master data table name? and by the way tell me some relative table about agreement.
    thanks a lot and hunger for ur advice.

    Hi,
    EKKO is the purchase order master table. EKPO is the item table. EKBE is purchase order history table. EBAN is purchase requisition table. EBKN is purchase requisition account assignment table.
    Reward.

  • Net price update in creation of the purchase order

    Guys,
    I have a query, please find the details below.
    I have created a ABAP for posting the purchase orders using the BAPI function 'BAPI_PO_CREATE1', I am passing the net price value in the input file. But the system is taking the net price from the purchase info record of that material. My own net price is not considered.
    Please find my observations below.
    1. First of all system is checking whether there is a PIR maintained for the material or not. If PIR is maintained, then system is defaultly considering the net price maintained in the PIR.
    2. Later I have deleted the net price maintained in PIR. In this case, system is considering the net price of that material from the previous purchase order.
    But my query is that I don't want the system to consider the net price from previous material, I want to update my own net price to line item of the PO.
    Could anyone please suggest me how should I proceed further so solve this query?
    Thanks in advance.
    Regards,
    Vijaymadhur.

    Hi,
    Yes, this can be achieved. Don't maintain any price in inforecord. Then in SPRO > Materials Management > Purchasing > Environment Data > Define default value for buyers > Here click on settings on default values > In Inforecord update > Maintain no update fro PO and quotation.
    Now the last PO price will not be saved in Inforecord and hence this will not b carried to PO.
    Regards,
    Prabu

  • Quantity is not shown in the purchase order history of the Service PO

    Hi
    We have a service PO for which we made a service entry sheet and released the same. In the background GR with 101 movement type also done correctly. But when we refer the purchase order history, we found the SE Number and the GR number but the QUANTITY field shows empty. The amount field got updated. But none of the qty fields like Quantity, Delivery cost Quantity, Quantity in OPUn shows empty.
    Please let me what should be reason for this.
    Thanks
    Venkat.

    Hi, please try marking Srv-based inv.ver. in the purchising data of the vendor master.
    Rgards.

  • How to creat deadlock for the purchase order in SAP Workflow

    How to creat deadlock for the purchase order in SAP Workflow

    Hi Ben,
    Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date?  If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
      DATA: vf_doc_date(10),
                 internal_date TYPE d.
         vf_doc_date = sy-datum.              "Document date.
         internal_date = vf_doc_date.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
        EXPORTING
          date_internal            = internal_date
        IMPORTING
          date_external            = vf_doc_date
        EXCEPTIONS
          date_internal_is_invalid = 1
          OTHERS                   = 2.
    Regards,
    Vivek

Maybe you are looking for

  • Re-use message mapping from within java mapping?

    Hi there,                                                                                I have a question regarding java mapping. What I would like to do is to re-use an existing message mapping from within java mapping. Technicaly, message mapping

  • AP Checks - Some print on next page

    Some of the Payables checks are printing on the top of the next page. Most all the checks in the batch are ok, but it seems to be random that some checks print on the next page. I do not believe it is my template since most of the checks print fine.

  • Old Vista PC died.  Need to load Elements onto new Windows 8 PC.  How??

    a

  • Whiteboard & Powerpoint share failing !!

    Hello All, I am having issues with sharing the Whiteboard and Powerpoint with external users. The error which I am getting is "Some sharing features are unavailable due to server connectivity issues" which seems to be a generic error. I cant say if t

  • Text file storing in a database table

    I have a text file, that contains so many lines in it,.. Now the problem is that.. I want to store my text file with the pl/sql code in a database table.... plz suggest, how to create a table and how to store that text file in a database table.....