Pass values to OAF search page (View Purchase Order History)

I need to call a OAF page from a PO Approval Notification. I need to call page View Purchase Order History (func:ICX_PO_REVISIONS).
I am able to create the URL (using function FND_RUN_FUNCTION.get_run_function_url) and when I click on the link it opens the page fine, but it’s a page that contains simple search region and I need to populate the Operating Unit and PO Number fields (I can easily get from the PO) of the search fields, this will allow the user to just click the go button.
Is it possible using the function FND_RUN_FUNCTION.get_run_function_url and passing parameters (field values) or setting the URL to JSP:/OA_HTML/OA.jsp?OAFunc=ICX_PO_REVISIONS&akRegionApplicationId=177&addBreadCrumb=Y&CorePO=Y and then passing the parameters?
How would you achieve this if possible, call the page and populate the search field values? It does not seem to work, I have been able to pass paramaters to an OAF page that does not contain a simple search region to return results.
Function paramaters:
FND_RUN_FUNCTION.get_run_function_url (
p_function_id => 3101,
p_resp_appl_id => 201,
p_resp_id => 50598, -- MS Purcahsing Superuser
p_security_group_id => 0,
p_parameters => 'PoNum=' || l_document_id || '&' || 'retainAM=Y' || '&' || 'addBreadCrumb=Y',
p_override_agent => NULL,
p_org_id => 101,
p_lang_code => NULL,
p_encryptParameters => FALSE);
Thanks,
Shaun

What I found is there are 2 variables SiteName and SiteName1, if you use SiteName1 then it shows proper value as a site description. I replaced SiteName with SiteName1 and it works. This might help to all who are like me and trying Tutorial example.
I am not sure how many may have tried OAF - Tutorial examples. They are really complicated and not easy and in most cases they are not coming out in first try but if you really try then it will give lot of understanding.

