Purchase order need to add to Standard program

Hi Folks,
i have standard program RFDEPL00, i have to copy this one into Zprogram and need to add the purchase order number and text into the output display(purchase order number will take from VBAK-BSTNK),
could any one help me how to bild the logic for this and where to build?
thanks in advance

In include program FDEPL00_SHOW line 18, call the alv function module.The out put internal table is gt_data.I think you can debug the program and add find the right position to add new field to the gt_data table.
But i found include program FDEPL00_READ use LDB method to get the vendor information.So i think it is not very easy to add code in FDEPL00_READ.
Maybe you can add code before call alv function.
Regards Chris.

Similar Messages

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

  • Userexit at Purchase Order Save to influence SAP Standard field

    Hi All,
    I am looking for a userexit/BADI that will allow me to influence the value of a SAP standard field in EKPO right before save of a Purchase Order in Create mode.
    I have not yet found anything that lets me do it.
    Could you help me please?
    Regards,
    Atul

    Hi Atul,
    in standard way you can influence SAP fields in the beginning of the transaction. In later user-exits / BADI you aren't allowed to change e.g. EKPO any longer. Of course you might do it anyway (see dynamical assign), but it's as bad as a modification.
    Regards,
    Christian

  • PLD Production Order need to add BOM lines

    I have a need to add the comments from the BOM lines table (ITT1) to the production order.
    As soon as I add the field (copied the definition from the BOM report) the lines go wild.  I go from 5 lines to 35 lines with the production components printing multiple times.
    Any body have a way to link the BOM lines to the production order lines so I get the right lines printing?

    I would suggest you create a user field at the Production Order Rows and use the following formatted search to copy the comments from the BOM definitions.
    This user field can be easily added to the PLD and will help avoid duplicating rows which you are currently facing.
    SELECT T0.Comment FROM  [dbo\].[ITT1\] T0  WHERE T0.Code = $\[$37.4.0]   AND  T0.Father = $\[$6.0.0]
    Suda

  • Need tips on debugging standard programs

    I am a beginner and my first project is a maintainence project. Debugging standard programs is getting too tough for me. Is it with everybody? Can you please suggest me some ways to make my task easier.
    The comments are in german and there are no explanation of ne step newhere. I cant even remember which program or include file i'm in.

    Hi,
    You can refer the below links to develop the debugging skills.
    debugging in standard progrms
    debugging
    http://help.sap.com/saphelp_nw04/helpdata/en/b3/d322540c3beb4ba53795784eebb680/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0
    http://www.sappro.com/downloads/Settings&SystemAreas.pdf
    Hope this will help to start with.
    Regards,
    Ferry Lianto

  • Pricing Procedure for Purchase Order

    I have to pick item level conditions for value : bed , hr edu cess, edu cess, cst,lst.
    I am trying to the pick up fields kbetr and kwert for following conditions from konv table but there are only header level conditons.
    so How can i Proceed for this?
    For Purchase order script i have used standard Program SAPFM06P.But this a subroutine Pool Program.

    hi
    Write a Sub-routine in the form, where u can call all the pricing procedures.
    write this in the form
    /:           PERFORM TAX_AMT IN PROGRAM ZMM_REP_POTAX
    /:           USING &EKPO-NETWR& .
    /:           CHANGING *xxx-xxx&
    write a sub-routine  in abap editor , calling the program name and calculating pricing procedures
    regards
    sailendra kolakaluri

  • Help neede in changing standard program CN41

    Dear all,
    I am working on a requirement in PS module.
    The requirement is I need to copy the standard program RCNST000 of CN41 and I need to add some extra fields.
    Here in initial display project object, project object.
    when I select duration and Order cost plan 000 from the list It will display duration and order cost plan in the report.
    My requirement is when they select that I need to display cost per day and cost for currect month.
    Can anybody help me.
    Thnaks and regards
    Anil

    Dear all,
    I am working on a requirement in PS module.
    The requirement is I need to copy the standard program RCNST000 of CN41 and I need to add some extra fields.
    Here in initial display project object, project object.
    when I select duration and Order cost plan 000 from the list It will display duration and order cost plan in the report.
    My requirement is when they select that I need to display cost per day and cost for currect month.
    Can anybody help me.
    Thnaks and regards
    Anil

  • Driver program for Purchase Order form "/SMB40/MMPO_A"

    Hi All
    Could you please suggest me Driver program for Purchase Order form "/SMB40/MMPO_A" ?
    Driver program "/SMB40/FM06P" does not have the same interface structure as this form, hence can not be used.
    << Text removed>>.
    Regards
    Ansh
    Edited by: Matt on Mar 27, 2009 7:22 AM - Please do not offer points

    Hi Ansh
    see this link
    [Driver program |https://forums.sdn.sap.com/click.jspa?searchID=24089230&messageID=6810108]
    Regards
    HAreesh Menon

  • How to send external email of a Purchase Order

    Hello,
    I have to send an external email (pdf attachment) of a Purchase Order.
    I use the standard sap program: /SMB40/FM06P and the smartform: /SMB40/MMPO_L.
    Within transaction NACE I used the following entries:
    Medium: 5 (External Send), Program: /SMB40/FM06P, Form routine: ENTRY NEU and Smartform: /SMB40/MMPO_L.
    After running transaction ME22n (messages: External Send) I got the following error-messages in processing log:
    - Please maintain an output device in your user master data.
    - Archiving format not equal to PDF.
    Please, can someone help me to solve this problem.
    Regards,
    Rajesh

    hi
    U need to write the code to convert the smartform to PDF using FM Convert_otf and also for sending mail
    The standard program has to be copied to Z and write ur code..to perform u requirements
    Check the below links
    SO_NEW_DOCUMENT_ATT_SEND_API1
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
    Email Invoices to customer as a PDF attachment
    surya

  • Steps to create a purchase order in SAP r/3

    Hi All,
        I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisite data in R/3?
    Waiting for your reply!
    Thanking you.
    Regards,
    Namrata.

    Trigger
    A purchase order needs to be created, and the vendor is known
    Business Process Description Overview
    A purchase order is a legal document issued by the buyer to the vendor to supply materials or service at the agreed price, terms and conditions. The Purchase Order forms the basis for all follow-on activities like Goods Receipt, Invoice Verification, etc. The Purchase Orders can be created directly by entering all the required data, copying already created purchase order, with reference to an RFQ/Contract or with reference to a PR.
    Purchase Order creation is possible only if sufficient budget allocation is there for the Fund Centers. It is not possible to create Purchase Orders for a Vendor who is blocked for procurement or not maintained in source list for that item. Also it is not possible to create PO for Quantity more than the PR quantity.
    All the price components which are to be paid to vendors and requires to be inventoried has to be included in PO.It is possible to add different vendors for delivery costs. The tax codes should be correctly maintained in PO for the purpose of Cenvat availment etc.
    The payment term defaulted from Vendor Master or RFQ has to be verified and changed if required.
    The incomplete Purchase Orders can be saved as HOLD document and later completed and saved thru Change PO menu
    Input - Required Fields     Field Value/Comments
    Vendor     Vendor number
    Purchasing Organization     1000
    Purchasing Group     Purchasing Group code
    Date     Purchase order date
    Account assignment category     Where costs will be allocated
    Delivery Date     Anticipated Delivery Date
    Plant     For which plant we are buying the material
    Output - Results     Comments
    Purchase order document     Can be changed, displayed or printed which can then be mailed to vendor
    Tips and Tricks
    The Purchase Orders can be created directly by entering all data required for creating PO or by copying another PO or with reference to RFQ/Contract/PR.To create a purchase order by copying existing document (PO/RFQ/PR), you can either select the desired document in the document overview   .and adopt it in the current purchase order in the right-hand area of the screen using the ADOPT button   .In addition you can drag it onto the shopping basket symbol   with the left-hand mouse button. 
    Click the Personal Settings button on the tool bar, this function is for default information for purchase order header data and also purchase order item data.  This will reduce the amount of redundancy in the data entry, i.e. plant, company code.
    One Purchase Order may be created for several purchase requisitions
    Procedural Steps
    1.1.     Access transaction by:
    Via Menus     Logistics èMaterials ManagementèPurchasingèPurchase OrderèCreateèVendor/Supplying Plant Known.
    Via Transaction Code     ME21N
    1.2.     Double-click   
    On screen “Create Purchase order”
    On screen select Domestic Purchase order in this screen . You can also select other document if you want to create other. Here drop down menu is available.
    Click   to enter the organization data.
    Screen will change in the header; enter data as given in the table below:
    Field Name     R/O/C     Description
    Purchasing Org.     R     Enter the purchasing organization code.
    Example: 1000
    Purch. Group     R     Enter the purchasing Group which is procuring the material
    Example: P01
    Company Code     R     Enter the company code under which above purchasing
    Organization is.
    Example: 1000
    After entering the organization data enter the vendor or material supplier in the field    here drop down is available.click   to see the drop down.
    Field Name     R/O/C     Description
    Search term     O     Text that describes the vendor in more detail.
    Example:     MICON
    Vendor     O     Description of the vendor.
    Example:     100008
    Click   .
    System displays all possible entries available as per data entered
    Restrict value range (1)   1 Entries found
    To select required Vendor Click   .
    Click   .
    Vendor selected
    Now go to   ,here the system will pick up the data automatically from the vendor master but if you want to chane the data you can change the data. Here drop down menu is available.
    Now go to   to mainatin the text.
    After maintaining the text if you want to see or change the vendor address click   and do the amendments.
    Now Go to   and click to enter the Items and other data as per the table given below:
    Field Name     R/O/C     Description
    Account Assignement     R     Key that identifies specific settlement receiver types such as cost centers, internal orders, work orders, asset accounts, or project WBS elements.Example: K
    drop down menu is available here.
    Item Cateogry     O     How the procurement of a material is controlled.
    Drop down menu is available here.Example: Standard
    Material     R     Here you will enter the material to be purchased from the
    Vendor.
    Here also drop down menu is available. Use the following
    to select the material. Example ZROH-DEMO
    In the figure above enter the search cretira for the material for example ZROH-DEMO and click
      . The follwing result will appear on the screen select the line item and click   to select
    the material.
    Short Text     R     Enter here short description about the material,if the text is not
    automatically picked up from the material master.
    PO Quantity     R     Enter here quantity to be ordered.
    Example 10
    Order unit     R     Here we enter the order unit’s of measurement.
    Here also drop down menu is available.
    Example : KG
    Category of delivery date     O     Here you can enter deleviery date format.
    Here also drop down menu is available.
    Example : Day format
    Delivery date     R     Enter the delivery date. You can use the calender provided by
    the system.
    Example : 28.02.2006
    Net price     R     Enter the net price of the material here
    Example : 1000 INR
    Material group     R     Enter the material group to which that material belongs.Here
    also drop down menu is available. This field is also automatic
    picked up field.
    Example : M10001
    Plant     R     Enter the plant code for which you are purchasing the material
    Here also drop down menu is available.
    Example : 1100
    Storage location     O     Here you will enter where the material is to be stored. Drop
    Down menu is available here.
    Example WH01
    Click Enter and system will give you message  
    You will now see the screen
    Field Name     R/O/C     Description
    Cost Centre     R     The purchase is done for which purpose. Here also drop down
    Menu is available.
    Example: 11050 for CDU/VDU /SGU OP
    G/L Account     R     G/L account from which payment will be done.
    It will be automatically be picked up from the material group
    You can change it also.
    Unloading Point     O     Specifies the point at which the material is to be unloaded.
    Recipient     O     Specifies the recipient for whom the material is destined.
    Click   to see and to change the Tax Code at item level.
    Select    to view the taxes applied on the line item.
    click   to go back to the previous screen .
    On the main screen in the same tab if you want to change the taxe select the tax code from the drop down available
    After selection again, Select    to view the taxes applied on the line item.
    If you want to add more conditions click   tab and enter the conditions from the drop down
    You can also maintain the text at item level by clicking   tab.
    After completeing this all click   to check wether here is any error in the purchase order , If there will not
                             ↓
    any error then on the screen following line will appear.
    If there will be some error the system will throw the message on the screen
    select the line item and click   to see the detail of the error.
    close this window now and goto main screen to rectify the error.
    After rectifying the error again click   to check wether here is any error in the purchase order.
    Now click   to save the purchase order, after clicking the button the following message will appear

  • SRM 5.0 ECS - copy of purchase order to requisitioner

    Hi everybody,
    I have a question for transmission of purchase orders from SAP SRM.
    We have a SAP SRM 5.0 with extended classic scenario. Now we have to send a copy of the purchase order to the requisitioner in the same moment we send the purchase order to the supplier. Is there a solution only with customizing possible or is programming necessary? In case of customizing solution is possible - what we have to do?
    Thank you very much in advance.
    Best regards
    Michael

    Hi Michael,
    I am not sure if there is any customization possible for your requirement . Your requirement looks like needs modification of the standard program RSPPFPROCESS. basically in the program where email is sent genarated you will have to put the option of cc in it.
    Thanks
    Iftekhar Alam

  • Purchase Order Form design

    Hi Friends,
    Please help to me to get the information of below requirement,
    List of all the fields we'll need to include in the Purchase Order Form (start with the standard fields). List to contain the Label Name of the Field on the Form with its appropriate technical name (eg.  PO Number = MEPO_TOPLINE-EBELN). where can i find all the field and technical name of Purchase Order?.
    I would assume that we can get most of this information from the standard Smart Form program. Could you please tell me the Smart Form Program name?
    Thanks
    Abdul

    Hi,
    You can refer to the standard form MEDRUCK via t-code SE71 in SAP system, normally in the standard SAP system use the standard form to print out document, not smart form!
    Of course, you can define your own smart form and printout program for the local request, the table EKKO, EKPO can provide enough information for the smart form.
    Good luck
    Tao

  • Need to add text with box dynamically

    Hello,
    I need to add a standard text created in so10 with a box at the end of the purchase order.
    This should trigger dynamically if the condition is correct.
    For ex : PO created in plant = 100 then this text should be displayed at the end of the PO page with a box.
    DO I have to create a Window and then include this text created in so10 and then give the conditions?
    PLease suggest...
    Have a great evening!
    Regards,
    Kittu

    Hi,
    Simplest would be define a new element in the main window like:
    E  OTHER_TERMS
    /:   NEW-PAGE                                                      
    /:   INCLUDE ZPO_TERMS_AND_CONDITIONS OBJECT TEXT ID ST LANGUAGE EN
    In the pgm check your condition if satisfied then use
            CALL FUNCTION 'WRITE_FORM'
                 EXPORTING
                      element  = 'OTHER_TERMS'
                      function = 'APPEND'
                      window   = 'MAIN'
                 EXCEPTIONS
                      element  = 1
                      function = 2
                      type     = 3
                      window   = 6
                      OTHERS   = 8.
    I hope this helps,
    Regards
    Raju Chitale

  • Purchase Order Import

    I am currently working on purchase order conversion,
    The following purchase order types are available:
    1) Standard Purchase Order - this can be imported using Import Standard PO program
    2) Blanket PO Agreements - this can be imported using Import Price Catalogs program
    3) Planned Purchase Order - ?
    4) Contract Purchase Agreements - ?
    How the last two type of PO's uploaded into Oracle Apps 12.1.1.
    Is there any similar kind of seeded program available or any api's available?
    Thanks in advance
    by
    aboo

    Hi
    I am working on implementation project and i need to convert PO's and BPA's.
    Could you please share Import Price Catalogs Conversion Script and Standard Purchase Order conversion script.
    if you dont mind please send the script my below email-d.
    Thanks a lot.
    [email protected]
    Praveen.

  • Purchase Order has approved but Status show as Unapproved

    Dear All Experts,
    I have a Purchase Order need to go throught approval procedure. The Purchase Order has approved by user and add into system and printed out. When second time, open the same Purchase Order, the status show "Unapproved" but the Purchase Order windows header name show Purchase Order [Approved], this make user unable to copy to GRPO. I have try to restore stored procedures in SAP B1, it does not make any changes. The user is using SAP B1 2007A SP0 PL49. Please Advise.

    Hi Angie
    the purchase order once approved has to be added on to the system after approval if u say that u have added the purchase order after it got approved then that seems to be a concern for that u need to contact ur sap partner or if u are a partner then u need to get in touch with sap to resolve the isssue as it could be because of problem with ur database
    but before that please be sure off that u are using the correct way and have sucessfully added the documnt apon approval.
    Regards,
    Manish

Maybe you are looking for

  • Nokia 800 no Automatic Replies option for Outlook

    I have 30 users all with brand new Lumia 800's. We have found the option to set an Outlook "Out of Office" message or automatic reply is missing. From what I have managed to ascertain this should be an option in the Outlook settings below the Synchro

  • Swf within Captivate

    Hi, I've got an interactive flash swf file that brings in another swf file (via loadMovie).  I would like to bring this into Captivate.  I have tried a couple of ways; 1)  I dragged it into Captivate - This shows the first flash file but not the one

  • How to implement Lag over  in OWB?

    Hi, Could any one please explain, how we can implement lag over in OWB? Thanks and regards Gowtham Sen.

  • Why is it my pod touch 4th gen version 4.3.3 won't let me delete some pictures, says total gb is 6.5, and won't let me upgrade the firmware

    My iPod touch is version 4.3.3 and recently I was thinking I'm sick of my iPods memory always being full so I can't take pictures. My memory has allowed at max 6.5 gb which is highly annoying so I started by trying to delete photos for room and I del

  • CRM - Role of technical resource

    Hi Experts, I would like to know what role technical (development) resource expected to play in CRM projects. I am from ABAP, XI & EP background, would like to work on CRM projects in future. I would appreciate if you have spell out skills which are