File posting to SAP directories

Hi Experts,
In my scenario I have to post files to the SAP directories, in AL11. my scenario is a file to file . can you please guide me in this regard, like what adapter I should use and what are the related configurations are required.
Thanks
Viny

Hi,
Use file adapter at both sender and receiver with file transport protocol - NFS.
Tcode: /nsxda_tools
Object type: DXPROJECT
Test Type: Load Data
Project type: BAPI
Program: CREATE
Click on Copy 
Source: Select Presentation Server---> FileName (Source file) 
Target:  Select Application Server--> File Type (P Physical file name) ---> File Name (Target dir of Appl Server)                       
Regards,
Abid

Similar Messages

  • Where does the details of the files on usr/sap directories get saved?

    hi,
    when a (.dat) file is created by background job processing in the 'usr/sap/' directories, where does the details like last changed, last modified of these files get saved?
    which table does these detiails get saved?
    thanks,
    swamy

    Hi,
    Transaction AL11 does exactly wat you are looking for,
    it lost list of files present on the server SORTED on date and time.
    and also u can use function module EPS2_GET_DIRECTORY_LISTING which contains a date/time stamp
    Hope it helps u...

  • I want to upload files in  sap-directories using  webdynpro abap.

    My requirement is i need to read the filess from the local system in a  folder and save those files in the sap directories(AL11).Need help .
    Thanks.

    Hi Dear,
    U have to use File upload UI element , then read the file then  follow the code for transfering into SAP directories:
    check this 
    *Declare T_UPLOAD , W_UPLOAD  itab  and  wa with your file heading structure
    DATA:L_LINE TYPE STRING.
      P_FLNAME = 'Test123'. " file name
    OPEN DATASET P_FLNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    CHECK SY-SUBRC = 0.
    LOOP AT T_UPLOAD INTO W_UPLOAD.
      CONCATENATE W_UPLOAD-Field1
                  W_UPLOAD-Field2
                  W_UPLOAD-Field3
                  W_UPLOAD-Field4
                  W_UPLOAD-Field5
                  INTO L_LINE
                  SEPARATED BY ','.
    TRANSFER L_LINE TO P_FLNAME.
    ENDLOOP.
    CLOSE DATASET P_FLNAME.
    I think it may help u a lot..
    Regards
    Aisurya

  • 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

  • How to store a JSP file in the SAP Application server ?

    Hello All,
    My reqt. is as follows :
    1. I need to store a JSP File on the SAP Application server .
    How can I do this ?
    2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
    How can I achieve this ?
    First of all is this possible ?
    Regards,
    Deepu.K

    Hello Mike,
    Thanks for ur reply.
    I've imported the JSP as a mime object into the BSP.
    Now I've created the page to show that Mime Object as an image.
    But nothing is coming as an output.
    But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
    I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
    Now how should i make this view to be an output ?
    I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
    Regards,
    Deepu.K

  • How 2 read two files from 2 diff. directories, using single adapter

    How 2 read two files from 2 diff. directories in same system, using single file adapter.

    you can use advanced selection for source file
    see
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

  • Local currency is not posted into SAP

    Hi,
    I am using the program 'RFBIBL00' for postings into SAP from leagacy file after validations. For this I am facing one issue.
    CURRENCY - USD
    AMOUNT    - 12345.12 (example)
    for this postings , the amount  in local currency  is not posting into SAP and the amount in local currency is recalculated by SAP at the exchange of system.
    Please help me for this how to post local currency into SAP.
    regards
    SVR

    Hi,
    Which field in BBSEG structure you are passing the amount field to? Did you use BBSEG-DMBTR?
    Regds,
    Rudra

  • Idoc posting in SAP

    Hi Gurus,
    Im working on file to RFC scenario.
    According to the business requirement, I  have split the file or message and for each message RFC is called to post the idoc in the SAP system.
    If the batch file contains 3 messages, the batch is getting split but teh order is  not getting maintained...
    The first message should be processed first and the idoc should get posted in SAP.
    The second message should be processed after teh first one and the idoc should get posted in SAP.
    The third message should be processed after the second one..
    But in reality teh first message is processed first and idoc got posted.
    The third message is processed next and second message is processed after the third message.
    I checked the box Maintain Order At Runtime in PI interface determination.But this did not serve the purpose.
    Can you please provide any solution to maintain the order while sending the RFC-xml messages from PI to SAP.
    Thanks,
    Jay
    Edited by: j r saithala on Sep 29, 2011 3:24 PM
    Edited by: j r saithala on Sep 29, 2011 3:47 PM

    Hi,
    So to understand the requirement, you need to maintain order for the messages received from the legacy and send it in sequence to SAP. You are using RFC adapter instead of the IDOC adapter in the receiver side.
    If you click on the maintain order at runtime in the Interface determination, SAP does create a serialize queue. But ideally we should have a dedicated queue scenario which will be better performance & design wise.
    Design
    1. Sender file adapter communication channel should be set as EOIO ( input the queue name )  so the receiver QOS also changes to EOIO. You need to use IDOC adapter on the receiver side.
    2. IDOC Receiver adapter you use the queue processing which will help your requirement.
    Regards,
    Indranil

  • CVAPI_DOC_CHECKOUTVIEW - how to check´out files to a SAP directory

    Hello,
    I have an issue with understanding and providing the FM CVAPI_DOC_CHECKOUTVIEW to check out files from KPRO to a SAP directory.
    I use CV120_KPRO_CHECKOUT to checkout files to local PC and this runs fine, but not for checking out files to SAP directories. So I found the API.... FM.
    But I am confused about the data required to run the FM CVAPI_DOC_CHECKOUTVIEW . I tried several times but it does not work either for check out to clnt nor to SAP server.
    Parameters for DOKAR, DOKNR, DOKVR and DOKTL are clear to me. PF-CONTENT_PROVIDE is CLNT for PC check out and SRV for Server checkout. But what about the rest?
    I am not sure how to provide the tables and the fields PF_FTP_DEST / PF_HTTP_DEST / PF_HOSTNAME and the PS_API_CONTROL.
    Can anybody help me with the required import data.
    Best regards
    Dirk

    Hi Dirk.
    We are using bapi to get the document file (original)
    Look our usage of pf_http_dest and pf_ftp_dest.
    CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
      EXPORTING
        documenttype       = vl_dokar
        documentnumber     = vl_doknr
        documentpart       = vl_doktl
        documentversion    = vl_dokvr
        getactivefiles     = 'X'
        getdocdescriptions = 'X'
        getdocfiles        = 'X'
      TABLES
        documentfiles      = t_document.
    READ TABLE t_document INTO wa_document INDEX 1.
    CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
      EXPORTING
        documenttype    = vl_dokar
        documentnumber  = vl_doknr
        documentpart    = vl_doktl
        documentversion = vl_dokvr
        documentfile    = wa_document
        originalpath    = 'your SAP directory'
        pf_http_dest    = 'SAPHTTPA'
        pf_ftp_dest     = 'SAPFTPA'
    IMPORTING
        return          = wa_return
    TABLES
        documentfiles   = tl_files.
    Darley

  • Payment DME file ditectly to SAP SEVER

    hi!
       I need to download the vendor payment DME file ditectly to SAP SEVER (Transction : F110) and I would not like to drop in the user micro or cd.
       May you help-me?
    thanks.

    Hi,
    The internal table data can be stored in the SAP directories which you can see in transaction AL11.
    For example
    DATA: file TYPE string VALUE `flights.dat`,
          wa   TYPE spfli.
    FIELD-SYMBOLS TYPE x.
    OPEN DATASET file FOR OUTPUT IN BINARY MODE.
    SELECT *
           FROM spfli
           INTO wa.
      ASSIGN wa TO CASTING.
      TRANSFER TO file.
    ENDSELECT.
    CLOSE DATASET file.
    Hope it helps you.
    Regards
    Manjari.

  • Process to map payment data in soft file format into SAP ISU

    Hi Experts,
    I am preparing TO BE documentation for a power sector client. Currently payment is received in soft file format through below medium -
    ·       Internet Payment Via payment gateway Bill desk.
    ·       Payment using ATM Machines
    ·       Payment Thru Easy Bill Pay option.
    Than currently data is downloaded (CCR for internet, ATM) and entries are posted in cash book.
    Can someone help me what process will be used to upload the data in SAP-ISU system and also post the payment in customer account.
    Thanks in advance,

    Hi,
    You need to develop a customised program to upload the file in a SAP acceptable format and then call SAP standard program RFKKZE00 to process the same, create payment lots and post the amount into customer account.
    You need to perform validation and checks against the file format of the file that you ar uploading.
    Once the file passes the checks, it is reformatted to a file which is accepted by the SAP standard program RFKKZE00.
    A file in the SAP accpted format will have-
    One file header record (BFKKZGR00 structure) per file
    One payment lot header (BFKKZK structure)
    Any number of items (structure BFKKZP)
    You can include data for any number of lots in a file. However, you have to ensure that you always specify the lot header first and then the related line items.
    After you have created reformatted file, then perform a check to ensure that the source file and the reformatted file has the same date and no data has been missed.
    Call the SAP standard program RFKKZE00 (T.code-FPB3) to process the reformatted file.
    You can goto t.code -SLG1 to check for any errors\messages.
    Hope it helps......
    Thanks,
    Amlan

  • What is a  Logical and Physical file path in sap?

    what is a  Logical and Physical file path in sap?

    Hi,
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      ENDIF.
    Reward if helpful.
    Regards,
    Ramya

  • How to open files from the SAP DMS (DOC Mgt. System) ?

    Hello All,
            I making the Transaction CV04N in BSP.
    When I execute this CV04N I should give a DOC Nr and the list is generated for this DOC.Now in the List if I select one Record and then Press Display Icon then the content of this list is opened in a new window in it's respective format (PDF,Word,GIF,Image file  etc).These are stored in the SAP DMS.
            I want to open a file from this SAP DMS .
    This can be done in ABAP using the standard FMs. But in BSP we can't use these FMs as it will call a screen.
    The Fm which I'm using is " DOCUMENT_SHOW_DIRECT ".
    In Report prog. To this FM I'll pass the
    a, DOC Type
    b, DOC Number
    c, Document part and
    d, Document version.
    then It'll directly open a PDF file in a new window.
    But in BSP how should I acheive this as the FM calls a screen internally.
    The content of the documents are stored in the DMS. Is there any TCODE or Table to get the files from the DMS ?
    How should I proceed ? can any one help me out.....
    Regards,
    Deepu.K

    Hello All,
             I found the FM : <b>CVAPI_DOC_OPEN_CAD</b> which wil return the file path.
    But when I execute this in my BSP since the FM internally calls a screen it fails.
    But can anyone tell me the alternative for this.
    Should I create a FM omitting the GUI code ?
    I found one more thread which says that I can use classes starting with cl_gos*.
    But all the classes use a gui.
    Dowload a document from R/3 DMS to BSP page
    Am I wrong in the interpretation of the logic from the above thread ?
    Please suggest me .
    I too went thru the BSP Applications <b>CVAW_ENTIRE, CVAW_DOCUMENT_DISPLAY.</b>
    But these are used to display only the <b>thumbnails.</b>
    There is no code for displaying other formats like PDF,XLS etc.
    Please correct me if I'm wrong and let me know the correct path to solve my problem.
    Regards,
    Deepu.K

  • Query on integrating windows file server into SAP KM using WEBDAV

    hi
    I have sucessfully integrated windows file server into SAP KM using WEBDAV. I have query in it regarding the possible validation against the portal Database user. Can we configure such that the user comparison happens for LDAP as well as database user. Have anyone configured such a scenario?
    Regards,
    Ganesh N

    Hi Ganesh,
    this should work in principle.
    However you would need a user in Active Directory for each user in the portal database that should connect to the file server if you are using the SSO22KerbMap Module as I assume.
    In my whitepaper I have mentioned this for the internal user index_service that does only exist in the portal database.
    Best regards,
    André

  • How do i check the list of invoices which are not posted into sap.

    Hi All,
    Iam displaying(ALV) the list of invoices and epayments for both PO & non PO transactons which are being processed in workflow but not posted in sap.
    (Non po transaction is th eone with out reference of a PO)
    How to check and list out the invoices that are not posted in sap. where does this get stored.
    please help.
    Thanks
    jyothi.

    Hello Jyothi,
    U can give try with EKBE table for getting invoices for PO. In this table there is a field vgabe which has various status. U can try that. Now for Non PO, u would be directly creating invoice doucment using FB60(i guess) which would create an entry directly into BKPF/BSEG. U can scan BKPF for the date range company code document type KR which vendor invoice.

Maybe you are looking for

  • Mini Bridge: how to clear recent files/folders?

    Hi all, I am a new user of Photoshop CS5.1 Extended and have a question about Mini Bridge. My OS is Windows 7 Ultimate 64-bit, and I'm using the 64-bit version of Photoshop. My question is: how do I clear the Recent Files and Recent Folders lists fro

  • How to add "Add Attachments" button to PDF form in Acrobat?

    Hi, I am using Adobe Acrobat X Standard for creating a PDF form. I want to add an "Add Attachments" button to my form. Is it possible to do it in Acrobat? If so could someone please help me with the javascript? Also, if possible I would like to check

  • How to replicate the old address communication data into new address commun

    Hi All, In SAP R/3   4.7 T.code: BP or FPP1 Business partner have address with telephone, fax and email details, now I want to add another (new) address with same telephone number, fax and email with out copy and paste. When I click u2018createu2019

  • Export songs in mp3 to sd card

    How can I export my Itunes (mac) library to an sd card in mp3 format? thank you

  • How does the trade in work?

    How does the trade in work. If you don't get your gift card until 4-6 weeks after you mail it. How do you apply it to the cost of the new phone?  If I go to a store that has it in stock will they give you the credit in the store?