LSMW: File port creation

Hi all!
I am trying to create LSMW. Now i have assigned BAPI object. It is asking me to maintain IDOC parameters. In which one is File port.
If i click on Maintain. Then it takes me to other screen.
May i know how to create file port.
Thanks in advance,

Hi,
You can create the file port using WE21, for more details refer,
Lsmw
LSMW
Regards,
Hema.
Reward points if it is useful.

Similar Messages

  • Regarding lsmw file port creation

    Hi Experts,
    By using lsmw (bapi technic),while executing ,
    the step of start  idoc generation its showing that 'no partner exists with the name type'.and how to create lsmw file port.
    Please resolve this issue ASAP.
    Regards,
    Reddy.

    Hi venugopal ketu ,
    please go thru the below useful links....
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
    All the very best....
    Regards,
    Sreenivasa sarma K.
    Edited by: sharmashree kashi on Mar 28, 2008 5:04 PM

  • Cannot find the maps stored in import manager during port creation

    Hi All,
    I am unable to find any maps that i saved in import manager during port creation ,the maps are not showing in dropdown list during port creation in console.Do i need to store the maps that i have in import manager in specific place under mdm server,so that i can see them during port creation.
    All i need to do is assign my import map during inbound port creation,but i cannot find any maps in console.
    Could I know whether i am storing my maps some where other than default location.
    Thanks
    Aravind

    Hi Aravind,
    First of all check the remote system assigned to ur Port. After that go to import manager. When u logon to the import manager, u get a window "Connect to source". Mention the same remote system over there.Select the file type.Browse the file and map the fields,values,field matching and save the map. then unload the repo and assign the map to the port.
    Second way is, u create the port first and give any particular remote system to it. Put the file (u want to use for mapping) in the ready folder of that port and in connect to source window select the type as port, remote system(ame as used port port) and port.then map and save. unload the repo and assign the map to port. Ready folder will be in ur server at location: C drive or D drive->SAP MDM 5.5 ->server->distributions->repo name->inbound->port code->ready. For this option, Ur port type should be manual. After assigning the map u can change it to automatic or keep it manual as per ur requirement.
    Hope this solves ur problem.
    Regards,
    Dheeraj.
    Edited by: Dheeraj Kumar on May 6, 2008 9:16 AM

  • Automatically process IDoc to XML File port

    Hi everybody,
    I want to send two different IDocs via "XML File" port using change pointers and the distribution modell (one SAP standard, one custom).
    I maintained the distribution model and created outbound parameters in partner profile (WE20). Both are set to "Transfer IDoc Immed.".
    1.
    Now I change some master data and the change pointers are created. I run RBDMIDOC for both message types and both IDocs are created. But unfortunately they stuck at staus "30 - Idoc ready for dispatch" (yellow). I need to run RSEOUT00 to create the XML files.
    Is it possible to avoid a job that runs this report? I want the IDocs to be processed automatically right after creation.
    The really strange thing about this is, that it used to work for the standard IDoc (BOMMAT). But I might have changed some settings to get my custom IDoc work too and now both stuck at status 30?! This is what bothers me most...
    2.
    When the XML files are created (at the moment after running RSEOUT00) the status in WE05 is "03 - Data passed to port OK" (yellow).
    Why is this light still yellow? Everything is fine, the file was created, it should be green. Is there anything I can do?
    Thanks and best regards,
    Oliver

    Hi,
    thanks for your suggestions.
    Unfortunately this did not solve my problems.
    1)
    OUTMOD for both messages was 2 (which should be ok). Changing it to 1 did not have any affect.
    At least BOMMAT works again (both with OUTMOD 1 and 2). But my custom IDoc still does not get processed automatically.
    2)
    Running report RBDMOIND did not change the status of my IDocs. Please keep in mind that it is no tRFC port, but XML File port.
    Best regards,
    Oliver

  • IDoc File Port Exit

    Hi all,
    I'm using a File Port to download an IDoc of type PEXR2002.
    AFTER the IDoc is downloaded, I want the system to instantly run some custom code.
    Is anyone familiar with an user/customer exit for this?
    Does anyone know any exits for file ports? I know the exits for PEXR2002 but not sure if they are relevant.
    Kevin

    Does the file have to physically exist when you run the custom code? If it doesn't, and you want SAP to trigger some code, then you can write a function module to do what you need and hook it into the ports outbound file function code. The function called there is usually to name the file uniquely, such as EDI_PATH_CREATE_CLIENT_DOCNUM. However, you could write a function module that calls this, then executes your own code. If you want to take a chance, you could use that function module to raise a workflow event for a task with a one minute delay, then execute the code in a function module.
    On the other hand, if you need the file to exist, I think that you need the operating system to inform you of the creation of the file, in a similar way to the XI file adapter. In that case, you could have an OS process trigger a remote RFC call into the R/3 system which executes the code that you need.
    As we say in english: there's more than one way to skin a cat...
    BR,
    Tony.

  • RFCExec and File port

    Hi
    I created file port that write idoc to some network location. Than i want to run program that will process this new file. i regestered program using rfcexec on my computer. i checked in smgw that conection is active. I also created connection type T with registerd program in sm59.
    Next step was to write some bat file on my computer to proces idoc. on outbound triger tab i checked automatic start possible, and path to this file on my computer. ALso in we20 partner profile i checked startsubsystem.
    What is wrong ?? is it because my script is bat file ??
    Regards
    Maciej

    hi
    Port is the Logical representation of communication.
    There are 4 types of ports
    1)TRFC
    2)File
    3)R/2 (ABAP/4)
    4)Internet
    In ALE we transfer/exchange the data (SAP Data) b/w 2 systems ie only through RFC (Transaction RFC) we communicate with the other system.we use File Port to transfer Non Sap data b/w systems.
    Tcodes :
    Port Creation : WE21
    RFC Destination : SM59
    Regards

  • File port query  File transfer from SAP R/3 to Webmethods using Unix Script

    SAP drops the files in the /sapio/ directory and triggers an unix script using File port partner destination.
    Unix script will perform a secure copy of files to Webmethods server.
    If in unix script, error occurs then an RFC function will be called to send an error notification to a person.
    Queries
    1) How is the unix script triggered using the File port partner destination ?
    2) What is the unix command to invoke a report which sends the error notification mail ?
    3) Does SCP command to copy files to webmethods work , if the unix script is placed in /sapio/ directory ? Or whether
    any connection need to be established between SAP and Webmethods server ?

    Hello,
    Since you want to transfer Article Master, it should be a Retail System. So you should use Message Type ARTMAS. For fullbuild, you can use transaction WDBM and for changes, you can use WDBU.  For changes, you can enable change pointers for required fields using BD64.
    Thanks,
    Venu

  • Dynamic read of file for File Port

    As per our project requirement have to use File Port to pick a set of IDOC Flat files from a given directory. The File Port only allows us to pick a file with a specific given name and does not allow us to pull file with a pattern for .eg. We can pull a file abcd.txt but cannot pull something like abc.txt. Our requirement is to pull abc.txt using the File Port.
    If anyone has any idea about this, or any past experience with File Port in this regard, then please respond at the earliest.
    We have created the file port with follwoing parameters:
    Unchecked the Unicode Format System Setting
    For the Inbound File:
    Function Module: EDI_PATH_CREATE_CLIENT_DOCNUM
    Directory is: A valid directory path
    File Name: abcd.txt

    Hi,
    According to me, while using the automatic syndication through ports, it is not possible to change the filename that IDOC flat file generates.
    FTPS != Secure FTP (990)
    FTPS should have SSH Port 22.
    u can check on this:
    Basic FTP Setup Instructions
    refer this thread also
    FTPS
    Thanks & Regards!!!
    Saurabh Goel

  • How To create a File Port in ALE Settings

    Hi All,
    I want to create a File port, but can anybody help me what are the details have to be updated while creating the Port in WE21.
    Is it i need to mention RFC Destiantion while creating a File port.
    IF not let me know how to configure the logical systems with out giving the RFC destiantion.
    Regards,
    Madhavi

    Hi alexander,
    But for function module MAster_idoc_distribute.
    What are the parameters i need to pass for Logical systems and what i have to give in the Model distribute .
    Can you explain me detail.How the sys knows have to maintain for sender and recevier sys.
    As File port new to me.
    Regards,
    Madhavi.

  • How to copy/send text file from FTPS to SAP ECC File Port

    Hi Frdns,
    I am working on one design, actually my requirement as follows
    I am receiving financial information document from Banks, which is in the form of BIA2 message format, it looks like text file. This information needs to be sending to SAP ECC system.
    I identified some approaches to full fill the requirement
    1)Using Conversion agent/or third party tools to convert BIA2 message in to XML, then using PI I will pick up the XML message, convert it in to IDoc.
    2)Without any conversion I will copy the same file (original BIA2 message) in to SAP ECC file port, in this case no conversion required, calling some program I will schedule it.
    I am looking forward t implement the second approach because it saves lot of money to my client.
    Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
    What is the best approach to copy the BIA message text file from FTPS to SAP ECC File Port.??
    Regards,
    Raj

    Hi Raja,
    >>Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
    Yes you can do this copy, the only restriction that can happen is the file size.. If you are sure that the fiel will be of few MB at the max then you can use the Configuration part alone and copy it to ECC folder. For doing this you need the following:
    1. Sender agreement (mention the sender interface as anything XYZ)
    2. Sender communication channel. Pick the file in binary mode
    3. Receiver determination (keep both the sender and receiver service as same)
    4. Interface Detemiantion (dont specify any mapping and keep the receiver interface name as XYZ)
    5. Create receiver agreement (with same service and interface)
    6. Use file adapter here
    Regards
    Suraj

  • How to create an XML File Port in we21

    Hi firends,
    Can any one help me in creating the XML FILE PORT
    Its Urgent
    Thanks
    Ganesh

    Hi Ganesh,
    Directory
    The file is uniquely identified via the directory ("path") and their names.
    For IDoc files you may also use a "logical directory", which you assign in transaction FILE dependent on operating system "physical" directories.
    Outbound file
    There you can specify a fixed name for the file,
    Thanks
    Ravee..

  • File Port Not Picking Up File

    Hello All,
    I'm trying to get a file sent from an external system to SAP. I created a file port. The inbound tab of the port has the full path of where the file will be after it's sent from the external system. The external system is a PC server and is sending the file to the folder no problem. However, the SAP file port is not picking up the file. This is an IDOC file I'm trying to send to SAP. In the file port I click "test connection" and I get a positive result showing "access is possible".
    I went into WE16 to manually bring the file in. I use the full path as in the file port plus the file name. I also enter the port name and try to execute. An error comes back saying "error opening file".
    In WE16 I use...
    <pc server>\directory\filename
    Any help as to why I can't get the file through the port or manually in WE16 would be greatly appreciated.
    Thank you.

    hi,
    have you seen below threads :
    Steps to create port in WE21?
    Steps for creating file port for inbound process!
    thanks,
    Edited by: bhavanisankar.solasu on Dec 21, 2011 6:02 AM

  • Reading Dynamic Files using File port

    Hello All,
    We have a requirement in our project where we have to use File Port to pick a set of IDOC Flat files from a given directory. The File Port only allows us to pick a file with a specific given name and does not allow us to pull file with a pattern for .eg. We  can pull a file abcd.txt but cannot pull something like abc.txt. Our requirement is to pull abc.txt using the File Port.
    If anyone has any idea about this, or any past experience with File Port in this regard, then please respond at the earliest.
    We have created the file port with follwoing parameters:
    Unchecked the Unicode Format System Setting
    For the Inbound File:
    Function Module: EDI_PATH_CREATE_CLIENT_DOCNUM
    Directory is: A valid directory path
    File Name: abcd.txt
    Thanks in advance.
    Abinash

    If the xml files are all in the same directory (not in any directory structure relative to the parent directory), you can do something like this.
    - create a bpel process to read the zip files as it comes into the directory]
    - Have a file adapter inbound for the receive
    - Call windows .bat command within the bpel process to run an unzip command on that directory
    - Have another bpel process that reads *.xml files and this will get kicked off.
    There are so many ways of solving this: like having a cron job to unzip the files coming in etc. But, if you have a directory structure for these XML files and if the structure is dynamic, it is difficult to configure the file adapter for that.

  • File port configuration - ALE

    Hi
    We are trying to configure the ALE setup.
    The data should be transferred to the application directory for the other server.
    Have created the file port, but getting the Idoc error 29.
    Please can u tell me the steps..
    Thanks in advance!
    Sushmitha

    Hi,
    IDoc status 29: Missing or incorrect partner profile
    To send an IDoc from the SAP system to the external system, you must define outbound parameters for the message type and all relevant partners.
    For more information, see Interfaces ® External Systems ® Configure Warehouse Management ® Communication R/3 -> External System ® Maintain Partner Profile in the Implementation Guide for Warehouse Management.
    If the system cannot find the partner (that is, the connected partner system) for sending the IDocs, proceed as follows:
    Define the missing partner profile.
    Resend all existing IDocs, which the system has not yet been able to send.
    For this error, the system triggers a workflow work item for the standard task Output: Error processing with IDoc and sends a message to the inbox of the corresponding user.
    You trigger subsequent sending of the IDocs that contained errors from the inbox.
    On subsequent transmission, the incorrect IDoc is flagged with status 31 and copied to a new IDoc, which is enhanced with data from the partner profile and transferred to the asynchronous RFC.
    Check this.
    http://help.sap.com/saphelp_nw70/helpdata/EN/dc/6b7fa443d711d1893e0000e8323c4f/content.htm
    Rhea.
    Edited by: rhea on Oct 13, 2008 4:52 PM

  • Need Information for transporting a file as IDOC through File Port!!!

    Hi,
    All configurations are present in the system to transfer a file as IDOC using File Port.
    Now we are creating a custom program to transfer the same. Now i have all the data in an internal table which has to be send to Non SAP system. So can i know the process how to send the same.
    I have a SAP Directory where i need to place the system. I also have all ports required.
    So please let me know how to code the same ASAP.
    Thanks and Regards,
    sagar..

    You may want to try using the IDOC Test tool WE19 in order to test out your ports and partner profiles.
    Also sending from SAP to XI / PI you might be better configuring RFC Destination / SM59.
    See this Wiki for more info...
    http://wiki.sdn.sap.com/wiki/display/XI/ALE+Configuration

