Creating SRM PO with Smartforms BBP_PO

I am creating a new smartform for displaying PO using copy of SF BBP_PO.
i have below doubts, could anyone plz clarify
1) can i write all the logic like select queries in the smartform?(I have different tables to select data). if i write select queries here, is it require to develop a print program or BADI again?
2) if not Where exactly i have to write the print program code?
     is it in creating a zclass and zmethod like
             Class = CL_PD_PO_PROCESSING_BBP
             Method = PROCESS_BBP_PO_PRN ?
    (or)
    BADI - BBP_OUTPUT_CHANGE_SF(ZChange_Smartform)
    Plz provide some inputs on this...
    Useful answers get full points.

1) Yes, you can create a programming node into your smartform in this you can select all the needed data that isn't already provided for you. There are a lot of fields already available for use. A function module is automatically generated from your smartform when you activate it.
2) You can easily select your Z version in customising, no real need for the BADI if you only use one z version in your company and don't need any other functionality of the badi.
Regards,
Robin

Similar Messages

  • Filename in Webdynpro for a PDF created with Smartform

    Hi,
    I created a PDF with Smartform in my Webdynpro-Application.
    When I click the save button there is a default filename f.pdf .
    How can I change the filename?
    Regards
    Marcus Schug

    Hi Experts,
    any update on this?
    I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
    I spent a lot of time to find any possibility to get and change the file name but without success till now.
    Please respond.
    Regards,
    Zdzislaw Kaczmarczyk
    Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM

  • How to customize purchase order smartform BBP_PO in SAP SRM 7.0?

    Hi friends,
    I am new to SAP, as well as to SRM world. Currently I have a object with me from purchase order smartform in SRM. My job is to copy the standard PO form named BBP_PO into "Z" form and to make customizations in the copied one. I don't have idea about how to proceed with it. Please give me some idea about required processing classes, methods, BADI's, FM's etc,.. Can anyone please tell me how to do this job? I am a fresher so if you help me in this means, it would be very helpful for me and for my future.
    Thanks and regards,
    Siva

    Hello Siva,
    I searched and found the below steps ...
    why dont you try the same !
    How to customize an existing Standard Smart form in SRM - Overview.
    1. Copy existing Standard smart form in SRM, let us say, BBP_PO into "Z'' Smart form in Transaction SMARTFORMS.
    2. Do changes in Z Smart form add Desired Logos in Smart form using SE78 and SMARTFORMS transactions.
    3. Change in Jargon: Unlike ECC we will not have Driver program (in SE38), you will find Processing class and Processing method ( in SE24) for SRM Smart forms, where we write extraction logic.
    4. So, In case of SRM we should replace the (word) "Driver Program" with (the word) "Processing Class" and Perform as "Processing Method".
    5.Where to Link: Processing Class, Processing Method and Smart form? In SPRO, SRM Server -> Cross Apps -> Set Output Actions and Output Format -> Define Actions for Purchase Order Output -> Action definition -> Processing types, then select standard PO.
    6. If we are using (Completely- New) Custom Smart Form instead of Changing Standard Smartform, then Do change any settings in Step5, Otherwise, if you are planned to modify existing Smartform, with Small logic changes, format changes and Logo Changes then, Just Implement BADI - BBP_OUTPUT_CHANGE_SF in SE19 transaction.
    7. Put a simple code  in BADI as... CASE IV_OBJECT_TYPE.
    When  'BUS2201' .
       CV_SMARTFORM = 'Z_CustomSF'.
    ENDCASE
    8. Don't forget, you already copied Std Smartform into Custom Smartform say Z_CustomSF.
    9. I am using BUS2201 only becuase I was trying to change BBP_PO Smartform which is a Purchase Order Smartform.
    Hope this helps!
    - Vikas

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms?
    It doesn't like general table with header, main area and footer.
    for example:
    in smartforms: LE_SHP_DELNOTE
    table name is TABLEITEM(Delivery items table)

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

  • How to create a invoice with invoice items in SRM?

    Hi experts,
    I am testing my BW custom code for SRM. My question is I have to create a invoice with line item 1 quantiy 20 in SRM - development. After this I have mark line item 1 with a deletion indicator X in SRM and create two more line items and load it again in BW. This time in BW it should delete line item 1 with deletion indicator X and load the two new line items that I created.
    Please tell me the T-code and step by step instructions to create it.
    Thanks in advance.
    Sharat.

    i answered by myself.

  • Create PDF Files with assigned a Password in SmartForm

    Hi,
    can i assign a password to pdf files that created with smartform?
    Thanks.

    Hi Chenna,
    Thank you very much first of all.
    i examined RSTXPDFT4 program but the FM that CONVERT_OTFSPOOLJOB_2_PDF has no parameter to assign a password to pdf.
    is there another program or FM to set a password to pdf files?
    thanks  again.

  • Creating a new PO-SMARTFORM in SRM Environment.

    Hi,
    Could any one of you plz let me know the process to create a new PO-SMARTFORM in SRM Environment.
    Plz share if any valuable documents are available.
    Thanks,
    Sree.

    hi,
    See these links:
    Re: SRM PO SMARTFORM
    EBP PO Smartform?
    SRM PO SMARTFORM
    BR,
    Disha.
    Do reward points for useful answers.

  • Smartform BBP_PO VORSCHAU instead PREVIEW

    Hi,
    This is the scenario SRM server 550 SP SAPKIBKT12, in PO 'Output preview' the system generates correctly the smartform, but with text VORSCHAU instead PREVIEW.
    Where can I mantain this translation?
    Regards,
    José Luis

    Hi Muthu,
    Thanks for the answer, but this notes are for sourcing cockpit, mi problem is in Purchase Order Preview, in Smartform BBP_PO.
    Any ideas?
    Regards,
    José Luis

  • Dunning letter with smartform

    Hi experts,
    I have to create a form for dunning letter with (smartforms) for the transaction F150
    and really I don't know how I will do it.
    I don't know how to pass the fields run on, identification customer to the formulaire for getting data for display?
    notice in this moment I have letter displayed with the form sapscript Y_F150_DUNN_01, that I have to change the letter to a form with smartforms?

    Hi Mohamed,
    because I did not believe SAP doesn't provide smartforms dunning I checked it.
    In Customizing Financial Accounting->Accounts Receivable and Accounts Payable->Business Transactions->Dunning->Printout the documentation says "Note that you can define dunning forms using either SAPScript or SAP     
    Smart Forms."
    The Docu for "Define Dunning Forms (with SAP Smart Forms)" explains how-to:
    Requirements                                                                               
    The standard settings allow for creating dunning notices using              
    SAPScript. If you wish to print your dunning notices using SAP Smart         
    Forms, you must first define the corresponding function module.              
         1. In Customizing for Financial Accounting, choose Financial             
         Accounting Global Settings ->  Business Transaction Events.              
         The SAP Business Framework screen appears.                               
         2. Choose Settings -> P/S function modules -> ... of an SAP appl. .      
         3. Under the Business Transaction Event (BTE) "1720" with                
         application indicator FI-FI, change the function module in               
         FI_PRINT_DUNNING_NOTICE_SMARTF and save your entries.                                                                               
    SAP provides a predefined example form for dunning notices:                                                                               
    o   F150_DUNN_SF                                                                               
    Activities                                                                               
    1.  Make sure the function module FI_PRINT_DUNNING_NOTICE_SMARTF has       
        been defined (see above).                                                                               
    2.  Create a dunning form or change the example form to meet your          
        requirements for the various dunning notices.                                                                               
    I checked it and it looks really easy!
    Any quetsions? Feel free to ask.
    Regards,
    Clemens
    P.S.: If you don't expect more answers, please close the thread.

  • Label printing on ZEBRA printer TLP2844 with smartform

    Hi Gurus,
    Requirement:
    Print label on Zebra printer with smartform
    1. i have created a smartform with desired layout
    2. and trying to print on Zebra printer
    Questions:
    1. smartform is not printing on zebra printer
    2. suggest me if there are any ways to print smartform on zebra printer
    3. does it requires any native programming language for printing labels on zebra printer
    Best Regards,
    Krishna

    hi Krishna,
    This printer does not support ZPL2 so I thnk you cnnot use the device types like LZEB2. It should work to print via windows and a device type like SAPWIN or SWINCF.
    Regards,
    Aidan

  • How to create a contract with one supplier and two dealers?

    Hi Gurus,
    I have a contract with a supplier (eg. Apple), but the products and services are supplied by two dealers.
    The supplier is the manufacturer and with whom the negotiation of prices is made.
    The dealers are those who make the delivery of the products and services and who the payment is done.
    How can I create a contract with these characteristics in SRM 7.0?
    I don't want to create two contracts with same products and services for two suppliers (Dealer_1 and Dealer_2).
    How can this be handled through business partner type "Vendor"?
    In "Partner" section in "Header" --> "Basic data", I can only add 1 vendor.
    The system is:
    Component software: SRM_SERVER
    Release: 700
    Level: 0008
    Support package: SAPKIBKV08
    Thanks in advance and best regards,
    Alonso Valenzuela

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • How to create paragraph format in smartforms

    Hi All,
    Let me know how to create paragraph format in smartforms?
    Thanks&Regards
    Mahesh

    Hi
    When we create a smartform we can see in <b>global settings</b> , <b>form attributes</b>.
    In <b>form attributes</b> we set the over all style of the smartform. Goto <b>form attributes</b> and open the tab <b>output options</b>. Here you can see the <b>Style box</b>. In this style box we enter the smartstyle created in transaction code <b>smartstyles</b>.
    Open transaction <b>smartstyles</b>.
    Create a new style.
    Upon creating a new style you will see 3 folder structures under style name.
    1. Header data
    2. Paragraph format
    3. Character format
    To create paragraph format right click on the paragraph format node and click Create Node. Give it name. Now you will get a screen with 4 tabs.
    Indents and spacing
    Fonts
    Tabs
    Numbering and outline
    Here you can provide the look you want.
    Now add this smartstyle in your smartform's form attribute.
    You can also provide individual smartstyles to each text element you create by giving the name of smartstyle in its output options tab. Each text element has a individual output option tab here you can give any smartstyle.
    Click on the general attribute tab of any text element and give the paragraph format directly or by going to SAPScript editor mode.
    Any more questions you can ask me directly mailing me.
    Please do reward points if satisfied.

  • Printing checks from payment program F110 with smartforms

    Hi! I am working in ECC 5.0 and I want to print checks from the payment program with a smartform, I created a non standard smartform but when I try to link the smartform with the program by transaction FBZP the available options are SAPScripts only. Is possible to do it?
    Thanks in advance

    Hi! Even I am working in ECC 5.0 and I want to print checks from the payment program with a SAP SCRIPT Form, but the issue is that we hav the standard print program for printing the form and this form is being used by some other custom program....I want to customize the standard print program in the transaction F110 so that It successfully calls that form which is now called by some other program. I've the option of customizing the standard print program as per the program which is calling that Form but I'm not able to understand the flow of either of the print programs. Can anybody guide me here on how to understand the flow of the print and go for the customizing of the standard print program for the payment process?
    Also, the current print program and Form which is being used by some other custom print program is already customized in the transaction FBZP.
    Thanks in advance
    Shamim

  • How to create a hyperlink in smartform

    Hi All,
    How to create a hyperlink in the smartform text editor so that when we click on that,we should be able to open the internet explorer.I have tried with the option insert URL.But still its not working.Do we need to do any further settings along with this?
    Thanks in advance
    Regards,
    Akanksha

    Hi,
    check this:
    http://help.sap.com/saphelp_47x200/helpdata/en/03/7560eccf0d11d3b565006094192fe3/frameset.htm
    Create hyperlink in SMARTFORM
    How to create a hyperlink in smartform
    Create hyperlink in SMARTFORM
    Re: URL in SmartForm sent as email body
    Don't forget to reward if useful

  • Replacing customer statement form (T CodeF.27)SAP script with Smartform.

    I have a requirement to automate sending customer statement form which is triggered through T-code: F.27. For this we are trying to replace the SAP script which is triggered from program RFKORD11 with Smartform. We have tried copy the program RFKORD11 to a custom one which assigned to the correspondance type in t-code OB78 and do the modifications, but we could not do so as we are not authorized to copy the program. Can anyone help us in acheiving this functionality. BR, Karthik G.

    Re your question A:
    F140_CUS_STAT_01 and F140_CUS_STAT_02 are SAP standard forms for customer statement.  You can use either one but usually you will create your own (by copying) to add company logo and name, etc.
    If you use program RFKORD11 for customer statement, you specify the form to be used in the "Correspondence" field.

Maybe you are looking for