Problem with output type--urgent

Hi experts,
  My requirement is i need to post a vendor lkiability. For that we create a output type 'ZALV'. We also created a report program . In nace we attached the program and output type with medium '8'. we call the same subroutine Entry which available in standard program (CMSR_OUTPUT_ENTRY whcich is attched to medium 8 and o/p type:CMSF). Up to this one my output type works fine and processed successfully.In that Entry some function modules called.
When i added my own code in report program it gives a error
saying that '   POSTING_ILLEGAL_STATEMENT".
   Statement "CALL SCREEN" is not allowed in this form.
There is probably an error in the program
"SAPLTAX1".
This program is triggered in the update task. There,
following ABAP/4 statements are not allowed:
-  CALL SCREEN
-  CALL DIALOG
-  CALL TRANSACTION
-  SUBMIT
In my code i am not used these statements also.
The error in code is:PERFORM skftabn_ergaenzen.
xbset-first = 1.
xkzinc = space.
IF bkpf-xmwst = 'X'.
  ok-code = 'CALC'.
  IF bkpf-xsnet = space.
    xkzinc = 'X'.
  ENDIF.
ELSE.
  ok-code = 'PRUF'.
ENDIF.
IF i_xsimu NE 'S'.
  xnodia = 'X'.
ELSE.
  xnodia  = space.
  ok-code = 'SHOW'.
ENDIF.
Bild dunkel prozessieren -
       evtl. veraenderte Steuern merken
IF xusvr = 'X'.
  PERFORM ustaxes_detail USING i_bkpf.
ELSE.
  IF sy-tcode(1) = 'M'
  or bkpf-tcode(1) = 'M'.
  OR bkpf-tcode(1) = 'M' OR NOT dynpro_501 IS INITIAL.
    CALL SCREEN 301.
  ELSE.
    CALL SCREEN 300.
  ENDIF.
ENDIF.
ok-code = space.
Please give me a solution --- It is very urgent.
Regards
Pratap.M

Hi ,
Use this one . These are standarrd includes you need to include.
INCLUDE riprid01.            " General DATA and TABLE struct.
INCLUDE riprif01.               " General PRINT routines
PERFORM print_paper.
Main Form which is called.
FORM print_paper.
Import Data ---Copied From SAP Program
  PERFORM data_import. * This you have to copy from standard SAP program
*&-- Populate internal table for header part of form.
  PERFORM data_population.
Your scrpit printing logic will be done in this.
*&--Script printing.
  PERFORM main_print.               " Print the PAPER now
Do reward.
Thanks,
Madhura

