MVC in Purchase orders display

Hi friends,
   i would <b>like to work purchase orders display scenario using MVC. if any body done this please let me know which CLASS</b> i need to use while i will create controller.
thanks in advance,
cheers,
Kannan.

Nothing special to creating the method.  You just create a normal global class in the ABAP workbench.  The only special thing you should do is make your class inherit from CL_BSP_MODEL. 
Unlike Views and Controllers, there is no integrated creation or visibility to the model in the workbench. 
Generally in the coding of your Controller (usually DO_REQUEST or DO_INIT) you create the link to the model class in code:
if me->model is initial.
    me->model ?= create_model( model_id = 'SO'
                               class_name = 'ZCL_ES_BSP_M_SE16' ).
endif.

Similar Messages

  • Stats Tab in Header ( Purchase order Display )

    Warm greetings,
    In Purchase order display Stats Tab in Header ( Purchase order Display )
    Purchase order consists of K & A (Account assignment category) K Stands for Cost center & A stands for asset
    4 Qty for 500 = 2000
    1Qty of Asset 5000/=
    Here the total Value of the PO is 7000/=
    Once the purchase order is created in status tab
    Still to deliv : shows whole quantity of the PO Example 5Qty
    in which 4qty to k( cost center) & 1qty to A( Asset)
    But amount value  shows only 2000/=
    instead of 7000/=
    Generally it should show as 7000/=
    Help me out to fix this issue pleas,
    Regards
    Shamul heq

    Hi,
    pls check that the item which you are procuring for Asset is Non-Valuated.
    Thats why it is showing amount as 2000 only.
    Regards,
    Rahul Patil.

  • Manufacturer field in Purchase Order - display only

    Does anyone know of a way (config or user exit) to make the field MFRNR on the purchase order item detail (Material Data tab) as an optional entry rather than dispaly only?
    I checked in the screen layout configuration for the screen sequence NBF (which is what we use) and I didn't see it as a changeable/updateable field.
    We are on ECC 6.0
    Thanks,
    Gina Feldner

    Gina Feldner,
    May be you can check for ME21N level also,
    Regards,
    Bhima

  • Is there a way to limit Purchase Order Display by Cost Center?

    We want to limit who can view specific purchases. Has anyone done this before? Thanks!
    Chris Lintner

    Oh sorry I completely mistook your question- I dont think we have a auhroization object for Cost center to restrict it in viewing the PO.
    But please have it confirmed from some basis people and ofcourse if you have a Plant or purchasing org associated with the cost centers you can restrict then definately you can. Please check with your basis team.
    thanks

  • Purchase order is not displayed in the t.code ME23N

    Hi All,
    While seeing t.code -ME23N purchase order display got the error message 'Address doesn't exist 587354
    Message no. AM010
    I have checked table level -adrc the number 587354 is dsiplayed.
    If anybody know the reason please revert the same.
    Thanks
    chinna

    Hi,
    Please refer below SAP note
    498153  FAQ: Addresses in the purchasing
    1. Question:
    When trying to display an address in the purchasing document, the system
    displays message AM010 " Address doesn't exist & & & &", why?What can
    you do?
    Answer:
    The causes of the error are described and corrected in Notes 91001,
    154208, 165106, 170461, 306078, 332470, 418670. Check these notes in
    your system.The documents can be corrected with report ZCORADDR from
    Note 91001. If the defective situation can be reproduced, even though
    your system contains all the corrections, open a message under component
    MM_PUR-GF-ADR with a reproducible example
    regards,
    Lalita

  • Basket icon is not displaying for purchase order creation transaction iview

    Hi SDNs,
    I have created a set of purchase related transaction iviews like for example purchase order display.
    there i couldn't find the basket icon to drop the other purchase order number, which we generally choose by using docuement overview on to change the number.
    in WebGUI how do we drop the exisiting documnet into the screen.
    I have activated all icon services in sicf, is there any specific services to be activated to have such kind of icons in webgui.
    Please suggest me to resolve this.
    Your inputs are appreciated.
    Thanks,
    Sireesha.B

    Hi SDN's,
    Can anyone suggest me for the above problem.
    Your inputs will be highly appreciated.
    Regards,
    Sireesha.B

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • Unable to preview Contract Terms for Standard Purchase Order

    Unable to preview View Contract Terms for Standard Purchase Order,displays error
    We have defined the same contract terms and Document type layouts to documents Contract Purchase Order and Standard Purchase Order.
    Created a Contract PO,Attached a template able to preview the contract template in PDF successfully
    Created a Standard PO,Attached a template not able to preview the contract template in PDF
    Displays the foll error
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    ### Steps to Reproduce Problem ###
    Steups
    Created a custom XSL-FO template for Contract template and defined it for Standard PO and Contracts PO.
    Steps to Reproduce
    1.Create a PO,give any category of 100 Qty
    2.Click Terms and CLick Author Contract Terms\
    3.Select the custom Template ,Click Apply Template
    4.Click Preview.
    Following error displayed
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    Please Note:The above scenario works for Contracts PO.
    The problem is only for Standard PO
    We have reviewed note:454479.1
    The file version of POXVCOMB.pls 115.69.11510.28
    But we have another test instance this also has the same version , the scenario works fine
    So we are confused why this is reproducible only for a particular instance with same file versions
    If anyone can suggest a solution pls give me a reply
    Already SR is logged for the same -SR 3-1272761221, awaiting reply from support

    Please reply if any update on the above query is present.

  • Empty list in Purchase Order Release

    I have the components and notes applied as suggested for the Approve Purchase Order Application.and configurations are done as required in the document.App Implementation: Approve Purchase Contracts - SAP Fiori principal apps for SAP ERP 1.0 - SAP Library
    Back-End/Front-End Server
    Back-End/Front-End Component
    Technical Name of Software Component
    Support Package Level
    Back-end server
    Back-end component
    SRA001 1.0
    04
    Front-end server
    Front-end component
    UIX01EAP 100
    03
    But the Po s are not displayed in the application. and no errors are thrown in the chrome console. attached are screenshots for suggestions
    NO Purchase Orders count and no errors in the console.
    No Purchase Orders displayed and No errors in the console
    QUery of the workflow returing Null values from the request
    WorkFlow Collection empty in the gateway query
    i had also checked the task id properlyassigned and maintained in backend
    spro -> mm -> purchasing -> Purchase order ->Approve purchase order app
    and checked Trusted RFC Connection was  maintained properly.
    Log on security was filled with Current user.
    I have unreleased PO in my system but not displayed.
    How can this issue be resolved ?please suggest

    i realised that i have nt configured and defined an approval scenarion in my gateway SPRO settings.
    To do the same i am following the guide http://help.sap.com/saphelp_fiori/fiori10_install_en.pdf page 58 , to define an approval scenario.
    As per the guide should define an approval scenario in spro at
    In your SAP NetWeaver Gateway system, run transaction SPRO and choose SAP Reference IMG >SAP
    NetWeaver >Gateway Service Enablement> Content >Task Gateway Service> Scenario Definition .
    and i could find the exact location to define a scenario
    my settings screenshot in SPRO, and Scenario Definition is not available in SP08 embedded gateway system

  • Problem in releasing Purchase order(ZCAP and ZREP)

    Hi,
    I had made a purchase order and now i want to release in the tcode ME29N but the when i execute this tcode and fill the PO it gives the message that it cannot be released.
    can any body provide me guideliens for it to solve this problem.

    First Go to ME23N Purchase ORder Display and In Header tab Check Whether Release Strategy tab is there.
    If its there Check whether all the Charecteristics values you defined are meeting the Release strategy.
    Then go to ME29N and Put tick mark on Set Release Option and Try again.
    Regards,
    Ashok

  • PO Box only populating on purchase order if PO Box Lobby field populated

    We have an issue with the PO Box number printing on purchase orders.  If we have a PO Box number for a vendor with no street address, the PO Box number is not printed on the purchase order unless an entry is made in the PO Box Lobby field.  For vendors with a street address and a PO Box number, we enter the street address in the PO Box Lobby field.  The purchase order displays this as "123 Main Street - PO Box 456".  If we don't enter anything in the PO Box Lobby field, the PO Box number is not printed and a blank line is inserted in the address where the PO Box number would normally appear on the purchase order.  We've been entering a single character in the PO Box Lobby field (such as a period or single quote) in order to get the PO Box number to print but it's not the ideal solution.  We get a printout that has a line such as ". - PO Box 456" if we enter a period in the PO Box Lobby field.  Any suggestions on how we can get the PO Box number to print if there is no street address would be appreciated.
    Edited by: Michael Douglas on Jan 5, 2012 3:28 PM

    When I print the order, it looks the same as the print preview.  The PO Box number is not printed unless I enter something in the PO Box Lobby field.  I've tried many combinations but I haven't found a way to print the PO Box number on the purchase order.  There is a check box on the vendor master record where you can specify the PO Box without a number and I've tried checking that box, deleting the PO Box number and entering it in the PO Box Lobby field but it doesn't work either.  Any suggestions?

  • Message output for New Purchase Order Document type

    Hi experts,
    I am having trouble getting a Print message output for a New Purchasing Document type that I created.
    Steps that I followed are:
    1.Created a new Document type NS via customizing.
    2.Assigned the new Purchasing Document Type NS to Output Type NEU which is linked to our customized form for Purchase order display. I used MN04 /NACE to do this step.
    Now the message output gets created for my new document type NS but I am unable to display the message.
    Notes:
    -There are no release stratergies in place for document type NS
    -The NEU format works fine the other document type NB which we use for Standard POs.
    Are there any steps I have missed? Please help to resolve the issue.
    Arosh.

    Goto NACE select application  EF Purchase Order then goto condition record NEU select condition record select the last key combination "Purchasing Output Determination: Document Type"
    here enter your doc. type execute
    maintain the condition record
    NS  VN(function)   1 3 EN and click on communication and maintain
    Or goto NACR here put EF and NEU and select the last combination "Purchasing Output Determination: Document Type"
    maintain ..
    NS  VN(function)   1 3 EN and click on communication and maintain
    Hope it helps..

  • Restriction in Purchase Order history tab

    In Purchase Order display, in purchase order history tab, I want to restrict some of my user not to see amount in local currency column. How can I do this, please provide me the settings in detail.
    Best regards

    Hi,
    You can achieve this requirement by changing the variant for PO history tab.You can hide the amount in local currency in variant and save it.
    The process is go to PO history tab and click on Choose layout and then change layout and then select the fields whatever youwant to see in thia tab and save it.
    Regards,

  • Purchase order no not getting displayed in FBL3N for doucment type RE

    Dear all,
    We have done a settings in FBL3N t.code. We have added BSEG-EBELN in the special fields and saved the layout. The purpose is to make the purchase order number to display when we are executing line item display for GR/IR clearing and Cenvat clearing gl account. Purchase order number is correctly getting displayed in Gr/ir clearing account. But in cenvat clearing gl account the transactions that are related to doucment type SA(that is J1IEX transaction), the purchase order number is getting displayed, but in the transactions that are related to document type RE(MIRO transactions), the purcahse order number is not getting displayed.
    We have checked the BSEG table for the gl account. The purchase order number is not getting updated for the MIRO transactions in the cenvat clearing gl account.
    Please suggest us so that the above issue can be solved.
    Thanks & Regards,
    Anand

    Hi,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from menu path Settings -> Special fields). Then, select the Purchase order field again from "Change Layout" (Ctrl+F8). Now this field is available for display variants, it has the technical name 1-U_EBELN and the description 'Purchase Document'. The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select 1-U_EBELN and not 1-EBELN.
    Please also refer to note 215798.
    Regards
    Ravinagh Boni

  • Report to display open purchase order by vendors

    Hi all,
    Please let me know the report that displays the open purchase orders by vendors
    Thanks in advance
    sunil

    Dear Sunil,
    Added to erlier reply, you can get by ME2L/ME2M...., inselection parameters select WE101. Which gives all the POS that are open. You can restrict y giving the vendor number.
    If your proble is resolved, please close the issue
    With Regards,
    krishna

Maybe you are looking for

  • Installing Windows 7 on MBP from USB key?

    Hello all, I've searched all around the internet, but I just can't seem to find a straight answer to this question: Is it possible to install Windows 7 on an MBP with a USB key? Before you answer, read my process to see where I'm having trouble. I wa

  • Placed Illustrator object with tint turning solid in RIP

    I have a file i need to output from IDCS2. It has a company logo that is made up of 2 spot colors (ai file). There is another placed object, also an ai file that uses a 10% tint of one of the colors in the logo. When the file goes through our Scitex

  • Low airport Missing printer, keychains after upgrade

    Ok I installed leopard and then updated. I choose install with archiving the old system. Now I have: low airport Missing printer, keychains. Where are they? What did I do wrong here? Thanks' Theo

  • Can all tags be cleared from documents in Finder?

    Before updating my OS to OS X 10.9.4, my document tag use was disjointed (used more as a highlight feature than grouping). I would like to clear all tags and start over. Is that possible or do tags have to be removed document by document?

  • Jain SIP Rookie needs help!

    Ok here is my story....i was given a project to develop a client application that can do voip calls...so i started researching and it led me to jain-sip...i've been researching on it for weeks now and still i do not have a clue on how to start this..