Sample smart forms for sales order details

M unable to retrieve the data from database to smart form variables.Please send me some standard smart forms names for sales order report.So dat i can c how dey r declared in standard forms.
Thanks & Regards,
santhosh Kumar.

Hi santosh,
here are some of the standard smartforms-print programs
Inquiry     /SMB40/RVADOR01       /SMB40/SDINQ_XX
Quotation     /SMB40/RVADOR01      /SMB40/SDQUO_XX
Order Confirmation     /SMB40/RVADOR01       /SMB40/SDORC_XX
Cash Sales Receipt     /SMB40/RVADOR01      /SMB40/SDCSH_XX
Contract     /SMB40/RVADOR01                 /SMB40/SDCON_XX
Scheduling Agreement  /SMB40/RVADOR01     /SMB40/SDSDA_XX
Delivery Note     RLE_DELNOTE     /SMB40/SDDLN_XX
Invoice     RLE_INVOICE     /SMB40/SDINV_XX

Similar Messages

  • Standard print program & smart form for SALES ORDER

    Hi,
    I need
    1. Print program &
    2. SMART FORM
    for "Sales Order".
    and also please let me know how to migrate and do the required changes in smartform & print program.

    Hi Sameer,
    Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
    Here u will find the standard program name and smartform .
    Thanks,
    Reward If Helpful.

  • Smart forms for Sales Order

    Hi,
    I did Variant configuration..........if i entered a line item in sales order(VA01) i can see the Character and i can choose the value...like this i have a 5-10 chars and values for every line item..._I can see this fields in VA03 screen ->Extras->Configuration_
    This data i need to print in Sales Order.....as a line items.(Character and Value)...if you know anyone related Table and Fileds................please give the table and field names......so that i can make the FS
    Thanks in advance
    Regards
    Dev

    Hi,
    Sales Documents     VBAKUK VBAK + VBUK
                      VBUK   Header Status and Administrative Data
                      VBAK   Sales Document - Header Data
                      VBKD   Sales Document - Business Data
                      VBUP   Item Status
                      VBAP   Sales Document - Item Data
                      VBPA   Partners
                      VBFA   Document Flow
                      VBEP   Sales Document Schedule Line
                      VBBE   Sales Requirements: Individual Records
    SD Delivery Document LIPS   Delivery Document item data,  includes referencing PO
                                      LIKP   Delivery Document Header data
    Customers  KNA1   General Data
                      KNB1   Customer Master u2013 Co. Code Data (payment method, reconciliation acct)
                      KNB4   Customer Payment History
                      KNB5   Customer Master u2013 Dunning info
                      KNBK   Customer Master Bank Data
                      KNKA   Customer Master Credit Mgmt.
                      KNKK   Customer Master Credit Control Area Data (credit limits)
                      KNVV   Sales Area Data (terms, order probability)
                      KNVI   Customer Master Tax Indicator
                      KNVP   Partner Function key
                      KNVD   Output type
                      KNVS   Customer Master Ship Data
                      KLPA   Customer/Vendor Link
    Billing Document  VBRK   Billing Document Header
                               VBRP   Billing Document Item
    SD Shipping Unit  VEKP   Shipping Unit Item (Content)
                               VEPO   Shipping Unit Header
    Edited by: Neenu Jose on Oct 22, 2008 10:13 AM
    Edited by: Neenu Jose on Oct 22, 2008 10:14 AM
    Edited by: Neenu Jose on Oct 22, 2008 10:15 AM

  • Smart form for Sales order

    Hi,
    I did Variant configuration..........if i entered a line item in sales order i can see the Character and i can choose the value...like this i have a 5-10 chars and values for every line item
    This data i need to print in Sales Order......(Character and Value)...if you know anyone.............please give the table and field names......
    Thanks in advance
    Regards
    Dev

    HI,
    Thanks for your reply.........
    My abaper is asking .....CUOBJ field in VBAK....he needs Entries........but i cant able to find the data......How can i ????is thr ant specific Table and Fileds ....whihc i can fine CHAR and VALUES....for configurable materials in a SALES order...
    Thanks in Advance
    Regards
    Lucky

  • SMART FORM FOR PURCHASE ORDER

    Hii Experts,
    I am developing a smart form for purchase order. I am customizing the existing PO smart form according to the clients requirements. The customer needs fields Discount percentage, Excise duty and VAT/CST%... all these fields when i explored in transaction me23n come from a structure so the values come only at run time.. can anyone tell me the exact table and fields from where these comes so that i can retrieve it from there and display it in my smart form. The fields i need are discount percentage, excise duty and VAT/CST%. its urgent.

    REPORT  ZMR_PURCHASE_ORDER.
    types: BEGIN OF ty_lfa1,
              LIFNR TYPE lfa1-LIFNR,
              MCOD1 TYPE lfa1-MCOD1,
              STRAS TYPE lfa1-STRAS,
              MCOD3 TYPE lfa1-mcod3,
          END OF ty_lfa1.
    TYPES: BEGIN OF ty_ekpo,
              ebeln TYPE ekpo-ebeln,
              ebelp TYPE ekpo-ebelp,
              txz01 TYPE ekpo-txz01,
              menge TYPE ekpo-menge,
              peinh TYPE ekpo-peinh,
              brtwr TYPE ekpo-brtwr,
          END OF ty_ekpo.
    TYPES: BEGIN OF ty_ekko,
            ebeln TYPE ekko-ebeln, "purchase doc
            LIFNR TYPE ekko-LIFNR, "vendor
            MCOD1 TYPE lfa1-MCOD1, "vendor name
            STRAS TYPE lfa1-STRAS, "vendor add
            MCOD3 TYPE lfa1-MCOD3, "vendor city
            bedat TYPE ekko-bedat, "doc date
            unsez TYPE ekko-unsez, "contact person
            verkf TYPE ekko-verkf, "attn
            telf1 TYPE ekko-telf1, "tele
            ihrez TYPE ekko-ihrez, "ref
            KNUMV TYPE ekko-KNUMV, "doc condition
           ebelp TYPE ekpo-ebelp, "item
           txz01 TYPE ekpo-txz01, "message desc
           menge TYPE ekpo-menge, "qty
           peinh TYPE ekpo-peinh, "rate
           brtwr TYPE ekpo-brtwr, "gross
        END OF ty_ekko.
    TYPES: BEGIN OF ty_t685t,
            kschl TYPE t685t-KSCHL,
            vtext TYPE t685t-vtext,
          END OF ty_t685t.
    TYPES: BEGIN OF ty_line_item,
            KNUMV TYPE konv-KNUMV, "condition number
            STUNR TYPE konv-STUNR, "step
            kposn TYPE konv-kposn, "item
            KSCHL TYPE konv-KSCHL, "condition type
            vtext TYPE t685t-vtext, "condition name
            KAWRT TYPE konv-KAWRT,  "base amt
            KRECH TYPE konv-KSCHL,  "calculation type
            qty(13) TYPE n,         "qty
            kbetr TYPE konv-kbetr, "condition rate
            kwert TYPE konv-kwert, "condition value
        END OF ty_line_item.
    data: wa_ekko TYPE zms_ekko,
          wa_item TYPE zms_konv,
          wa_lfa1 TYPE ty_lfa1,
          wa_t685t TYPE ty_t685t,
          wa_ekpo TYPE ty_ekpo.
    data: it_ekko TYPE TABLE OF zms_ekko,
          it_item TYPE TABLE OF zms_konv,
          it_lfa1 type TABLE OF ty_lfa1,
          it_t685t TYPE TABLE OF ty_t685t,
          it_ekpo TYPE TABLE OF ty_ekpo.
    SELECTION-SCREEN : BEGIN OF BLOCK ss_block WITH FRAME TITLE text-001.
       PARAMETERS: pa_ver(2) TYPE c DEFAULT '0'.
        SELECT-OPTIONS: pa_pord FOR wa_ekko-ebeln,
                        pa_date for wa_ekko-bedat.
    SELECTION-SCREEN : END OF BLOCK ss_block.
    SELECT EBELN LIFNR bedat unsez verkf telf1 ihrez knumv from ekko
        into CORRESPONDING FIELDS OF TABLE it_ekko.
      if pa_pord is not INITIAL.
        DELETE it_ekko WHERE ebeln not in pa_pord.
      endif.
      if pa_date is not INITIAL.
        DELETE it_ekko WHERE bedat not IN pa_date.
      endif.
    if it_ekko is not INITIAL.
      SELECT lifnr MCOD1 STRAS MCOD3 from lfa1
        INTO CORRESPONDING FIELDS OF TABLE it_lfa1
        FOR ALL ENTRIES IN it_ekko
        WHERE LIFNR = it_ekko-LIFNR.
      SELECT ebeln ebelp txz01 menge peinh brtwr from ekpo
        INTO CORRESPONDING FIELDS OF TABLE it_ekpo
        FOR ALL ENTRIES IN it_ekko
        WHERE EBELN = it_ekko-ebeln.
      loop at it_ekko into wa_ekko.
        READ TABLE it_lfa1 into wa_lfa1 WITH KEY lifnr = wa_ekko-LIFNR.
        wa_ekko-MCOD1 = wa_lfa1-MCOD1.
        wa_ekko-stras = wa_lfa1-stras.
        wa_ekko-MCOD3 = wa_lfa1-MCOD3.
        MODIFY it_ekko FROM wa_ekko TRANSPORTING MCOD1 STRAS MCOD3 WHERE ebeln = wa_ekko-ebeln.
      ENDLOOP.
      SELECT KNUMV STUNR KPOSN KSCHL KRECH kbetr kwert KAWRT from konv
        into CORRESPONDING FIELDS OF TABLE it_item
        FOR ALL ENTRIES IN it_ekko
        WHERE KNUMV = it_ekko-KNUMV.
      SELECT kschl vtext from t685t
        INTO CORRESPONDING FIELDS OF TABLE it_t685t
        FOR ALL ENTRIES IN it_item
        WHERE spras = 'EN' and KSCHL = it_item-KSCHL.
      LOOP AT  it_item into wa_item.
        READ TABLE it_t685t into wa_t685t with key KSCHL = wa_item-KSCHL.
        wa_item-vtext = wa_t685t-vtext.
        if wa_item-kschl = 'ZBP1'.
          wa_item-qty = wa_item-KAWRT / wa_item-kbetr.
        endif.
        if wa_item-KRECH = 'A'.
         wa_item-kbetr = wa_item-kbetr / 10.
        endif.
        if wa_item-kschl = 'NAVS'.
          wa_item-vtext = 'Sales Tax'.
        endif.
        MODIFY it_item from wa_item TRANSPORTING vtext kbetr kschl qty
          WHERE stunr = wa_item-STUNR and
                kposn = wa_item-kposn.
      ENDLOOP.
      DELETE it_item WHERE kposn = '000000'.
      DELETE it_item WHERE kschl <> 'ZBP1' and kschl <> 'ZD01' and kschl <> 'ZE01'
          and kschl <> 'NAVS' and kschl <> 'ZSRV'.
      sort it_item by kposn STUNR.
    CALL FUNCTION '/1BCDWB/SF00000025'
      EXPORTING
        ARCHIVE_INDEX              =
        ARCHIVE_INDEX_TAB          =
        ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         =
        MAIL_APPL_OBJ              =
        MAIL_RECIPIENT             =
        MAIL_SENDER                =
        OUTPUT_OPTIONS             =
        USER_SETTINGS              = 'X'
      IMPORTING
        DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            =
        JOB_OUTPUT_OPTIONS         =
        TABLES
          it_ekko                    = it_ekko
          it_item                    = it_item
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endif.

  • Smart form for maint . order

    hi
    i have to make a smart form for maintenance order.
    i would be required for following fields-
    mant. order no, equipment no, maint date, task performed, purchase prder no, vendor no, spare to be used, reservation no.
    kindly give the process for the same.
    regards,
    santosh

    Hi Santosh
    Pls see [here |http://www.sap-img.com/smartforms/sap-smart-forms.htm]
    May be this will give u some inputs
    Regards
    Jignesh

  • How to use smart form for production orders

    Hello Experts,
    I have a couple of questions about printing out production orders from SAP, from OPK8.
    My ABAPer has developed a smart form and I am trying to use the same for the list LG01, i.e. the object list.
    Since, there was no place to assign a smart form directly, so the ABAPer has copied the existing print program , defined for my ref. order type and LG01 and assigned the new smart form inside the program. This new program has now been assigned against my ref. ord type, LG01 and all the plants, as seen in screenshot below.
    Now, what is happening is that when I give print for my order, a pop-up screen asks for the printer. I give LOCL , check 'print now' and then click on the print preview.
    I can see the new form that has been developed and it is alright.
    Then, when I click on the back arrow, once again the print pop-up screen appears. Now, when I enter LOCL, print now and click  the print preview, then I see another form open up before me. I am assuming that this is some form which was pre-configured in the system, under the section 'Forms', for the same object list LG01.
    Do I have to assign the new smart form under the section "Forms' also, for the ref order type and LG01? or the change in the section 'print programs' is enough for the new form to kick in? Please guide me. I tried to but it gave the error that the form is not created in English. Also , my form is a smart form, not a SAPScript or PDF form, so I wonder if that will help at all.
    Requirement :-      I need to suppress this second form somehow but do not know how to do it. I want that only one form, i.e. my smart form should be printed out when someone gives print from the order.
    Let me know if something is not clear.
    Regards
    P.R

    Hi P,
    Go a few steps down and remove flags on the documents you don't want to print:
    this are just suggestions, they can be changed in your production order, in CO02, menu Order->Settings->List Control.
    regards,
    Edgar

  • BAPI For Sales order details

    Hi,
    I need BAPI for retrieving following fields Based on SAles order Number.
    Sales order number, Created date, Distribution channel, sales group, Sales organization and customer Number.
    Thanks,
    points will be rewarded.
    Edited by: Jasmine on Apr 8, 2008 6:09 AM

    Use this bapi
    Function Module
    BAPI_SALESORDER_GETLIST
    Description
    Functionality
    You can use this method to display the sales orders for a customer.
    Notes
    Mandatory entries: You must enter the relevant customer number in the SALESDOCUMENT parameter and the requested sales organization in the SALES_ORGANIZATION parameter. Optional entries: You can restrict the selection by entering certain criteria. For example you can display all the orders for a certain material or orders from a particular time period (MATERIAL or DOCUMENT_DATE and DOCUMENT_DATE TO paramters). You can also find a certain sales order using the customer's purchase order number (PURCHASE_ORDER parameter).
    check this link
    http://abap.wikiprog.com/wiki/BAPI_SALESORDER_GETLIST

  • C form Details table for sales order

    Hi Experts,
    What is the tsble for C form details in a sales order.
    Thanks,
    Anu

    Hi,
    The tcode for maintaing C form for sales orders is J1IUN. The table is J_1IFRDTSO.
    You can find J1IUN Under area menu J1ILN - India Localization Menu.
    Regards,
    Vinod

  • Form routine for sales order adobe forms

    Hi Friends,
    I have a requirement to create z adobe forms for sales order for customized output type.
    When i checked, there is no form routine designed for calling the adobe forms.
    So, i am planning to copy the standard print program which is available for script and smartforms and creating a z form routine to include the function modules for calling the adobe form.
    Can any one please let me know whether have you worked in any of the same kind of situations and my apporach is ok or anything else can be done.
    Thanks & Regards,
    Prabu

    Hello,
    Plz check your caller program for the same and just find out the output type. for that purpose use the Tcode: NACE for finding the output type than proceed accordingly.
    Regards,
    Akg

  • Report for Sales Order Change History   CDPOS and CDHDR

    How to take a report of the data for the Sales Order Change history for a particular period of time. It is required to take a report of all the Sales Orders for which the basic price has been changed. Please let me know the procedure. I could not get the data from the table CDPOS and CDHDR
    Helpful answer would be rewarded.
    Regards
    Praveen

    Dear Praveen Kumar
    Have you tried with VBAP where sale order details at item level would be stored.
    Moreover, to my knowledge, there won't be any changes as for as pricing is concerned at sale order level but there is at billing level.  Normally, any price increase / decrease would reflect in billing.  So why dont you to table join through SQVI VBAP (for sale order details) and VBRP (for billing details) so that you can compare the selling price in sale order with billing. 
    Thanks
    G. Lakshmipathi

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How can i show sales order details for specific partner in view

    Hi All,
              My Requirement is that I want to display the sales order id,sataus,amount in sales order assignment block  in Customer FACTSHEET. I created a new componnet and new view for Sales Order View  using BTQRSlsOrd BOL Entity in ONEORDER I want to diplay sales order id ,status ,amount for specifc business partner which i selected from Account Tab in WEB UI.How can i bind my ( view or context node or context ) so that it shows details of sales order for specific business partner.
    Thanks in Advance.......
    Vishwas Sahu

    Hi Vishwas
    I hope the following link helps you in setting up the sales order in account fact sheet:
    Add Sales Order to Account Factsheet
    If you are on CRM 2007 SP03 then you might need the following note:
    Note 1165224 - Search result is not showing up in IC account factsheet.
    Regards
    Rupesh

  • Update payment card details for sales order

    Hi all,
    Is there any function module or bapi which can be
    used to update the payment card details for a sales order
    The bapi_salesorder_creatfromdat2 is having the structure
    CCARD which takes in this details , but what I really want is to change the already created sales order.  The bapi for sales order change is not having any structure which allows passing this details.
    Please can anybody give some inputs on it.
    Regards,
    Shibu Mathew.

    Hi Anurag,
    Thank you very much for the answer..
    I too found it as i was digging through the
    BAPI_SALESORDER_CHANGE.
    One's again thanks for the solution.
    Regards,
    Shibu Mathew.

  • Smart Form for Monthly Sales Report

    Is any possible smart form for Monthly Sales Report
    if possible let me know....
    Phani.

    Hi Phani,
    There is no standard for this delivered by SAP. You would have to create your own form and print program.
    Sales Reports usually come out of LIS or BW. In the case of BW,  tools like Business Explorer might help you.

Maybe you are looking for