Upload sap file to transport manger system

Hi All
I want to upload files from SAP to transport manger
SAP gave me 4 files K903079.CE1,K903080.CE1,R903079.CE1 and R903080.CE1
they said i need to use stms to upload those file to the system
can some one give explaination how i need to do it ?
Thanks in Advance

hi
copy the co-file (K.) under "\usr\sap\trans\cofiles" & data file (R.) under "\usr\sap\trans\data" @ OS level.
then log to the server using SAP-GUI, execute t-code "stms", select the corresponding SID into which this files are to be imported. then in the menu select "extras" > "other request" >"add", then specify the request number as <sid>K9<nnnnn> and say "ok". automatically the request will added to the import queue.
then select the request & click the "truck icon", it will automatically imported into ur system.
hope this will help you.
with regards,
rajesh.

Similar Messages

  • How to upload a file in R/3 system through RFC using WebDynpro Java

    Hi There,
    we need to pass a file(mostly xml) using file upload feature in Webdynpro and then need to pass the file in R/3 system using RFC. What should be importing parameters for RFC and how should i implement the fileUploadUi in this case.
    I have already seen example of how to add this in a table input form.
    Any pointers will be great help.
    Regards,
    Sudhir

    Use this code to convert the file content to bytes in WDJ:
    Apart from the resource context attribute create a context attribute of type binary.
    get the data from resource & convert it to binary & pass that to RFC. U can use this code for conversion
    byte fileData[] = null;
    try{
    InputStream fileIs = wdContext.currentAttachCVElement().getFileData().read(false);
    ByteArrayOutputStream bOut = new ByteArrayOutputStream();
    int length;
    byte[] part = new byte10 * 1024;
    while ((length = fileIs.read(part)) != -1) {
    bOut.write(part, 0, length);
    fileIs.close();
    fileData = bOut.toByteArray();
    bOut.close();
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportSuccess(e.toString());
    Here getFileData reffers to the attribute of type resource. rest of the code u can use directly.
    Use this code in your R/3 function module to convert the data.
    *" VALUE(XCONTENT) TYPE XSTRING OPTIONAL
    OUTSTRING TYPE STRING,
    CONV TYPE REF TO CL_ABAP_CONV_IN_CE.
    Convert data passed from WD Application.
    CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = XCONTENT ).
    CONV->READ( IMPORTING DATA = OUTSTRING ).
    SPLIT OUTSTRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE IT_DATA.
    DELETE ADJACENT DUPLICATES FROM IT_DATA.
    Let me know if you run into issues, please award points accordingly.

  • Issue regarding Transport Mangament System

    Hello,
    This is with regard to adding a virtual system to the current 2 system landscape(DEV and PRD) and automating transports.
    Kindly let me know if it is possible to add a virtual system between DEV and PRD
    and create a route like DEV -> VDE -> PRD, at the same time automate transports in the PRD system,by scheduling report RSTMSIMP or any other way.
    Kindly suggest.
    Thanks,
    Sumit

    Hi Sharma,
    Once you cvreated virtual systems and then goto transport routes and configutation -->change --> standard configuration --> threesystem group. specify SID's of three systems and save then specift three system configuration and distridute configuration.
    Once you have done above thing add VDE and PRD in to landscape.
    1. Login to PRD system 000 client with DDIC user.
    2.STMS --> prompts to create domain controller > select other configuration and add to existing domain controller ( i.e DEV because DEV is domain controller).> specify system details for PRD system.
    3.Once you added and saved. login to DEV system --> 000 with DDIC --> stms --> system overview --> select PRD system --> SAP system --> Approve and save.
    4. follow the same steps for VDE also.
    5. A communication user will be created between domain controller and remaining systems in a landscape. ie TMSADM
    6. the entire configuration will be stored in DOMAIN.cfg file in trans/bin folder
    Regards,
    Suraj

  • HOw to upload test files in XI directory

    Hi all,
    I want to upload test file from my local system to XI directory. how can i do this. There is one customized transaction cg3z for this . but consider that this is not available in my case. Is there any alternative way to upload the file in to XI directory.
    Thanks and Regards
    Sachin Sharma

    Hi,
    if client and server are in same network the u can configure your file adapter using NFS protocal.
    if they are in different network the you can upload using SXDA_TOOLS tcode.
    The porcedure to put a file on server is as shown below:
    1. Save your file in your local machine.
    2. In XI server, enter the tranaction code "SXDA_TOOLS".
    3. In the input screen, enter:
    i) Object Type "DXPROJECT".
    ii) Program Type "BAPI".
    iii) Program "CREATE".
    4. Press Copy (Ctrl+F5) button.
    5. Now, you will get another screen in which you will see 3 blocks called as "Source", "Target" and "Copy with/without conversion".
    6. In Source block, choose the radio button "Presentation Server" and then take F4 help to select your source file. (file which you have saved on your local machine)
    7. In TARGET block select the radio button "Application Server", check the box "Remote server" and take F4 help to select your application server.
    8. In the same block under "File Type" select "P physical file name" and under "File Name" write the path/directory name which you have mentioned in your communication channel along with the file name.
    Example: suppose file name in your Comm Chanel is "demo.xml" and directory path is "/abc/testfiles/XML/", then in step 8 write "/abc/testfiles/XML/demo.xml".
    Note: need not to do any thing in 3rd block.
    Regards,
    pradeep A.

  • How to upload CSV file(Flat File) in SAP system.

    Hi All,
    Please guide me how to upload flat file into SAP system.
    Regards
    Avinav

    Use following syntax -
    DATA L_P_FILE TYPE STRING.
         L_P_FILE = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = L_P_FILE   <-------Your PC file name
        FILETYPE                      = u2018ASCu2019
        HAS_FIELD_SEPARATOR           = u2018Xu2019
      TABLES
        DATA_TAB                      = P_I_DATA[]   <-----Your internal table
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Endif

  • Re: uploading pdf file farmat into sap system

    Hi  Sap Guru's
    One of my client have requirement  of uploading PDF file into sap system
    client is getting scan copy in PDF format of sales order that  order , material number and qty should be uploaded into sap through
    va01
    as clent havint 200 customers and all tha customers having different styles of format in pdf
    i know that we can do by webdyopro / adobe forms  but for one customer i can do but here 200 customer are having different
    format
    can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
    Thanks & Regards
    T Bharat

    Hi,
    you can try using the method cl_gui_frontend_services=>file_open_dialog, this will open a popup allowing
    you to browse and selected the desired files from your system.
    Use this method along with the function module GUI_UPLOAD to upload all the desired files and their contents in SAP.
    Hope this was useful.
    Thanks and regards,
    Adithya.

  • Regarding uploading .wri files in sap system

    Hi Experts,
    I want to know which all file types can be uploaded in sap system. Can we upload .wri file in sap system ?
    Waiting for quick replies.
    Thanks in advance,
    Akash

    Hi Experts,
    I want to know which all file types can be uploaded in sap system. Can we upload .wri file in sap system ?
    Waiting for quick replies.
    Thanks in advance,
    Akash

  • Re: uploading pdf file format into sap system

    Hi Sap Guru's
    One of my client have requirement of uploading PDF file into sap system
    client is getting scan copy in PDF format of sales order that order , material number and qty should be uploaded into sap through
    va01
    as client having 200 customers and all that customers having different styles of format in pdf
    i know that we can do by webdyopro / adobe forms but for one customer i can do for all  200 customer through webdyopro /
    adobe forms for having different format
    can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
    Thanks & Regards
    T Bharat

    Hi,
    You can use SAP DMS for this.
    Thanks
    Sunny

  • Not able to upload file in DMS(Document Mang. system) using Web dynpro ABAP

    Hi All,
    I am facing a problem while uploading the file into the DMS ( Document Management System ) from Webdnrpo .
    I am using the BAPI - BAPI_DOCUMENT_CREATE2 to create the document .
    CASE - 1
    when i am providing the storage category mention below and no data carrier1
    ls_documentfiles-storagecategory = 'ZHMEL_CS'.  it is not able to upload the document in the DMS system and when i check
    in the debugg mode it giving error as  ""Error while checking in and storing: C:\TEST.TXT "" .
    CASE - 2
    When i am not using the storage category and providing the the data carrier as default
    ls_documentdata-DATACARRIER1 = 'DEFAULT'. It is able to create the document in the DMS but i am not able to read that document .
    I checked with DMS Consultant that DMS is configured for  ZOL ( documenttype) with a storage category  as 'ZHMEL_CS'.
    The code which i have used is below :
    ls_documentdata-documenttype = 'ZOL'.
    ls_documentdata-documentversion = '00'.
    ls_documentdata-documentpart = '000'.
    ls_documentdata-description = 'Test Document'.
    ls_documentdata-laboratory = '001'.
    ls_documentdata-WSAPPLICATION1 = 'TXT'.
    ls_documentdata-DOCFILE1 = 'C:\TEST.TXT'.
    ls_documentdata-SAVEDOCFILE1 = 'C:\TEST.TXT'.
    *ls_documentdata-FILESIZE1 = 000000000000.
    *ls_documentdata-FILESIZE2 = 000000000000.
    ls_documentdata-WSAPPLICATION1 = 'TXT'.
    ls_documentfiles-DOCUMENTTYPE = 'ZOL'.
    ls_documentfiles-DOCUMENTPART = '000'.
    ls_documentfiles-DOCUMENTVERSION = '00'.
    ls_documentfiles-storagecategory = 'ZHMEL_CS'.
    ls_documentfiles-WSAPPLICATION = 'TXT'.
    ls_documentfiles-DOCPATH = 'C:\'.""lv_filename.
    ls_documentfiles-DOCFILE = 'TEST.TXT'."lv_filename.
    ls_documentfiles-description = 'Test Document'.
    ls_documentfiles-language = 'EN'.
    ls_documentfiles-CHECKEDIN = 'X'.
    APPEND ls_documentfiles to lt_documentfiles .
    *&----Fill Descriptions
    w_descr-language = 'EN'.
    w_descr-language_iso = 'EN'.
    w_descr-description = 'Test'.
    append w_descr to lt_descr.
    clear w_descr.
    **w_hostname = 'HMEL-DV1R3_DR3_00'.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
    EXPORTING
    documentdata = ls_documentdata
    *hostname = 'content-srv'
    *pf_http_dest = 'SAPHTTPA'
    *pf_ftp_dest  = 'SAPFTPA'
    IMPORTING
    DOCUMENTNUMBER = lv_DOCUMENTNUMBER
    return = gv_return
    TABLES
    documentdescriptions       = lt_descr
    documentfiles              = lt_documentfiles.
    Please let me know your valuable inputs on the same ..
    Edited by: Omm Awasthi on Dec 30, 2010 12:22 AM
    Edited by: Omm Awasthi on Dec 30, 2010 12:25 AM

    Hi omm , from functional side your require a document type and content repository
    I have used below code in a function module to create document , we have create object link as PO to the doc.
    FUNCTION ZFM_SR_CREATE_FROM_EXTERNAL .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_DOCUMENTNUMBER) TYPE  DOKNR OPTIONAL
    *"     VALUE(IV_DOCUMENTTYPE) TYPE  DOKAR OPTIONAL
    *"     VALUE(IV_DOCUMENTVERSION) TYPE  DOKVR OPTIONAL
    *"     VALUE(IV_DOCUMENTPART) TYPE  DOKTL_D OPTIONAL
    *"     VALUE(IV_STORAGE_CAT) TYPE  CV_STORAGE_CAT OPTIONAL
    *"     VALUE(IV_DOKST) TYPE  DOKST OPTIONAL
    *"     VALUE(IT_DM_FILES) TYPE  ZDM_TT_FILES OPTIONAL
    *"     VALUE(IV_EBELN) TYPE  EBELN
    *"  EXPORTING
    *"     VALUE(EV_DOCUMENTNUMBER) TYPE  DOKNR
    *"     VALUE(ES_RETURN) TYPE  BAPIRET2
    V00.00  DD.MM.YYYY                                                   *
    *********************New Method of Uploading File*********************************
      CONSTANTS path_name    TYPE dms_path
               VALUE '/tmp/'.
      CONSTANTS log TYPE dms_path VALUE '/tmp/logFO.txt'.
      DATA: ls_draw TYPE bapi_doc_draw2,
            lt_documentfiles TYPE TABLE OF bapi_doc_files2,
            ls_documentfiles TYPE bapi_doc_files2,
            ls_dm_files TYPE zdm_files,
            lv_filename TYPE string,
            lv_ext TYPE string,
            lv_file_type TYPE draw-dappl,
            lv_file_name TYPE dms_path,
            lv_msg(80) TYPE c,
            lt_objectlinks TYPE TABLE OF bapi_doc_drad,
            ls_objectlinks TYPE bapi_doc_drad,
            lv_ebelp   TYPE ebelp
    Prepare Data
      MOVE iv_documentnumber TO ls_draw-documentnumber.
      MOVE iv_documenttype TO ls_draw-documenttype.
      MOVE iv_documentversion TO ls_draw-documentversion.
      MOVE iv_documentpart TO ls_draw-documentpart.
      ls_draw-statusextern = iv_dokst.
      ls_draw-statusintern = iv_dokst.
      ls_draw-username = sy-uname.
      LOOP AT it_dm_files INTO ls_dm_files.
        SPLIT ls_dm_files-filepath AT '.' INTO lv_filename lv_ext.
        CALL FUNCTION 'CV120_DOC_GET_APPL'
          EXPORTING
            pf_file   = ls_dm_files-filepath
          IMPORTING
            pfx_dappl = lv_file_type.
        TRANSLATE lv_file_type TO UPPER CASE.
        OPEN DATASET log FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
        TRANSFER lv_ext TO log.
        ls_documentfiles-wsapplication = lv_file_type.
        TRANSLATE ls_documentfiles-wsapplication TO UPPER CASE.
        CONCATENATE path_name
                           lv_filename
                            lv_ext
                            INTO lv_file_name.
        CONDENSE lv_file_name  NO-GAPS.
        TRANSFER lv_file_name TO log.
        OPEN DATASET lv_file_name FOR OUTPUT IN BINARY MODE MESSAGE lv_msg.
    *Transfer Attachment Content to Application Server
        TRANSFER ls_dm_files-content TO lv_file_name.
        CLOSE DATASET lv_file_name.
        TRANSFER 'move data to lt_files' TO log.
        ls_documentfiles-storagecategory = iv_storage_cat.
        ls_documentfiles-docfile = lv_file_name.
        ls_documentfiles-DOCUMENTVERSION = IV_DOCUMENTVERSION.
        APPEND ls_documentfiles TO lt_documentfiles.
        CLEAR lv_file_name.
        CLOSE DATASET log.
      ENDLOOP.
      IF iv_ebeln IS NOT INITIAL.
        ls_objectlinks-objecttype = 'EKPO'.
        SELECT SINGLE ebelp INTO lv_ebelp FROM ekpo WHERE
                                          ebeln = iv_ebeln
                                          AND loekz eq space.
        CONCATENATE iv_ebeln lv_ebelp INTO ls_objectlinks-objectkey.
        APPEND ls_objectlinks TO lt_objectlinks.
      ENDIF.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
       EXPORTING
         documentdata   = ls_draw
         pf_ftp_dest    = 'SAPFTPA'
         pf_http_dest   = 'SAPHTTPA'
       IMPORTING
         documentnumber = ev_documentnumber
         return         = es_return
       TABLES
         objectlinks          = lt_objectlinks
         documentfiles  = lt_documentfiles.
    DATA:   ls_doc_data  type bapi_doc_draw2,
       ls_doc_datax type bapi_doc_drawx2,
       ls_return type bapiret2.
    Set value for document data
      ls_doc_data-statusextern  = 'IW'.
      ls_doc_data-statusintern  = 'IW'.
    Set value for document data check
    ls_doc_datax-statusextern = 'X'.
    ls_doc_datax-statusintern = 'X'.
    CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
      EXPORTING
        DOCUMENTTYPE               = 'ROS'
        DOCUMENTNUMBER             = IV_DOCUMENTNUMBER
        DOCUMENTPART               = IV_DOCUMENTPART
        DOCUMENTVERSION            = IV_DOCUMENTVERSION
        DOCUMENTDATA               = ls_doc_data
        DOCUMENTDATAX              = ls_doc_datax
      HOSTNAME                   =
      DOCBOMCHANGENUMBER         =
      DOCBOMVALIDFROM            =
      DOCBOMREVISIONLEVEL        =
      SENDCOMPLETEBOM            = ' '
          pf_ftp_dest    = 'SAPFTPA'
          pf_http_dest   = 'SAPHTTPA'
      CAD_MODE                   = ' '
      ACCEPT_EMPTY_BOM           = ' '
    IMPORTING
       RETURN                     =  ls_return
    TABLES
      CHARACTERISTICVALUES       =
      CLASSALLOCATIONS           =
      DOCUMENTDESCRIPTIONS       =
      OBJECTLINKS                =
      DOCUMENTSTRUCTURE          =
       DOCUMENTFILES              = lt_documentfiles.
      LONGTEXTS                  =
      COMPONENTS                 =
      move es_return to ES_RETURN.
      IF es_return-type CA 'EA' ."NE 'E' AND es_return-type NE 'A'.
        "do nothing
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      ENDIF.
      LOOP AT lt_documentfiles INTO ls_documentfiles.
        DELETE DATASET ls_documentfiles-docfile.
      ENDLOOP.
    ENDFUNCTION.

  • Jlaunch process using High CPU, while uploading the files in XI system

    Hi,
    we are facing  jlaunch high cpu usage problems, while uploading the files of more than 25MB, in XI system. PIAFUSER is running on PRIV mode and huge java core dumps and heapdumps are  getting generated in server0 node
    error message->  - Out of memory situations running XI
    Exception thrown [Fri Sep 30 13:57:27,855]:Exception thrown by application running in JCo Server
    java.lang.Exception: java.lang.OutOfMemoryError
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:237)
         at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    first , we tested in Quality system, where,we are getting same problems as well.
    SAP Note 146289 - Parameter Recommendations for 64-Bit
    increased em/intial_size_MB  from 512MB to 2 GB and em/global_area_MB value from 96 to 256
    SAP Note 723909 - Java VM settings for J2EE 6.40/7.0
    we added some jvm parameters in confitool
    -Djava.awt.headless=true
    -XX:+UseParNewGC
    -XX:+PrintGCTimeStamps
    Present  JVM values in XQ1 system..
    Xmx  value 3072
    xms  value 2048
    xmn  value 1000
    we have tested JCo RFC's  AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER , connection test was OK.
    We increased parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 800m
    Please advice me.. how to proceed..
    regards,
    balaram

    Hi Balaram,
    Kindly review below note, Hope it suits.
    716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s).
    Regards,
    Mani

  • Business Package for Transport Management System & Travel Mangement System

    Hi,
    Is there any <b>Business package</b> available for <b>"Transport Management System" and "Travel Mangement System"</b>?
    Please provide some link, if it is available.
    Thanks in advance.
    Manish

    Hi Manish,
       travel management is part of the ESS business package.  As far as transport management, if you are talking about TMS capabilities for moving object in the landscape, go to https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio and search for "transport"  You will find a thirdparty package for this.
    Good luck.
    John

  • How to see my z programs in sap file system

    hello everyone
    my Z programs are deleted due t some server problem from  my  sap ecc 6.0 system  is there any way to  get   my programs from sap file system 
    if yes then  where  exactly in windows folder my zprogramms are stored.......

    >
    elinuk wrote:
    > my Z programs are deleted due t some server problem from  my  sap ecc 6.0 system  is there any way to  get   my programs from sap file system 
    If your Z Programs are present in other server viz., QAS / PROD, then you can import the programs to your DEV server.
    if yes then  where  exactly in windows folder my zprogramms are stored.......
    I am not sure about programs associated to unreleased transport requests (TRs). But when you release your TR, the data gets stored in COFILES & DATAFILES in the transport directory (DIR_TRANS) of the app server.
    Hope this helps.
    BR,
    Suhas

  • T-code to upload mutliple files into SAP directories ?

    Hi,
    Is there any other transaction to upload multiple files into SAP directories ( ALL11) other than CG3Z ? Any other procedures at the operating system level ? Please advise.
    Regards
    Shiva

    I dont think so. But you can :
    -- Ask your developer to create a BDC for this transaction to upload multiple files.
    -- Use LSMW to record this transaction to upload multiple files.
    Regards,
    Jazz

  • Uploading SAP not from the system

    I have downloaded the SAP note 1045888  using a download manager.
    Now I need to upload it into SAP.
    In transaction SNOTE I used the option Goto-->Upload SAP note.
    But the note is not getting uploaded.(I can not view it in the list).
    I tried to upload other notes, they were getting uploaded.
    Can any one tell me what the problem might be.

    Hi ,
    First you  need to down load the note to your system and then upload it .
    Execute the transaction SNOTE in the SAP system
    - In the menu..Goto -> Download SAP Note (if connected to marketplace)
    otherwise Goto->Upload SAP Note.
    If downloading from marketplace then specify the note number in the screen and continue (execute)
    else if uploading select the file from the local system and upload (browse)
    - Once that is done then you can see the note on the screen. You will be able to view the note number on the screen
    - Select that particular note number and click on the execute button to Implement the SNOTE into the system.
    Sail

  • Upload of Customs Duty Rates (xml file) without transport request creation

    Hi All
    Can we upload the Customs Duty Rates (xml file) without transport request directly in the system.
    Thanks & Best Regards
    Kiran

    Hi Kiran,
    Please check transaction & program /SAPSLL/TLC_CUSB_UPL in GTS.
    This allows you to upload the XML from a local source or an application server path.
    I do not think a transport request is required in this scenario.
    Best Regards,
    Eoin

Maybe you are looking for