Good morning all of you, regarding table of

smartforms?
I have added a table for my smartform project and got the print preview of the table elements, data.
However I do not know how to do calculations on smartforms?
I want two fields to give a result and print also that.
What can be do more than just viewving the data?
Thanks all of you.
Deniz.

Hi
Create PROGRAM lines and write the code for adding the 2 variables
see the doc related to smartforms creation and links
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
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
GS_MKPF = INT_MKPF
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.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Reward points if useful
Regards
Anji

Similar Messages

  • HT4061 Good morning All ......... Right here we go I dropped my iPhone 4S from a top storey flat yesterday and as you can Imagine its in pieces, Are you now I'm on the phone and more importantly how do I get them to my iPod because I'm not sure were

    Good morning all.... I need help with my iPhone 4S,, like I say I dropped it yesterday and its in pieces cos dropped from a high,,, well the problem I got is I really need my photos of it if possible could do with msg and contacts also... I believe aim signed up with iCloud but I have tried for over an hour now trynna log in and sort the issue but just doesn't seem to do owt,,, the reason behind why I am struggling is I only own an ipad 4 retina and do not own a laptop or computer... Could someone please help me as I have photos on that phone what are just priceless and Neva get them again....
    Much appreciate a quick response as am going outta my mind here lol
    Anyway thanks a lot
    Danny from Sheffield

    Because GPS has nothing to do with WiFi, cellular signals, or data of any sort. GPS is implemented by signals sent by satellites that are received by GPS receivers. The receivers process the information from the GPS satellites and calculate your location. GPS never sends data anywhere; GPS functionality is receive only.
    If you have WiFi or cellular data turned on this can improve the accuracy of GPS, because the GPS receiver can then use the known location of cell towers and WiFi networks to refine the GPS location. GPS by itself has an accuracy of 10 meters, or about 34 feet. Using the additional information from WiFi and cellular data this can be brought down to 3 meters (10 feet). This mode is called Augmented GPS, or A-GPS.

  • Good morning to all of you I have A mac and I did the mistake of upgrading my Lightroom 5.4 to 5.6 Now I can't import anything it says "Could not find namespace: AgCreativeCloudUtils" Could anyone help me resolve this problem?  Should I uninstall the prog

    Good morning to all of you
    I have A mac and I did the mistake of upgrading my Lightroom 5.4 to 5.6 Now I can't import anything it says "Could not find namespace: AgCreativeCloudUtils"
    Could anyone help me resolve this problem?
    Should I uninstall the program and reinstall it
    Thank you so much

    I asked because an awful lot of people have recently been confused between downloading the Cloud and the perpetual versions of Lr - although I'm not automatically assuming your'e guilty of this - and can't understand why their serial no won't unlock their new software.
    If the wrong version has been installed, then it must be uninstalled and the right one downloaded.

  • Regarding table VBEPDG- Dangerous goods

    Hi Friends.
    I need help regarding table VBEPDG.
    Can anybody tell me how entries are made in table VBEPDG? Whether its configuration table or master data table?
    In my purchase order an item has been wrongly marked as dangerous material,
    and this is leading to table VBEPDG.
    Thanks in advance.

    Dear Saketpanse,
    the table VBEPDG contains the schedule line data for the dangerous goods. If the material is not dangerous then the entry should not be created. Probably the material initially was classified as a dengerous one and is currently changed to the non-dangerous. Am I correct ?
    In this case the entry in VBEPDG will remain because during creation of the order the material was dangerous. Quite generally, SAP does not recommend to change Customizing or Master Data in the Life-system. It can cause many inconsistencies. The correct way to do such a change would be to reject all sales documents which could be affected by such a change, then do the change and then create the sales documents again. It is for the future.
    Concerning the current inconsistency. The correct way would be: to indicate the material temporary as a dangerous one again, then delete the sales order item, and then to indicate the material as a non-dangerous one and create the item again. If you have already subsequent documents, then you can only reject the item. Then the VBEPDG entry will remain, but will not disturb you anymore. Alternatively, you can write a simple ABAP report, which deletes the VBEPDG entry.
    I hope, that this information will help you a little bit further.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • Found 0 results for Good Morning, I'm all for updates and maintaining, but I'm upset that Googletooolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Good Morning, I'm all for updates and maintaining, but I'm upset that Googletoolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Hi userwhat,
    Your personal data should have been saved, and you can try to follow these steps to fix your problem.
    *First, you should report that to the developer of the add-on the troubles that you are experiencing.
    * Then, you can try [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ The Add-on Compatibility Reporter], which allows you to use add-ons that haven't yet been explicitly updated to work with Firefox 5, and lets you report the results of compatibility.
    * For add-ons that do not work with The Add-on Compatibility Reporter, you can still downgrade to the previously maintained version, which is Firefox 3.6 that you can download here: [http://www.mozilla.com/en-US/firefox/all-older.html http://www.mozilla.com/en-US/firefox/all-older.html]

  • Good Morning, I'm all for updates and maintaining, but I'm upset that Googletooolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Good Morning, I'm all for updates and maintaining, but I'm upset that Googletoolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Hi userwhat,
    Your personal data should have been saved, and you can try to follow these steps to fix your problem.
    *First, you should report that to the developer of the add-on the troubles that you are experiencing.
    * Then, you can try [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ The Add-on Compatibility Reporter], which allows you to use add-ons that haven't yet been explicitly updated to work with Firefox 5, and lets you report the results of compatibility.
    * For add-ons that do not work with The Add-on Compatibility Reporter, you can still downgrade to the previously maintained version, which is Firefox 3.6 that you can download here: [http://www.mozilla.com/en-US/firefox/all-older.html http://www.mozilla.com/en-US/firefox/all-older.html]

  • HT5517 good morning my macbook pro it's not showing me Airplay, can you help

    Good morning my mac it's not showing airplay, can you help me

    Resposnes can only be as helpful as the details provided, and none were given here.  What is not showing AirPlay?  Did you enable AirPlay on all thedvices invovled?  What have you tried to use AirPlay? Was it working before?

  • TS1292 Good morning I received a 25$ itunes card as a gift yesterday, I know it was bought in the target located in 10880 Olson Dr on friday November 30th, but it says that the card has not been activated, currently I dont have the receipt can you please

    Good morning I received a 25$ itunes card as a gift yesterday, I know it was bought in the target located in 10880 Olson Dr on friday November 30th, but it says that the card has not been activated, currently I dont have the receipt can you please help me

    Normally what you should do is go back the retailer from whom you purchased the card and discuss the problem with them. They should either correctly activate the card or give you a new one. Since you have no receipt, though, it's unlikely that Target will help you, so go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Please note that everyone here is just a felllow user, so you should post no personal information as it will quickly become public.
    Regards.

  • HT4759 And a GOOD Morning from Western KY at below freezing weather:) Here's my ?. My grandkids now have our extra iP4/iPad4 and now am Needing to have them put in my apple id/pswd. To have ALL in iCloud to Sync/same apps, and have apps of choice on their

    New to the 'Community' Posting.... It tells me now that I've not posted a msg... but I did at the beginning:
    and then had to JOIN to do so...
    Here it is again....
    And a GOOD Morning from Western KY at below freezing weather:)
    Here's my ?. My husband passed away, and his iP4 & iPad3 are now being used by our granddaughters here.
    I do not want to have to RE purchase apps that are on my iP5 & iPad4 so they can have on his. AND...
    I do not know how to get his AppleID, password, changed to mine, so ALL apps can be on ALL if choose.
    HELP? And Thanks ever so much...
    Am also considering having ALL in iCloud. But not sure how I feel about it being ALL out there 'Somewhere! :/
    Have a Blessed Morning

    You can't do exactly what you want, but you can sync your own email, calendars contacts etc etc but both still have access to the same iTunes account.
    Firstly the Account for the iTunes store can be different than the one you use for data syncing, so in that sense you will be able to keep your information private as you want.
    You can also of course each have your own iTunes store account which would mean you use your own money to purchase music, video, books, apps etc etc, however you can not then both use each others content (you can homeshare music) and at least one of you want have any access to any purchases made before the split.
    You might consider an Apple ID each for iCloud sync services, but make the best of the situation with iTunes content.

  • Hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    That's exactly how it's going to work. Unless you've set up separate iTunes playlists for your devices, the books will be deposited the books section on iTunes, and will appear as PDFs.
    As Gus2259 said, you can use iCloud or Dropbox, or transport it through iTunes via an attached computer, or even use a cable.

  • HT204146 Good morning.  I just purchased Imatch but cannot download my music from an iphone 5 to IMatch in Icloud.  Can you help me with this?

    Good morning.  I just purchased Imatch but cannot download my music from an iphone 5 to IMatch in Icloud.  Can you help me with this?

    Hi
    Has iTunes completed its scan of your iTunes library on your computer Subscribing to iTunes from an iOS device.
    Jim

  • Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for retu

    Good morning a few weeks ago  I send the request for the replacement program of my ipod nano 1st generation and they sent me the shipping box but I did not get the label to go back,  and I can not  return it , i need to you sent me again the box for return the ipod

    Best thing would be to call Apple up again, and let them what has happened and they'll help you!

  • HT4061 good morning! I just did a software update on my phone (finally) last night and now my phone will not come on.  All it keeps showing is the charger pointing up to a blue circle with iTunes inside and will not go any further.  Can ANYone please expl

    Good Morning,
    I just did a software update on my phone (finally) last night and now my phone will not come on.  It keeps showing the charger pointing up to a blue circle with iTunes inside and will not go any further.  Can ANYONE help me please???

    The phone is in restore mode and the picture is telling you what to do. Connect the phone, by cable, to iTunes in the computer you normally use for syncing, and retore the phone.

  • Good morning i already bought the converter pdf to word ,why you guys charged again

    hello Good morning i already bought the converter pdf to word ,why you guys charged again@

    I suggest that you Contact Customer Care - click on the Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

  • Good morning There is a stop at the camera Please help me When you turn on the camera Shut down automatically

    Good morning There is a stop at the camera Please help me When you turn on the camera Shut down automatically
    I'm in iraq

    Adobe Reader is free. It always has been.
    You have obviously downloaded and installed Acrobat (30 day trial version) and the trial period has expired.
    You need to uninstall Acrobat (using the Control Panel and Add/Remove Programs or Programs and Features [Vista/7])
    Then run the Windows Installer Cleanup Utility http://support.microsoft.com/kb/290301
    to completely remove the Acrobat installer files.
    Then download Reader 9, install it, and go about reading PDFs for free.
    EDIT: Please, please please.... do NOT post a phone number in the forums.
    You're inviting trouble if you do.
    Not everyone who reads these pages is here to help fellow Adobe product users.
    Message was edited by: Mac+Win=Me

Maybe you are looking for

  • HP Photosmart CQ521B printer offline

    Hi, I got a HP CQ521B Photosmart printer a few months ago, It saddens me to say that it was not that easy to get it connected to the wireless and I like to consider myself as computer savy. Anyhow I did manage to connect it and it worked fine, for ab

  • AEBS help needed with basics..

    Hi Guys I am thinking of buying an AEBS and have a few questions. I have been reading through these forums trying to find an answer for my questions but they seem a little confusing. I know this has been asked before but know one seems to be able to

  • Report to display current leave entitlement

    Hi, I am using report RPTQTA10 to display absence quota. For current year and for a quota type, I expected the report will show projected quota based on current anniversary for an employee. But the report shows past and accrued quotas? It shows quota

  • Folders and documents on desktop

    when i was in 10.3.9 the items on my desk top were neatly lined up in two columns on the right of my desk top with the icons in the columns about 4 cms apart. moving to 10.4 has made them about 8 cms apart. how can i get them close together again? an

  • JDBC Transaction - Exception management

    Does anybody know how to catch ALL the SQL errors that could appear in a transaction composed for instance of 10 insert ?