Print IDOCs

Hi Experts,
(I will post this question in ABAP forums also)
I am a new SAP FI consultant and am not sure of how to overcome the situation I encountered, while trying to print the IDOcs generated during the payment run.  Without specifying any print variants in the APP parameters (tcode F110), I scheduled the payment run and noticed in the payment log that the required IDOcs were generated.
Then, I used tcode se38 to execute the RFFOEDI1 program and specified the parameters to print the IDOcs.  I entered the run date, identification, company code info, house bank info, payment method, etc.  I had the "Generate SAP IDOc" box checked and specified the printer as LOCL, and had the "print immediately" box checked on.  I also made sure that under the tcode WE20 configuration, I had the "Transfer immediately" radio button selected.  In addition, I also entered the tcode WE05 to generate the list of the IDOcs generated.  In this list, I noticed a green color dot in the status field, which (I think) says that the information from the IDOc is transferred to the target system correctly.
However, after executing the program RFFOEDI1, I got an error that says "WRITE_FORM is invalid, START_FORM is missing".  I think I need to talk to the ABAP programmers about this, but am not sure about that.  Do you think that this error should be resolved by the ABAP team?  Or is there anything that I can do to avoid this error?
All your help is greatly appreciated.
Thanks in advance for your guidance!
Regards,
V.SAPFICO

Hi,
Check which form you have assigned in the payment advice/ EDI Accompanying sheet.
RFFOEDI1 can generate only these forms.
Regards,
Gaurav

