Call two smartforms from two different print programs

Hi Sapiens,
  I have a requirement that there are two different smartforms and they have there independent print programs.
  Just wanted to know weather is it possible in SAP to merge those to smartforms and there print programs so that first smartform is displayed first and second smartform is printed at its back(duplex printing).
Regards
Milind

Hi,
You can use submit program in the first program to call the second program and
fetch the required interface data related to the second smartform and once u have the interface data
for both the programs then u can merge the both smartforms data and display them as one layout instead of displaying the two layouts in different formats.
For merging of data of both the smartforms u can do :Convert the output of first smartform into OTF format data then convert the data of second smartform into OTF table and append it to the first table .
Now u have the data of both the smartforms in one table then convert this OTF data into PDF format and create a spool request with the combined forms data.
Thanks,
M.Naveen Kumar.

Similar Messages

  • Calling a Smartform from different driver programs

    Hi everyone,
    I have two driver programs and from both these programs i'm calling the same Smartform.
    I have a field in smartform. and i want it to be printed for one program but not printed when the
    smartform is called from the second program.
    Pls. can anyone help me out about how this can be achieved.
    Thanks in advance.
    Regards
    Tanu

    Create an import parameter (flag) in your smartform interface and when you call your smartform from one of these drivers pass assume 'X' value to this flag. And add a condition for the field you want to hide. like below. 
    if flag = 'X'
    show or don't show.
    endif.
    Edited by: Gungor Ozcelebi on Jul 3, 2009 5:08 PM

  • I am trying to configure two WRV200 from 2 different loca...

    I am trying to configure two WRV200 from 2 different location and ADSL
    accounts. One location has PPPoE and the other has PPPoA. Both of it are
    having a Speedtouch 356 6V modem. The router which using PPPoE and having a DDNS from TZO.com has no problem with the Quick VPN but the router which using a PPPoA connection could not able to connect even the quick VPN.
    There is an option to ridirect the Public IP of Speedtouch to other network device and I manage to configure it and now my router who is having a PPPoA connection has a Public IP. But still the same problem VPN still not working.
    Is there any chance that I could make this router work with the PPPoA connection. I will really appreciate if somebody could help me with this problem.

    Sorry for making you confuse. Here is the VPN log details of the 2 routers.
    Router 1:
    000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
    000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 5s; rekey_fuzz: 100%; keyingtries: 5
    000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE; prio: 24,24; interface: eth0; 000 "TunnelA": dpd: action:hold; delay:30; timeout:120;
    000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
    000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
    000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
    000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
    000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
    000 #12: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 9s; nodpd
    000 #12: pending Phase 2 for "TunnelA" replacing #0
    Router 2:
    000 "TunnelA": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
    000 "TunnelA": ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 3
    000 "TunnelA": policy: PSK+ENCRYPT+TUNNEL+UP+AGGRESSIVE; prio: 24,24; interface: ppp0;
    000 "TunnelA": dpd: action:restart; delay:30; timeout:120;
    000 "TunnelA": newest ISAKMP SA: #0; newest IPsec SA: #0;
    000 "TunnelA": IKE algorithms wanted: 5_000-1-2, flags=strict
    000 "TunnelA": IKE algorithms found: 5_192-1_096-2,
    000 "TunnelA": ESP algorithms wanted: 3_000-1, flags=strict
    000 "TunnelA": ESP algorithms loaded: 3_000-1, flags=strict
    000 #3: "TunnelA":500 STATE_AGGR_I1 (sent AI1, expecting AR1); EVENT_RETRANSMIT in 8s; nodpd
    000 #3: pending Phase 2 for "TunnelA" replacing #0
    Hope this could help you.

  • How can i join two libraries from two different users

    how can i join two libraries from two different users in the same computer?

    I should add that you can turn on SHARING where each user can see the other user's library and play stuff out of it. But they can not import those tracks to their own library or put them into their own playlists or burn CDs of the shared library.
    Also note, to do this you need to have the fast switching option enabled with the accounts so both can be running at the same time and both must have iTunes running at the same time.
    Patrick

  • How to compare two rows from two table with different data

    how to compare two rows from two table with different data
    e.g.
    Table 1
    ID   DESC
    1     aaa
    2     bbb
    3     ccc
    Table 2
    ID   DESC
    1     aaa
    2     xxx
    3     ccc
    Result
    2

    Create
    table tab1(ID
    int ,DE char(10))
    Create
    table tab2(ID
    int ,DE char(10))
    Insert
    into tab1 Values
    (1,'aaa')
    Insert
    into tab1  Values
    (2,'bbb')
    Insert
    into tab1 Values(3,'ccc')
    Insert
    into tab1 Values(4,'dfe')
    Insert
    into tab2 Values
    (1,'aaa')
    Insert
    into tab2  Values
    (2,'xx')
    Insert
    into tab2 Values(3,'ccc')
    Insert
    into tab2 Values(6,'wdr')
    SELECT 
    tab1.ID,tab2.ID
    As T2 from tab1
    FULL
    join tab2 on tab1.ID
    = tab2.ID  
    WHERE
    BINARY_CHECKSUM(tab1.ID,tab1.DE)
    <> BINARY_CHECKSUM(tab2.ID,tab2.DE)
    OR tab1.ID
    IS NULL
    OR 
    tab2.ID IS
    NULL
    ID column considered as a primary Key
    Apart from different record,Above query populate missing record in both tables.
    Result Set
    ID ID 
    2  2
    4 NULL
    NULL 6
    ganeshk

  • Can we call multiple Smartforms from single Driver Prog?

    Hi all,
    Can we call multiple smartforms from single Driver Program. Here Driver program is custom Program.
    I want to give Print Parameter only once and output should get printed one after the another smartform in same order of smarforms were called.
    If yes, then how?
    Thanks in advance.

    Yes, you can do this in your Smartform driver program.
    Each time you call you Smartform function module you will need to change the values in structure OUTPUT_OPTIONS slightly.
    On the first call set TDNEWID to X.
    After this, set it to space
    On the last form set TDFINAL to X.
    This will put all of the output into one spool request, in the order they are called in the program.
    Regards,
    Nick

  • Do we have different Print Programs for printing Cheques in Different Lang

    Hi Peers,
    I have requirement of  Cheque printing in SPANISH Language.
    We have been using Program RFFOUS_C (International Payment Medium - Check (with check management)) for printing Cheques in French & English.
    This same print program does not work with the Spanish Script ZF110_ES_CHEQUE which is copy of French script.
    I am wondering if we have to use a different Print Program (RFFOES_T) or is it the issue with the data & configuration.
    Could you please clarify.
    Thanks in advance!
    Regards,
    Daniel

    Hi,
    Thanks for the suggestion!
    The Print Program set in FBZP is RFFOUS_C  for the country Mexico.
    The Print program works well in Client DCO100 but the same printprogram when used in DCO101 doesn't work for the Mexico script.
    The Mexico script is also a copy from client DCO 100 . In the this Mexico script I have changed the currency & Defined language as 'S' at some places .
    The payments are processed but no Spool requests are generated.
    Thanks,
    Daniel

  • Calling multiple smartforms in a single driver program.

    Hi ,
    Can anybody tell me how can I call multiple smartforms in a single driver program.
    Each form has been assigned a output type.
    Regards,
    Sudha.V

    Hi,
    Here i  have 2 smartforms assigned to different OUTPUT TYPES
    Use this way
    IF nast-kschl = 'FUCI'  .
        ci_form = 'ZLAYOUT'.
      ELSEIF nast-kschl = 'RD04'.
        ci_form = 'ZLAYOUT01'.
      ENDIF.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = ci_form
        IMPORTING
          fm_name            = fnam
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
    AFter this call the smartforms based on the output type
    Please closeif solved,
    Thanks,
    Aditya
    Edited by: aditya on May 21, 2008 6:15 PM

  • How can One sender communication channel pick two file from two location

    Hello
    I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    >
    Soumitra Sinha wrote:
    > Hello Vijay
    > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
    > i have two folder   folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can  pick file from two location and how one receiver channel can put in two location.please help me..
    Ok now I get your requirement.
    you cant achieve this -  how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
    easy way - involve IR mapping
    else
    have a adapter module to define your dynamic configuration.
    Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
    Set the dynamic directory/file name etc for your receiver adapter.

  • How to call a package from a different instance?

    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    Regards
    Terry

    Terry Chen wrote:
    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    First you have to create create dblink in A1 database as below
    CREATE DATABASE LINK INSA1
       CONNECT TO USER_NAME IDENTIFIED BY <pass>
       USING 'B!' Then you can execute exec pack_b@INSA1;

  • Standard smartform name and standard print program name for Sales Quotation

    Hi,
    I would like to know the standard smartform name and standard print program name which can be used for sales quotation through transaction VA23.
    For eg: The standard output type for billing document (For T code VF03) is RD00 and it' smartform name is LB_BIL_INVOICE. It's print program name is RLB_INVOICE.
    Similarly, I would like to know the standard smartform name and standard print program name for AN00 output type which is used for sales quotation. .
    Regards,
    Zahid

    Hello
    std driver prgram is /SMB40/RVADOR01
    form entry is ENTRY
    std smartforms is /SMB40/SDQUO_A an du can check this the in NACE tcode.
    Output Type     AN00          Quotation
    Application     V1            Sales
       Program                   /SMB40/RVADOR01
       Form Routine              ENTRY
       Form                      RVORDER01
       PDF/Smartform Form        /SMB40/SDQUO_A                 
    Thank u,
    santhosh

  • How to schedule two jobs from two different work repository at a time?

    Hi All,
    I have a scenario where I want to schedule two jobs at a time from two work repository.
    Explanation:
    Master Repository-A
    Work Rep-B
    Work Rep-C
    Now I need to schedule two scenario one from Work rep B and other from Work Rep-C
    As we know that odiparams batch file contains the connection details and at one time it can hold only one work repository name.
    Odiparams data:
    rem Repository Connection Information
    rem
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:jdbc:oracle:thin:@10.10.10.10:1521:orcl
    set ODI_SECU_USER=odi_snpm
    set ODI_SECU_ENCODED_PASS=aYyHZZCrzk5SjQ9rPOIUHp
    set ODI_SECU_WORK_REP=*ODI_LOCALDEV_WRKREP*
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    Scheduler agent will pick this information from the odiparams file and update the schedule.
    So If I want to schedule two job, how it is possible?
    I tried all possible things but didn't get the proper solution?
    Edited by: user10765509 on Jul 21, 2010 4:58 AM

    You can do it in the following way
    1. copy/paste the original odiparams.bat file
    2. give it a name say odiparams_a.bat
    3. specify the work repository A related information in odiparams_a.bat
    4. Make another copy of odiparams.bat file
    5. give it a name say odiparams_b.bat
    6 specify the work repository B related information in odiparams_b.bat
    7. now make 2 copies of agentscheduler.bat give the name as follows
    agentscheduler_a.bat and agentscheduler_b.bat
    8. edit agentscheduler_a.bat and change
    call "%ODI_HOME%\bin\odiparams.bat"
    with
    call "%ODI_HOME%\bin\odiparams_a.bat"
    9. edit agentscheduler_b.bat and change
    call "%ODI_HOME%\bin\odiparams.bat"
    with
    call "%ODI_HOME%\bin\odiparams_b.bat"
    10. now start two scheduler agent by calling agentscheduler_a.bat and agentscheduler_b.bat
    Thanks,
    Sutirtha
    PS : Take a backup of each and every file getting modified

  • How do I combine two libraries from two different computers?

    My wife and I have two libraries on two windows computers. She wants to add my songs to her library. I do not wish to add her songs to mine. Can we do this? How is it done?
    All songs on my iPod have been purchased from iTunes. Her library is half purchased from iTunes, using the same iTunes account, and half from CDs that she's loaded.
    OK, rookie question. But we're headed on vacation and I want my iPod back for the trip.
    Thx!

    You can transfer the iTunes songs from your iPod to her computer, just remember two things.
    1) Set your iPod to manual management before connecting to another computer so you don't accidentally erase it. You can change it back to auto-syncing on your own computer when you are finished:
    Using iPod with Multiple computers
    Managing content manually on iPod and iPhone
    2) Authorise your wife's computer to play songs from your iTunes Store account:
    About iTunes Music Store Authorisation and Deauthorisation
    Copying iTunes Store purchases from your iPod or iPhone to a computer

  • Detailed page to be called and displayed from 3 different tabs

    Hi,
    That's my problem. I have a detailed form called from 3 different pages. When calling the detailed form the 3 tabs are highlighted.
    Is there any way to tell Apex which tab is to be highlighted on each time.
    Many thanks

    Hi,
    Why don't you simply NOT list the Detail page on any of the tab properties? i.e. when the detail page is being shown, none of the tabs will appear lit up. Would that work?
    Wouldn't this look akward?
    Or you could create the form region on Page 0 and conditionally display the region as appropriate so you don't have to duplicate it on multiple pages.
    The detail form contains two updatable regions. I don't think this is a good idea.
    Any ideas what people normally do in scenarios like mine?
    I don't mind replicating the page if "that's a good practice" but I would appreciate other suggestions.
    Many thanks again.

  • Printing a smartform to a different printer than my default

    I have a function module that gets passes a delivery number and the short-name of a printer.  The function module is supposed to print a smartform (pick list) for that delivery to the specified printer.  The problem is that no matter what I put in for the printer, it prints to my default printer.  If I change it, it will go there.  I'm sure I'm just missing some kind of setting.  Here is what I got:
    printer is the shortname for the printer i want, type RSPOPTYPE
    *Print Smartfomr picklist for  delivery
      data: ls_ctrl_prnt type ssfctrlop,
            ls_outp_opts type ssfcompop.
      ls_ctrl_prnt-no_dialog = 'X'.        " Suppres dialog
      ls_ctrl_prnt-device    = 'PRINTER'.
      ls_outp_opts-tddest    = printer.
      ls_outp_opts-tdprinter = printer.    " Specify required printer
      call function gv_func
        exporting
          control_parameters = ls_ctrl_prnt
          output_options = ls_outp_opts
          pk_hdr               = sf_info
          pk_orders            = sf_odrs
          pk_items             = sf_item
          pk_pgbk              = sf_pgbk
        exceptions
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4.
    Am I missing something here?  Any help would be greatly appreciated.
    Thanks,
    Curtis

    I was able to solve my issue. The field TDIMMED (print immediate) in the parameter OUTPUT_OPTION need to be passed with the value 'X'.
    The code is pasted below.
    DATA: l_ssfctrlop TYPE ssfctrlop,
            l_ssfcompop TYPE ssfcompop,
            l_formname  TYPE tdsfname,
            l_fm_name   TYPE rs38l_fnam.
      CLEAR l_formname.
    Get the smartform name based on the output type
      SELECT SINGLE sform FROM tnapr INTO l_formname
        WHERE kschl = ysdt_dynlayout-auart
          AND nacha = '1'
          AND kappl = 'V2'.
      Get the smartform function module name
        CLEAR l_fm_name.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = l_formname
          IMPORTING
            fm_name            = l_fm_name
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        IF sy-subrc EQ 0.
          l_ssfctrlop-no_dialog = 'X'.                        " print popup dialog box is suppressed
          l_ssfcompop-tddest    = usr01-spld.         " the printer name is passed from screen to this field
          l_ssfcompop-tdimmed   = 'X'.                    " print immediate option is set
          l_ssfcompop-tdcopies  = copies_in.         " number of copies of output required
        Call the smartform
          CALL FUNCTION l_fm_name
            EXPORTING
              control_parameters = l_ssfctrlop
              output_options     = l_ssfcompop
              user_settings      = ' '                            "manual override of user settings            
              i_del_head         = likp
              i_dyn_layout       = ysdt_dynlayout
            TABLES
              t_del_item         = ig_lips
              t_home_address     = ig_home_address
              t_header_text1     = ig_header_text1
              t_footer_text1     = ig_footer_text1
              t_footer_text2     = ig_footer_text2
              t_footer_text3     = ig_footer_text3
              t_text4            = ig_text4
              t_text5            = ig_text5
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
        ENDIF.

Maybe you are looking for

  • Simple Java Sound Question...

    Can I draw waveforms while capturing data? If yes, how. If no, why. Thanks. I need the answer ASAP, please help.

  • Nedd your help for aceesing database in minisap 4.6 d (please help)

    hi all sap masters please help me. i have installed the minisap 4.6d system in the windows 200 prof os. i had the following problem in my minisa access. while Displaying table contents with transactions SE11 or SE16 gives an error "No changes on SAP

  • Vluation at company code level and transfer prices in EC-PCA

    Hi, We have the following configuration: 1. Valuation of stock at Company Code level. 2. Transfer pricing between Profit Center (i.e. Material Ledger is active). we experience some technical issues (e.g. we get error message when entering MM03 accoun

  • Extended XSD's and Oracle business rules in SOA

    I have extended an XSD to add new elements within a complex object but when I use these within Business rules I receive the following error [10:10:58 AM] Invalid logging line: #;There was an error deploying the composite on SOAAdminServer: Deployment

  • CS6 beta won't install - Mac OSX Lion.

    After following all steps I get an error summary as follows: Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DF024, DW063 ... -------------------------------------- Summary ------------------------