RDI equivalent in SmartForm?

Hello SAPients.
We are working on the implementation of the electronic invoice and we were trying to set it up with RDI but we discovered that our invoices are not printed using SAPScript but SMartForm. My question is: Is there an equivalent of RDI in SmartForm? How should we set this up to send the output to an external program like RDI does?
Thank you in advance for your help.

Smartform does not have RDI output, but there's XML or HTML output. YOu can select required output format in Ouput options tab in form attributes node.
Regards
Sridhar

Similar Messages

  • PROTECT in SMARTFORMS

    Hi,
    in sapscript we have sentence PROTECT/ENDPROTECT,
    what is the equivalent in smartforms?
    How can i do likewise in smartforms?
    Best regards.

    Hi
    Yes you can use it in the table node:
    In this node you can define several row with different structure and indicate if a certain row must to be protected.
    Max
    Message was edited by: max bianchi

  • Script text element

    Hi what does ZKWERT(I5.1) mean in a text element in scripts, that is it has the letter I in the bracket.
    this is used in scripts. What will be its equivalent in smartforms.
    Smartforms throw a synatx error for the same formatting
    John

    Hi!
    It is a formatting option. Check out this link.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
    I means "Suppressing Output of Initial Values"
    Regards
    Tamás
    Message was edited by:
            Tamás Nyisztor

  • Converting the script and smartforms to OTF and RDI format.

    How to convert the script and smartforms to OTF and RDI format. Please suggest all possible ways.

    Please don't cross-post or duplicate-post.
    It increases the chances that both threads are deleted faster than what it increases the chances of getting "double-good" answers...
    I deleted the other thread.
    Thanks,
    Julius

  • Equivalent program for SAPM07DR when i am using SMARTFORMS

    Hi All.
    Can any body please tell me what is the equvivalent program for SAPM07DR in samrt forms.
    Background:
    This is an upgradation from 46b to ECC 6.0. Using T-code MB03 we are now priniting the Goods accompanying document in SAP script. Now we want this to be developed in SmartForms the same existing program cannot be used for this.
    Thank you inadvance.
    Ishu.

    Hi,
    I had the same problem in ECC6 ehp4, until i find this
    http://sharrysleepinbest.spaces.live.com/blog/cns!3FDE61CC2C7B7068!137.entry
    Pay attention to logo that cause a dump.
    Regards.
    F.

  • Generating an RDI for dunning(Tcode - F150) in R3

    Hi,
      I have created the customized smartform copied from standard form 'F150_DUNN_SF'. The requirement is to generate the RDI from transaction F150. Kindly help if any user exit or config can be used to achieve the same.
    Thanks in advance.
    Regards,
    Ankit Sharma

    >
    pendyalas wrote:
    > Thank you   , . i have one more concern how to type the invalid character ((0xb )vertical tab) while declaring them in table in we21
    >
    check out also the following SDN thread and OSS Note,
    Handling of 0xb character
    Google to find out how special characters can be entered.. There were some suggestions to press ALT and enter the four digit representation for the special characters (you can probably play around with it)...

  • How can I convert a file in SAP RDI format?

    HI All,
    I have to convert the data which is to be passed to the Smartform into RDI format.
    I am using Application form (Print Workbench)
    for sending data to smartform.
    Is there any Function Module for converting data into SAP RDI format?
    Should I write this FM in User-exit of application form?
    Thanks & Regards,
    Anshumita.

    HI
    GOOD
    I NEVER FACED SUCH KIND OF ISSUES, BUT HERE I AM GIVING SOME DETAILS ABOUT SAP RDI FORMAT,I HOPE THIS WILL HELP YOU TO SOLVE YOUR PROBLEM.
    Description
    Using the SAPscript Raw Data Interface (RDI), you can connect external text management systems to control individual requests, for example, optimizing postage expense. The interface contains all form data from the R/3 System, but no layout information such as font or page size. The external system alone is responsible for the layout and administration of the document data. The RDI is of special importance for mail processing. The external system sorts the document data from the interface and forwards the documents accordingly.
    The Raw Data Interface is a certified interface and allows easy connection to external systems. However, you pay the price for this extra function, as you lose tight integration with the R/3 System. For example, you cannot find out from within an R/3 application whether the external system successfully printed and sent the documents. In addition, extra expense is incurred each time you adapt a standard form, since the system has to adapt both an internal and external form. The external tool is not an integral part of the ABAP Development Workbench, so that field information (field type, output length and so on) from the ABAP Dictionary is not available.
    THANKS
    MRUTYUN

  • Purchase Order - Smartform- Best practises

    Hi,
    Could anybody suggest on how to load the Bestpractises for Smartforms (Purchase Order) and access it in ECC 6.0 system.
    Regards
    Syam

    Hi Michael,
    You confirmed that the smartform and print program for PO in ECC6.0 are  /SMB40/MMPO_L and /SMB40/FM06P respectively.  I am a functional person and I understand that these form and program have to be assigned to the PO in the Purchasing configuration, where, you need to specify the medium, program, form routine, form, pdf/smartform, and the form type.  For the medium, I would need to indicate 1 (printout).  My questions are as follow:
    1.  For the Program, is it the /SMB40/FM06P? 
    2,  What is the equivalent std Form Routine for this smartform.
    3.  Under Form, should this be blank?
    4.  Under the PDF/Smartform, is this the/SMB40/MMPO_L ?
    The configurations are in
    A)  MM -> Purchasing ->Messages -> Forms for Messages -> Assign form and output program for PO
    b)  MM -> Purchasing ->Messages -> Output control -> Message type -> Define message type for PO
    I am new to forms and my first time to use ECC 6.0.  I hope to learn from you.  If possible kindly send your response to [email protected] where I can easily check my email.
    Thanks a lot.

  • Smartforms - Is it possible to Customize Cell Border In Template in 4.6C

    Hi,
    In smartforms, i know that Customizing Cell border is possible with node type TEMPLATE in version 6.20
    Our system is 4.6C
    But there are many differences between 4.6C and 6.20 about SMARTFORMS.
    Is there a way to specify custom cell border without "Select Pattern" option with node type TEMPLATE in 4.6C
    thanks
    ibrahim

    Hi,
    As you identify there are some large differences between Smartforms in 4.6c and 6.20.  So there is no equivalent of the cell-specific borders in 4.6c
    Regards,
    Nick

  • Imaged completly scrubed when i convert smartform to pdf

    Hi,
    My code like that.....
    T_OTF[] = T_OTFDATA-OTFDATA[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
      FORMAT            = 'PDF'
      MAX_LINEWIDTH     = '132'
    IMPORTING
      BIN_FILESIZE      = W_BIN_FILESIZE
    TABLES
      OTF               = T_OTF
      LINES             = T_PDF_TAB
    EXCEPTIONS
      ERR_MAX_LINEWIDTH = 1
      ERR_FORMAT        = 2
      ERR_CONV_NOT_POSSIBLE = 3
      OTHERS            = 4.
    CONVERT PDF FROM 132 TO 255.
      LOOP AT T_PDF_TAB.
    REPLACING SPACE BY ~
        TRANSLATE T_PDF_TAB USING ' ~'.
        CONCATENATE W_BUFFER T_PDF_TAB INTO W_BUFFER.
      ENDLOOP.
    REPLACING ~ BY SPACE
      TRANSLATE W_BUFFER USING '~ '.
      DO.
        I_RECORD = W_BUFFER.
    APPENDING 255 CHARACTERS AS A RECORD
        APPEND I_RECORD.
        SHIFT W_BUFFER LEFT BY 255 PLACES.
        IF W_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    REFRESH : I_RECLIST, I_OBJTXT, I_OBJBIN, I_OBJPACK.
    CLEAR W_OBJHEAD.
    OBJECT WITH PDF.
      I_OBJBIN[] = I_RECORD[].
      DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
    MAIL TEXT TO BE FILLED UP HERE
      SELECT SINGLE TDID TDSPRAS TDNAME TDOBJECT FROM STXH INTO
      CORRESPONDING FIELDS OF WA_STXH
        WHERE TDOBJECT ='TEXT' AND TDNAME = 'ZLPOMAILTEXT'.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
          CLIENT                        = SY-MANDT
            ID                            = WA_STXH-TDID
            LANGUAGE                      = WA_STXH-TDSPRAS
            NAME                          = WA_STXH-TDNAME
            OBJECT                        = WA_STXH-TDOBJECT
          TABLES
            LINES                         = T_LINE.
        LOOP AT T_LINE.
          I_OBJTXT = T_LINE-TDLINE.
          APPEND I_OBJTXT.
        ENDLOOP.
      ENDIF.
      DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
    DOCUMENT INFORMATION.
      W_DOC_CHNG-OBJ_NAME = 'SMARTFORM'.
      W_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
      CONCATENATE 'PURCHASE ORDER NUMBER - ' L_EKKO-EBELN INTO
      W_DOC_CHNG-OBJ_DESCR.
      W_DOC_CHNG-SENSITIVTY = 'F'. "FUNCTIONAL OBJECT
      W_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    PACK TO MAIN BODY AS RAW.
    OBJ. TO BE TRANSPORTED NOT IN BINARY FORM
      CLEAR I_OBJPACK-TRANSF_BIN.
    START LINE OF OBJECT HEADER IN TRANSPORT PACKET
      I_OBJPACK-HEAD_START = 1.
    NUMBER OF LINES OF AN OBJECT HEADER IN OBJECT PACKET
      I_OBJPACK-HEAD_NUM = 0.
    START LINE OF OBJECT CONTENTS IN AN OBJECT PACKET
      I_OBJPACK-BODY_START = 1.
    NUMBER OF LINES OF THE OBJECT CONTENTS IN AN OBJECT PACKET
      I_OBJPACK-BODY_NUM = V_LINES_TXT.
    CODE FOR DOCUMENT CLASS
      I_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND I_OBJPACK.
    PACKING AS PDF.
      I_OBJPACK-TRANSF_BIN = 'X'.
      I_OBJPACK-HEAD_START = 1.
      I_OBJPACK-HEAD_NUM = 1.
      I_OBJPACK-BODY_START = 1.
      I_OBJPACK-BODY_NUM = V_LINES_BIN.
      I_OBJPACK-DOC_TYPE = 'PDF'.
      I_OBJPACK-OBJ_NAME = 'SMARTFORM'.
      CONCATENATE 'PURCHASE ORDER-' L_EKKO-EBELN'.PDF'
      INTO I_OBJPACK-OBJ_DESCR.
      I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255.
      APPEND I_OBJPACK.
    DOCUMENT INFORMATION.
      CLEAR I_RECLIST.
      CLEAR I_RECLIST[].
    E-MAIL RECEIVERS.
    IF TESTRUN NE 'X'.
      SELECT SINGLE SMTP_ADDR INTO I_RECLIST-RECEIVER FROM ADR6 WHERE ADDRNUMBER EQ V_ADRNR.
      I_RECLIST-EXPRESS  = 'X'.
      I_RECLIST-REC_TYPE = 'U'. "INTERNET ADDRESS
      APPEND I_RECLIST.
    SELECT SINGLE PERNR INTO WPERNR FROM PA0105 WHERE USRID EQ L_EKKO-ERNAM AND ENDDA GE SY-DATUM AND BEGDA LE SY-DATUM.
    SELECT SINGLE USRID_LONG INTO I_RECLIST-RECEIVER FROM PA0105 WHERE PERNR EQ WPERNR AND SUBTY EQ '0010' AND
                   ENDDA GE SY-DATUM AND BEGDA LE SY-DATUM.
      SELECT SINGLE SMTP_ADDR INTO I_RECLIST-RECEIVER FROM T024 WHERE EKGRP EQ L_EKKO-EKGRP.
      I_RECLIST-EXPRESS  = 'X'.
      I_RECLIST-REC_TYPE = 'U'. "INTERNET ADDRESS
      I_RECLIST-COPY     = 'X'. "CC MARKED FOR SENDING EMAIL
      APPEND I_RECLIST.
    LOOP AT MAILTO.
      I_RECLIST-RECEIVER = MAILTO-LOW.
      I_RECLIST-EXPRESS  = 'X'.
      I_RECLIST-REC_TYPE = 'U'. "INTERNET ADDRESS
      I_RECLIST-COPY     = 'X'. "CC MARKED FOR SENDING EMAIL
      APPEND I_RECLIST.
    ENDLOOP.
    ELSE.
    LOOP AT MAILTO.
      I_RECLIST-RECEIVER = MAILTO-LOW.
      I_RECLIST-EXPRESS  = 'X'.
      I_RECLIST-REC_TYPE = 'U'. "INTERNET ADDRESS
      APPEND I_RECLIST.
    ENDLOOP.
    ENDIF.
    SENDING MAIL.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = I_OBJPACK
          OBJECT_HEADER              = W_OBJHEAD
          CONTENTS_HEX               = I_OBJBIN
          CONTENTS_TXT               = I_OBJTXT
          RECEIVERS                  = I_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      IF SY-SUBRC = 0.
        WRITE :/ 'MAIL SENT SUCCESSFULLY...'.
      ENDIF.
    ENDLOOP.
    But my pdf do not show image on smartforms. Image is scrubed completely .
    So can ant one suggest me what is solution for that.
    Regards,
    Gurprit Bhatia

    You select the printer properties and set the appropriate page size (I think there is a place to set it in PDF Maker too, but not sure). In the printer, this is equivalent to putting the proper paper in the printer.

  • How to add body text to smartform email?

    Hi,
    In release 620, how can you add text to the mail message that is generated from e-mailing a smartform.  I need to add a small message to the body of the message in addition to the attachment.
    i.e. Please find attached your invoice. [attachement.pdf]
    Thanks,
    Guy

    I don't know SmartForm so there may be another way to do it but the following approach was fine for Sapscript.
    Basically have a look at the SAP sample programs bcs_example_* where * = 1 thru 5. I think bcs_example_5 is the one to focus on. This creates a simple email and then adds an attachemnt to it. In your case you want the attachment to be your SmartForm's output.
    For the SapScript I was able to call the form from abap, receive the output into a table whose contents I could then attach to the email.
    The attachment code needs to be changed to set type to OTF:
    i_attachment_type = 'OTF'
    I'll speak in SAPscript and hope there are equivalent terms in SmartForm. I created the following abap form to run the SAPscript and get it's output into a table:
         Form  GET_OTF_CODE
    FORM  get_otf_code
    USING us_work       TYPE zsd_fet_signup_confirm
    CHANGING ch_otf_out TYPE solix_tab.
      DATA: BEGIN OF otf OCCURS 0.
              INCLUDE STRUCTURE itcoo .
      DATA: END OF otf.
      DATA: itcpo LIKE itcpo.
      DATA: itcpp LIKE itcpp.
      CLEAR itcpo.
      itcpo-tdgetotf = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          form     = 'ZSD_FET_COVERFAX'
          language = sy-langu
          OPTIONS  = itcpo
          dialog   = ' '
        EXCEPTIONS
          OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      CASE us_work-recipient_type.
        WHEN c_agent_recipient.
          w_recipient_name = us_work-agent.
        WHEN c_asm_recipient.
          w_recipient_name = us_work-asm.
        WHEN OTHERS.
          w_recipient_name = 'IPL Agent/ASM'.
      ENDCASE.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window        = 'MAIN'
          element       = 'HEADER'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window        = 'MAIN'
          element       = 'TEXT'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      MOVE-CORRESPONDING itcpo TO itcpp.
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          RESULT  = itcpp
        TABLES
          otfdata = otf
        EXCEPTIONS
          OTHERS  = 1.
    Move OTF code to output structure
      REFRESH ch_otf_out.
      LOOP AT otf.
        APPEND otf TO ch_otf_out.
      ENDLOOP.
    ENDFORM.                    "GET_OTF_CODE

  • Equivalent program for RIPRCS00 in smart forms.

    Hi All.
    Can any body please tell me what is the equivalent program for RIPRCS00 in smart forms.
    Background:
    This is an upgradation from 46b to ECC 6.0.Print settings to call the SAP script with print program will be done by using the transaction code OIDF. Now we want this to be developed in SmartForms the same existing program cannot be used for this.
    Thank you inadvance.
    US

    Hi ,
    In the alternative node conditions   use like this 
    IF ( WA_EKKO-BSTYP EQ 'F'
       AND WA_EKKO-BSART EQ 'ZSTO'
       OR WA_EKKO-BSART EQ 'ZIMP'
       OR WA_EKKO-BSART EQ 'ZSER'
       OR WA_EKKO-BSART EQ '    ' ).
    For this    in the alternative node conditions 
    WA_EKKO-BSTYP  =  'F'
    WA_EKKO-BSART  = 'ZSTO'
    OR  (By clicking the insert  OR in the icons in the top )
    WA_EKKO-BSART EQ 'ZIMP'
    OR
    WA_EKKO-BSART EQ 'ZSER'
    OR
    WA_EKKO-BSART EQ '    '
    Let me know if any concerns.......
    Regards,
    Lokesh .

  • Background Execution of Smartforms

    Hi Frineds,
    Here is a requirement to execute a smartforms Layout in background. Can you please provide the detail step for execution.
    Rgds, Krishan Raheja

    Hi,
    Please post your thread in right forum to get fast responce.
    There is no difference. Print preview is equivalent to foreground, actual print/fax is equivalent to background where a spool is generated. I am assuming that you are not directly executing the smartform FM.
    Please be clear on the question if you are not ok with the above answer.
    Thanks,
    Vinod.

  • PM shop paper smartform

    Hi guys,
        Does anyone know of standard SAP smartform for Shop paper printing (Maintenance Work Order) from transaction IW32. A standard SAPscript PM_COMMON exists but I would like to know if there is a standard SAP smartform equivalent to that.
    Thanks,
    Pruthvi

    Hi Pruthvi,
    There is no Smartform avilable for shop floor cards. But you can create a Zprogram(which will trigger a smartform) and assign that to your shop cards 9008, 9009 and so on..
    Lanka

  • Top of Smartform Main Page

    Hi Experts,
    What is the equivalent of the command "/:TOP - /:ENDTOP" of SAP Script into Smartforms?
    Thanks in advance...

    Hi Salem_M,
    as far as I know there may no /: [COMMANDS] be used within SmartForms.
    What do you want to define with these SAPscript commands?
    But e.g. you may use for the output of a table its own header- and footer definition.
    Does this help?
    Cheers,
    Joost

Maybe you are looking for