Smartform issue

Hi Experts,
When i look at smartform from spool or from print preview it looks ok, but when i try to make pdf file using OTF table my smartform is without special characters (polish letters).
so what should be the solution.
Regards,
Christina
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:30 AM

Hi Christina,
try as to as below:
DATA: lv_lines TYPE I,
lv_filesize TYPE STRING,
lv_pdf_xstring TYPE xstring.
DATA: lt_otf TYPE STANDARD TABLE OF ITCOO,
lt_obj_bin TYPE STANDARD TABLE OF SOLISTI1,
lt_lines TYPE STANDARD TABLE OF TLINE,
u2022     Convert OTF to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = lv_filesize
bin_file = lv_pdf_xstring
TABLES
otf = lt_otf
lines = lt_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 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.
u2022     Convert PDF data into Binary fomrat
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_pdf_xstring
TABLES
binary_tab = lt_objbin.
This solves your problem.
Thanks

Similar Messages

  • Smartform issue with page break

    Hi All,
             I have an unusual issue with page break. Here is my scenario, I have a group of items in my table main area and for each group there is sort of header that prints. Similarly there are multiple groups needing a header whenever there is a new group printing. So far it prints fine. But whenever there is a page break and when items from the same group also print on the next page the same header needs to print on the top of next page similar to how the header area repeats on each page. Unfortunately I did not see any page break event for table main area.
    Here is an alternative I have tried but having issues: I have created two rows for this group header one printing from header and another printing from main area. Whenever there is a page break the same group header prints as part of the header and on the rest of the page it prints from the main area. But in a particular scenario, there is a new group starting at almost bottom of the page but as there is not enough space left on the same page (page protection) jumps to next page. In this case there are two group headers printed one coming from the preivous page main area and another coming from the next page header. I hope my explanation is clear enough to understand.
    Please suggest if there is any basic feature of smartform that I have missed out can solve this issue or if there is another alternative you can think of. I appreciate your responses.
    Thanks..

    I was able to solve this issue on my own.
    Instead of checking for a page break on header line I am using a flag that is prepopulated in the table. I set this flag whenver a new group of items starts. If the flag is set I print it from the main area and if it is not set I print it from the header. This helped in avoiding the multiple header lines..

  • Include statement called by Standard text - Smartform issue

    Hi all
    I'm in a project to migrate Sap Script to Smartform and I'm facing a issue with Include texts. Some texts are actually a command that calls another text - using /: Include statemente.
    I debugged the Include text on Smartforms and I found the part of the code that simply delete any command /: (and a few other formats)
    so I really don't know if someone already found a way to make this work.
    Thanks for all help
    Andréa

    Hello Andrea, 
    As per i know in Smartform we have to use INCLUDE TEXT  for the text node . In that you can include your text object - Z_SD_AB_CLOSING. Kindly check the below screen :
    In text object put - Z_SD_AB_CLOSING.
    Language - EN
    Please try and let me know if this is not your requirement.
    Stay Awesome,
    Romit Raina

  • Smartform issue. Plz help.

    Hi there,
    I have a smartform developed in Development server at offshore. On executing it there, it works fine and gives a decent output. But, when I am testing the same from onsite it displays junk.
    Is it due to different local printer config or something? Please advice.
    Regards,
    Sanjana.

    Hi,
      Usually, printing issues are encountered if one tries to print from the same printer accessing as LOCL or through Network. One might get a good output through LOCL, but can face a problem if the printer is accessed through Network. Sometimes it could be the other case. In any case it is the problem with the printer configuration. Try to consult your Basis team regarding this.
    Regards,
    Vara

  • Bill of leading smartforms issue

    Hi ,
    I have modified standard BOL smartforms  and configured standard BOL driver program,smartforms in NACE and assigned output types . but while executing through VT70- I am  getting error messegae in bottom Output could not be displayed (if may not be complete).
    Please help me to solve this issue.
    Rgerads,
    kaaviya

    Hi
    Did you use the same driver program which is used for script??
    If Yes, then that is not right.
    If No, then check with the print program If the values are being passed to the FM correctly..
    Next, check your smartform. Check the width of the windows, check the declarations...
    Regards,
    Vishwa.

  • Smartform Issues

    Dear ABAPers:
    I am facing an issue while activating my SmartForm, the error which i am getting is "Text  ID Y001 language EN not found"
    Kindly note that in my Smarform i am using the FM "READ_TEXT'.
    Regards,
    Shegar
    ABAP Consultant
    Moderator message - Please Use a more descriptive Subject
    Edited by: Rob Burbank on Apr 5, 2010 10:39 AM

    Hi,
        Please uncomment the Exceptions of FM 'Read_text'. and Place the condition in displaying the text like IT_TLINE # SPACE in the condition tab of ur text.
       Once u check in SE37 by execting the FM Read_text giving all the input parameters if it gets executed the u can use it else ask the Functional guy for the solution.
    Regards,
    Vijaya Lakshmi.T

  • Debugging Smartform Issue

    Hi Experts,
    DO you have any experience where you cannot debug the smartform? I already tried having BREAK-POINT in the SMARTFORM itself or having the break-point on the Print Program.
    I tried the SMARTFORM TRACE and it was working, as I can see the smartform I am using that is btw a custom delivery smartform. I already put debug program RLE_DELNOTE in the CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' but still not debugging. Any suggestions?

    Ok let me check:
    Driver Prg : RLE_DELNOTE - this is correct
    Form : Z18_SD_F_0003 - this is correct
    Routine: ENTRY
    Print Medium: Print Output
    Application Area: V2
    I believe you could able to debug any other ABAP objects, say an ABAP program in se38. - Yes I can debug any program, authorized
    Lets have the check list to look into
    1) Is the Application Area , output type , Processing routine , Medium assigned is correct. Even the Print Program. Hope you did this check else can you come up with. as some times there is a possibility of assigning to wrong Application area(would have assigned the same at multiple places). - Checked as above
    2) Check the right Output type was selected while printing the document through the respective transaction - Checked in NACE with Output Type ZDO3 with the above settings and also in the Delivery Output Header assigned with ZD03
    3) Did you placed the Static breakpoint inside the Node "Program Lines" in the form. - Yes with BREAK-POINT
    4) Hope you place the Breakpoin the respective FORM Routine of the Driver Program.(here you should be sure called if the breakpoint is in the right Routine (which you can find in NACE assignement under the same line "Medium" ). - Yes Under the Routine ENTRY, I placed a break-point
    I checked with BASIS and they are doing a copy to the same system, QAS and it occured some errors, I cannot somehow relate it to this issue but there are some other abnormal issues.
    Edited by: Cecilio Cruz II on Jul 22, 2011 9:27 AM
    Edited by: Cecilio Cruz II on Jul 22, 2011 9:31 AM

  • Purchase order and rfq  smartforms issues

    Anyone please let me know the issues faced with purchase order and rfq smartforms

    Problems I had is changed line items to print a changed PO/RFQ wich will print what was changed with each line.
    Can't remember the solution in total. If you search on the FM ME_READ_CHANGES_EINKBELEG in the main program of the SAP standard and setup a default PO to print using the standard program and form medruck you can debug it.
    There is a change flag when printing the form, field - NAST-AENDE.
    Else the form is very much streight forward.
    Regards,
    Marius

  • Smartforms issue urgentttt....

    Hi All,
    This is a very urgent scenario which need to be resolved as soon as possible. Please go through the following.
    I am trying to take a print of philippines TDS form using a transaction S_P00_07000134 - Generic Withholding Tax Reporting. After entering the values related to philippines and selecting form tab when i view the print, i find only vendor and payor details in the form not the line items which are visible in report.Could you please update me on this scenario as we are in GOLIVE phase. The Form name is IDWTCERT_PH_2307.
    TCode: S_P00_07000134 - Generic Withholding Tax Reporting
    Input Values
    Process type: std
    Output Group:ph2
    Country Key:ph
    Reporting Period:01.04.2008 to 22.04.2008
    Company Code: 1100
    Vendor:600001
    In forms tab
    Selected Print Form1
    Number of copies: 1
    Output Device: local
    execution of this values(F8)
    selected print or print preview
    output will be displayed or printed with out line items and when we press back we find the regular report with line items.
    Could anyone give me the solution it is very urgent....
    regards
    PSNG

    I am able to do this part.What is getting stuck is that i have say 5 totals with me and i pass to internal table then how can i fetch from smartform.If i create a structure for this internal table either way doesnot work i tried F1 like bseg-dmbtr and mseg-menge ie amount in currency as well as menge i tried.Failure occurs in smartforms as it fails to recognize the field itself.

  • Dunning Smartform issue

    While configuring the Smartform for Dunning F150_DUNN_SF it says that it is does not active nor exists.  Then added this function module FI_PRINT_DUNNING_NOTICE_SMARTF using the transaction code BF31.  Suggested by SAP Note.
    When dunning transaction F150 is executed then getting a error message as Include text does not exist(Object text, ID).
    Any hep is greatly appreciated.
    Thanks,
    Azhar.

    CONFIGURATION STEPS FOR CALLING SMARTFORM
    The system is usually customized to use the Sap Script by default. Configuration os required to be done for ‘00001720’ to replace the default Function Module for SAP Script ‘FI_PRINT_DUNNING_NOTICE’ with Smartform ‘FI_PRINT_DUNNING_NOTICE_SMARTF’
    Step 1: Run transaction BF31.
    Step 2: Edit the entry for Event ‘00001720’.
           Enter the Function Module as ‘FI_PRINT_DUNNING_NOTICE_SMARTF’
    Refer attached document for the configuration.
    After this keep a break point at function module 'FI_PRINT_DUNNING_NOTICE_SMARTF’ to check whether a smartform is configured. if the program is calling the above FM then smartform is configured.
    please reward point ...if useful

  • Smartform  Issue.. Displaying the fields in a single row

    Hi All...
    In my smartform, the data are displaying in 2 different rows, even thought they are placed in a single row of a table.
    Its getting diplayed as follows..
              mat-123   10  kg
    100                                    2500.00       2500.00
    Now i would like to print 100 and 2500.00 in above row where mat-123 is getting displayed....
    Where to check and what to do ...????
    Please help me....
    Regards
    Pavan

    Hi Pavan,
                    Try increasing the column width of the table for this 'mat-123 10 kg'. then it should display in the same row.
    Regards,
    Hema.
    Reward points if it is useful.

  • Purchase order-smartform issue

    dear experts,
        Here in purchase order import po printout one of the text field-AIR/OCEAN FREIGHT-VAL am getting the value like 560.00 but actually i should get 56,000. So i have changed my smartform declaration like JOFV TYPE KWERT. the earlier it was displayed like jofv like ps207-bgert. then the same in samrtforms form interface-->import paramter...where there given like jofv type ps207-bgert. then there i made a change like JOFV TYPE KWERT. once after this has done..when i save it doesn't ask for the request no...it directly saves...SO HERE MY PROBLEM IS NOW I HAVE TO GIVE THE REQUEST NO TO EDP THEN THEY WILL MOVE TO PRODUCTION TO SEE THE O/P.
      here what can i do.....please help me out....
    thanks & regards,
    selva....
    Moderator message: please use more descriptive subject lines for your posts, do not post in all upper case.
    Edited by: Thomas Zloch on Jun 18, 2011 11:06 AM

    Hi,
    if its directly saved means already in some other request.
    if you want to find SAP request in which your smart form is being saved then follow this
    1) se03
    2) Search for Objects in Requests/Tasks
    3) Add in object selection blank box - SSFO and select checkbox
    4) give smartform name
    5) Execute
    it will show request name details
    Regards,
    Dhina...

  • PO Smartform Issue

    Hi all,
    We have PO smartform that consist of some text to be printed on smartform.
    When we click on button Print Preview and Texts Tab is not on then it doesn't include the PO text to be printed but if we click on tab 'Texts' then it starts displaying the texts in print preview .
    How we take Print directly of PO smartform?
    Any suggestions welcome,
    Regards,

    Hi,
    In the control parameter structure-->Pass 'X' to NO_DIALOG in the Function Module.
    Then No print preview will be appeared,You van directly print theprint.
    Hope this helps you.
    Regards,
    Rama.

  • Smartforms - issue in display page

    Hai ,
    I have to dispaly the smartform in the below mentioned way.
    it has to display mara records(no of records changes dependending on customer)  & the last page with
    terms & conditions.
    in the ablove scenario, depending on the no. of records in the Mara the pages may increase.
    for example : if mara records takes 2 pages..then the total SF contains 3 pages(including the terms & condition page).if the mara records spread across 3 pages for x customer the total pages in SF would become 4.
    Till here it is fine.
    Now I have another problem.
    for a particular customer say ABC,
    I need to display another information in separte page(say extrapage) after mara records & before terms & condition.this extra page may also spread across more than on page.
    This extra page is of type 'mara records page'(only the contents get changes for this  ABC customer).
    Now the problem is this extra page has to start from fresh page.
    But in my case it is been displayed from the end of the 'mara records page'.that is if mara records page takes 2 & half page the extra page contents stat printing from very next point.I want this to start form third page.once these contents are displayed it has to display the terms & conditions as usual.
    can any one have any idea abot this?
    sorry , I could n't find any better way to explain my problem:).it is bit lengthy.
    Thanks,
    Bhaskar.

    Hi:
    In the same page of the smartform, you should create 2 main windows.
    The first main window would execute for everyone and whenever the particular conditions would come like ABC customer, the next would execute for this, you have to put the condition within condition tab of 2nd window.
    Hopefully i have cleared my points and it would helpful to solve your problem.
    Regards
    Shashi

  • A Smartform Issue

    Hi All,
    Is it possible to display Text in smartforms in different angles. Like Vertical...
    Thanks
    Kishan

    Yes, very good question ...
    and
    http://searchsap.discussions.techtarget.com/WebX?[email protected]@.ee83dd4/1576
    If you find a solution please give the answer
    Rgd
    Frédéric
    Message was edited by: Frédéric Girod

