Smart form requirement

Hi
I have a web service BAPI whose table's content I want to display either in smart form,sap script or any other tool from Portal end.I am using webdynpro for java.
Please let me know how it can be performed?
Looking forward for the reply.
Regards,
Pawan

Hi Pawan,
I should clarify.  If you are planning to use Web Dynpro your first task is to get data into the Context Controller of the Web Dynpro component you are using.  Data is obtained via an Adaptive Web Service model which is generated for you by Web Dynpro if you provide it a WSDL.  So you need to create a Web Dynpro Project (If you plan to use the NWDI which most projects will it is best to create development component project of type Web Dynpro rather than just a Web Dynpro project), Anyhow once you you will an empty models folder in the project. Right click this to be prompted for the model type.  The model will be generated if the WSDL meets the criteria for generating a model. If it is created you still need to initiatlize the model in the wdDoInit() method of the Web Dynpro component controller and place the model nodes correctly in the Context of the Component Controller.
This is accessed using wdContext from wdDoInit().  Once the data is properly in the context you will need to use context mapping to map the data into the context of the view controller from which it can be applied to the UI components in the Views layouts.

Similar Messages

  • Smart form requirement(related to TLine table output)

    Hi,
    I am trying to display smartform developed in ABAP  from webdynpro java as a PDF .The output is taken from a BAPI which is returning the output in TLINE table. I have tried printing the table output which consists of special characters but I am not able to get the output from the BAPI.
    Can anybody please tell what can be done for the same.Looking forward for the reply.
    Regards,
    Pawan

    Hi Pawan,
    I should clarify.  If you are planning to use Web Dynpro your first task is to get data into the Context Controller of the Web Dynpro component you are using.  Data is obtained via an Adaptive Web Service model which is generated for you by Web Dynpro if you provide it a WSDL.  So you need to create a Web Dynpro Project (If you plan to use the NWDI which most projects will it is best to create development component project of type Web Dynpro rather than just a Web Dynpro project), Anyhow once you you will an empty models folder in the project. Right click this to be prompted for the model type.  The model will be generated if the WSDL meets the criteria for generating a model. If it is created you still need to initiatlize the model in the wdDoInit() method of the Web Dynpro component controller and place the model nodes correctly in the Context of the Component Controller.
    This is accessed using wdContext from wdDoInit().  Once the data is properly in the context you will need to use context mapping to map the data into the context of the view controller from which it can be applied to the UI components in the Views layouts.

  • PO smart form help required

    Dear Friends ,
    For PO develelpment in smart form as per client requirement which are the details we need to give for developers . I had given only table and fiels name for the displaying elements in PO , message type , document type . They are asking conditions also , is it this the job of functional consultant ? .
    If any one having sample FS for PO plaese send . Other than EKKO , EKPO which are the table are there for PO related...?
    RB

    hi,
    find all tables in MM-PUR (Purchasing) :
    EBAN  - Purchase Requisition 
    EBKN  - Purchase Requisition Account Assignment 
    EBUB   - Index for Stock Transport Requisitions for Materi
    EINA    - Purchasing Info Record: General Data 
    EINE     - Purchasing Info Record: Purchasing Organization D
    EIPA     - Order Price History: Info Record 
    EKAB   - Release Documentation 
    EKAN   - Vendor Address: Purchasing Document 
    EKBE    - History per Purchasing Document 
    EKBEH - Removed PO History Records 
    EKBZ    - History per Purchasing Document: Delivery Costs 
    EKBZH  - History per Purchasing Document: Delivery Costs 
    EKEH    - Scheduling Agreement Release Documentation 
    EKEK    - Header Data for Scheduling Agreement Releases 
    EKES     - Vendor Confirmations 
    EKET     - Scheduling Agreement Schedule Lines 
    EKETH   - Scheduling Agreement Schedules: History Tables 
    EKKI      - Purchasing Condition Index 
    EKKN    - Account Assignment in Purchasing Document 
    EKKO    - Purchasing Document Header 
    EKPA     - Partner Roles in Purchasing 
    EKPB     - "Material Provided" Item in Purchasing Document 
    EKPO    - Purchasing Document Item 
    EKPV    - Shipping-Specific Data on Stock Tfr. for Purch. D 
    EKRS    - ERS Procedure: Goods (Merchandise) Movements to b 
    EKUB    - Index for Stock Transport Orders for Material 
    EORD    - Purchasing Source List 
    EQUK    - Quota File: Header 
    EQUP     - Quota File: Item 
    T024      - Purchasing Groups 
    T024E    - Purchasing Organizations 
    T024W   - Valid Purchasing Organizations for Plant 
    T024Z    - Purchasing Organizations 
    T027A    - Shipping Instructions, Purchasing

  • Smart forms print control pop box (no required) when run report

    Dear All Expert Guru,
             how to control printing pop box when execute transaction code ,Report are make in smart form format
             because while run our report then come printing pop box  select out put device the will come report
                                             . but our user required no should be come printing pop box they are required when run report direct come report
       Pls help me any one.
    Thanks & Regars.
    Sudhir Srivsatava

    Hi,
       Pass the parameter no_dialog = 'X' while calling the smartform.
    data: wa_ctrlop type ssfctrlop.
       wa_ctrlop-no_dialog = 'X'.
    CALL FUNCTION fm_name
      EXPORTING
    *   ARCHIVE_INDEX              = ARCHIVE_INDEX
    *   ARCHIVE_INDEX_TAB          = ARCHIVE_INDEX_TAB
    *   ARCHIVE_PARAMETERS         = ARCHIVE_PARAMETERS
        CONTROL_PARAMETERS         =  wa_ctrlop
    *   MAIL_APPL_OBJ              = MAIL_APPL_OBJ
    *   MAIL_RECIPIENT             = MAIL_RECIPIENT
    *   MAIL_SENDER                = MAIL_SENDER
    *    OUTPUT_OPTIONS             = OUTPUT_OPTIONS
    *    USER_SETTINGS              = 'X'
    * IMPORTING
    *   DOCUMENT_OUTPUT_INFO       = DOCUMENT_OUTPUT_INFO
    *   JOB_OUTPUT_INFO            = JOB_OUTPUT_INFO
    *   JOB_OUTPUT_OPTIONS         = JOB_OUTPUT_OPTIONS
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    Regards,
    Srini.

  • Help required: Bill of lading smart form

    Dear All,
    My requirement is to display the following fields for bill of lading
    1. Number of packages
    2. Package type
    3. SKU
    4. Description of articles
    5. Qty per package
    6. Total Quantity
    7. UoI
    The print program iam considering is RVADTR01.
    Does the table XVBPLS serve my purpose?
    Thanks.

    hi
    chk the links below .. should help u out..
    http://www.sap-img.com/smartforms/search-for-standard-or-customise-smartform.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    http://www.sap-img.com/smartforms/internal-table-in-smartform.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    Reward if Useful
    Thanx & Regards
    Naren....

  • What development/configuration is required to use smart forms?

    Hi All,
    My Question is,
    What Development/configuration is required to use smart forms to implement
    electronic workflow with ESS/MSS?

    Dear Prabhakar,
       Smartforms is exactly the same in ESS too. U just develop it and later just need to attach it to ESS.
    Regards,
    Deva.

  • Use of NACE after creating print program n smart form

    Wat's d purpose of NACE?I hav created my own print program n smart form according to my own requirement.If NACE is necessary 4 my smart from.How can i use NACE i mean navigation steps.
    Please help me out.Its urgent.
    Thanks & Regards,
    Santhosh.

    Hi Santhosh,
    Nace is for message control settings. Say if u want to trigger a Smartform or an Idoc or any other customized program u can do the message control settings.
    Say at the time of Sales Order creation or updation u want to trigger a Smartform, then u have to follow the following steps:
    Goto NACE
    Select application V1 and then click Output Type.
    create a new Output type or copy the existing one abd save it with new name
    then in Processing Routine Mention the driver program name and in Form routine mention the main subroutine name.
    In Smartform mention your SMartform name and also the layout if u have ceated.
    Again go to NACE and Select application V1 and press Procedures.
    here out of the many procedures u have to select the right one and attach your Output Type to it.
    You can also create a condition record..Say if u want to trigger this Smartforms for Sales Order of particular type.
    Hope this helps.
    Reward Points if useful.
    Thanks.

  • Print Terms and conditions on Back side in Smart Forms

    Hi All,
    How can we print Terms and conditions on back side of last page. we are using SAP Smart Forms to print Packing Slips now we need to print the terms and conditions on back side of last page. who can we do this ... ?
    I have created 2 pages first page and Last page i have selected last page as  next page for First page and  vice vis and selected duplex printing for first page print option.
    Now the problem is the terms and conditions are printed on all the pages but not on the last page. for example if i have 5 pages then all the 4  pages are printed on front and back but the last page(5) is printed only on the front side but not on the back and if we print only 1 page then only front page is printed and no back side is printed.
    please let me know what else need to be done in order to print the terms and conditions on the back side of last page.
    Thanks,
    Praveen Chindam.

    Hi,
    There is quite a simple solution. We have exactly the same requirements for our invoices.
    Create 3 pages in the Smartforms, e.g. FRONT, BACK and LAST.
    FRONT has print mode "D" (duplex) and next page "BACK"
    BACK has print mode " " (unchanged) and next page "FRONT"
    LAST has print mode " " (unchanged) and next page " " (blank)
    BACK and LAST are identical apart from that, and do not have a MAIN window - they just contain the T&C in a secondary window.
    At the very end of the MAIN window on the page FRONT, insert the command NEW PAGE <LAST>.
    This will give you a print out that is
    FRONT, BACK, FRONT, BACK,....FRONT, BACK, FRONT, LAST.

  • Print Charts/Graphs on Smart Forms

    Hi Seniors,
    Here is a requirement on Smart Forms:
    I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even  tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
    In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
    with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
    I have tried executing transaction GRAL(demo reports for SAP graphics) too.
    I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
    I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
    Thanks in Advance,
    Chaitanya.

    Dear Bouman,
    Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
    Regards,
    Chaitanya.C.N

  • Calling a Smart Form on Click of a Table Row..

    Hi All,
    I have one requirement.
    I have developed one applicaiton, in which from R3, the values are coming in form of a table. Now, on Click of a Table row, it should call a smart form developed in R3 for that selected row attribute. Also the smart form should open in a new window, so that user can take a print of it.
    How to add this new view and how to get the selected Row value ?
    Please help me.

    Hi,
    To open the new window, I have added blow code:
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("InfoPopup");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
    window.open();
    but, getting error message as : IWDWindowInfo cannot be resolved
    what should be the import parameter? Also please tell me how to search for the Import parameters for the respected attribute/code?
    Please help.

  • Print preview of smart form

    Hi all,
    how to view the print preview of a smart form and how to debug the smart form
    Thank You

    SMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
    For debussing -
    1. write BREAK POINT in the code window.
    2. Put a break point on the call function in the driver program
    3. put a brak point in the generated Function module.
    Refer this link too -
    Re: smartforms
    Regards,
    Amit

  • How to print BAR CODE in SAP SMART FORMS

    Hi,
    I want to print inspection lot's BAR CODE in the smart form, but i dont know the way how to print this into the smartform.
    if anyone have any idea, please suggest me how to print this as it is urgent for me to complete the object.
    Thanks in advance.
    Best Regards,
    Abnish Jain

    Hello Abnish,
    Welcome to SDN.
    We are able to print barcodes from smartforms. Doing this way, we print barcodes on laser printers.
    We are also printing from sap to zebra printers using two ways:
    1. Download the data to an excel sheet, then creating a macro that opens the printer port and sending the commands to the printer through this "file". All this is done via vb script provided with excel)..
    2. The second way is creating a vbscript (an ascii file from sap) with the printer commands and then runing it using ws_execute.
    You need a barcode reader to read the barcodes, and this scanner acts like a keyboard, it sends the data scanned to the active field on screen. (which might be a notepad, word, excel or an input field or ... ).
    From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a smartstyle -> character format with the desired barcode font (defined within sap). Then in the smartform, create a window, put the field and associate it the character format. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way.
    3. If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
    To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
    We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards
    Naren

  • How to print BAR code in SMART Form

    Hi All,
    I have the requirement to print BAR CODE in Smartforms.
    For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
    Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
    If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
    PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
    Thanks
    Piyush Mathur

    Hi,
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    reward if useful
    regards,
    ANJI

  • How to draw vertical lines in SMART FORMS

    Hi Guys,
    Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
    thanks,
    Ramesh

    Hi Ramesh,
    In the window output options you have option of check box to get lines.
    Then you need to give the spacing for vertical and horizontal.
    Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
    Put the cursor on the WINDOW in which the lines you want.
    Right click on it>create>complex section.
    In that select the TEMPLATE radio button.
    Goto TAB TEMPLATE.
    Name: give some name of line.
    From: From coloumn.
    To: To coloumn
    Height: specify the height of the line.
    Next give the coloumn widths.
    Like this you can draw the vertical and horzontal lines.
    If the above option doesnot workout then u can try the below option also
    any how you can draw vertical and horizontal lines using Template and Table.
    for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
    For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
    if this helps, reward with points.
    Regards,
    Naveen

  • How to display pie chart in smart forms

    hii experts,
                      my requirement is to display pi chart in smart forms . i have  googled but could not get any meaning full results. If any one knows this pls share ..
    Thanks and Regards
    Aditya Shrivastava

    Hi
    I really doubt If you did search at all in the first place. Anyhow, check this:
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
    Vishwa.

Maybe you are looking for

  • Multi-track view option to save selection of mulitple tracks

    Hi,  I'm not sure if there is another way of doing what I am doing but if there is please tell me!  ... If theres not then this should be a valid enhancement request for a future release ... This is what I am currently doing to create samples:  Worki

  • Just ordered a new macbook pro

    I am excited about receiving my new Macbook Pro next week. I have never owned one but has been working with one at my church, which is the main reason why I got it. We are going to be running Final Cut Studio 2. One of my friends told me that I may n

  • Script debug

    Hi All, theres one script i need to debug.By activating the debugger in script and executing the driver program i am unable to see anything.In start form theres no where mentioned the form name and there is a output type for both program and layout.T

  • Migration from MS SQL to Oracle

    We have developed our application with VB.net and MS SQL server (that is also loaded with a big number of stored procedures), the application is also using Web services and xml and other technologies. Currently my issue is, that many of our potential

  • Urgent Issue ALE settings in Quality

    Hi I have done entries in BD51 in WE57  in developement . when i transported idoc related stuff this settings is not reflecting in quality. kindly help regards