What is  Sap Scripts for purchase order

hai,
what is the sap script or smart form for purchase order,
and how to modify the existing standerd one.
explain me in step by step.

hi
Please ask question on sapscript in sapscript forum.
use sap script form  medruck for PO
SmartForm /BPR3PF/MMPO_L is the standard delivered Purchase Order in 4.6c
Transaction code m/34 allows you to associate your 'Y' copy of the standad PO to your included company specific PO requirements such as company log graphic and other particulars.
Go to transaction OMFE. Tell me what you see there for the output type you are interested in. Let me take the standard output type NEU. The entry looks something like this.
NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK.
The first one is your output type, next is its description, next is the medium, then the program, routine, and the form name.
You already copied the layout MEDRUCK to ZMEDRUCK. Now copy SAPFM06P to ZZSAPFM06P. Now ENTRY_NEU routine is in the include FM06PE02. You need to make your changes here to accommodate for the new field. So copy this include to ZZFM06PE02 and make your changes. Also, in ZZSAPFM06P, change the line where it says INCLUDE FM06PE02 to INCLUDE ZZFM06PE02.
Now in this routine ENTRY_NEU, there is a function module call ME_READ_PO_FOR_PRINTING which reads in the PO data from the tables. We need to copy this function module as well as this is where you will do your extra selections for the new fields. You will do the same with the other function call ME_PRINT_PO, if you need to change anything on the print.
after this to define output type...
NACE
You can track the form and the print program used for that form
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
EX--in simple terms..take a transaction say ME21N ( Purchase Order ), u can see a Print icon there. now when u click on this icon, it has to print the PO document. Now how does it do that? when u click Print, the control gets transffered to a print program, now which program gets triggered is decided by what program name u specify in NACE.
So in NACE>EF>Output Type>NEU>processing routine--> u can see some standard program already configured( maybe SAPFM06P n form MEDRUCK )..these are the programs n sapscript that gets executed wen u say "PRINT" in the transactrion...so u can customise the print program for customer changes over here by copying the standard program n form into a Z/Y one and replacing the program names in NACE.
Yogesh N
Edited by: Yogesh N on Aug 20, 2008 3:19 AM