Similar Messages

  • 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

  • Printing IDOcs

    Hi Experts,
    (I will post this question in SAP FI forums also)
    I am a new SAP FI consultant and am not sure of how to overcome the situation I encountered, while trying to print the IDOcs generated during the payment run.  Without specifying any print variants in the APP parameters (tcode F110), I scheduled the payment run and noticed in the payment log that the required IDOcs were generated.
    Then, I used tcode se38 to execute the RFFOEDI1 program and specified the parameters to print the IDOcs.  I entered the run date, identification, company code info, house bank info, payment method, etc.  I had the "Generate SAP IDOc" box checked and specified the printer as LOCL, and had the "print immediately" box checked on.  I also made sure that under the tcode WE20 configuration, I had the "Transfer immediately" radio button selected.  In addition, I also entered the tcode WE05 to generate the list of the IDOcs generated.  In this list, I noticed a green color dot in the status field, which (I think) says that the information from the IDOc is transferred to the target system correctly.
    However, after executing the program RFFOEDI1, I got an error that says "WRITE_FORM is invalid, START_FORM is missing".  I think I need to talk to the ABAP programmers about this, but am not sure about that.  Do you think that this error should be resolved by the ABAP team?  Or is there anything that I can do to avoid this error?
    All your help is greatly appreciated.
    Thanks in advance for your guidance!
    Regards,
    V.SAPFICO
    Moderator message: please do not cross-post.
    Edited by: Thomas Zloch on Jan 3, 2011 1:54 PM

    Hi,
    What do you mean by "printing to printer from an idoc"..??
    Let us kno what type of idoc is it?? what is it supposed to do when processed succesfully.
    This will help us understanding your problem better and help you.
    Regards,
    SB
    Edited by: Satish Bharambe on Jul 12, 2011 6:58 PM

  • Excel sheet to idoc

    hi all,
    the following report fetches data from an excel sheet to an internal table itab and then data from this itab is populated into an idoc.
    The segment ZVISTAPMS has two char fields.
    at the following point:
    Create a data segment for each line of I_ZVISTA
    LOOP AT ITAB INTO WA_ZVISTA_PM.
    MOVE-CORRESPONDING WA_ZVISTA_PM TO WA_Z1VISTAPM.
    data is not getting transferred to wa_zvistapm .
    kindly help ....
    regards
    shilpi
    REPORT ZIDOC3.
    DATA : ITAB TYPE TABLE OF DATA_TAB.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
    FILENAME = 'E:\K.CSV'
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = SPACE
    CODEPAGE = SPACE
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    VIRUS_SCAN_PROFILE =
    IMPORTING
    FILELENGTH =
    HEADER =
    CHANGING
    DATA_TAB = ITAB
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    NOT_SUPPORTED_BY_GUI = 17
    ERROR_NO_GUI = 18
    others = 19
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CONSTANTS:
    C_MESTYP TYPE EDIDC-MESTYP VALUE 'ZVISTAPMSH',
    C_DOCTYP TYPE EDIDC-IDOCTP VALUE 'ZVISTAPM01S',
    C_SEGNAM TYPE EDIDD-SEGNAM VALUE 'Z1VISTAPMS'.
    DATA:
    I_ZVISTA TYPE ITAB OCCURS 6000,
    I_EDIDC TYPE EDIDC OCCURS 0,
    I_EDIDD TYPE EDIDD OCCURS 0,
    WA_ZVISTA_PM TYPE ITAB,
    WA_EDIDC TYPE EDIDC,
    WA_EDIDD TYPE EDIDD,
    WA_Z1VISTAPM TYPE Z1VISTAPMS,
    V_OCCMAX TYPE IDOCSYN-OCCMAX,
    V_NBSEG TYPE I.
    CLEAR WA_ZVISTA_PM.
    CLEAR WA_EDIDC.
    Save the message type and the basic IDoc type
    in the control segment
    MOVE C_MESTYP TO WA_EDIDC-MESTYP.
    MOVE C_DOCTYP TO WA_EDIDC-IDOCTP.
    Retrieve the maximum number of segments in the basic IDoc* typeSELECT MIN( OCCMAX ) FROM IDOCSYN INTO V_OCCMAX WHERE IDOCTYP EQ C_DOCTYP AND SEGTYP EQ C_SEGNAM.
    SELECT MIN( OCCMAX )
    FROM IDOCSYN
    INTO V_OCCMAX
    WHERE IDOCTYP EQ C_DOCTYP AND SEGTYP EQ C_SEGNAM.
    Create a data segment for each line of I_ZVISTA
    LOOP AT ITAB INTO WA_ZVISTA_PM.
    MOVE-CORRESPONDING WA_ZVISTA_PM TO WA_Z1VISTAPM.
    CLEAR WA_EDIDD.
    MOVE C_SEGNAM TO WA_EDIDD-SEGNAM.
    MOVE WA_Z1VISTAPM TO WA_EDIDD-SDATA.
    APPEND WA_EDIDD TO I_EDIDD.
    CLEAR WA_ZVISTA_PM.
    CLEAR WA_Z1VISTAPM.
    ENDLOOP.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
    EXPORTING
    MASTER_IDOC_CONTROL = wa_edidc
    OBJ_TYPE = ''
    CHNUM = ''
    TABLES
    COMMUNICATION_IDOC_CONTROL = i_edidc
    MASTER_IDOC_DATA = i_edidd
    EXCEPTIONS
    ERROR_IN_IDOC_CONTROL = 1
    ERROR_WRITING_IDOC_STATUS = 2
    ERROR_IN_IDOC_DATA = 3
    SENDING_LOGICAL_SYSTEM_UNKNOWN = 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.

    Hi,
    Export option is available once they click print IDOC. i.e, Menu->Idoc->print idoc after executing through WE02 and when list has been generated with technical name,description and value columns.Export option(with a right arrow sysmbol) is available above the list.
    At this point they are again going to menu->list->print thats the reason they are getting for print option and asking for printer.
    Please recheck again and explain the users.
    Definately it will solve the issue

  • High Priority, Change PO output enhancement / userexit?

    Hello guru's,
    Will anyone guide me. I have an issue, if i go to change mode of a PO (ME22N) and delete the existing Output Medium (Fax, Printer,IDOC,..) etc,. it shouldn't send any output after saving the Order.  Is there any user exit existing within SAP Scope to support this functionality?.  or will anyone suggest me any enhancement for this function? so that i will proceed.  It will be of great help. It is an urgent issue pl
    Reward full points

    Hi venkat,
    in the print program the Fm which u wud be calling for smartform takes control parameters as input.
    TDNEWID = 'X'.
    TDIMMED = 'X'.
    TDDEST='locl' <ur printer>
    set these parameters of the struture tht u wud be passing as control parameters
    it wud print automatically when smartform gets processed
    Hope it will help you.
    Regards ,
    Nikita

  • Save As options in photoshop

    Hi All,
    my folder structure is D:\Work\final\webfiles.
    i have files in webfolder as RGB mode and i need to save as CMYK in the D:\Work\final folder.
    Please help us to solve.
    Regards,
    Vinoth

    Hi Paul,
    Thanks for the replying,
    I have a script which save as the image in print folder, can you please look into this and advise us how to alter to get the above request.
    #target photoshop
    var dialogBox =
        "dialog { orientation: 'column', alignChildren: 'center', \
            info: Group { orientation: 'column', alignChildren: 'center', \
            templateType: Group { orientation: 'column', alignChildren: 'center', margins: 0, \
                rbtn1:  RadioButton {  text: 'GRAYSCALE', assignmet: 'left'}, \
                rbtn2:  RadioButton {  text: 'CMYK', assignmet: 'left'}, \
                buttons: Group { orientation: 'row', \
                ok: Button { text: 'OK', properties:{name:'ok'} }, \
                cancel: Button { text: 'Cancel', properties:{name:'cancel'} }, \
    }";win = new Window (dialogBox);
    win.text = "Test";
    win.buttons.ok.onClick = function()
    if(win.info.templateType.rbtn1.value)
        convert_gray()
    else if(win.info.templateType.rbtn2.value)
    convert_CMYK()
        var idoc = app.activeDocument
        var TiffOptions = new TiffSaveOptions()
        TiffOptions.imageCompression = TIFFEncoding.TIFFLZW;
        TiffOptions.embedColorProfile = false;
        var newfolder = new Folder(idoc.path+'/print');
        if (newfolder.exists == false) {newfolder.create()};
        idoc.saveAs(new File(idoc.path+'/print/'+idoc.name), TiffOptions, true, Extension.LOWERCASE)
    win.close(0);
    win.buttons.cancel.onClick = function()
    win.close(0);
    win.center();
    win.show();
    function convert_gray(){
    var idCnvM = charIDToTypeID( "CnvM" );
        var desc222 = new ActionDescriptor();
        var idT = charIDToTypeID( "T   " );
        var idGrys = charIDToTypeID( "Grys" );
        desc222.putClass( idT, idGrys );
    executeAction( idCnvM, desc222, DialogModes.NO );   
    function convert_CMYK(){
    var idCnvM = charIDToTypeID( "CnvM" );
        var desc224 = new ActionDescriptor();
        var idT = charIDToTypeID( "T   " );
        var idCMYM = charIDToTypeID( "CMYM" );
        desc224.putClass( idT, idCMYM );
    executeAction( idCnvM, desc224, DialogModes.NO );
    Thanks in advance
    Vinoth

  • Looking for a script...

    To print all open windows  in Illustrator CS5 (or illustrator files in a folder) then close the files. Any help would be greatly appreciated. Thanks in advance.

    ok, here it is, I think if you're on a Mac, it should work. I'm having trouble printing CMYK in Windows, it has to do with my system color management settings. The script prints and closes all open documents and ***it will not*** save any changes, so use with care, save everything before running...it can be modified to leave the documents open, or to close them saving changes, it is your choice.
    if you run the script with no documents open, it will prompt you to select a folder with ai files to print.
    it should work one way or the other...I hope it works either way...let me know how it goes.
    var docs = app.documents;
    var docCount = docs.length;
    // if there are opened documents, print them, otherwise ask for a folder to batch print
    if (docCount>0) {
        alert(docCount);
        printOpenDocs(docs);
    else {
    var folder = Folder.selectDialog("Select Source Folder..."); // select folder
    printFolder(folder);
    // Prints and closes each open document
    function printOpenDocs(docs) {
                for (j=docCount-1; j>=0; j--) {
                    var jdoc = docs[j];
                    jdoc.print(options);
                    jdoc.close(SaveOptions.DONOTSAVECHANGES);
    function printFolder(folder) {
        if (folder==null) {
                alert("Good Bye");
        else {
            var files = folder.getFiles ("*.ai"); // get files
            var fileCount = files.length; // count them
            if (fileCount>0) {
                for (i=0; i<fileCount; i++) {
                    var idoc = app.open(files[i]);
                    idoc.print();
                    idoc.close();
            else {
                alert("There are no Illustrator files in this folder.");

  • [AI] Script, traitement par lot : imprimer en PostScript

    Bonjour
    Je viens vers vous pour m'aider à compléter un script.
    Je doit régulièrement convertir des .ai en .ps
    Je voudrais faire un traitement par lots sur un dossier.
    J'ai essayer en enregistrant un script d'action mais illustrator sélectionne toujours l'impriment par défaut
    J'ai trouver ce script sur le forum
    Mais j'ai toujours le même problème il sélectionne l’imprimante par défaut, comment le forcer à utiliser l’imprimante PostScript
    Merci
    var docs = app.documents;
    var docCount = docs.length;
    // if there are opened documents, print them, otherwise ask for a folder to batch print
    if (docCount>0) {
        alert(docCount);
        printOpenDocs(docs);
    else {
    var folder = Folder.selectDialog("Select Source Folder..."); // select folder
    printFolder(folder);
    // Prints and closes each open document
    function printOpenDocs(docs) {
                for (j=docCount-1; j>=0; j--) {
                    var jdoc = docs[j];
                    jdoc.print(options);
                    jdoc.close(SaveOptions.
    DONOTSAVECHANGES);
    function printFolder(folder) {
        if (folder==null) {
                alert("Good Bye");
        else {
            var files = folder.getFiles ("*.ai"); // get files
            var fileCount = files.length; // count them
            if (fileCount>0) {
                for (i=0; i<fileCount; i++) {
                    var idoc = app.open(files[i]);
                    idoc.print();
                    idoc.close();
            else {
                alert("There are no Illustrator files in this folder.");

    Cet imprimeur semble utiliser des procédés qui datent du siècle dernier…!
    Je ne connais pas suffisament Illustrator et JavaScript pour répondre directement.
    Mais si on part du principe que tes fichiers .AI sont des fichiers hybrides (voir : http://abracadabrapdf.net/articles.php?lng=fr&pg=961 ) il devient possible d'automatiser l'opération sans une seule ligne de script en utilisant Acrobat et ses puissantes fonctions de traitement par lot pour exporter en .PS

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

  • Payment voucher not print after implement IDOC

    Hi,
    Currently sap will generate payment voucher printing once payment run is executed but after i implement idoc for payment the voucher will not print. Any idea?
    Thanks.

    seem no ppl reply. So i close it.

  • Inbound IDOC data printing

    Hi All,
    I have created one inbound zIDOC, which have structure containing  three headers and one text segement.
    Now I want to print the data of this inbound idoc as soon as it is trigrred , can any body have any idea of any FM that can be used ?
    Looking for your valuable input.
    Regards
    Ajay

    The process code you assigned to the inbound IDoc, has to be assigned to a function module which processes this IDoc, right? Now, if you use a function module of your own (CUSTOM FM!), you can do all the 'printing' you want.
    So there is no option for printing by default (standard), but you will have to do it your self.
    Another option would be to use a User exit. It seems there is a standard User exit (SIDOC001), or even a  BAdI which you can use. I haven't used it myself, so can't help you there.
    Edited by: Micky Oestreich on Mar 9, 2009 8:43 AM

  • Select printer in Bartender labels printing with SAP Idocs

    Hi Guru's.
    I'm using Bartender to print labels with SAP Idocs.
    The method is create a trigger with Bartender Commander and  write Idoc format files in the path  where the
    trigger is scanning.
    It works fine but the problem is that even prints in the same printer ( selected when I created de label design ).
    The question is : How I can to select the printer I want to print the label ?????
    Thanks a lot
    regards
    Ismael

    Hi Krishan,
    I want to print latin and chinese characters on the Zebra printer. How did you solve? What device type do you use?
    I have created a standard text with SO10.
    Currently I use ASCIIPRI and all chinese characters are printed as #. The device type is obviosely wrong.
    I hope you can help me.
    Frank

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • IDoc output type not getting configured in IDoc-File scenario

    Hello
    I am having IDoc to file scenario where I want to post Delivery Document to legacy system. For this I have configured following EDI configuration for Delivery through NACE transaction
    1] Created output type
    2] Created partner function as EDI LS for this output type
    3] Configured RSNASTED as Processing Routines for output type
    4] Included this output type in the Header output procedure
    5] Configured XI system as the partner in partner profile with appropriate Message control
    Still when I attempt to include this output type in the Delivery it gives me "Output for partner could not be configured". The detail message says "In Customizing, the 'CannotBeChanged' indicator has been set for output type".
    I checked in SPRO but could not find such flag.
    Does anyone had came across such output type configuration.
    Thanks in advance.
    I know this question might be not appropriate in XI forum as it comes under EDI but it has become necessary for XI profs -:)
    Regards
    Rajeev

    Hi,
    Please check the following
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Copy NEU to ZNEU or YNEU
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type ZNEU or YNEU.
    G.Ganesh Kumar

Maybe you are looking for