Rightfax commands in Sapscript/Smartforms

Hi,
We are using RIGHTFAX with SAP ECC 5.0 for fax sending functionality.
I have read all the threads related to RIGHTFAX functionality but would like to have answers for the following.
1) Where exactly in a SAPSCRIPT / SMARTFORM form do I add the fax control commands (FCL Commands)so that RIGHTFAX connector for SAP R/3 recognise them?
For eg: I want RIGHTFAX to include a particular cover sheet.For that I need to write the fax control command RFSAP_FCSFILE:file name. But where do I write that inside sapscript/smartform?
Thanks,
Bhaskar Pal.
This message is not answered.Somehow it is showing as being answered already. I would appreciate your help/input on this issue. Please respond.

Hi.  First try to set your post as unsolved.  There should be a radiobutton on the left of your post to do so.
TO answer your questions,  what you need to do is to create a page, this page will be printed first.  Put your FCL commands in this page.  When the document is send to the printer device(the one setup for RIGHTFAX), it will have this coding on the first page.  Once it reaches RightFax,  the software will recognize that there is FCL code on this page and will except it, get the values, apply them, and then it strips off this first page.  This is good because we don't want the end user to see this anyway.  So, create a page in your sapscript called FAXPAGE,  put your commands in there and always start your printing at this page. 
Regards,
RIch Heilman