Similar Messages

  • Why association takes place while designing a OAF search Page?

    Hi
    I am not getting why they are doing association between Employer and manager while designing a OAF search page.
    Search page should work on simple fundamental .I am entering some value and they are showing some search results in the form of table.
    Regards
    Varun Maheshwari

    Hi,
    As per my understanding, they might have done association so as to extend that page further to create/update page.
    However, you are correct that we can perform simple search operation with using associations.
    Here is an example for just simple search page on employee table:
    http://sushantsharmaa.blogspot.in/2012/11/7-simple-search-page-in-oaf.html
    http://java2apps2fusion.in/simple-search-page-in-oaf/
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status?

    Hi Team,
    My requirement is In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status values only? how to do it..now in my status drop down values system status values also displayed ,i want only user status values only i have to show...how to do it?
    Thanks
    Kalpana

    Hi Kalpana
    As Standard there are 2 separate search fields for Status.
    One for User Status
    One for System Status
    Are you sure that the other Status value you require are not for other Service Transactions different to the one you are wanting to search on?
    If you need to make a only the User Status for  a given selected Transaction Type, then you would need to make an enhancement to that Component
    Regards
    Arden

  • Can applet pass value back to web page?

    if i run an applet in a web page, eg: aspx
    is it possible for me to pass value back to the page?

    if say i'm playing a maze, which written in applet.
    and the applet is run under a web page.Lika applets usually are.
    at the time i solve the maze, it will show a
    messagebox,
    at the beginning, i plan to write a solving data
    fileto the disk, but later i found out applet doesn't
    allow writing of file.It does. You just need to sign it.
    so i would like to pass the data value back to the
    web page, when i click the ok button on the message
    box.You didnt' answer my question. Web pages are HTML and don't accept data, so your question as it is makes no sense.
    pass back an integer value which store the solvign
    time.If you want to talk to Javascript, see my previous post about using Google to find out how. It's often-documented.

  • View "Purchase Order Text" in Material Master

    Hi,
    I need replicated text of  view "Purchase Order Text" in ECC to Material Master in SRM.
    Or When We create a shopping cart in the way in which the text replicated "Purchase Order Text" from the the Material Master(ECC).
    Regards
    Angie

    For Purchase Order text in Material Master:
      use this code for Purchase Order text,
    DATA:  l_lsize(3)  TYPE n VALUE '132'.
      DATA:   lwa_tline     TYPE tline,
                lwa_thead     TYPE thead,
                lwa_valid     TYPE ty_input(flat file data),
                lwa_temp      TYPE ty_input.
      DATA: lit_tline TYPE STANDARD TABLE OF tline.
      lwa_thead-tdobject   = 'MATERIAL'.
      lwa_thead-tdid       = 'BEST'.
      lwa_thead-tdspras    = 'E'.
      lwa_thead-tdlinesize = l_lsize.
      LOOP AT pu_it_valid INTO lwa_valid.
        lwa_temp = lwa_valid.
        AT NEW matnr.
          CLEAR: lwa_thead-tdname,
                 lwa_tline-tdformat.
          lwa_thead-tdname     = lwa_temp-matnr.
        ENDAT.
        IF lwa_tline-tdformat IS INITIAL.
          lwa_tline-tdformat = ' \ '.
        ELSE.
          lwa_tline-tdformat = '='.
        ENDIF.
        CLEAR lwa_tline-tdline.
        lwa_tline-tdline = lwa_valid-text_line.
        APPEND lwa_tline TO lit_tline.
        AT END OF matnr.
          CALL FUNCTION 'SAVE_TEXT'
            EXPORTING
              client          = sy-mandt
              header          = lwa_thead
              insert          = c_x
              savemode_direct = c_x
            TABLES
              lines           = lit_tline
            EXCEPTIONS
              id              = 1
              language        = 2
              name            = 3
              object          = 4
              OTHERS          = 5.
          IF sy-subrc = 0.
            REFRESH lit_tline.
          ENDIF.
        ENDAT.
        CLEAR: lwa_temp,
               lwa_valid.
      ENDLOOP.

  • Error message while viewing Purchase order summary

    Hi all,
    we are in 11.5.10.2 , we are getting error message while viewing purchase order "Currency formatting cannot be performed without a currency code".
    is it beacuse of currency not popluated in Purchase order?
    Verified metalink note - 960504.1
    Thanks
    Kiran

    Hi Kiran,
    Verified metalink and other areas but could not get any appropriate solution.
    I tried to reproduce the issue in various available environments...but no luck!
    My guess would be the datafix/BUG that you have referred in the MOS note 960504.1
    Please check with your DBA for this patch in test instance.
    Thanks
    -Arif.

  • Goods Receipt value in Purchase Order History

    Hi Experts,
    I raised a PO with Account Assignment category as "K" for 100 quantity with a value of 1000.
    GR non-valuated option is ticked in "Delivery" tab in line items.
    When posted a GR for 25 NUmbers the Purchase Order History is updated with "0,00" in Amount column.
    If this is because of GR Non-valuated option used then please let me know where the amount with correct value is stored in Database tables.
    Note: I have use only GR Non-valuated option.
    I want to know where the correct value of the stock received is stored.
    Regards,
    Nani.

    Hi
    By assigning K you will have 3 things in default unless uou change them manually. 1.  Goods receipt , 2. GR Non-valuated, Invoice receipt.
      When you do a GR then this account gets posted against the G/L you have assigned manually at PO or against the the acct. modifier VBR in OBYC, that is it is consumed directly. So you will not have any stock valuation like raw or other materials.
    Now when you carry out Invoice verification you get the postings regularised against the acct assignment object(K) and the vendor outstanding/GR/IR account.
    Once IV is done you can check the details of your posting.
    Regards

  • Unable to view purchase orders in SNC for the supplier

    Hi folks,
    iam facing the problem of unable to view purchase orders in the supplier portal for my supplier.
    ECC 6.0, PI 7.0, SCM 5.0 are the systems being used.
    scenario is like :
    for plant 1000, purchase order is created on vendor 1100 and idoc sent to PI successfully
    also in PI in the integration builder i find messages saying successfully sent to SCM system
    SLG1 transaction in SCM says message received successfully, (in the log i can see the plant, supplier, order no and order details)
    when i try to login to supplier view with supplier login, iam unable to view the orders,
    please let me know if iam missing any thing in this regard.
    cheers.

    Hi Kiran
    Could you check queues
    smq1 and smq2 ????
    Does your xml posted successfully in SNC(SXI_MONITOR)... Can you open the payload document
    inbound message-payloads-maindocument
    Check thoroughly whether any error information ????
    Check whether commit of xml is proper, or else refresh PI cache
    For your internet user and the xml rfc user(user who is pushing the data into SNC), check whether any update errors are available in so01(inbox)
    It could be a temporary problem, deactivate activate your supplier service in SICF. Could be problem with binding issue
    Just to make sure data is sitting in SNC
    Check this table
    /1OM/ORDR7MP3100
    Give your po number in field order no
    If you find, then it is problem with binding...If you dont find, then the xml update process has issue
    Kindly let us know the results
    Best Regards
    Vinod
    Best Regards
    Vinod

  • Unable to view Purchase order in Receiving Transactions

    I am unable to view Purchase Orders in OPM (Recieving transactions- when i query up my Receipt transactions)
    I want to be able to View the PO by going to Tools -> View Purchase Orders

    Hi,
    I believe you are missing a sub-menu which facilitates to open the purchase order on the the responsibility menu you are working with. This is the cause for the issue I guess.
    Please refer the below note:
    Receiving Transactions Summary - View Accounting - Function Not Available To This Responsibility (Doc ID 865884.1)
    Note: In the above note, when trying tools > View accounting in the same form the user get the same issue. Similarly as solution proposed by the note, adding the missing sub menu to the menu will allow you to view the purchase order.
    Please add the purchase order view sub menu on the responsibility menu you are working with and check if the issue is solved.
    Please try this in your test Server and migrate the solution to the PROD.
    Hope this helps!
    Best Regards

  • Purchase order history already inconsistent -- Quantity * * Value**

    Hi experts,
    Please note that I am trying to reverse a GR/IR account maintanence document.
    But it throws the below error for a line item in the PO.
    Purchase order history already inconsistent --> Quantity10,000- SET Value 3,96 AED
    For this line item actually account maintanence was done on 30.10.09.And then
    further GR has been done & IR also has been done.
    Please advise in what circumstances system throw this error and how to reverse
    the document now.
    Regards,
    Partha

    Hi,
    Please check if there exists any multiple order units exists for the PO and thier conversion while posting documents.
    Regards,

  • Purchase order history view

    Hi,
    the user is not able to view amount details in purchase order history, but for another user the view is active.  Should this be relatd to use authorization.  Which authorization object/profile has to be set for this.
    regards
    alexandr

    this is related to authorization.
    Autorization object related to ME23N transaction can be seen in SU24 transaction.
    each of this  has an activity for display price.

  • Purchase Order History Program - not working properly

    Dear friends
    i am developing purchase order history program in ALV,
    which shows the report of purchase order status
    i.e (fields as below).
    document no
    PO date
    line item
    material number
    material name
    purchase org
    plant
    purchase group
    orderd quantity
    ordered amount
    delivered quantity
    delivered amount
    to be delivered quantity
    to be delivered amount
    invoice quantity
    invoice amount
    to be invoiced quantity
    to be invoiced amount
    how to test from me23n
    open me23n
    enter PO number
    press status tab
    you can get some fields for verification..
    the problem is
    i can get all the details correctly except delivered amount and to be delivered amount
    it works fine in both ( material purchase order and service purchase order )
    sometimes i am getting incorrect values in service purchase order specifically in delivered amount and to be delivered amount
    why i am getting these incorrect values ??
    only couple of POs generate these things.
    i am getting these values from EKBE table and using proper filtration like movement type and etc...
    if anyone can resolve ... would be appreciable
    avirat.

    Hi,
    for getting proper Po History you need to select PO's details from EKKO table and
    Header details from CHANGEDOCUMENT_READ_HEADERS based on the details got from this FM pass
    to the FM CHANGEDOCUMENT_READ_POSITIONS and get proper details.
    This is the logic used by the standard program also to get the PO History.
    Hope this helps.
    Regards
    Bikas

  • Purchase Order History Reference not filled

    Hello everyone,
    we are using BAPI_INCOMINGINVOICE_CREATE to create an invoice for an purchase order. It works just fine except that there no Reference filled in the Purchase Order History. We fill the number of the reference to the BAPI (headerdata-ref_doc_no) and the reference is visible on the created FI document as expected.
    However the customer insists, that it has to be visible in the field Reference of the Purchase Order History as well. I know, it is the XBLNR field of the table BSEG. I dug deep in the source codes to find out, where is the problem, but setting of this field seems to be very complicated. Someone told me, that the field is only filled when the GR-Based Invoice Verification is checked (which in our case is not).
    Can someone tell me the rules, when the field Reference gets filled? Or (if there is anything) how to customize the system, co make this field filled?

    Hi Oleg,
    thank you for your reaction.
    I am aware of that there is a field XBLNR in the BKPF table - and there we have the reference filled correctly (it is visible on the FI document as I mentoined). However in the BSEG table is the XBLNR as well and it is related to displaying Reference in the Purchase Order History (the bseg relates to an PO item) at least in our case. When I manually input in the BSEG-XBLNR a value (via SE16N for example), it displays afterwards in the required field when viewing the Purchase order.
    In the case GR-Based Invoice Verification procedure and the table MKPF - i believe, you are right there (so the Reference is filled), however this is unfortunatelly not our case.
    What I am trying to find out are the conditions, under which the XBLNR in BSEG is filled (I can tell you, what source codes I have been inspecting, but I got lost after I while, because there are literally thousands of lines of code:-(

  • How to see conition type in purchase order history tab?

    Dear Gurus,
    In PO history tab, how can i see the delivery cost values for which one condition type is used i.e.; FRC2 conition type in the left hand side i.e; short text column?
    Currently, for this, I am seeing "NeuR" but i want see "FRc2" for this.
    Pls help...

    Please go to ME23N transaction  then Purchase order history you can see small Icons  from there select Change view drop down list  then select delivery costs.It will display condition types in PO history.This Icon is available before update (Refresh) Icon .

  • Purchase Order History as a Report?

    Hi,
    I would like to follow the amounts of purchase orders, relevant goods receipt amounts and so on as shown in purchase order history on PO. But I need it as a report which could be seen as ALV type, and easily exported to excel.
    Is there such a standart report that I could follow purchase order-goods receipt quantities?
    Thanks in advance
    Irem

    hi,
    use MC$G - Puchasing values
    And MC$I - Puchasing quantities
    Or use ME87 - Aggregate PO history
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on May 13, 2009 12:57 PM

Maybe you are looking for