Invoice Smartforms NEXT_PAGE Issue

Hello,
        I have a smartform where I  want only the summary information on the front page and then the line items to appear on all the following pages. Does anyone know how to do this?
        Initially, I defined a very small height on the Main window of the first page to ensure there was not going to be enough space for any items to be printed which would force the smartform to then have to call the next_page where the Main window defined is alot bigger. When I attempt to display the output for the invoice via VF03 no output is displayed. If I make the Main window on the First page bigger, then the items will start to print on the first page.
        How do I make Smartforms only print the items from the 2nd onwards?
Thanks in advance for any help/suggestions?

Hi ,
In the first page create the COMMAND node in the GENERAL ATTRIBUTES  specify  GO to NEW PAGE as your second page .
From your second page onwards data will be printed as per your requirement ..
let me know if any concerns

Similar Messages

  • Printing double line / small box residing in main box - Invoice smartform

    Hi,
    I have 2 Invoice smartforms, meant for Country_A and Country_B. We r on ECC 6.00
    Country_A is printing fine.
    But, when comes to Country_B, in ITEM table, the header box, (where column labels are printed), one more box is printing!! it looks like (not exactly) instead of single line ________ its printing ======, so, pls. let me know, Wht culd be the reason?
    Thank you

    Hi,
    Check that if you used table borders in attributes of line types.
    And also check if you are using sy-unline...
    Regards,
    Shankar.

  • VF01- invoice smartform in PDF format to be sent thro' mail

    Hello Gurus,
    We have a requirement from our client that we need to trigger a mail of invoice smartform in PDF format on saving in VF01.
    Can any body suggest the steps in NACE and also output..
    Regards

    As per your post, I understood that,
    After saving Invoice , automatically Invoice has to send in PDF format to the respective email id maintained in CMR-Payer master
    if yes, this involves ABAP & BASIS ,
    ABAP- Program & FOrm routine has to created & assigned in respective output type & type-PDF (Check in NACE- Output type)
    for this, you need to maintain the Condition record- VV31 - with medium as "Mail" -
    or else,
    you can do this manually also, in VF31- you can give a print  & save in PDF format- you can send it - but its complete manual process.

  • Bill to party address printing in standard invoice smartform

    Hi Experts,
        I am trying to modify the standard invoice smartform as per client requirement.In the payment window, i deleted the fields which are not necessary and I have to print bIll to party address in payment information window. I wrote the code like this in program lines.
    CLEAR GS_HD_ADR.
    get customer adress number
    READ TABLE IS_BIL_INVOICE-HD_ADR INTO GS_HD_ADR
    WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER
                  partn_role = 'RE'.
    ADRNR = GS_HD_ADR-ADDR_NO.
    DATA : IT_ADRC TYPE STANDARD TABLE OF ADRC with header line
           WA_ADRC like line of  it_ADRC.
    SELECT * FROM ADRC INTO TABLE IT_ADRC
    WHERE ADdrnumber = GS_HD_ADR-ADDR_NO.
    read table IT_ADRC INTO WA_ADRC index 1.
    Next I Created one text node and I inserted fields like
    &wa_adrc-name1&
    &wa_adrc-street&.
    In SE16 , data is there for name1 and street fields of ADRC table. when I am trying to activate the form , iam getting warning message as field&wa_adrc-name1& has no defined value. In the output, data is not displayed for bill to party address. Please tell me the solution.

    Hi Parwez,
      Sorry Iam very busy from morning.So,Iam unable to reply .You can ignore the warning messages.
    In global definitions, types tab write the following code.
    types:begin of ty_adrc,
         addrnumber type AD_ADDRNUM,
         name1 type AD_NAME1,
         street type AD_STREET,
         city1 type AD_CITY1,
         city_code type AD_CITYNUM,
         end of ty_adrc.
    types:wa_adrc type table of ty_adrc.
    In global data,
    it_adrc type table of ty_adrc
    wa_adrc type ty_adrc
    In the program lines of address window, write this code.
    CLEAR gs_hd_adr.
    get customer adress number
    READ TABLE is_bil_invoice-hd_adr INTO gs_hd_adr
    WITH KEY bil_number = is_bil_invoice-hd_gen-bil_number
                   partn_role = 'RE'.
    adrnr = gs_hd_adr-addr_no.
    SELECT name1 street city1 city_code FROM adrc INTO corresponding fields of TABLE it_adrc
    WHERE addrnumber = gs_hd_adr-addr_no.
    loop at it_adrc into wa_adrc.
    READ TABLE it_adrc INTO wa_adrc with key addrnumber = gs_hd_adr-addr_no.
    endloop.
    try with this code

  • Regarding Purchase Invoice Smartform

    Hi.I need to develop a purchase invoice smartform.I am having the following fields.
    1) g/l Account
    2)Narration
    3) Posting Date
    4)Bill Number
    5) Bill DAte
    6)PO No
    7)PO Text
    8)Voucher No
    9)Voucher date
    10)quantity 11) rate 12)amount13)discount 14 ) sales tax
    What are the tables & Fields required for these.I'm not sure whether to take these from rbkp rseg or from purchase tables.
    It's very urgent.
    Helpful answers would be appreciated

    Hi
    Look at the tables EKBE.
    RKPF and RSEG  for the pur invoice info and if needed look at the tables BSIK and BSAK also for the accounting info
    Regards
    Anji

  • Regarding Purchase Invoices Smartform

    Hi.I need to develop a purchase invoice smartform.I am having the following fields.
    1) g/l Account
    2)Narration
    3) Posting Date
    4)Bill Number
    5) Bill DAte
    6)PO No
    7)PO Text
    8)Voucher No
    9)Voucher date
    10)quantity 11) rate 12)amount13)discount 14 ) sales tax
    What are the tables & Fields required for these.I'm not sure whether to take these from rbkp rseg or from purchase tables.
    Helpful answers would be appreciated.

    hi
    you can use RBKP and RSEG tables for Vendor invoice (purchase) form output
    if needed you can use EKBE, BSik and BSAK tables alos
    Regards
    Anji

  • Problem in invoice smartform requirement

    Hi,
              Invoice smartform was developed without using the control structures, as some problems is occuring,
             i have used the control structures, earlier while calling the function module from the driver program.
             they have passed internal table it_head in the driver program and in the form interface of the smartform
            as i am using control structures i have taken in the loop. and passed work area from driver to smartform
            changing in the form interface of the smartform
            the runtime error is coming as The field "WA_HEAD" cannot be changed.
           can any pls expalin what is the wrong going on and steps to correct it.

    Hi,
    That will happen because you are using local structure in driver program,passing internal table of local structure to global intetface at smartform ,you are using the same structure as in driver program at smartform interface(that is local to driver program).
    create Global structure in SE11,,then use the same structure to create internal table in both side(in driver and smartform)
    run time error will clear.
    any help revet back
    Thanks...

  • Invoice Smartforms or Sapscript for Argentina

    Gurus,
    Does anyone knows if SAP provided an Invoice smartform or sascript specific for Argentina?
    Thanks,
    Apollo

    hELLO,
    You can take a copy of MEDRUCK sapscript and customize it to your needs.
    I´d recommend to create a new sapScript instead.
    Bye
    Gabriel P

  • AP invoice workbench performance issue.

    Hi Guys,
    We have a production system with RHEL 5 ,R12 12.0.6 and DB:10.2.0.4
    WE are facing Performance issue in Inovoice workbench were users when click on Inovoice  batches or Inovoices it takes a lot of time to open the invoice form.
    Also Validation of inovoices consumes a lot of time which is unaccepted .
    Request you please give some pointers or note id to followd already have locked an SR with oracle .
    This is urgent
    Regards,
    Milan

    Please see these docs.
    R12 Invoice Workbench Form Has A Performance Issue [ID 1072338.1]
    Bad Performance When Checking Funds In Invoice Workbench [ID 1091280.1]
    Bad Performance In Invoice Workbench (APXINWKB) Find Window When Searching By Purchase Order [ID 1195623.1]
    R12 AP Invoice Workbench Performance Issues [ID 957105.1]
    Poor Performance On Invoice Validation In The Invoice Workbench [ID 1130313.1]
    Invoice Workbench> Actions: Pay in Full Performance Issue [ID 983804.1]
    Invoice Workbench (APXINWKB) Performance Issue While Selecting The Self Assessment Check Box [ID 1210340.1
    Performance of Project Expenditure LOV At AP Invoice Header in Invoice Workbench [ID 1143943.1]
    R12.1.1 Performance Problem in AP Invoice Workbench [ID 861205.1]
    R12 Invoice Performance FAQs [ID 579737.1]
    Thanks,
    Hussein

  • Invoice smartform wrong format date

    Hi All,
    In the invoice smartform we have using the standart date form; thats means that the format date comes from the user profile (SU3 or SU01) in the default tab. In our case the users have the following form DD.MM.YYYY; but the output shows the format YYYY.DD.MM.
    Our IT guy told me, he have no found nothing wrong in the debuging; because we are using the standart tool.
    Has someone had these error? How resolved it?
    Thanks,
    JCR

    Hi,
    I remember other possibility. Check in the smartform (tcode SMARTFORMS) for the field, you can have a coding for it. Check the before commands (SET LOCALE and GET LOCALE). Look for the help of an ABAPer if you don't know this tool.
    Regards,
    Eduardo
    PD: or the command WRITE date TO field_date FORMAT yyyymmdd.
    Edited by: Eduardo Hinojosa on Jul 15, 2010 10:05 AM

  • Debugging Dunning Invoice Smartform

    Hi Guys,
                  I am testing Dunning Invoice smartform from tcode F.62
    Even though I put a break-point in the code still I couldn't debug it.
    Is this because its been called in the background ?
    How to enable debugging in this case.
    Thanks
    Senthil

    Hi Kartik,
                   Thanks for the reply.
    In this case I am calling F.62 tcode to genarate the form after I am viewing it in SP01.
    Not sure which background job its calling. I will search for it, Thanx for the info though.
    Cheers

  • Invoice Smartforms

    Hello,
            I have written a bespoke invoice smartforms. The problem I am having is that sometimes the smartform is generating a 'next page' when it does not need to. There is a Footer detail defined within MAIN. The smartform lists the items and then prints the footer detail and then it sometimes prints the next page but with just the general information (i.e logo, title, invoice number, etc).  In some instances there is no item information so there is no secondary window expected to displayed on the next page.
            My question is, how do I stop this additional page from being produced when there are no items to be displayed on this page? I thought that the 'next page' is only suppose to be generated when it cannot fit the items all on the first page.
            Has anybody experienced the same  problem? Any help would be appreciated.
    Thanks in advance.

    Hi,
    I had this requirement, where the items should be displayed only on 1 page, as it was an Excise Invoice.
    If the Items spill over to the next page, I generate an error Pop-up message, thereby stopping the Print-preview processing.
    In your MAIN window, put this code to chk the current page no.
    if sfsy-formpages > 1.
      message 'Items splilling over to next page'  type 'E'.
      return.
    endif.

  • Regarding invoice smartform

    Hi experts,
    I have seen invoice smartform  step by step procedure in the following  link.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/printing+invoices
    But when Iam trying this smartform, we dont have predifined types like y_ty_vbrk in our server. So, can anyone tell me what are thedeclarations to be maintained in form interfaces and global variables and what shoulb be written in the types declaration. In the link,in one screenshot we have
    OPERAND . but in our server we have INTERNAL TABLE. what should we have to write there for activating the smartform without errors.

    in FORM interface you have belwo strctures.
    most of the data you will get IS_BIL_INVOICE if not there you will create own internal table in smartform itself..
    IS_BIL_INVOICE     TYPE     LBBIL_INVOICE
    IS_NAST     TYPE     NAST
    IS_REPEAT     TYPE     NA_REPET

  • Smartform Implementation issue for the report  RFKORD50

    Hi,
    I have a requirement to implement a smartform for FI Invoice. 
    This smartform should be configured in OB96 for the print program RFKORD50.
    Currently the SAP Script F140_DOCU_EXC_01 has been configured for Standard print program RFKORD50.
    This SAP Script should be replaced with Smartform. But the issue is the report  RFKORD50 is designed to
    call only a SAP Scrip. Is there any better way to trigger the Smartform other than modifying the standard program?
    Thanks,
    Sailaja.A

    Hi,
    One of the very tough task, when it comes to migrate a script into Smartforms .. With a satndard print program ..
    You have a option on samrtform screen , just to migrate a Sapscript into Smartform .. But it is just a migration of Layout.. means just creation of WINDOWS and pages.. All the elements and text node creation still you need to do ..
    But one of the major challenge is to Customize your print program..
    So i will suggest you to create a Z copy of RFKORD50.. as print prgm .. Then you can feal better
    Now keep all the data selection part as it is .. collect it in different structure, then call your samrtform..
    and before calling your smartform, prepare your layout ..
    Very Imp suggestion, try to work on small small task.

  • Smartform Report Issue

    Hi friends,
    I'm new to smartforms. I have created a smartform for customer outstanding Report. but have some issues.
    That is,
    I want to categorize all rows in reports to,
    - Unsettled Invoices (Condition is -> BSID-BLART = 'RV' AND BSID-BLART = 'SA')
    - Unsettled Advances/Credit Notes (Condition is -> BSID-BLART = 'DZ' AND BSID-BLART = 'DG' AND BSID-UMSKZ = 'A')
    - Unsettled return Cheques (Condition is -> BSID-BLART = 'DZ' AND BSID-UMSKZ = 'D' AND BSID-XBLNR = 'R')
    for example the output is like this:
    Date invoice No Amount No of Days Balance Less30 Over30 Over60 Over90 Over120
    Unsettled Invoices
    15/03/2010 HHIN00023952 100000 100 750
    15/03/2010 HHIN00023952 100000 100 750
    15/03/2010 HHIN00023952 100000 100 750
    Unsettled Advances/Credit Notes
    15/03/2010 HHIN00023952 100000 100 750
    15/03/2010 HHIN00023952 100000 100 750
    Total 500000
    Unsettled Return Cheques
    15/03/2010 HHIN00023952 100000 100 750
    15/03/2010 HHIN00023952 100000 100 750
    Total 200000
    This is the download link to my smartform - https://rapidshare.com/files/785255519/zcusrep.xml
    please help me someone. Thanks

    Thanks for your reply, Can you clarify your solution more? cuz i don't have any idea of adding identifier to those conditions in internal table
    this is my se38 program for it,
    REPORT  ZCUSTREP2.
    TABLES : KNVP, KNVV.
    types : begin of ty_knvp,
            kunnr type knvp-kunnr,
            pernr type knvp-pernr,
            end of ty_knvp.
    data : wa_knvp type ty_knvp,
           it_knvp type table of ty_knvp.
    types : begin of ty_knvv,
            kunnr type knvv-kunnr,
            vkorg type knvv-vkorg,
            end of ty_knvv.
    data : wa_knvv type ty_knvv,
           it_knvv type table of ty_knvv.
    types : begin of ty_final,
            kunnr type knvp-kunnr,
            pernr type knvp-pernr,
            vkorg type KNVv-vkorg,
            end of ty_final.
    data : wa_final type ty_final,
           it_final type table of ty_final.
    Selections **********************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_PERNR for knvp-PERNR matchcode OBJECT ZREP_CODE. "repcode
    SELECT-OPTIONS : S_VKORG  for KNVv-VKORG no intervals no-extension OBLIGATORY. "company code
    SELECTION-SCREEN END OF BLOCK B1.
    Selections **********************
    end-of-selection.
      select kunnr pernr
        into table it_knvp
        from knvp
        where PERNR in S_PERNR
        and pernr ne '00000000'.
      select kunnr vkorg
       into table it_knvv
       from knvv
       where vkorg in S_VKORG.
    loop at it_knvp into wa_knvp.
        read table it_knvv into wa_knvv with key kunnr = wa_knvp-kunnr.
        if sy-subrc = 0.
          wa_final-kunnr = wa_knvp-kunnr.
          wa_final-pernr = wa_knvp-pernr.
          wa_final-vkorg = wa_knvv-vkorg.
          append wa_final to it_final.
        endif.
      endloop.
      CALL FUNCTION '/1BCDWB/SF00000052'
    *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
          ITAB                     = it_final
    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.

Maybe you are looking for