Maybe you are looking for

  • How To Clear The Web Intelligence Report Cache in BO 4.0 Linux

    Hi Experts, I have followed the SAP Note 1207029 to Clear The Web Intelligence Report Cache in BO 4.0 Linux, but in the note they have mentioned the path of BO XI 3.1 that doesn't exist in BO 4.0. Given Path in the note: <installation directory>/user

  • Headphone jack not working on brand new late 2012 27" iMac

    Just purchased the new late 2012 27" iMac. Have tried 3 pairs of headphones, all work with my iPhone but when plugged into back of iMac, they do not show up in Sound>Output as an option. Only internal speakers and Apple TV. I have pushed...hard. Not

  • Anyobe ever hook their ibook up to a widescreen lcd hdtv/monitor?

    i just got a sharp aquos 32" hdtv monitor. i have a s-video output cable for my ibook and i want to hook it up to the tv. i know it won't display 720/1080 but will it look good? will my ibook display a resolution suitable for a 32" widescreen as if i

  • API call to get FULL URL

    I can't seem to find an API call to simply return the full url of the current page. I just want to do the simplest (at least I think it should be simple) thing: Call a stored procedure (from a portlet) passing the current full url to the procedure. N

  • "Available" contacts NOT available

    Why is it that my contacts that say are available are actually NOT available?  Whenever I log in it's the same set of people that are said to be available.