Maybe you are looking for

  • Is there a quick, easy way to delete all the "lost" songs from my Library?

    OK, I'm storing all my music in my iTunes folder, which I moved to an external HD. In my iTunes Library (within the application itself), there must be thousands of MP3s listed that I no longer have the MP3 files for. Is there a quick way to update th

  • Creating an ES using Java + exposing SAP functionalities as an ES

    Hi experts, I am new to SOA and need to learn more about defining new enterprise service. My skill set is basically Java and J2ee concepts including web services. As a webservice programmer, I can understand the interesting concept of SOA. And I want

  • LR4.3 and color profiles

    Adobe have investigated the problems some have reported with v4 profiles or even v2 LUT profiles and reported that their tests show LR 4.3 can handle both v4 and v2, LUT and matrix color profiles correctly, IF the profiles have been made correctly by

  • After installing Adobe After Effects CC the web browser crashes

    Hi, I don't know where to turn with this so I'm trying as many possibilities as I can think of: I installed After Effects CC on my PC. I then noticed that a web page that I created incorporating a virtual tour stopped functioning properly. It doesn't

  • What is the apex internal administration credentials

    dear all i have installed oracle xe 11g and i have loged in on storage and apex tabs and i have created workspace and users. now i would like to access apex internal administration. i need to configure email server ip there can anyone help me with th