Condition type add in to PO Printing/ Preview

Dear Friends,
we added one condition type like Absolute Discount (Amt) basis. PO is perfect. but while seeing Print Preview or taking Print Out this condition type not showing.. 
please advice how to solve this....
i hope ....
with regards,
Rajesh G

Hi
Ok Fine....I have one doubt whether u hav written any subroutine for this program or u hav modified driver program...
Suppose if u wrote Subroutine Program : put break point in Itcsy structue see whether the key fields r coming from script if so check whether the amount is passing to final table i mean u hav declare out_tab structure right? If its not passing means type conflict of declaration of tat variable...So declare tat amount type as string and see...
If u modified standard program means check whether the value is coming corrrectly in program or not what ever ur calculkating....
and put activate debugger in script, we can find any issues...

Similar Messages

  • PO email output type program  causes unable to  print preview

    Hi Guys,
    i am customising a program for print preview email for PO output type, but the preview does not come out , here is the code:
    form entry_neu using ent_retco ent_screen.
      data: dtext like tline.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
    concatenate l_nast-kschl 'for ' l_doc-xekko-ebeln  into
    l_nast-TDCOVTITLE separated by space.
      ekko = l_doc-xekko.
      perform set_textsymbol using '&EKKO-WAERS&' EKKO-WAERS.
      select adrc~name1 into rm06b-ltex1
        from t001
        join adrc
        on   adrcaddrnumber eq t001adrnr and
             adrc~date_from  le sy-datum   and
             adrc~nation     eq space
       where t001~bukrs = ekko-bukrs.
      endselect.
      select single regno into t9s01-regno
        from t9s01
        where bukrs = ekko-bukrs.
      if sy-subrc eq 0.
         T9S01-BUKRS = EKKO-BUKRS.
      endif.
      perform set_textsymbol using '&RM06B-LTEX1&' RM06B-LTEX1.
      perform set_textsymbol using '&T9S01-REGNO&' t9s01-regno.
      perform set_textsymbol using '&T9S01-BUKRS&' T9S01-BUKRS.
      lfa1-lifnr = ekko-lifnr.
      select single adrc~str_suppl3 into lfa1-name4
        from lfa1
        join adrc
        on   adrcaddrnumber = lfa1adrnr
        where lfa1~lifnr = ekko-lifnr.
      perform set_textsymbol using '&LFA1-LIFNR&' LFA1-LIFNR.
      perform set_textsymbol using '&LFA1-NAME4&' LFA1-NAME4.
      perform set_textsymbol using '&EKKO-WAERS&' EKKO-WAERS.
      perform read_text using 'F15' DTEXT-TDLINE.
      if dtext-tdline is initial.
            if ekko-ekgrp eq 'CP1' or ekko-ekgrp eq 'C03' or
               ekko-ekgrp eq 'P01' or ekko-ekgrp eq 'P02' or
               ekko-ekgrp eq 'P03' or ekko-ekgrp eq 'P04' or
               ekko-ekgrp eq 'P08'.
              move 'Requisitioner.' to DTEXT-TDLINE.
            elseif ekko-ekgrp eq 'CP2' or ekko-ekgrp eq 'C01' or"B0691
               ekko-ekgrp eq 'C04' or ekko-ekgrp eq 'P05' or
               ekko-ekgrp eq 'P06' or ekko-ekgrp eq 'P07' or
               ekko-ekgrp eq 'P09' or
               ekko-ekgrp eq 'C05'.                             "B0691
              move 'Accounts Payable.' to DTEXT-TDLINE.
            else.                                               "B0691
              move 'Accounts Payable.' to DTEXT-TDLINE.             "B0691
            endif.
       endif.
       t9s02-text4 =  DTEXT-TDLINE(17).
       perform set_textsymbol using '&T9S02-TEXT4&' T9S02-TEXT4.
        CLEAR GV_NO_CONTRACT.
       perform read_text using 'F13' T9S02-TEXT7.
       IF T9S02-TEXT7 IS INITIAL. "Buyer did not type anything
           MOVE 'stipulated at the end of this PO.' TO T9S02-TEXT7.
           MOVE 'X' TO GV_NO_CONTRACT.
        ENDIF.
       perform set_textsymbol using '&T9S02-TEXT7&' T9S02-TEXT7 .
       SELECT SINGLE VERKF into LFM1-VERKF
           FROM LFM1
           WHERE LIFNR = EKKO-LIFNR
             AND EKORG = EKKO-EKORG.
       perform set_textsymbol using '&LFM1-VERKF&' LFM1-VERKF .
         loop at l_doc-XEKPO into ekpo where zwert = 0.
           if ekpo-peinh ne 0.
             ekpo-zwert =  ( EKPO-MENGE * EKPO-NETPR ) /
                           ( EKPO-PEINH * 1000 ).
           else.
             ekpo-zwert =  ( EKPO-MENGE * EKPO-NETPR ) / 1000 .
           endif.
           modify l_doc-XEKPO from ekpo.
         endloop.
    clear: gv_print, gv_terms, gv_tcode.
          gv_print = tnapr-FUNCNAME.
          gv_terms = tnapr-sform.
          gv_tcode = tnapr-FONAM5.
          call function 'Z_ME_PRINT_PO'
               exporting
                    ix_nast        = l_nast
                    ix_druvo       = l_druvo
                    doc            = l_doc
                    ix_screen      = ent_screen
                    ix_from_memory = l_from_memory
                    ix_toa_dara    = toa_dara
                    ix_arc_params  = arc_params
                    ix_fonam       = tnapr-fonam                "HW 214570
                    gv_no_contract = gv_no_contract
                    gv_print       = gv_print
                    gv_terms       = gv_terms
                    gv_tcode       = gv_tcode
    end of additions
               importing
                    ex_retco       = ent_retco.
        endform.
    did i miss anything in the coding? pls advice

    hi,
    There are two options.
    1. Change the output medium of the output type to Print putput 1(No 1).
    2. For the sender customer go to transaction XD02 and give your mail ID instead of the customers and check. You will get the output in PDF format.
    Thanks,
    Kasiraman R

  • Tax rate is not appearing automatically in Condition Type of PO

    Hi,
    input tax is configured and acessed to condition type. In PO if we put the tax % in Tax code . The input tax is generated and adjusted against the vendor. but i want the exact % is to be appeared in the condition type maintained. as because the print preview of PO is not showing any tax amount. If we put the tax rate manually then it is  showing. how can i resolve the above issues.
    rgds
    satyajit

    Satyajit,
    As per you reply message,
    - You have maintained tax code X5 for MWVS.
    - Simultaneously maintained condition record.
    - The intention of above two activities are same. First one is formula based to determines tax in PO>Invoice tab> taxes. Second one also determines tax through condition record.
    However you are asking tax as PO conditon. That means a manual tax condition. Is it right?
    For getting condition rate determination in pricing, you have to maintain condition record for pricing condition type.
    Please revert back with more details to better understand.
    warm regards
    sairam akundi

  • Excise invoice print preview.

    Hi..Gurus,
    How we can see the print preview of the excise invoice. What the settings that are needed?
    regards,
    jyothi.

    hI,
    gOTO t.CODE NACE and select V3 then click the output types button, then select j110 for out put type for excise invoice, also maintain condition record and accesses sequence for the output type, then assing this to partner function, also for processing routines specify medium as 1 (printout) program as RLB_Invoice or what ever developed in your project also assgin smartform which was developed by your ABAPER.
    Then do the output determination by going to SPRO>SD>BF>output determination>output determination for Billing.
    If you maintain all these then you will be able to see the print preview of your excise invoice by going to VF02 and select the output type and then see the print preview but first you have to create your excise invoice.
    Hope this will give u some idea,
    Reward points if helpful.
    Bye
    Anil

  • Invoice output Condition type not populated for many invoice documents

    Hi Guru's
    Invoice  Out put Condition  type for printing  not populated in the invoice document. Now We need to insert condition type for many  documents to print at a time. We can manually place condition type  at document header level individually for every document. But we have many documents to print.
    plz advice me how to print all these documents
    Thanks in advance.
    Regards,
    Ravikanth

    Hi Ravi
    Just take help from your ABAP team. Record the event in SHDB ask then to get invoice number from excel file and loop the program.
    This will be more faster then LSMW.
    I am giving you BDC code
    report ZBILVF02
           no standard page heading line-size 255.
    include bdcrecx1.
    start-of-selection.
    perform open_group.
    perform bdc_dynpro      using 'SAPMV60A' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-VBELN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'VBRK-VBELN'
                                  '90010310'.
    perform bdc_dynpro      using 'SAPMV60A' '0104'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-FKART'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_transaction using 'VF02'.
    perform close_group.
    Regards
    Vijay

  • Print Preview not coming.

    Hi Experts ,
    I want to generate one SFP form YLFN_INVOICE_FORM_PT , via one output type ZP00 using TC VF03.
    Previously the Print preview was coming , but now no Print Preview is coming.
    Please check how i am doing.
    1) Goto VF03 , selecting the billing type ZP00 and pressing the Print Preview.
    2) Its Blank and come to Screen of VF03.(Invoice Display)
    Can u suggest what should i check in form or in Layout. After so many hours of debugging i found Formatting Error at last.
    But when i am checking with the previous version i am not getting any layout difference and also my form is also activated.
    Please help me out . <removed by moderator>
    Waiting for your reply.
    VIvek
    Edited by: vivek srivastava on Sep 8, 2011 12:42 PM

    a few things to check..
    in your calling program:
    1) when you call your PDF FM, check the value in your outputparams-preview field,
    2) I believe if you request the PDF data back from the FM, you won't get a preview
    Can you print the invoice just not see it? If that's the case, in your adobe form itself, check to make sure all of your subforms etc... have the correct visibility - you may have them set to Visible Print Only.

  • Just wondering if I'm looking for something that doesn't exist - can firefox automatically close the "print-preview" window after printing?

    I'm using the addon in my firefox toolbar to print preview website data then append to a pdf file. Sometimes I am distracted, then can't remember if I've gone through the process and printed/appended the page to the file. It would be helpful if there was a way that the print preview window would close after printing thereby confirming that the process has completed. Thanks in advance.

    Thanks for your reply.
    I'm running different versions of firefox on different computers. I'm aware of the upgrade procedures. Same issue in later versions as well.
    The add-on is called "Print Preview Button 0.5" by sindre-wimberger which I obtained through the "Search Mozilla Support"
    However, that's not really relevant - to bring this back to basics the same situation occurs if you do <File> <Print Preview> then print the document. The print preview screen remains until manually closed. Perhaps there is a setting in "about:config"? Does anyone know if this is so? There is an entry "print.whileinprintpreview" but not sure what setting does here. Suspect if set to "False" then you probably wouldn't be able to print from "Print Preview" screen.
    Thanks.

  • Condition type freight is not getting displayed in print preview

    Hi,
    I created PO, and while seeing its print preview:
    Condition type freight is not getting displayed.
    Where i missed?
    Uts

    hi,
    Inddition to M/08...(As given above)...
    Also do check the smart form or SAP script...used for the output...check it with the ABAPer...whether the field is liable for o/p or not??
    Smart form is attached at message type of message determination..
    Regards
    Priyanka.P

  • New condition type print preview time out.

    Dear all,
    I am a ABAPer.
    I am facing one problem in PO Print preview.
    My MM consultant defines one new condition type-ZPF5 .
    Instead of ZPF2 we are using this condition type- ZPF5.
    After that in PO ,Net value & everything coming fine.
    There is a smartform also related to this.
    I have added all logic related to ZPF5 .
    But when going to print preview In production & clicking on print preview,
    It is giving time out after 9-10 mint-Time out for ALL po,not only for this condition related .
    v_no = &SFSY-JOBPAGES& -1. "in this line.
    &SFSY-JOBPAGES& means " Total number of pages in the currently formatted print request.
    I saw M/08 - ZPF5 Print equal to 'X ' & Statistics is ticked for this.
    But when I revert back old SMART FORMS & PRINT = blank,print preview is coming fine for all PO except
    ZPF5 Is not affecting in print preview,but in PO affecting.
    Any help from MM side?
    Thanks
    Gourav.

    Dear all,
    Issue resolved.
    I have changed my select query & remove old condition from that,now I am using only ZPF5.
    Like :
    SELECT SINGLE KBETR KWERT KRECH FROM KONV INTO (V1_KBE,V_PF,V_KREC)
             WHERE KNUMV EQ V_KNUM AND
                   KPOSN EQ WA_MAT-EBELP AND
                   KSCHL EQ 'ZPF5'. " not zpf2
    Thanks all for your time.
    Thanks
    Kumar Gourav.

  • Problem while print preview purchase order for new document type

    Dear Experts,
    I have got the problem as below and need your helps.
    I created a new purchasing document type and then created a new PO with this document type. PO was created successfully in the system. I added a message to print out PO with the followed parameters as NEU output type, 1.Print Out medium , VN partner function, dispatch time is 3 ( Send with application own transaction).
    Then, I clicked Print Preview button on the ME23n screen, the error message bellowed was shown
    "The combination of  document type
    and Purchasing organization is invalid.
    please check the document and change it.
    unable to print the form"
    I really want to print the PO with new purchasing document type on the existed purchasing organization, Could you please help me identify the problem and solution for this issue?
    Appreciate for your responses.
    Thanks,
    Tinh Vo Trung
    Edited by: Tinh Vo Trung on Sep 23, 2011 7:43 AM

    Dear All,
    Many thanks for your responses.
    Regarding to maintain the condition record in MN04, I already done for that but the problem was not resolved.
    Could you please come with the other posible causes and solutions for this issue?
    Dear Bijay Kumar Barik,
    Please let me know why we check the new document type in Program, Routine and From of NEU output type?
    p/s: I compared the version the program, FORM and routine of NEU output type and found that there is no the differences btw DEV server and QAs server. However, An PO created susscessfully in QAs server, but the error was happend in DEV server.
    Could you please come with the other posible causes and solutions for this issue?
    Thanks,
    Tinh Vo Trung

  • Is it possible to add text field in condition type in PO?

    Dear Guru,
    Please kindly advice. Is it possible to add text field in condition type?
    I mean I have seen condition type "FRB1" Freight value in the condition detail we can input vendor code.
    So I would like to know is it possible to add text field in condition detail and how to set it up.
    Thank you very much.

    We would like to maintain some text in condition because of we would like to get that text to PO print out and we don't want to do enhancement.
    Ex: Condition Type: ZZZZ  Insurance  
    PO Print out show
    Item No.          Desc                                                  Qty  Unit Price  Amount
    10                 Item description                                  10000   10         100000
    20                 Item description                                  10000   10         100000
    30                 Item description                                  10000   10         100000
                         Insurance <<Description about insurance>>                  9,999
    Edited by: Saiyaman on Oct 1, 2009 1:35 PM
    Edited by: Saiyaman on Oct 1, 2009 1:36 PM

  • Pricing conditions are  not picked  in  print  preview  of  purchase order.

    Dear experts
    Purchase  order  was  created  for  imports  vendor.
    there  is  difference  of  amount  in   purchase  order  and   purchase order  print  preview.
    In  purchase  order  print preview  the  system  is  not  picking  the  values  of  custom value  and  custom  clearing charges.
    Import  pricing  procedure  is  assigned  to  vendor.
    what  else  more  be checked  since  the  print  preview  is  not  picking   the  conditions ,  custom value and  custom clearing charges.
    Any  solutions.
    Thanks  &  Regards.
    Erfan.

    Hi,
    Purchase order was created for imports vendor & must have separate documement type for Import Purchase order  or new PO output type for import.
    Check FORM or PDF/SmartForm Form used for your Import PO out put type for application EF in NACE t.code. Check SmartForm in t.code: SMARTFORMS and see condition types of custom value and custom clearing charges is there or not. Just consultant with ABAP consultant about condition types of custom value and custom clearing charges  inclusion in SmartForm.
    Regards,
    Biju K

  • Tax Condition ZSRT not showing in Print Preview and Tax Register

    Dear Friends
    while we making Purchase Order the Tax condition not showing while print preview.  also not showing in Tax Register.
    Tax Register we developed.
    any hops
    Rajesh G

    Dear,
           ZSRT is a customised condition which you have created. So to bring that condition in print preview you have to talk to your ABAPER , so that he can incorporate this condition type to his customised print preview program. If your tax register is also customised then again you have to communicate to the ABAPER.

  • SAPSCRIPT Print Preview / Output Type Options?

    When in a PO, ME23N, I do a Print Preview. For one of our businesses it displays two output types for selection, ZSBL and ZSTK, for another business (consolidated in the same test system) it just displays output without any selection options. Where is the config to point to output type options I checked NACE and TNAPR and they look right....Thanks.

    Hi,
    I am not clear with your question..
    You mean to say for second part you don't expect any output type..
    Anyways check the transaction NACR for condition records for the output type
    THanks
    Naren

  • How to configure print preview for a customised RFQ document type.

    Hi All,
          I can see RFQ print preview for a standard RFQ type AN .But while I want to see RFQ print preview in customised RFQ type ,I am not able to see .Kindly let me know where I have to maintain it in customisation.
    Regards
    Abhijit Das

    Hi,
    Confirm the following settings;
    SPRO > MM > Purchasing > Messages > Output Control > Message Types > Define Message Types for Request for Quotation > Fine-Tuned Control: Request for Quotation > Here maintain the Customized RFQ Output Type with Operation "1" i.e. New
    And then maintain the Customized RFQ Output Type in the RFQ Procedure "RMBEA1"
    And then maintain the condition record in MN01 for the Customized RFQ Output Type and then check it in ME41.

Maybe you are looking for

  • Won't let me download archive purchases

    Hi- I recently bought a mac after my PC broke again. Apple have allowed me to download all my archive purchases that were lost on the previous computer. When I try to download it however it won't let me. It says there are 861 downloads available but

  • TS1702 My iPod Touch 4th generation just won't download apps. I have tried everything I can think of. Please help!

    My iPod Touch 4th generation just won't download apps. I have tried everything I can think of. Please help!

  • (help) front audio panel cords-- sound card??

    Dear all.... I have an ancient SB Li've! 24 bit SB 040. Can anybody help me how to connect front audio header (casing) onto the card (ceati've proprietary connector)? There are 0 pin connector on the card while the casing itself has only 7 pin. Regar

  • Security Policy

    I was messing with Define policy/Role in WLS 7.0SP2 Now Im unable to start...Getting following exception <Feb 23, 2003 5:40:12 AM PST> <Emergency> <WebLogicServer> <000342> <Unableto i nitialize the server: Fatal initialization exception Throwable: j

  • Using ColdFusion with mail servers

    This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24 -70fc.html