Invoice smart form

in my invoice i have to get the address for 'ship-to-party','sold-to-party'  based on vbrk-vbeln. i clicked F1 on 'ship-to-party'&'sold-to-party'  for tables&field names in VA02 screen.
'sold-to-party'  -KUAGV-KUNNR
'ship-to-party'-KUWEV-KUNNR.but  KUAGV&KUWEV are structures.how to write 'select' statements for this based on VBAK-VBELN or VBRK-VBELN.how to use address node for this?please give solution.

Hi Srinivas,
      I have some idea .plz see wheather it is useful
First from vbak based on vbeln select kunnr(customer number).
and from kna1 based on kunnr select ADRNR(address number) and LAND1 (country key).
select land(country) from t005 based on country key.
Now in address node give adrnr in address umber field. and country name in selected country field.
Reward points if helpful
Thanks,
Suma.

Similar Messages

  • Decimal conversion of Sales Tax in 'SPARE PARTS SALE INVOICE' ( smart form)

    Hello,
    I am displaying a the value of the Sales Taxc in 'SPARE PARTS SALE INVOICE'. (in Smart Form)
    The field(which holds the Sales Tax value is 'KWERT' -LBBIL_INVOICE-IT_KOND ), with datatype 'CURR', reference table 'KOMK' and reference field 'WAERK'.
    In my smart form,i have declared a variable 'SALES_VALUE' of datatype 'KWERT' and reference field 'IT_PRICE-WAERK' (LBBIL_INVOICE-IT_PRICE), where 'WAERK' is the SD document currency.
    Now when i display the field 'SALES_VALUE' i get 735.00 , whereas the original value in the field is 73.5
    how to correct this and where am i wrong ?
    Thankyou for yur time and really appreciate the help.
    Shehryar

    You are using currency fields that reference a currency code. Most currencies in SAP have two decimal places. Dividing by 100 will work in most cases. Ideally you should get the CURRDEC value in table TCURX for the currency you are working with... then divide by 10 that number of times.
    example-
    USD, 2 decimals, divide by 10 twice.
    There is a function module that will do this for you. Can't think of the name...???

  • Delivery *** invoice smart form

    Dear experts,
    I have created a form for Delivery *** invoice.When I am running the smart form it generated the function module succesfully and after entering the out out device as LP01 and running it.It is giving the exception message as Reference field wa_header-brgew unknown in form.
    I have defined the brgew fiield in ty_vbrp.
    and assigned dat wa_header-brgew to header text.
    Can u suggest me what may be the problem?
    Regards,
    Farook.
    Edited by: farook shaik on Oct 16, 2008 9:54 AM

    Hi,
    Please debug the programe, Place break-point where brgew is filled.
    Regards
    Jana

  • Change std invoice smart form?

    hi experts,
    how to change standard invoice, can u explain in details?

    Modifying SAP Forms
    If you want to modify SAP forms, set up your development environment as follows:
    Make sure that no SAP-standard forms are stored as client-specific copies in your development client.
    Such forms should be held only in client 000, the SAP development and installation client. If you access an SAP-standard form from another client, then the central copy in client 000 is used.
    If you need to remove SAP-standard objects from your development client, see Notes 10388 and 3355 in the SAP Online Service System (OSS). These notes explain the procedure for saving modified forms and then deleting all forms.
    To modify SAP standard forms,
    – Copy the forms you need from client 000 to your development client.
    – Rename the forms using a name from the customer name reserve (names starting with Y or Z).
    – Copy the forms to one of your own Y or Z development classes.
    Renaming the SAP standard object makes it possible to manage and transport your changes with the SAP workbench organizer. The organizer is not activated for SAP-standard objects that are modified in clients other than 000.
    To put your modifications into effect, you must also modify the ABAP print program used to print documents that use this form. You should rename such print programs and store them in your own Y or Z development classes.
    You can use the SAP Customizing System to replace the SAP print program with your modified print program in the affected applications.
    Forms: Concepts
    Forms are used to control the page layout and also the text formatting in your documents. Before formatting a document for output to the screen or to a printer, you must assign a form to it. If you do not specify a form for a document, then the SYSTEM form is assigned to the document by default.
    Application-specific forms are used in SAP applications to specify the page layout for such special documents as invoice or checks. These forms specify the structure of the information on the page(s) of such a document. They define, for example, the address header, item lines, the footer, and so on.
    There are two ways to format texts with forms:
    In the standard SAPscript text processing (Tools ® Word processing ® Standard text), you can select a form for a document. You can then type text into the main window of the form and output the document in the format defined in the form.
    For example, you can select a form for a letter. You can then type the body text of the letter in the main window. When you print the letter, the default text elements in the other windows of the form (heading, footer, and so on) are printed with the body text.
    A document can be generated by a print program in one of the SAP applications. The print program uses a form to generate the document. Most correspondence and document generation in the SAP System are handled by way of print programs.
    A print program selects the text elements that are to be printed in the windows of a form. It may also collect information from the user or ask the user to input text directly, as in some correspondence functions. The print program may also provide data for variables defined in the form.
    Finally, the print program uses the form to format the document for display or printing.
    Check this link...
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/802d7d454211d189710000e8322d00/frameset.htm
    Reward Points if useful.

  • How can i convert  my invoice which is in smart forms to xml file

    how can i convert  my invoice which is in smart forms to xml file.

    Hi Anil,
    Please go through this link:
    1. XSF stands for XML for Smart Forms. It is important to contrast XSF with .... The eDocx script engine can provide a script to convert the file format to an 
    http://www.ossincorp.com/Black_Box/Black_Box_4.htm
    please rewrds if found helpful.
    Regards,
    Alok

  • Smart form for Excise Invoice Printing

    Hi experts,
    I am supposed to convert Standard sap script for excise invoice printing (Driver program name-J_1IEXCP) into smart form. I will be thankful if somebody will provide me standard smart form or oss no available for the same.
    Regards,
    Sanjay.

    Hi
    Welcome to SDN Community
    Have u converted the script to smartform ????
    If No Then follow this procedure
    In smartform Utilities --> Migrate SAP Script Name --> Give your scriptname and below give your Z smartform name and then migrate it
    Regards
    Pavan

  • Smart form for a invoice

    Dear All,
    We have designed a smart form for printing of excise invoice. The invoice is in two pages. The second page printing is not aligned and starts immediately after the finish of the 1st page.
    There is no buffer place between two pages.
    How can we provide a buffer between two pages so as to print the 2nd page in alignment with the pre printed stationary and the first page?
    Regards.
    Milind Dugade

    It very dificult to give you guidance w/o seeing your smartform config. page format. If you are using custom page format or standard page format. Have define next page properly or not. What are line count in first page etc etc.

  • Smart form for commercial invoice

    hi ,
    i have to develop a smart form for commercial invoice for argentina in spanish language only.
    is there any standard smartform in SAP which i can use as a reference for this.
    or any help regarding this you can tell.
    any help is appreciated.

    Hello Amit,
    you search RVINVOICE in sap script.
    goto SMARTFORMS> Utilities>Migrate SAP Script.
    and select your own lang EN and make ur Invoice...make changes as per client requirement.
    and then convert to Ur required language.
    regards,
    Sujeet

  • Smart Form for invoice list?

    Hello,
    Has anyone experience with Smart Forms based on a invoice list (transaction VF23). I have been testing with the Smart Form for a single invoice (LB_BIL_INVOICE and program RLB_INVOICE) but get the impression that this cannot be used for the invoice list. My environment is a SAP R/3 Enterprise.
    Kind regards,
    Olaf Pohlmann

    HI,
    TRY F_INTITAR_SF.
    Regards,
    Gayathri

  • Smart Form: Invoice list

    Hello everybody!
    Does a smart form exist which is designed for invoice lists?
    Or exists only the Smart Form and the print program and function module which selects the required data for normal invoices???
    Greetings
    Mark

    Hi!
    Yes I know all what you write. But RLB_INVOICE cannot be used for invoice lists and now I have only the question if there exists also a standard print program and smart form for invoice lists as it exists for SapScript Forms.
    Preconfigured SmartForms don´t contain invoice lists they contain only normal invoices..
    Greetings
    Mark

  • Smart form - Sales invoice

    Hi all
    i have to develop a Sales Invoice in smart forms, is there any standard sap smart form available which I can use.
    regards
    AJ

    Hello AJ,
    SAP Standard smartform invoices
    SF_LB_INVOICE

  • Download Smart form data for 6000 Invoice documents into Excel

    Hi,
    Using RSNAST000 program currently we are printing samrtform.
    Instead of printing data in smartform i need to write into excel.
    Please let me know the logic to do this i need to write 6000 smartforms(Invoice documents) data into Excel.
    Thanks
    Bhuvana

    Ask him how he thinks smart forms can be embedded in Excel, and why he wants Excel (for which benefit, for using which functions of Excel?). He has an idea, for sure.
    Technical possibilities of Excel to embed graphical documents are very limited, I mean 2 solutions: either storing the whole document as an image (rather easy), or split the document into pieces of text (into cells) and boxes and images (stored as Excel graphical elements) with a rather bad render (highly complex, I mean unfeasible).
    - If his idea is to embed them as images (PDFs), then show him the result : 50 kb to 500 kb for each smart form = excel of several mega bytes. He will certainly regret. Moreover I don't see the interest.
    On the other way, propose him to store smart forms in a single spool, so he will be able to display (it's then equivalent to preview) all of them at the same time. He'll surely agree that it's the most efficient way.
    Propose him proofs of concepts.

  • What is the diff b/w Sap Scripts and Smart Forms

    Hi,
          Whats the diff b/w SAP Scripts and Smart Forms..
             I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st  and SIMILARLY FOR SMARTFORMS WHETHER FM'S  R FORMS.
    Thanks & Regards,
    Gopi.

    Hi
    Difference with SMARTFORMS vs. SapScript(SE71)
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
    It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    check out this link:
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Reward points if helpful.
    Regards,
    Swathi.

  • 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.

  • How to use Multiple Logos in One Smart Form?

    All,
    I have a client where they will have 2 logos for, e.g. "Invoicing" and want the form to decide which logo to print (based on plant code).
    We are using Smartforms.
    They want to use one form and based on the plant code - the form should determine which logo to print in the upper left corner of the invoice - how do you do this?
    This is not like having text to print on the form in the same place - my understanding is the logo is NOT some variable you can "clear" in the program and then use the logo you wish to show up on the printout.
    Does this have something to do with using multiple layouts within the same form?  You define a layout for each logo and then within the Smartform logic determine which layout to print?  And if that is true - does someone have sample code of how they determined which layout to use?
    Thanks - and as always - points rewarded where helpfull!
    Scott

    Hi Scott,
    Create two Graphics in Smartform window & place them wherver you want in the smart form.
    Now in Graphics node, you can find  'Conditions' tab, under this you can give the conditions.
    Hope this clue wil help you
    Regards,
    Sujatha

Maybe you are looking for

  • 4k Attachments fail in compoze forum with oracle

    Hi! We are using the compoze forum application that comes with Weblogic-8.1.2 in our portal. It works fine with pointbase, but when we it with oracle as database the attachments don't work properly. One can post and read attachments that are smaller

  • Reading a mat (MATLAB) file

    Hello, does anyone has an example in CVI or any pointers on how to read a .mat file? Thanks, Greg

  • Exception while starting baseline_update.bat?

    {dgidx,baseline} Fatal error at file , line 0, char 0; Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\Endeca\apps\crs1\data\forge_output\\crs1.dimensions.xml

  • Why does iCloud calendar show up askewed on Firefox?

    https://www.icloud.com/#calendar Please check out the link. Why does the calender show up incorrectly.

  • Screen rotation not working since last update

    I have had my galaxy s4 for almost a month and love it, but it recently had a software update and ever since the screen rotation is not working. The camera is always upside down. Occasionally if the screen rotates to landscape, it won't rotate back t