One Print program can call moe than one layOut

HI all.
In SAP-Scripts ,,One Print program can call moe than one layOut ?
Thanks in advance
Sri...

Yes you can call more than one SAPScript and Smartforms from your one print program.
For SAPScript, you need to use the OPEN_FORM or the START_FORM for each new FORM.
For SMARTFOrms, you need to call those Smartform's FM in a sequence.
Regards,
Naimesh Patel

Similar Messages

  • Printer setup when print program is called through a BAPI from a VB program

    Hi All!
    I have a BAPI being called by a VB program. The BAPI prints successfully when executed using the SAP GUI but fails to print when called via the VB program.
    Is there any special printer setup needed for this?
    Thanks!

    Excellent Search Server seems to be a virus; it may be that searchpredict is one, as well.
    You should run anti-malware programs such as BitDefender and Spybot SD, along with fully scanning your computer, in order to eradicate the issue.
    Otherwise, simply uninstall and reinstall Firefox. You can save your bookmarks and import them once it is reinstalled. Simply research "how to save bookmarks in Firefox."

  • Print Peyment advice for moe than 2 lines only

    Dear all,
    I would like to be able to print a Payment advice only if there are more than 2 items in the list. Should I set some restrictions in the Payment advice for customizing? What shoul dbe set exactly?
    Thank you very much,
    Desimira

    Hi,
    There is no standard solution to it.
    But there is one BTE (Business Transaction Event) available in transaction "FIBF > Settings > Products > of a Customer"
    There do the F4 on the BTE and you will find a BTE for the Automatic Payment Program - Document Selection.
    You can play your logic with the function module to be assigned for this BTE.
    Regards,
    Gaurav

  • Calling print program from co03

    hi all,
    we have a requirement to print the production order through smartforms .
    the process is like...if we click on  functions--->print ..then a print program is called..which fetches the production order number from in co03...and then the print program fetches all data related to that order.
    but i dont know how to fetch the production order number and input it to print program..
    any pointers?..
    (plzz have the complete detailed solution which would be easier to implement)
    thanks

    Hi Kunal,
    You will have to configure the form and print programs using tcode OPK8.
    For detail, please have a look at print program PSFCCONF and smartform PSFC_STD_LAYOUT.
    Just structure your Z print program according to the standard print program.
    Regards
    Sagar

  • Copying print program for sapscript

    Hello all,
    I would like to customize the print program PSFCPICK which we are using to print a sap script for shop orders.
    So I did a copy of the program and named the new one ZPSFCPICK and assigned the copied print program to the list in OPK8. I know the copied print program is called when printing the script,
    but no output is coming out of the printer. When I change it back to the original program, it is working fine.
    Is there anything I have to pay attention when copying a print program??
    Thanks
    Anne

    HI Anne,
    Check in this custom program or copied program whether you are calling FM -  CLOSE_FORM
    The function module closes the layout set opened using OPEN_FORM. The system executes any terminating processing steps for the last opened layout set. You must use this function module to close layout set printing. Otherwise, no output appears on printer or screen.
    Best Regards,
    Krishna

  • RFFOAVIS_FPAYM: Is this print program will support multiple PO line items

    Hi, I am using the print program:<b>RFFOAVIS_FPAYM</b> and customized layout of: <b>F110_IN_AVIS</b>. I am able to get multiple Document numbers but I am not getting the multiple PO line items for each Document no. I had called the perform statement in text element : <b>625</b> in Main window.
    Can you suggest how to modify the standard print program to our requirement. Where we need to
    [code][code][code]<b>declare the text element</b>
    [/code][/code][/code], Where we will declare the <u><b>internal table for getting the PO line items.</b></u>
    Thanks & Regards
    Madhu

    Amar,
    You can create a PO with multiple line item, but you can not create the PO with multiple currency.
    Regards,
    Manish

  • Urgent,About Purchase order SAPFM06P print program

    Hi ,
        We define a form("ZFORM") for contract printing in language EN,and we want to use it no matter what language the vendor master data is.But now we have a problem that
    when the vendor master data is maintained in ZF language,the print program can not call the form in EN , Do we have to delete other language define of "ZFORM"?
    Does anyone can help? thanks a lot.
    Pole

    Solved by ourself. In fact,we have EN version only, and when we transported the form from DEV to PRD,an unfinished version of ZH form was transported, so it showed the wrong result.

  • Print program for PO

    Hi..
    I'm trying to find the print program for MEDRUCK(Purchase Order). In NACE I found a program called 'SAPFM06P' for print output medium.. But it is a subroutine pool.. How to execute this program?
    Regards,
    Nithy

    Yes, the printing program is called by the form
    ENTRY_NEU in 'SAPFM06P'

  • How to Import customized internal table to smartform from Print Program

    Hi Gurus,
    I want to Import customized internal table to smartform from print program, Can anybody tell me how it is possible.
    With regards,
    S.Saravanan

    There is no problem passing an internal table to a smarforms, smartforms have the same interface as a function module ([Defining the Form Interface|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm] in [Smart Forms|http://help.sap.com/saphelp_nw70/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm]) so could you elaborate a little more on your requirement (is it a standard a custom forms, etc.)
    Regards,
    Raymond

  • Finding Print program

    How to locate the print program for a SAPScript(form) without an output type?How do we get to know which specific print program is calling a specific form?

    so u might be using SSF_fuctionmodule_name.
    so in this FM give ur form name
    as given below....
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = lf_formname
        VARIANT                  = ' '
        DIRECT_CALL              = ' '
       IMPORTING
         fm_name                  = lf_fm_name
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
      error handling
         CF_RETCODE = SY-SUBRC.
        PERFORM protocol_update.
      ENDIF.
      CALL FUNCTION lf_fm_name
        EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
          is_nast                    = l_nast
          doc                        = l_doc
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      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.
    this lf_formname is nothing but variable hloding ur formname

  • Print program and out  type assignment.

    i have created to new layout for the print program which already has other layouts.
    based on certain conditon in the print program i have to trigger my layout.
    so ,
    shd i assign a output type for this new layout.
    what happens  we dont assign output type to that smartform

    Output type is responsible to determine the kind layout at runtime.
    yes you need to assign output type to your form since you are taking print from standard t-code.else you may run your form seprately from ptint program only.
    for assiging output type you may search forum for NACE transaction.

  • More than one print program for one sap script

    Hi Experts,
    I have more than one print program which is attached to one sap script. There is standard text used in the script which has variable as date, i want that date to be converted into the previous date but only for one specific print program. For rest of the print program it should behave as it is.
    I have tried it using ( s_date - 1 ) formula and it is working fine. But the variable s_date is used in other parts of the program which is affecting rest of the functionality when i am using above said formula. I can't use other variable in standard text as it is used by other programs.
    Please guide me to resolve this, thanks in advance.

    Well, I'm not sure if I understand the scenario 100%, but I think what you have is a standard text (that you cannot change) referring to variable &S_DATE&. You want this to display the previous day's date when the form is used by one print program but not when it's called by another.
    Also, you don't want to change S_DATE to S_DATE - 1 for the whole printout, because apart from the text display, S_DATE is used elsewhere and you want to keep the date as S_DATE, not the previous day.
    I assume that you can change the coding of the form.
    If all of the above is correct, then you could change the value for S_DATE in the form to the previous day just before it calls the standard text and change it back after the output of the text is done. So right befor the INCLUDE for the standard text, you could use an IF statement in the form logic, query the value of SY-REPID (or SY-CPROG). You'll have to test which one shows the print program name. Depending on that, you can do S_DATE = S_DATE - 1 and after the INCLUDE, do the same thing and change it back to S_DATE = S_DATE + 1.
    But honestly, this is a pretty shady programming technique... I mean, hard coding references to the print program name in the form logic is certainly not a very clean method

  • Can we use same program ID for more than one RFC scenarios

    Hi experts,
                I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
    data: iquote type standard table of ZIQMD initial size 0,
          IPRODUCT type standard table of ZPMS initial size 0,
          wa_quote type ZIQMD,
          wa_PRODUCT type ZPMS.
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
      TABLES
        I_QUOTE       = iquote          .
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
    'ID4'
      TABLES
        I_QUOTE       = iquote          .
      COMMIT WORK.
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
      TABLES
        IPRODUCT       = IPRODUCT          .
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
    'ID4'
      TABLES
        IPRODUCT       = IPRODUCT          .
        COMMIT WORK.
    when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER'  , but iam not getting data  for 'Z_CBT_RFC_PRODUCTMASTER'  interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
                  Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
    Thanks in advance.
    Thanks & Regards,
    Poorna.

    Just tried this and I can confirm that my earlier understanding was correct!
    One of my colleagues confused me out and the conclusion is,
    1. You need a separate TCP IP Connection for every interface with a Unique program ID.
    Regards
    Bhavesh

  • How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?

    How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?

    If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
    If I was not clear you can use the following link to help you solving your issue:
    Creative Cloud Help | Manage your Creative Cloud for teams membership
    If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
    http://adobe.com/getsupport
    I think this will help you.
    Regards

  • I find I am unable to print any photo because the program "Can't find a theme and the Print command wont work without at least one theme. How can I overcome this problem?

    I find I am unable to print any photo because the program "Can't find a theme and the Print command wont work without at least one theme. How can I overcome this problem?

    reinstall iPhoto
    see this discussion down a few from your post
    https://discussions.apple.com/thread/5426566?tstart=0
    LN

Maybe you are looking for

  • Output sharpening in Adobe Camera Raw (ACR) and Photoshop CS5

    Output sharpening in Adobe Camera Raw (ACR) and Photoshop CS5 I want to do two-pass sharpening - capture and output - with output capture done just before I print. I do the initial (capture) sharpening in the ACR Detail/Sharpening panel, with Amount

  • Want to make a bootable disk, but...

    Recently survived a minor nightmare of "losing" my hard drive.  With disk warrior managed to get back in business.  But I realized I really need a way to boot up from a backup.  I'd prefer to use a thumb drive.  I have Super Duper (supposedly bootabl

  • Mapping Model Nodes

    Hi Gurus, Can anybody tell me , which is the best practise for mapping a structure to view through Component Controller . 1) Setting all the model node values to a Value node on controller level and Map to the view 2) Directly mapping the model node

  • Why do i get integer values instead of decimals when selecting a mysql table through an oracle xe DB?

    Hi My company just started a new project that implies migrating every hour operational data from a mysql database located at another company to our main DB (oracle10gR2). Between these two DB, we have an oracle XE DB which contains the database links

  • Function Module to determine availabilty of PP-PI-Resource

    HI, I need to know if there is any function module in SAP R/3 that delivers the available / unavailable times of a PP-PI-Resource depending on calendar and shift. Can anybody help? Thanks! Harald