Similar Messages

  • Problem with Output type NEU in PO

    hI all,
    I would like to have the possibility to send the PO document via mail.
    Therefor I changed the smartform and the program as I did it for some other. I tested it and it works.
    To do so, I've created a new output type ZNEU by copying the NEU output type.
    I've created a new schema including my ZNEU output type in place of the standard NEU.
    I inculded the schema I've created for output type ZNEU.
    I did all the customizing in the NACE transaction, I've created the condition record for ZNEU in the transaction MN05 on the level 'document type', and also set  the communication strategy.
    But there is somethin missing, because by creating a PO, the system doesn't set the ZNEU message type in the PO automatically. Looking the protocol, it says that a valid output condition has been found but it is still not set in the PO.
    Any idea ? I looking for this problem for hours...
    thank you

    It is a possibility that 'smartform' has formatting error and although it is going to the print program as guided by condition records..
    But not assigning the output type with PO document
    Can you please do two things:
    1. Put a break-point in print program and see if control goes there or not
    2. Test the output after adding it in manually in PO
    Thanks.

  • Problem with output type..

    Hi All,
    I have  a query regarding output type.
    A particular customer want the order confirmation to be sent to the ship-to via fax instead of the sold-to.
    Can someone tell where this setting can be done.
    Regards,
    Anoop

    Hi Anoop
    As this is related to output and there will be many customers who should receive the output in the same way so first of all copy the standard output type to Z output type .
    Now in Z output type , assign the access sequence maintained by you in the Z output type . in that access sequence maintain the key combination as  ship to party only . and maintain the Transmission medium as Fax 
    Now while maintaining the condition record  VV11 give the ship to party number and the fax number of the ship to party (Because of Transmission medium as fax)
    Regards
    Srinath

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • KE30 decimal not display in quantity column with output type object list

    Hi everyone,
         I already set number format "0.000" in change form screen but when I execute report with output type object list (ALV) that report don't display decimal in quantities column e.g. 0.470 displayed to 0 .
        How can I set number format in output type object list on Transaction code KE30?
    Thanks in advance.
    Pipit

    Hi,
    Better to raise this issue in CO Forum. You can expect some solution.
    regards

  • List of script and smart forms(except TNAPR) with output type or print prog

    How to find out List of SAP SCRIPT and SMART FORMS (except TNAPR)with output type or print program..I like to chk in output type WMTA  whch form should use.kindly help on this

    Hi
    WMTA is special msg and doesn't create any print: so you can't find a sapscript or smartform to link to it.
    WMTA is a message for delivery, so you can find it by NACE trx or TNAPR table (It's the same): infact here it can find only all messages of logistic modules (SD & MM).
    The routine ENTRY of RLAUTA20 is called by WMTA and creates a Transfer Order (for WM, Warehouse Management, module), so if you need to create a print for that msg you need to change prg RLAUTA20,
    Max

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • Problems with letter type

    Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?

    Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
    Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with.

  • Problem with output string to command

    hey i have no idea why this aint working
    its a simple output string to command.
    what it is supposed to do is make a new directory given by the input string
    e.g. mkdir /home/luke/dep
    thanks for the help
    //methods input save files
         saveFile = JOptionPane.showInputDialog("Save Files To : ");
         //method command for saving files
         //Stream to write file
         FileOutputStream fout;          
         try { Process myProcess = Runtime.getRuntime().exec("mkdir" + saveFile );
          InputStreamReader myIStreamReader = new InputStreamReader(myProcess.getInputStream());
          fout = new FileOutputStream ("file.txt");
          while ((ch = myIStreamReader.read()) != -1) { new PrintStream(fout).print((char)ch); } }
              catch (IOException anIOException) { System.out.println(anIOException); }

    What you fail to understand is that "aint working" and "Problem with output string to command" tells us absolutely squat about what your problem is. This is the same as saying to the doctor "I'm sick" and expecting him to cure you. As mentioned by Enceph you need to provide details. Do you get error messages? If so post the entire error and indicate the line of code it occurs on. Do you get incorrect output? Then post what output you get, what output you expect. The more effort you put into your question the more effort others will put in their replies. So until you can manage to execute a little common sense then the only responses you will get will be flames. Now is your tiny little brain able to comprehend that?

  • Problem with mime type in web.xml file

    Hi everybody,
    I actually got a problem with mime types on Weblogic 6.0 under Linux.
    I read the documentation so I added the next lines in the web.xml file in
    the WEB-INF directory of my server :
    <mime-mapping>
    <extension>
    doc
    </extension>
    <mime-type>
    application/msword
    </mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>
    ppt
    </extension>
    <mime-type>
    application/vnd.ms-powerpoint
    </mime-type>
    </mime-mapping>
    Why can't I retrieve a .doc or .ppt files with an internet browser correctly
    ? I get only text/plain ...
    Can someone help me ?
    Regards,
    Alexis Berger

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • Problems with output using html2fo function

    Hello,
    I have a problem with output when using html2fo function.
    My sample xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <RTECODE>
    <![CDATA[
    <table border="1">
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    <tr>
    <td>row 2, cell 1</td>
    <td>row 2, cell 2</td>
    </tr>
    </table>
    ]]>
    </RTECODE>
    Can anybody explain why the rtf template output is different in pdf, rtf, excel ? It looks ok only in pdf.
    Thanks in advance.

    Check these
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#CHDCEEIJ
    https://blogs.oracle.com/xmlpublisher/entry/html_in_xml_support
    If helps mark
    Edited by: Srini VEERAVALLI on Feb 25, 2013 10:04 AM

  • How do fix problem with iPages - type does not enter - ?

    How do I fix this problem with Pages - type from keyboard does not enter ?  If I need to re-install, How do I do that?

    Hello DonAndNorma,
    You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    Cheers,
    Allen

  • Problem in creating New output types - Urgent

    hi all,
    Issue is that we had created a new plant(NSC) and for that plant, we had created new scripts for Indent and Sales Order. Means I have to create new output types for NSC Orders and Indents.
    What i did that I went to SPRO- IMG- Basic Functions- Output Control- Output Determination- Output Det using Cond Tech- Output Det for Sales Documents , created new output types ANSC and BNSC for AN00 and BA00 respectively.
    Then Output Types assigned to Partner Functions. Then I went to 'Maintain output determination procedure' and copied V06000 (Quotation Output)  and V10000 (Order Output) to ZV0000(NSC Quotation Output)  and ZV0001(NSC Order Output) respectively.
    Then I went to ZV0000(NSC Quotation Output)  and ZV0001(NSC Order Output) determination procedures and changed outputtypes to ANSC and BNSC instead of AN00 and BN00.
    Now what should i do next?? I went to 'Assign Output determination procedures' but here no new entries can be added and I cant find procedures which I created.
    Any ideas please??
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    HI,
    follow this steps:
    1. In assignment u have to assign ur new output to respective documents
    eg: Assign ZV0000(NSC Quotation Output) to QT sale doc type
    2. After doing this u have to maintain condition record
    goto tcode: VV11-> here enter ur condition type which u have defined-> inside fill in the details--> now click the <b>communication</b>  ikon in top--> fill in the details
    this is solve ur purpose
    regards,
    Arun prasad

  • PO print issue with output type

    hello,
    i have maintained a output type for a purchase organisation in MN04, VN partner keep blank , medium 1 for print out and in date time : 4
    output device is 'LOCL'  "print immediately" and "release after output" are active in communication.
    a message type generated when i created a PO, but it is a red light, and processing log is "Error in OPEN_FORM for document xxx".
    how to resolve this problem?
    best regards,
    Edited by: colin hong on Nov 11, 2010 5:25 AM

    Hi,
       With the help of ABAP'r, please check the Custom Scriptform...
    Also chk "http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/content.htm"
    1. Re: difference between open_form & Start_form (urgent)
    Regards
    GK.

  • Dunning as PDF - Problem with output

    Hi experts,
    I have a problem with the dunning as email.
    Everything works fine here with the dífferent threads (BTE 1040) - but the output is not in PDF-format. When I look at SOST, the attachment ist in *.EXT format...
    Does anybody know what's the problem?
    Thanks
    Michael
    Additional information: The file is an .pdf file - when I save it as .pdf, I can open it normally...

    Hi,
    In transaction SCOT, check the format for Sapscript/Smartforms. Double click on the node for email. e.g .SMTP. In the pop-up window there is a section for supported address types. Beside 'Internet', click on the button SET. In here select PDF as the output format for Sapscript/Smartforms and for ABAP lists.
    Also in SCOT, check Setttings -> Device types for Format Conversion, ensure that PDF is the target format.
    Regards,
    Aidan

Maybe you are looking for

  • Problem in creating file on local machine

    Hello everbody... i m using forms and reports 6i i m creating file out_file := Text_IO.Fopen(:filepath || '.csv', 'a'); using this command in before_report trigger. And closing file in after_report trigger. here filepath is = \\IP address of local ma

  • Suddenly this morning all sound disappeared from youtube youtube via Firefox. Any other ideas? I've performed a SMC, repaired disk permissions, turned up volume.

    On my iMac this morning I watched and listened to a youtube segment. I tried to replay it. No sound at all. I checked the volume,  performed a SMC, repaired the disk permissions. I have the AppleCare Protection Plan and called them. Talked to them fo

  • Very New To Java

    Hi, I'm very new to java - 2nd day. Trying to move from Visual FoxPro. In testing statements to learn java, I can't seem to get java.util.Scanner.nextInt or nextDouble ... etc. to wait for a keyborad input. Is there something I have to configure befo

  • DIAdem is amassing GDI-Objects

    Hi, I got a problem with a measuring application in DIAdem 8.1. The application is using a DAC-Block-diagramm for the measuring process. At the end of a measuring cycle the DAC is stopped and a script saves the measured data and restarts the blockdia

  • Saving xmltype columns to file system

    I want to output the values of an XMLTYPE column in one of our tables into a separate file for each record. I'm trying to get UTL_FILE to write the data and am having issues. I have found many examples of how to do this in 10, but I'm on 9i. Anyone h