Smartform Archieve in SAP Server

Hi Gurus,
I need to archive the smartform in SAP Server in PDF format, but I am unaware of the location. Please help me in finding a way to do this.

Hi,
see sample code in se38--> FP_PDF_TEST_17
try this way..
u2022SAP proposes the PDF1 device type (see Note 323736 - Restrictions with "PDF print" through spooler) (also known as the "PDF converter") which you can use to convert an OTF or list document, in archiving and mail sending
u2022When you print a SAPscript or a Smart Form, you may choose to get the generated document in OTF and then programmatically convert the OTF into PDF binary (then you do whatever you want with this binary, like download as a file, send it as attachment to an email, etc.)
Inside the Driver program call the below FM and statements to archive the smart form...
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid              = p_spool               "Spool Request Number
        no_dialog                = 'X'
        pdf_destination          = 'X'
        no_background            = 'X'
      IMPORTING
        pdf_bytecount            = bin_size
        bin_file                 = pdf_xstring                     "This fm will convert the spool data into
                                                                        "PDF Format in this importing string
"Next try to Use Open data set and write to application server.
Prabhudas

Similar Messages

  • Fetching a image in the adobe form from sap server/appliaction layer

    hi all,
    i want to fetch a logo/image from the application layer/ sap server, so that everyone can use it in adobe form. i have already upload the image using SE78.
    I try to add the image into library, it works. But the problem is that, only from my login i can access that image, other can't. I want that image to be shared by everybudy like we use in smartform.
    But i want to fetch that image from SAP server/application layer.
    plzz help me out...
    and tell me the steps for fetching the image from sap server/application layer into the adobe form layout.

    Hi rahul,
    I too have the same requirement. Can you please tell me the steps.

  • Can the SAP uses the pictures which located on SAP server itself?

    Hi all,
    Please help me to figure out the solution.
    Can i use the picture which located on a shared place? The pictures are already existing and used by other software, e.g., Peoplesoft. then i want to attach the pictures on report output (SapScriupt/Smartform). In this case, can i use those pictures directly from other places/servers? I mean, can the SAP uses the pictures which not upload to SAP server? if yes, what criteria the pictures are e.g., tiff, jpeg, or size.
    Thanks in advance,
    Peerasit

    Use the following FM's to do the Upload of Pictures from the Server to your SAP System
    1) SAPSCRIPT_IMPORT_GRAPHIC - this will import graphic as a Text
    2) SAPSCRIPT_IMPORT_GRAPHIC_BDS - this will import graphic as a BDS element and can be viewable in SE78.
    Hope That Helps
    Anirban M.

  • SAP Server Manager Error after BPC installation on domain controller

    Hi, I have installed BPC on a domain controller with windows 2003 server (english version). When I launch diagnostic in the "SAP Server Manager"  I have the following error message " Current user Name does not have permission for Adminitrators group" . I think that the application it's taking the local user (the diagnistic show that de current user is "server name\user name" instead of "domain name\user name" but I login with the domain Administrator ( this server is a domain controller don't have local users).
    Thanks

    Hi
    I have the same issue that you had.
    "I have installed BPC on a domain controller with windows 2003 server (english version). When I launch diagnostic in the "SAP Server Manager" I have the following error message " Current user Name does not have permission for Adminitrators group" . The application it's taking the local user (the diagnistic show that de current user is "server name\user name" instead of "domain name\user name" but I login with the domain Administrator ( this server is a domain controller don't have local users)."
    Can you please let me know how you solved this ?
    thanks & regards
    Lokesh

  • SAP Server  has lost connection to the database!

    Hi Gurus,
    Can some please guide me on this " SAP Server  has lost connection to the database! " what need to be check.
    OS : AIX
    DB : DB2
    thanks
    vamsi

    Hello,
    1)Check if the DB is running.Issue the  following command @ the DB-level
    db2 connect to <SID>.
    2)Also check R3trans -d from the app. server and check for trans.log file for the error.
    Hope it helps.
    Regards,
    Prasanna
    Edited by: Kulkarni Prasanna on Jul 24, 2008 3:53 PM

  • SAP Client to the SAP Server: internal Error (-1102)[Message 131-183]

    Hi,
    We are using Windows 2008 Server R2, SQL 2008 Standard, SAP B1 8.81 PL08.
    When we trying to connect SAP Client to the SAP Server. There has internal Error (-1102) occurred. We can view the database on client, but we always get the same error message after enter the User ID and Password. We have checked the native client and it is installed and also opened the following ports: 1433, 30000, 30001. We have tried to open all of firewall, but itu2019s no use.
    When I set a computer in to the engine room and set the network connection, this one can connect SAP Client to the SAP Server.
    But when client connect to server by VPN, the IP address will not in the same section. Then We tried to set the IP address has the same network section with the server, but it's still disable.
    I set a computer for SAP Server without firewall, complex network, virtual IP and no router in my office. And use a SAP Client which is in different network domain to connect to SAP Server by internet, not VPN, but the SAP Client still canu2019t connect to SAP Server. I get the same internal Error (-1102).
    It can not only ping to SAP Server IP, but telnet to the port 1433, 30000, 30001, 445.
    When I use a pc with server tools, it can connect to the SAP Server by the localhost license. But if I use a computer only install client and assign the server license. The latter one always got the error.
    How could we solve this problem? Is there has another setting I am missing which might be blocking the connection?
    Thanks in advance.

    Hi,
    We are using VPN and using Terminal Licensing or Remote Desktop Conneciton.
    The idea here is VPN will connect you to the network and when you are connected to the network
    dont use the direct LAN IP connection use the Terminal Licensing to connect.
    Again both are needed VPN and Terminal Licensing. VPN for the connection and if successfully connected
    use or connect from Terminal Licensing or Remote Desktop connections.
    Thanks.
    Clint

  • How to transfer file from sap server to PDM server using open FT??

    Hello Sap Guru's
    I want to Trasfer a file with all supplier information from SAP server to PDM server(Thirdparty) system Using Open FT ..How can I transfer ???
    Please let me know the answer??
    Thanks In Advance
    Preethi

    Hi Preethi,
    I think it is not possible to transfer a file from SAP to PDM using open FT.
    Using RFCs, we can do the transfer.
    Other option is the file can be downloaded into UNIX. And from there using a shellscript we can transfer the file from UNIX to PDM or if your PDM has the option to grab the file from UNIX that will also work.
    Hope this helps.
    Please reward if helpful.
    Thanks,
    Srinivas

  • Open Data Set Error while trying to read file from non SAP server

    Hi all,
    is it possible to read data from non-SAP application Sever?
    I'm using OPEN DATASET p_filin FOR INPUT IN LEGACY TEXT MODE CODE PAGE '1504',
    Where p_filin is other Windows server.Our applicition server is under Unix.Is it a problem?
    I make test to read file from SAP application server and it was ok.So how to call other server?
    Thanks!

    Hi,
    Yes it is possible to read data from a non SAP server through the statement OPEN DATASET.
    The important thing to check is that the SAP Server got enough access to the non SAP server so it can perform a reading/writing process depending on your needs.
    You should contact your network administrator and BASIS to help you check the permissions. This can be pretty tricky, specially if the servers are in different domains.
    Regards,
    Gilberto Li

  • SAP server startup problem

    I have SAP server in Windows2003 , Database and Cetral Instance are installed on two different host
    When I am stating up SAP from MMC console
    it
    Disp+work shows following status
    Running but message server unreachable
    Running but not connected to mesage srever
    Running but dailog queue standstill
    However  msg_server  and igswd   processes are showing green
    I checked database on other machine it is running fine
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon May 05 09:21:20 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\BID\DVEBMGS22\exe\dboraslib.dll' ...
    B  Library 'D:\usr\sap\BID\DVEBMGS22\exe\dboraslib.dll' loaded
    B  Version of 'D:\usr\sap\BID\DVEBMGS22\exe\dboraslib.dll' is "700.08", patchlevel (0.115)
    B  New connection 0 created
    M sysno      22
    M sid        BID
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    141
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        4848
    M
    M  kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4848) [dpxxdisp.c   1305]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          19248     (1480)
    M  DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000EDD0050, size: 6342672)
    M  DpShMCreate: allocated sys_adm at 000000000EDD0050
    M  DpShMCreate: allocated wp_adm at 000000000EDD2150
    M  DpShMCreate: allocated tm_adm_list at 000000000EDD6C80
    M  DpShMCreate: allocated tm_adm at 000000000EDD6CE0
    M  DpShMCreate: allocated wp_ca_adm at 000000000F33AB80
    M  DpShMCreate: allocated appc_ca_adm at 000000000F340940
    M  DpShMCreate: allocated comm_adm at 000000000F342880
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000000F3C9510
    M  DpShMCreate: allocated gw_adm at 000000000F3C9590
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000F3C95C0
    M  DpShMCreate: allocated wall_adm at 000000000F3C95D0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....

    X Mon May 05 09:21:21 2008
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host DLcSapAppG01

    M Mon May 05 09:21:22 2008
    M  calling db_connect ...
    C  Prepending D:\usr\sap\BID\DVEBMGS22\exe to Path.
    C  Oracle Client Version: '10.2.0.2.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@BID on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000001539C0C0 00000000153A42F0 00000000153C0B18
    C  Attaching to DB Server BID (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08)
    C  Starting user session (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08,usrhp=00000000153A4B08)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11044]
    C  Try to connect with default password
    C  Connecting as SAPSR3/<pwd>@BID on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000001539C0C0 00000000153A42F0 00000000153C0B18
    C  Attaching to DB Server BID (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08)
    C  Starting user session (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08,usrhp=00000000153A4B08)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed with rc=1034
    [dboci.c      4532]
    C  Detaching from DB Server (con_hdl=0,svchp=00000000153C09D8,srvhp=00000000153C2E08)
    C  *** ERROR => CONNECT failed with sql error '1034'
    [dbsloci.c    11044]
    B  ***LOG BV3=> severe db error 1034      ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error 1034   performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1440]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10468]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server DLcSapAppG01_BID_22 on host DLcSapAppG01 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Mon May 05 09:21:22 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10688
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 4848) [dpnttool.c   327]

    Hi,
    The error message is oracle 1034
    Read below
    Oracle error 1034
    "ORACLE not available"
    *// Cause: Oracle was not started up. Possible causes include the following:
    - The SGA requires more space than was allocated for it.
    - The operating-system variable pointing to the instance is improperly defined.
    *// Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See the platform specific Oracle documentation.

  • Finding the folder on the SAP server

    My requirement is about finding the physical folders and files on SAP server. If any body could give me any input for that, i would appreciate it!!
    I need to copy the files from my C: drive to SAP Office Shared Folder. Actually I have three folders on SAP Office Shared Folder (Customer, Vendor and Personnel). the documents are being scanned and sent to my PC. from here I have a program that runs nightly and copies those pdf scanned files to application server. I need to ascertain the path of those Customer, Vendor and Personnel folder on SAP Application server.
    any input is appreciated. Thanks, Abhishek

    Here's my report:
    REPORT  YTESTRM2                                .
    DATA: gd_COUNT type I.
    DATA: D_PATH(50) value '
    R3sever\ADR100\'.
    DATA: gd_Source TYPE string ,
          gd_dest type String ,
          gd_rc type I.
    DATA: gd_directory type String value '
    Bismark\Projects\ADMIN\'.
    DATA: gd_file_table type standard table of file_info.
    data: wa_file_table type file_info.
    CALL METHOD cl_gui_frontend_services=>DIRECTORY_LIST_FILES
      EXPORTING
        DIRECTORY = gd_directory
      CHANGING
        FILE_TABLE = gd_file_table
        COUNT = gd_count.
    LOOP AT gd_file_table into wa_file_table.
      CONCATENATE D_PATH wa_file_table-filename INTO gd_dest.
      concatenate gd_directory wa_file_table-filename INTO gd_Source.
      CALL METHOD cl_gui_frontend_services=>File_Copy
        EXPORTING
          Source = gd_Source
          Destination = gd_dest
        EXCEPTIONS
          OTHERS   = 1.
    ENDLOOP.
    R3Server is our production server name. the ADR100 folder is a shared folder.
    All i want to know is that whether the folders that i created in SHARED FOLDERS in SAP BUSINESS WORKPLACE........are they created physically in this R3Server or in some KPro or CMS.. if i could give the name of that instead of my
    R3sever\ADR100\........then my work is done.

  • How to monitor all SAP Server through solution Manager?

    Dear Friends,
    How to monitor all SAP Server through solution Manager?
    Is it possible if yes then how? Please forward configuration and transaction also.
    Please help me as early as possible..
    Thanks,
    Regards,
    Sachin

    Hi sachin,
    You can monitor your sattilite systems through solution manager.
    If you want to monitor systems in solution manager means you need to configure those systems in solution manager.
    Before including the systems in solution manager we need to create a solution using tcode <b>DSWP</b>.
    After that you can include the systems using tcode <b>SMSY</b>.
    For configuring the systems we have lot of phases its very difficult to explain here.
    Try to login to<b> service.sap.com</b> and <b>help.sap.com</b> find the helpfull guides.
    i hope it will help you.
    any issues post it.
    kiran kumar.v

  • Error while connecting to SAP Server from Windows XP Client.

    Hi,
    I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error.
    Connection Failed :
    SQL State : '08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]Named Pipe Provider Could not open the connection SQL Server [233].
    Connection Failed :
    SQL State : "HYT00"
    SQL Server Error : 0
    [Microsoft][SQL Native Client]Login Timeout Expired
    Connection Failed:
    SQL State :'08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]An Error has occured while establishing new connection to the server.
    When connecting SQL Server 2005, this failure may caused by the fact that under the default setting SQL Server does not allow remote connection.
    Regards,
    Arpit Shah

    Hi Arpit,
    Solution of Error in starting B1 after installation should help here too.
    Kind regards
    Mario
    SAP Business One Forums team

  • SAP server shuts down after 1 minute

    I installed SAP R/3 4.6c on an external hard drive (160 GB), w2K, RAM 512, Oracle 8.1.7. As soon as I start the sap server using the MMC, after 1 minute the server shutsdown. I checked the oracle services, they are running as well as the SAP ones.
    Could anyone help on this matter?
    Thanks in advance for your time.

    Do you mean that Server is booting when you executing MMC
    TIPS HERE
    ===========
    Don't go to SAP-MMC and wait for some minute. if booting then you should apply SP4 on W2k server.

  • Download file to SAP server including blanks in its name

    Hello,
    after going live with a developed application for downloading documents from KPRO to SAP server the users found out that they need filenames which contain blanks. (Don´t ask why!   )
    This results now in the effect that e.g. they will download a file to the SAP server which is named
    map_doc 1234 abc.pdf
    Using the function module CV120_KPRO_CHECKOUT_TO_SERVER
    the file is downloaded as
    map_doc
    and this is wrong!
    CV120_.... is using OPEN DATASET which is obviously cutting the filename after the first blank.
    I tried to correct that by adding function module ARCHIVEFILE_SERVER_TO_SERVER (found hint here on SDN) but this one is running into the same problem.
    Does anybody know how to fix that problem?
    Is there any possiblity to rename files on the SAP server to names including blanks?
    Your help is really appreciated!
    Best regards
    Dirk

    Hi Ankesh,
    using  ' '   together with OPEN DATASET results in shortdump with TRANSFER for file content!
    So this is no way!
    Using ' ' providing the CV120.... function module does not work, because the FM erases them before
    using OPEN DATASET .
    regards
    Dirk

  • Connect to local SAP server from mac

    I have a Windows 2008 server  with SAP server software installed. i connect to it using my windows laptop through SAP logon pad . But now am using a macbook pro os x 10.8.2  and have no idea on how to connect to the my local SAP server. And i installed a Java SAP client logon pad for mac . And this client Logon pad has an "Add New connection option" but i have no idea on how to configure it ,any sugg?

    The incoming connection will only be restricted to random ports > 1024 unless the server is configured otherwise. ie. you can't manually pick the numbers.
    The OS X firewall (ipfw) can be configured to allow the incoming connection from a particular IP address - but I run Norton firewall so I don't know the specifics of configuring ipfw via the OS X interface.
    I do know that the shareware program Flying Buttress (previously known as BrickHouse) gives a GUI interface to the full flexibility of ipfw.
    I failed to mention previously that you might want to investigate whether the server supports SFTP (Secure FTP) which performs all the communication over port 22 allowing a simple firewall setting (at the server end) and also has the benefit of performing encryption on the data traffic.
    Graham