Similar Messages

  • SE78 - Sapscript / Smartform

    Moved to correct forum by moderator
    Ladies and Gentlemen,
    I am investigating graphics upload into SAP for use in sapscripts / smartforms.  The format that I am currently researching is TIFF.  I have previously used SE78 and have had an option to upload a TIFF format graphic directly from the transaction, however on this 4.6C system I only get one type choice - BMP.  Can SE78 be configured somewhere to allow other type uploads and if so where could I find such configuration screens?
    Kind Regards,
    Mantas
    Edited by: Matt on Jan 13, 2009 3:32 PM

    Method 1  If you are in 46c, there is a better method. Save your image in bmp or tiff. Upload using the se78->graphics->bma format. You can load the image as color or monochrome. once done there is undocumented sapscript command /:bitmap, using which it can be printed. See oss note 307414 for documentation of this command.
    Method2 These are the steps to be followed for uploading graphics in R/3 system 
    1.   First save the file as BMP 
    2.   Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and 
          make it Zoom as 100% and save as *.TIFF 
    3.   Open SE38 and execute program RSTXLDMC
    4.   Give your TIFF file path name 
    5.   Select Bcol (for Color) 
    6.   TEXT ID will be ZHEX-MACRO-*. 
    7.   Inplace of * write your own logo name (ZCOMPANYLOGO) 
    8.   Execute the program 
    9.   Now Goto SE71 create your ZFORM 
    10. Create logo window 
    11. Goto text element of logo window 
    Method3
    1.  Goto SE71 Change the mode to GRAPHICAL 
    2.  Choose the Graph Tabstrips
    3.  Now type in some name for the LOGO WINDOW 
    4.  Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP 
    5.  The code will be written automatically. You just need to drag and drop wherever you want
         the graphics to be.

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • Sapscript/Smartform via mail with PDF attachment: logo is missing

    Hi all
    I'm implementing my function to send Sapscript/smartform via mail.
    I need to do it because when a message needs to be sent, I have to insert the message as attachment but also to add a text in the body mail.
    So I've just created a simple sapscript having a logo (as graphic) and a little text.
    I use the fm CONVERT_OTF to convert the OTF to PDF format and the following code to increase the pdf string from 132 to 255 char:
    LOOP AT t_pdf.
          TRANSLATE t_pdf USING ' ~'.
          CONCATENATE l_buffer t_pdf INTO l_buffer.
        ENDLOOP.
        TRANSLATE l_buffer USING '~ '.
        DO.
          MOVE l_buffer TO l_attachment.
          APPEND l_attachment TO x_attachment.
          SHIFT l_buffer LEFT BY 255 PLACES.
          IF l_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
    All seem to work fine, but as soon as I open the pdf file attached to the mail I can't see the logo
    So after calling fm CONVERT_OTF, I've created a pdf file by method GUI_DOWNLOAD, and then upload this file (by GUI_UPLOAD) into internal table for attachment and send the mail.
    Now really all work very fine, becaus I can see the logo
    Of course I don't want to dowload the file before sending a mail, but I need to send my print directly as pdf attachment
    The two ways seem to be equal, they use the same print and the same functions, only the way to upload the internal table for attachment is different:
    1) tha abap code above to expand the line from 132 to 255
    2) the method GUI_UPLOAD
    So something seems to be wrong in the first way because ithe logo is missing in the pdf attachment generated for the mail
    Max

    Hi
    I'm not working on unicode system, anyway I didn't see that parameter BIN_FILE, so I didn't use it
    I've read the note 1324547 and I've done just as it explaines: now works fine
    I don't know why it doesn't work with old manner (i.e data is treated as character-type), but it worls with the new one (If the data is treated as xstring-type)
    I can only suppose the data are corrupted while being elaborated for expand to 255 char....but I don't why
    Anyway your suggestion works for me
    Thank
    Max

  • About BOX control command in SAPScript.

    Hi,
    I am using the BOX control command in SapScript.
    Is it possible to assign the values of Xpos and Ypos dynamicalliy.
    In BOX XPOS 16 CH WIDTH 0 MM HEIGHT 18 MM FRAME 10 TW,
    i want to assign the values at runtime, instead of
    xpos 16 , something like Xpos Var, where var contain the value of xposition.

    Hi,
       We cant give the dynamic value in runtime . It should be static.
    Regards,
    Saran

  • SAPScript/Smartform phase out

    Is SAP planning to phase out SAPScript & Smartforms in near future? Kindly advise.
    Thanks,
    Vivek

    Hi,
    Not sure but looks like. Also in my project we are moving to Adobe over smartforms.
    Below link will be of some help
    Re: What SAP recommends in ECC 6. Either SAPSCRIPT or SMARTFORMS?
    Regards,
    Vipul

  • Print Currency as symbols in SAPSCRIPT/Smartforms

    Hi all,
    My customer want to print currency not as text but as symbols , for example "S" instead of "USD" .
    Does somebody know how to make it?
    Is there a dynamic solution ?
    Best regards.

    Hi
    U should check if in your system there's the currency symbol and if it supports it.
    The other problem can be in the printer, it need to know if it can understand that symbol.
    U can get all symbols available in your system from table TCP01.
    Here the symbol corresponds to a number has to be used in the sapscript/smartform.
    For example Euro sing is 156, so in the sapscript it need to insert <156>, the dollar shoul be 36, so <036>.
    Anyway you can't be sure your device can print the symbol.
    Max

  • What is command line in smartform?

    Hi
    Can anybody tell me what is command line in smartform?
    <MOVED TO CORRECT FORUM BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 20, 2008 8:43 AM

    A command node is a special type of node in smartforms which can be used to trigger page-breaks etc:
    http://help.sap.com/saphelp_nw04/helpdata/en/70/e17a37dec511d3b575006094192fe3/content.htm
    Regards,
    Ravi

  • Reg INCLUDE command in SAPscript

    Hi Folks,
       Can anybody tell me is it possible to give tab in INCLUDE command in SAPscripts.
       What I mean is I want to display standard text after few spaces.
       Thanks in Advance
       Punit

    Hi Punit,
          You cannot give tabs for INCLUDE command. On the other hand you can read the text in your print program using READ_TEXT function module. You can modify the text using SAVE_TEXT and send it to the SAPScript for output.
    With Regards,
    Nelson

  • SUMMING command in SAPScript

    Hello gurus,
    I am trying to use the SUMMING command in SAPScript to output a total on each page of a transfer order.
    According to the sap help, I need to declare the summing total variable within the print program using the TABLES statement, I'm trying to total LTAP-VSOLA so should I be declaring a table of this type? ANd if so, shouldn't I be using a DATA statement for this? I'm confused as to what the help actually means?
    Has anyone used this statement before and have an example that I can see?
    Thanks,
    Ruby

    Try like:
    /: DEFINE &TOT_PRICE&
    /: SUMMING &KOMVD-KBERT& INTO &TOT_PRICE&
    or
    /: DEFINE &SUM& TYPE NETWR and write in the loop
    / &SUM& = &SUM& + &BSEG-WRBTR&
    and use this SUM field
    normally I would prefer to calculate this kind of stuff in the print program. But I guess you are using the original SAP program.
    Amit.

  • ADDRESS Command in SAPScript

    Dear all,
    I'm using ADDRESS ~ ENDADDRESS command in SAPScript. I pass street name to STREET as follow
    NAME name1 name2 name3 name4
    STREET &LFA1-STRAS&
    With the above, my street can be displayed out correctly.
    But i faced problem when i have street2 street3 and street4, like below:
    NAME name1 name2 name3 name4
    STREET &LFA1-STRAS& , &ADRC-STR_SUPPL1& , &ADRC-STR_SUPPL2& , &ADRC-STR_SUPPL3&
    With above, nothing printed for street.
    Could you please point me out where did i code wrong?
    Or we can not pass street2/3/4 to STREET?
    Thank you.

    Hi,
    Just Refer this:
    https://forums.sdn.sap.com/click.jspa?searchID=12447471&messageID=2301405
    Check the below link for details on Text Elements
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e91454211d189710000e8322d00/content.htm
    Regards,
    Shiva Kumar

  • Usage of command node in smartforms

    Hi
    my doubt is can I branch to multiple pages using command node in smart forms.if so how to do it.

    Hi,
    Please check with the following threads
    [Command node|Re: Smartforms: Option of Printing Specific Pages Only;
    [Document on command node|http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417200)ID0250336250DB00400831958585035375End?rid=/library/uuid/a01b2c4d-711f-2b10-3eb2-abe3464bb370&overridelayout=true]
    Hope this  helps you.
    Regards,
    Rajani

  • Standard sapscript /  smartforms for GOODS RECEIPT

    Hi,
    Can anyone tell me standard sapscript /  smartforms for GOODS RECEIPT
    -John

    Here is your answer from NACE
    Output type WF01 or WF02
    Application ME
    Program SAPM07DR
    Form routine ENTRY_WF01 or WF02
    Sap script: WE_FERT_VERS1 or VERS2 (this is for GR for prod. orders)
    Or
    Output type WE01 or WE02
    Application ME
    Program SAPM07DR
    Form routine ENTRY_WE01 or WE02 or WE03
    Sap script: WESCHEINVERS1 or VERS2 or VERS3 (this is for GR for normal purchase orders)
    I would suggest you use the latest version.

  • Standard SApScript / Smartform name for FB75 (credit memo) transaction

    Need to know Standard SApScript / Smartform name for FB75 (credit memo) transaction..

    hi
    check SPRO>Financial Accounting>Accounts Receivable and Accounts
    Payable>Customer Accounts>Line Items>Correspondence>Carry Out
    and Check Settings for Correspondence
    surya

  • SAPScript  / SmartForm - 2 Forms & 2 Printer

    Hi All,
    I have a requirement as below. Please suggest me a suitable solution.
    1. The SAP Standard Program calls the Form. The Standard Form is modified to accommodate the client specific changes and added in Customization.
    2. If the numbers of pages to be printed is with in one page, Form1 to be used to print the same using Printer A for printing this Form1.
    2. If the numbers of pages to be printed are more than one page, Form2 to be used to print the same using Printer B for printing Form2.
    3. Form1 and Form2 have different page windows. That is, both First page and Next page are of different Format for both the Forms.
    Please write to me,
    1. Is it possible to accommodate the above requirement in SAPScript?
    1. Is it possible to accommodate the above requirement in SmartForm?
    Thanks in Advance,
    Kannan

    Hello
    Do you want to know the idea how find out which form should be called depending of number of pages?
    But the question is:
    How do you count number of pages ? Usually it's not possible to know that at program running.
    Do you count the number of positions? it is not save but it could be use... in the worst case...
    What would I do I would use surely ONLY smartform
    if I do not want to change Standard program.
    You can use in Smartform - COMMAND placed within MAIN Window of First page and with it control the flow of pages withouth any small change done in a Sap Standard Program.
    With Command included in MAIN Window you can jump to the diffrent pages.
    I think it is complicated but possible to manage...
    I have a lot of experience in creating strange
    Smartform Flows...
    Try to create:
    4 Pages
    FIRST1 (Next page parked as Next1)
    NEXT1  (Next page marked as Next1)
    FIRST2 (Next page parked as Next2)
    NEXT2  (Next page marked as Next2)
    (All of them has the same MAIN window
    and in that MAIN window depending on condition use
    COMMAND at the beggining and jumb to the
    requested PAGE accoring to condition
    either FIRST1 or FIRST2)
    You must try it and I cannot 100% assure you that it works
    Create a simple Smartform and try to test it.
    But I have no IDEA how to force printing it on diffrent printers... on diffrent trays it is possible but printers I have no idea...
    Greetings
    Bogusia [email protected]

Maybe you are looking for