Get looped SMARTFORMs Graphic via WD

Hi Experts,
i want to get a looped graphic (table containing a text has been constructed in Smartforms) in the PDF.
the table  will be filled with a text( 10 till 1000 words) in a textedit UI-elemt( dynamic textedit with type TLINE). so each time the user click on 'write text' Button, a new textedit appears and the user can write his text there. in the end if the user have wrote 10 times texts in textedit UI-element( means 10 textedit UI-element will appear in Portal) this should also in  the PDF appears.
the coding is following, but i dont know where i have to make changes or where shall make loop?
i hope that everything is clear for you ,
DATA: fm_name TYPE rs38l_fnam,                
        ls_contp TYPE ssfctrlop,       
        ls_output  TYPE ssfcompop,         
        ls_output_data TYPE ssfcrescl,         
        tab_otf_final TYPE TABLE OF itcoo.
  DATA :  bin_filesize  TYPE i,
          bin_file      TYPE xstring,
          pdf_tab       TYPE TABLE OF tline.
Set the output parameters
  ls_output_options-tdprinter = 'PDF1'.
set control parameters to get the output format (OTF) from Smart Forms
  ls_contp-no_dialog = 'X'.
  ls_contp-getotf = 'X'.
  ls_contp-preview = 'X'.
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
  formname = 'Z_TAD_PAP'
VARIANT = ' '
DIRECT_CALL = ' '
  IMPORTING
  fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
  CALL FUNCTION fm_name
    EXPORTING
      control_parameters = ls_control_parameters
      output_options     = ls_output
      user_settings      = space
    IMPORTING
      job_output_info    = ls_output_data
    TABLES
      z_tad_pap_data     = lt_table  (this table is containing my data )
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.
tab_otf_final[] = ls_output_data-otfdata[].
" Convert OTF data into PDF data
  CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
      format                = 'PDF'
      max_linewidth         = 132
    IMPORTING
      bin_filesize          = bin_filesize
      bin_file              = bin_file
    TABLES
      otf                   = tab_otf_final
      lines                 = pdf_tab
    EXCEPTIONS
      err_max_linewidth     = 1
      err_format            = 2
      err_conv_not_possible = 3
      err_bad_otf           = 4
      OTHERS                = 5.
cl_wd_runtime_services=>attach_file_to_response(
i_filename      = 'mail.pdf'
i_content       =  bin_file
i_mime_type   =   '/Desktop').
thank you for help

hi Kowluri,
sorry that i didnt answer you so quik, i was busy with other stuff.
well, what i am looking for, is how to fill my table in SMATRFORMS from WD, i already have an internal Table that contains the data, (this table contains only the data for one textedit UI-elements).
the problem is , this component (table) in smartforms , should be called more than one time ( the same component) . if the user have wrote 2 or 3  or 4 texts ( each textedit UI-elemet contains a text in the Portal),  all of those texts should be displayed on the PDF , and this component(table) in SMARTFORMS should be called each time for each text.
i hope that everything is clear, if not , i will explain more
Best Regards
Natel

