Re print IDOC by we19 for smartforms

Hi,
Currently we use XSLFO for some outputs, in which IDOC is generated and passed to XML port for output. These forms are designed in XML. Those IDOCS can be re-generated or reprinted whenver required. Now we are planning to convert all XML outpputs to Smartforms.
The problem we are facing is Re-Print of IDOCS. If an Idoc is generated when a Po / invoice is printed, we shd be able to reprint same idoc whenver required, as the Po/ invoice etc may have been changed after that and we require the print with old values.
My requirement is as below:
when a output is printed it will generate an IDOC.  User Should be to re-print the IDOC whenver required. There has to be a common method for n no of out puts as there are n outputs and all of them require same functionality..
If requirement is not clear please ask..and i will try 2 make it clear.
Thanks

Hi Pratap,
Which Idoc did you process. For each message type certain segments are Mandatory.
for example in WPUBON01 -->following segments are mandatory
Control Record --- Message type / Partner Type / Port / Server ID etc.....
E1WPB01        --- Date / Time / Partner Number etc...
E1WPB02        --- Article type / Article Number / Quantity etc...
E1WPB03        --- Condition Type / Amount etc...
E1WPB06        --- Payment method / Total Amount / card number etc...
In control record we will have the  port / System ID etc.
If other segments are not there leave it....it will process successfully.....
To find out error segment refer  Table  EDID4 and correct the segment and post it.
Regards,
ManiKumaar