Similar Messages

  • How to create a sap script for sales order header items?

    Hi friends i am totally new to scripts i have got a task where i have to create a sap script for sales order header items details, the clue that i have got is to create using MEDRUCK but i have got no idea please can any body help me with this task with any sample sap script?
    Points will be rwwared with out fail Thks in advance.

    Hi,
    The Standard Form NAme is RVORDER01
    Regards
    Sandipan

  • Script for purchase order

    For the transaction me29n i need to add signature in the script at the bottom .
    how to find out the script name
    for diff customer diff manager need to sign
    so i need to get signature of the manager corresponding to the customer selected
    how can i do that

    done

  • Sap script for sales order

    I copied RVORDER01 to Z, made changes. Now I need to convert it to landscape format. I did it in basic settings DINA4 L, but when I see in print preview of sales order, it still shows portrait. I see my changes but except landscpae. Do I need to do anything else to see print preview in landscape?
    Thanks,
    RM

    Hi,
    The Standard Form NAme is RVORDER01
    Regards
    Sandipan

  • Tables for purchase order history

    what r  the tables for purchase order history.
    thanks in advance

    Hi Srinivas,
    Check out the link for detail PP module and tables.
    http://www.sap-img.com/sap-pp.htm
    Hope this helps.
    Manish

  • Table for purchase order status

    Hello friends,
    There's a tab STATUS in purchase order (tcoe ME21N).
    I can't find a table which contains theses statuses.
    Anybody knows what's the table for purchase orders status ??
    Regards,
    Bahia

    Hi
    PO status is stored in Structure not in the table.
    Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
    You can also get the information from the table EKKO, EKPO, EKET,EKBE
    Hope it helps
    thanks/karthik

  • Standard smartforms for purchase orders in scm server

    hi
    what are standard smartforms for purchase orders in scm server(not on R/3 server)
    in R/3 i know
    /SMB40/MMPO_UK
    /SMB40/MMPO_L
    /SMB40/MMPO_A
    but i want to know in SCM(Supply Chain Management) server
    Thanks,
    Phani

    check below may be u r looking for the same
    /SCA/ORDER_DESCRIPTION_AUTO
    /SCA/ORDER_NUMBER_AUTO
    /SCA/ORDER_NUMBER2_AUTO
    ~~Guduri

  • To send IDOC to vendor from SAP for purchasing order

    Hi Gurus,
    I want to setpu an EDI for send the outbound & inbound idocs to vendor for purchasing order from SAP and below are the message type I am using:
    Outbound message type :
    ORDERS
    Inbound message type :
    ORDRSP
    INVOIC
    I know how to set up the link, making the partner profiles attaching the process code, assigning the ports but I want to know the below customize set up:
    1) Which transaction I need to used for customize this sceranio
    2) Could you provide me any documentation which specifies the steps for configuration
    And other details which I am suppose to know.
    Please reply me as soon as possible as I am urgently in need of this.
    Regards,
    Sagar

    Hi Sagar
    For the Confirmation you need to do the customizing for confirmation control, like what would you like to do after the confirmation. Confirmation is an inbound process.
    For Invoice you need to complete the customizing under LIV in SPRO- for Invoices received via EDI.
    Please go throught the help link for further details.
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/b99f58452b11d189430000e829fbbd/frameset.htm
    Reward points if useful
    Thanks & regards
    Kishore

  • What Message type and Process Code to use for Purchase Order Change in 4.6C

    I like to implement in SAP R/3 4.6C a scenario for Purchase Order Change, via inbound IDoc.
    I have been searching, but could not find what Message Type, Idoc Basic Type and Process Code to use.
    I can not imagine this functionality does not exist in 4.6C.
    Any suggestions for my problem are welcome.

    Hello,
    In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
    Function module    BAPI_IDOC_INPUT1
    Idoc Type              PORDCH01
    Message Type      PORDCH
    So check carefully the following OSS notes:
      [Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
    [ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
    Regards,
    Andrea
    Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM

  • Standard n-step approval workflow for Purchase Order in sap 4.7?

    Hello friend,
                 In SAP 4.7 there is any standard template for  n-step approval workflow for Purchase Order.
    thanks in advance.

    Hi AM,
    there is no std template for n-step approvals but for Single Release.
    What you could do is create a custom one as per the number of approvals for PO.
    Also note a PO Release Strategy can handle only 8 levels of approval.
    Hope it helps.
    Aditya

  • SAP how to determine the account in Goods receipt for purchase order?

    We know when we make a Goods receipt for purchase order,we will use the account in GBB and BSX define in OBYC. But where can we find the rule? I mean why system can find the account in GBB and BSX , not the other TEcode?

    HI
    This is again based on the movement type which SAP has created a link internally.
    So if you see when a document is posted it basically derives the GL accounts based on the Movement type,Valuation class,valaution area and so on.
    Good luck
    Hari

  • What is Tcode for purchase order and purchse requisition.

    HI all
    What is Tcode for purchase order and purchse requisition.
    Thanks

    Hi Melanie,
    How are you trying to check for the PR number? Are you accessing it via Portal (IE) or the GUI?
    If you are trying to get the PR number for a SC through Portal. Then please follow the below process.
    Go to the SC > Related Documents tab
    The related Documents tab should have all the follow-on document number along with the type of document.
    If you are trying to get the PR number for a SC through GUI, then:
    Go to transaction BBP_PD in GUI > Give the Object Types as BUS2121 and the Object ID as the SC number and click on F8.
    Once you have opened the SC then scroll down till you get the Header Links and click on the line.
    This should display the document that is linked to the SC.
    Hope this helps.
    Regards

  • Whats the fieldname and table name for purchase order delivery date

    hi all,
        whats the fieldname and table name for purchase order delivery date
      thanks and regrads

    EKET-EINDT is the delivery date according to the schedule lines.
    for example the line item has 100 qty.
    it is sent in three schedules (40, 40, 20).
    Then EKET will have 3 records for one PO Line item.
    The final delievry data is the EKET-EINDT for the 3rd schedule line item.
    Regards,
    Ravi

  • How to find print preview for purchase order like what we find in va03

    hi guru's
    how to find print preview for purchase order like what we find in va03
    let me share ur information
    thank u

    Hi
    You can see the Print Preview/printout etc using the Transaction ME9F for Purchase Order
    Execute the ME9F tcode and execute you will get lot of PO's select any Po and press display message
    you will see the print preview
    Similarly for RFQ output use the Tcode ME9A
    for Contrat use ME9K
    for GR output use MB90
    Reward points for useful Answers
    Regards
    Anji

  • What is the standard print prg for Purchase Order

    Hi,
    I am working on forms, what is the standard print program for purchase order.
    Already i have gone to nace and found that the program assigned to the customized print prg, so i am not able to find out the print program, so can u tell me how to solve it.
    Regards,
    clara

    Here are the default entries in the configuration
    NEU     Purchase order     1     SAPFM06P     ENTRY_NEU     MEDRUCK
    NEU     Purchase order     2     SAPFM06P     ENTRY_NEU     MEDRUCK
    NEU     Purchase order     6     RSNASTED     EDI_PROCESSING
    NEU     Purchase order     A     RSNASTED     ALE_PROCESSING
    Regards,f
    Ravi
    Note : Please mark the helpful answers

Maybe you are looking for