Similar Messages

  • My Ipad2 won't turn off.  I've tried the reset method,  holding both buttons down for at least 10 seconds, but this doesn't work. I'm on version 5.1.1 and all other functions work except that I cannot get onto the internet via wi-fi either.  Help ??

    My Ipad2 won't turn off.  I have tried the reset method by holding both buttons down for at least 10 seconds, but this doesn't work.  I can't get onto the internet via wi-fi either (don't have a 3G card fitted).  All other functions seem to be working OK including charging. Not had this problem before, but I recently upgraded software to 5.1.1 so is there a bug in there somewhere?

    Look at last link.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130?tstart=60
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • I just bought the BDP-S1500 yesterday and can not get it to work via wireless

    I just bought the BDP-S1500 yesterday and can not get it to work via wireless????

    Hi BigDaddy317,
    Please the link below for further assistance in connecting your wireless device to the internet.
    https://us.en.kb.sony.com/app/answers/detail/a_id/33377/p/47329,47564,95482/c/65,66/kw/internet
    https://us.en.kb.sony.com/app/answers/detail/a_id/35983/p/47329%2C47564%2C95482/c/65%2C66/kw/internet
    Please let us know if you're getting the same result or the error messages that you see.
    Thanks,
    >Joffrey
    If my post answers your question, please mark it as "Accept as Solution"

  • Why am I getting frequent spam emails via iPad that are not coming through my primary email account?  And how do I get them to stop?

    Why am I getting frequent spam emails via iPad that are not coming through my primary email account?  And how do I get them to stop? 

    Hi D.,
    Unfortunately phishing is far too common these days. The articles below will help you determine the authenticity of the emails that you received.
    Identifying fraudulent "phishing" email
    http://support.apple.com/kb/ht4933
    Identifying legitimate emails from the iTunes Store
    http://support.apple.com/kb/ht2075
    -Jason

  • I am confused about Icloud. I have a 5 year old Macbook, a 2 year old macbook and a 5 year old mac mini. What exactly do I need to do to get all this connected via Icloud. I also have an Iphone 3G. Help please!

    I am confused about Icloud. I have a 5 year old Macbook, a 2 year old macbook and a 5 year old mac mini. What exactly do I need to do to get all this connected via Icloud. I also have an Iphone 3G. Help please! Also, I still don't understand exactly what the benefits are. At the moment it seems a lot of hassle to change a system that's been working perfectly well and that I'm very happy with. I'm not at all sure whether the mac mini (1.66 GHz INtel Core Duo) can be brought up to the relevant spec to run ICloud.  Any thoughts?

    There are two aspects to iCloud.  One is simply getting an account, or migrating a mobileme account to iCloud.  The second part is using the various features of iCloud to sync contacts, calendars, use music match or photo sharing, and store iWorks documents.
    First to get an iCloud account:
    If you have a mobileme account, you can migrate by simply logging onto www.icloud.com (ignore any references to Lion and just click through to complete the migration).  If you have OS X Lion or an iOS 5 mobile device, you can create an iCloud account on that device using any valid AppleID.
    Once you have an account, you can use JUST the mail account if you wishi - it is a standard IMAP account so you would set it up like any other IMAP email account you have, in whatever client program you use to read email.
    To use the OTHER feautes of iCloud, your computers will have to be running OS X Lion (10.7).  Your iPhone 3G will never be able to use iCloud as it cannot run iOS 5 (you need a min. of an iPhone 3GS to run iOS 5).
    The requirements for OS X Lion are here - http://www.apple.com/macosx/specs.html  You need a min. of a Core 2 duo processor so you mini is not capable of running Lion.
    So, in your case, the single reasons for iCloud would be if you have a mobileme account, then use the online www.icloud.com to migrate your account so you do not lose your @me.com email address.  You can use iCloud email (without using any other iCloud features) by setting it up as IMAP mail with these settings - http://support.apple.com/kb/HT4864
    If you want an iCloud account and do NOT already have a mobileme account, you will need to upgrade one machine at least to Lion in order to be able to create an iCloud account.

  • Does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    bump

  • I need to get my verification code via mobile number but use a different and can't get it, how do I update my number?

    I need to get my verification code via mobile number but use a different number and can't get it, how do I update my new number so that I can get the text message verification code?

    Verification code for two-step verification? If so, you can register a new new number to receive the code via text message by going to https://appleid.apple.com/account/home and click on "Manage Your Apple ID" and then on "Password and Security" and then "Add or Remove Trusted Devices." You will need a verification code in order to log in so if you currently only have one and it is no longer available you will need to use your Recovery Key. More information at: Frequently asked questions about two-step verification for Apple ID - Apple Support

  • How to get only the graphics path without graphics names?

    Hi All,
    I need to get only the graphics path without graphics names like 'd:\Images\' instead of 'd:\Images\abc.jpg' in JS.
    Thanks,
    Praveen

    Something like this should get you close…
    #target indesign
    function main() {
         if (app.documents.length == 0) {
              alert('Please have an "Indesign" document before running this script.');
         return;
         docRef = app.activeDocument;
         with(docRef) {
              var x = rectangles[0].allGraphics[0].itemLink.filePath;
              var y = new File(x).parent.fsName;
              $.writeln(y);
    main();

  • HT4009 can i get in app purchase via itunes ?

    can i get in app purchase via itunes ?

    Do you mean via your computer's iTunes ? If you do then no, you can only do so within the app on your device.

  • EP6 sp9 installation get stuck on "deploy via sdm/j2ee"

    Hi,
    I'm trying to install the ep6 SP9 after I have installed the WAS SP9 and upgrade it to SP13
    Now, The installation get stuck at "deploy via sdm/j2ee" stage.
    This result is the same after several attempts including shutdown and restrat the processes
    There are not any errors on the installaion logs and everything looks fine
    Does anybody has any idea what it wrong ?
    Thanks
    Ami

    Thanks Priya for your reply,
    I did saw on the java log file the following error:
    <b>
    java.lang.NoClassDefFoundError: iaik/utils/Base64Exception</b>
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:108)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.
    This is the only error message I'm getting.
    The installation is being freeze for many hours and there is not any CPU load.
    So I think that this message error causing the installation to freeze.
    Does anyone familier with that error ?
    Thanks a lot
    Ami

  • Cant get my pc online via extreme

    I have my powerbook online(wirless) via extreme and my dell laptop(wireless),all working fine.however,i cant get my pc online via ethernet on the extreme.i have double checked all connections and they seem correct.Does anyone a any suggestions? thanks

    Rick asked you a few questions above - you never responded to them! If you don't understand the questions, please ask for an explanation rather than ignoring them.
    The key issue is - does it get an IP address from your Airport Base Station? If you are running Windows XP, go to Start->All Programs->Accessories->Command Prompt. Type "ipconfig" without the quotes, and press the return key. What IP address does it report your PC has?
    See also message #1 in this discussion, posted by iFelix:
    iFelix, "Connecting Windows 98se PC to Airport Extreme using ethernet" #1, 04:30pm Aug 21, 2005 CDT
    This tells you the proper configuration for your PC's ethernet interface, so that it can obtain an IP address from your Base Station.

  • How to get facebook to say via ipad when I share something using my ipad

    how to get facebook to say via ipad when I share something using my ipad

    It appears that the app is indeed not available in Finland, as I can't find it by searching the iTunes Store there. You'll have to contact the developer of Onlive Desktop and ask if they have any plans to release their service in your country.
    Regards.

  • Why IPhone is getting hot when downloading via wifi and how to turn off itunes 11.1 launch automatically when plugged in Iphone to the PC

    Why IPhone is getting hot when downloading via wifi and how to turn off itunes 11.1 launch automatically when plugged in Iphone to the PC

    My brother with the iPhone 4 suffers from that too.
    My iphone 5 doesnt however.
    But to Stop Launch when your apple device is connected, 1. connect your iPhoneto your computer, 2.Go to the Summary Page, 3. uncheck the box "Open iTunes when this iPhone is connected" and then your good for that device.

  • Printing graphics (via SmartForms?)

    Hello,
    I have problem with printing images via SmartForms. I know that I must firstly import graphics using SE78 transction and then use it in SmartForms. We would like to print small jpg images which represents rough preview of product in invoices, offers etc.
    Problem is that we have tens of thousands of materials and each has a preview. All images are stored in DMS (KPro) so I thing that is inefficient to import all images again in SE78.
    Does anybody know how to avoid converting all jpgs to tiffs and importing in SE78. Maybe some other printing solution than SmartForms?
    Thanks a lot,
    Zdenek

    This is a common problem. To accomplish this you may need to resort to new BC-XDC interface which can convert non OTF/ALF output to PS/PCL and then feed to spooler, as spooler is not capable of dealing with other native formats such as images.
    Another option is to use 3rd party OMS tools, or KPro/ArchiveLink mass printing solution "APS".
    Regards,
    Vishal

  • Send Smartform Email via Action Profile

    Hello,
    We have an Action Profile with a few actisn athat a workign perfectly.  I have added a new action to send  smartform via email when the the transaction is saved.
    The Action profile is set upfor object type BUS2000115(Quotation) with the context class of CL_DOC_CONTEXT_CRM_ORDER.
    I have set up the Smartform Email action processing as follows:
    Permitted processign type fo Action - Smartform Email
    Mail Settings:
    Form Name                       YC3_SF_CRM_COMM_QUOTATION_V7
    Processing Class              CL_CRM_BP_UM_PROCESSING_PPF
    Processing Method           UM_EXEC_SMART_FORM
    Archive Mode                    Mail only
    there is no schedule or start condition as it is not required.
    When I Save the Quotation nothing is getting triggered.  If in the Quotation I Preview output and select 'Email Quotation; I get the message 'Smartform Error'.  Is there a way to debug the message further ?  I'm assuming this is the SAP standard method of achieving Smartform email as Pdf attachment, are some steps that I have missed ?
    Regards
    Chan

    The Processing class and Processing Method seem to be incorrect.
    Use the below;
    Processing Class  : CL_DOC_PROCESSING_CRM_ORDER
    Processing Method: CRM_ORDER_EXEC_SMART_FORM
    You can always refer to standard action profile for Quotations to see what SAP has delivered.

Maybe you are looking for

  • Problems trying to insert rows from PL/SQL procedure with existing seq..

    hello. please help me. i have a button that is calling an anonymous PL/SQL block and i am struggling with inserting records automatically when this button is clicked. an ordinary before insert DB trigger is launched: reate or replace TRIGGER "SPECSYS

  • Working with Standard mappings of product content

    Hi,      Let me know any one worked with the (_MDMProductSetMsg,_ProductRelationSetMsg) standard mapping(s) for importing Taxonomy table data in to product repository.. Thanks, Rupesh K

  • I need Photoshop cc iso file

    hi i need Photoshop cc iso file from where i can download becoz i am unable to download  from adobe application manager frequent error coming Thank in advance Phani

  • Timing violation on NI 9149 but not on cRIO

    I get the Timing Violations error when compiling an acquisition using the NI 9205 module on my NI 9149. I have tried compiling on the 40, 80 and 120MHz clocks with same results. I am not performing any complex tasks as yet so why am I getting this is

  • Forms gves an error - unable to update item

    Hi, I am running an Oracle Form 10G. I get an error which says unable to update item as soon as I click( or type in) on any field or item in the Form, I have looked at the item's property and also the block properties. Update , Insert is allowed at b