Similar Messages

  • IDOC status 53 for HRMD_07 but no data uploaded

    Hi,
    We are trying to load the HR  reocrd from etl to R/3.
    I have created an iDoc through WE19 for message type hrmd_a and basic type hrmd_a07.
    Populated infotypes for 0000, 0001, 0002 and 0105.
    idoc created with status 53 (green light) 'Application documention posted' and information note 'HR: ALE inbound processing for HR master data'.
    HOWEVER, when I go to transaction PA30 or tsbles the personnel record is not being created in R/3.
    Please kindly help on this. THANK YOU SO MUCH!
    Its really urgent

    Hi Rajan,
    I am also facing the same problem. Did you got any solution. Please let me know.
    Regards
    Praveen

  • Using standard PO Printing Program for Smartforms

    Hi Experts,
    I am some hiccups coding my print program for a PO Smartform that am currently working on.The requirement was to use the standard print program to trigger my Smartform PO. I have read alot of threads on this, but am still clueless.
    Some says to comment out the functions like "OPEN_FORM" ,"WRITE_FORM" and having your block of codes inside the "NEU_" routine.
    But I noticed, there are even some conditions and logic checking before the "write_form" is called and sometimes the table entries are also cleared. In this kind of situation, how should I be passing the table data to the Smartform function module?By copying the contents to an internal table? And there are many include programs which currently the standard program has, should I be using all that too?
    Appreciate your input and advice on this.
    Thanks very much.

    Hi Neesha,
    Can you check this once
    [Migrating Forms|http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm]
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 21, 2011 9:18 AM

  • Duplex printing for smartform

    Hi,
    Has anyone worked on Duplex printing for smartform? If yes, please tell me the procedure/steps that need to be taken for the same.
    Thanks
    Regards

    Hi,
    You can select Duplex printing in th epage properties of a page (D = Duplex)
    The printer STARTS duplex printing from that page. This means that the printer triggers a pagefeed on that exact moment and starts printing on a new page. So when you have 1 page that stretches over more that one sheet of paper this means trouble. after every page the flow of the program starts a new Duplex print (thus feeding the current sheet and starts at a new page) this results in a new sheet of paper every page. this is not what you want.
    You can solve this by creating 2 pages and set their respective NEXT PAGE to each other. Page 1 you set to DUplex, pagae 2 you leave blank..
    But notice that when you select duplex printing most (if not all) printers start printing on the backside of the paper. When you use pre-printed (logo) paper, you will find that it prints the front on the back etc.
    This can sometimes be corrected (if needed) by sending prescribe commands to the printer directly.
    Good luck!
    Joris

  • Material document printing: is program SAPM07DR prepared for smartforms?

    Hi everyone.
    We need to do a smartform to print material documents through a new output type. Do you know if program SAPM07DR is prepared to work with smartforms? I don't think so, I see that it is prepared for sapscripts and PDF-forms, but it seems not to be prepared for smartforms.
    In case that it is not prepared to work with smartforms, do you know any standard program that print smartforms for material documents?
    Thanks in advance.
    Regards.

    These programs doesn't fit with the requirements. I have found program SAPFM07P_SMART, but the problem is that this program is prepared to print an smartform per material document item, and I need to print a smartform for the whole material document information.
    So if you don't know any other program, I suppose we will have to addapt a copy of SAPFM07P_SMART to work with the whole material document, and not with every item.
    Thanks.

  • How to write print program for smartforms

    Hi all
    I need to develop new smartform and its print program.
    But Im not experience in writing print program for smartform.
    Ive gone through the simple print program sample that use only one table as input and one table for output.
    But my smartforms require few tables for input and output.
    How should I define the Data?
    Can anyone guide me on how to write it.
    Thanks & Regards
    az

    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.
    Reward points...

  • Adding bar codes to printer device for smartforms pdf conversion?

    Hello friends,
    I would like to send a smartform as a pdf to an email recipient. The smartform shows some bar codes. The send process workes fine. But the bar codes doesn't appear on the pdf correctly. Therefore I would like to add bar codes to the printer device type in transaction SE73.
    Does somebody know the device type for smartforms pdf conversion? Or how can I add bar codes to smartforms pdf conversion process?
    greetings
    daniel

    Hello Denial,
    Try these links, this might solve ur problem
    http://www.tec-it.com//documentation/TBarCodeSAPLPD_EN.htm
    http://www.mecsw.com/info/appnote/app_024.html
    if you need any more information send me at [email protected]
    Thanks & Best Regards
    Ankur Jain

  • To find print program for smartforms.

    pls tell me how to find print programs for smartforms.pls tell me with all steps.clearly.i tried with tanpr table but unable to find

    hi,
    Please take a look at the NACE transaction where all the output conditions will be configured. Drill down into you specific application and you should be able to find the print program as well as the smart form name.
    Steps..
    Use NACE and follow procedure as follows
    1)Choose Application from list(eg PO)
    2)Click OP type
    3)Chose one OP type from Right pane.
    4)Click on processing routines
    and you got it
    regards,
    keerthi

  • Printing currency symbols(like $ for dollar)for all countries in smartforms

    Hi friends,
    I have to print currency symbols (like $ for dollar) for all countries in SRM PO Smartform.
    Is there any character set which has all the currency symbols in it?
    If so, how to print those in Smartforms?

    Hi
    There are two ways to maintain format of Currency,
    1. Transaction : OY01 Customize: set up countries
    2. Menu->System->User profile-> Own data -> Defualt
    Just check the country seeting as well as user setting
    before run the smart form.
    U can use SET COUNTRY command to set country format which is specified into OY01.
    Use Write stament to convert into required currency format.
    ... CURRENCY w
    Effect
    Correct format for currency specified in the field w.
    Treats the contents of f as a currency amount. The currency specified in w determines how many decimal places this amount should have.
    The contents of w are used as a currency key for the table TCURX; if there is no entry for w, the system assumes that the currency amount has 2 decimal places.
    Regard ,
    Vinod

  • Need Print Program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list

    Hello Friends,
                         I need a print program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list. Please reply ASAP.
    Thanks,
    Ziad.

    Hi Sowjanya,
                         I am using FUEP o/p type for Export Packing list for Billing . I Copied SAPscript SD_EXPORT_FUEP form and the  print program for this is same RVADAUS1. Can we use the same print program for Smartform  /SAPSLL/SF_GL_EPL?
    Thanks,
    Ziad

  • How to find z or standard print program for smartform

    Hi all,
    I know the smartform name from this I want find print program used whether it is z or standard program.
    Thanks in advance,
    Regards,
    Harshada

    Hi,
    1. If you know the output type then you can check the Print program name in configuration.
    You can use tcode 'NACE' and select the your functional area then click on outout types.
    Choose your output type and click on 'Processing routines'.
    It will show you the print program attached to your smartform.
    2. You can directly go to table TNAPR, give your smartform name and execute. It will give you print program attached to that smartform.
    Thanks,
    Archana

  • Error in number range while testing inbound idoc via we19

    hi all,
    i have done all configurations but while testing the inbound idoc via we19 i am getting an error 'error in assigning number to idoc'..i checked and found that the number range object for idoc is edidoc in it number interval is defined from 1 to 99
    i dont think that anything is wrong with the number object..
    Can u tell me how dow i eliminate this error?

    Increase Higher limit the reason is when you look at current idoc number ( This idoc number already exists ) ,it will not create new idoc number.
    System will get the number from SNRO Based on IDOC Object.
    Just look at EDIDC and see the current idoc number.
    Simple example :
    I have one number - 100 ,it is already exists in database,if i insert same record to the database ,did system will accept ?
    Thanks
    Seshu

  • Color printing with high resolution in smartforms

    Hello colleagues...
    I need to print color images with True-color resolution, but in Form Graphics Administrator ( transaction SE78 ) I can only upload pictures with extension TIFF and BMP, and with resolution 24-bit maximum.
    With this resolution, the quality of colors will not be optimal because is distorted from original.
    This printing we need for labels that have pantone code of colors, that should not be changed to any similar tones.
    Does anybody knows how can I print true color pics with smartforms without reducing image quality?
    Or exist any other tool in SAP for printing with high quality?
    thanks in advance,
    Ibrahim Andres.

    You can upload TrueColor 24 bit Bitmaps into SE78, but SE78 converts them to 256 color images, that's why you see reduces quality when the image is printed. I think it's not possible to print images higher than 256 colors using existing smartform technology.
    Regards
    Sridhar

  • New-page for smartform

    Hello all,
    I am facing a problem using smartforms. I am printing a report where there is a loop running for a list of plants. For printing the information of each plant, I need to use a new page. Information of one plant may take several pages but for every new plant, I need to insert a page break.
    I am using a COMMAND with a checked next page option in my EVENT ON SORT BEGIN for the plant code.
    This does the trick, but if I use the command at the bottom, it inserts a blank page at the end of the report. If I use the command at the top of the event, it first shows a blank page and then the data from the 2nd page.
    Please sugest how can I fix this.
    Anmol

    Hi Friend,
            You can use following tips for generating smartforms for every new plant.I have generated sales order report using this steps.You can refer it.Tips are given below:
    1.Define the structure,workarea and internal table for sales order header and details and also define
    select-options for sales order.
    2.Also define the one STRUCTURE which has type as ssfctrlop.
    e.g. control type ssfctrlop.
         This variable we have to define because we are going to use this in
    SSF_OPEN function.This is used to avoid print preview while openning smartform
    for every sales order.
    3. Select data from vbak for sales header.
    4. Call function SSF_FUNCTION_MODULE_NAME.
    e.g.*CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = w_formname
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
         fm_name                  =  w_functionname
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    5.Now here define the various features or field in control structure.
    This is controls for smartform.
    e.g.  control-no_dialog = 'X'.
         control-preview   = 'X'.
         control-no_open   = 'X'.
         control-no_close  = 'X'.
    6. Call function SSF_OPEN.
         Here you have to pass the control structure which you have define in declaration.
    e.g.
    CALL FUNCTION 'SSF_OPEN'
        EXPORTING
      ARCHIVE_PARAMETERS       =
      USER_SETTINGS            = 'X'
      MAIL_SENDER              =
      MAIL_RECIPIENT           =
      MAIL_APPL_OBJ            =
      OUTPUT_OPTIONS           =
          control_parameters       = control
    IMPORTING
      JOB_OUTPUT_OPTIONS       =
       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.
    7. Take loop at header internal table .
    8. Select data from vbak for sales details. Also select data from respective tables
    like makt,kna1 here.
    9.Then call function module which generated after executing smartform. And also pass the control structure
    in import parameter in this function module.
    e.g.  CALL FUNCTION '/1BCDWB/SF00000397'
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        control_parameters         = control
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
          wa_vbak                    = wa_vbak
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          it_vbak                    = it_vbak
          it_vbap                    = it_vbap
    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.
    10.After endloop call function SSF_CLOSE.
         If it will help you reward me points.
    Regards,
    Santosh.

  • Printers for smartforms

    Hi Gurus,
    Can you tell me the what are the printers are support for smartforms?
    Because my client has changes the printer,then the smartforms is not printing the Barcodes are support?
    Regards
    Kiran

    Hi
    For printing Barcodes we have to use special Barcode printers
    where as for printing general smartforms we can use any general printer
    but some times certain printers won't accept all fonts and doesn't print the logos barcodes properly, then you have to change the printer settings
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • A bunch of ArrayLists

    Overview My program needs to store 11 different types of data (numbered 1 through 12, skipping 5, although I may find a way to fill this gap soon). Each type of data needs to have a bunch of entries of undeterminate size (ArrayList), but I know there

  • JVM crashes with: VM_Operation generation collection for allocation

    I have a program using JNI, and the gc crashes JVM occasionally. The crashing occurs randomly. I can reproduce it by starting the program several times. Following is the JVM dump message: ==============================================================

  • When you close a blanket po do all of the po lines get closed?

    In 12.1.3 all po lines are being closed when the blanket is closed.  User is saying that they previously had to manually close each line when the blanket was closed. 

  • Binding a shared variable to a NI-PSP data object does not work

    Hi, I want to share data between a RT-target and one or more hosts (LV 8.6.1). The network shared variables are deployed to the RT-Target.  According to NI accessing shared variables from another project or host has to be done by defining a shared va

  • Why are my photo events scattered in iPhoto?

    I just got am iPad 2.  When I did my synch to move from my iPad, I noticed all of my events broke apart so I now I have several of the same events with different pictures in them.  Any idea what is going on?