Maybe you are looking for

  • Problem in value mapping in POSDM configuration!

    Hi Experts,                           I am sending data from POS to POSDM. I hav used standard name spaces like GM store Connectivity, BI and Store Connectivity 2.0. I hav also done settings in ID . Made a File adapter and RFC adapter and RD, ID, SA

  • How to use no wait in adf

    hi jdev experts, am using jdev 11.1.1.5.0 - adfbc-oracle db10g. here my code. SELECT GlLvlAccountsEO.GLAL_BU,        GlLvlAccountsEO.GLAL_LVL1,        GlLvlAccountsEO.GLAL_LVL2,        GlLvlAccountsEO.GLAL_LVL3,        GlLvlAccountsEO.GLAL_LVL4,     

  • OracleDataAdapter returning wrong number of columns

    Hello All, I have an issue of an oracle data adapter not returning all columns in my select statement. When I use code similar to below, the data adapter returns 2 columns per row instead of 5. And they are out of order (ie, DataRow(0) could be colum

  • Bangla font problem in indesign

    in indesign cc I can not write  কর্ ব্য, before it was ok.

  • Adding maps to crystal reports

    Hi, I have some geographic data's, I need to display those data's on a map in the crystal reports.How to add map in the crystal report and display the track points in the map, Please advice. Regards, Princy