Creation of rfilr ports in WE21 from LSMW IDOC Processing

Hi,
I am trying to defile a file port for INBOUND IDOC processing status in LSMW.
Now when I go to create a file port in WE21, I give some dummy Physical directory name. But what should I give in
Function module field and Outbound file field ? Is it compulsary to put something in these fields...
Please help.....

Hi,
Function module field is used to define the path functionality of file generated.
EDI_PATH_CREATE_CLIENT_DOCNUM is the recommned fucntion by SAP .
Function is used to prevent unprocessed files being overwritten.Tihs function generates file directory path dynamically.
Hope this helps.
Thanks.
Mark points if helpful.

Similar Messages

  • Data Transfer using LSMW IDOC processing with multiple segments

    we need to post the document data (Header structure, BP item structure, G/L item structure..etc) using LSMW IDOC processing.
    is it possible to transfer data for all these structures (Segments) in single file?

    Thanks for the reply.
    I am assuming when we are specifying the file in LSMW we are going to give the option to generate the file with include all structures.
    could you please elaborate further is there any thing specific we need to do while configuring LSMW to get the file for all segments in the IDOC with field names which we are going to populate with data, so that we can use it for data transfer.
    any help document will  be helpful.

  • ** Port is missing from the IDoc control record  (Receiver IDoc adapter)

    We are using a File to IDoc scenario and in the idoc sap sender port is not coming due to this IDoc posting is failing. Could any one tell us why idoc adapter is not able to get SAP port.
    The following is the error message in SAP side.
    Status : 56
    IDoc: 0000000006188579 Status: IDoc with errors added
    EDI: Partner profile inbound not available
    Kindly help me friends.
    Thanks,
    Jagathees P.

    hi,
    >EDI: Partner profile inbound not available
    this error message means that there is not partner profile
    configuration for this IDOC (you configure it in WE20 of ERP/R/3 )
    or your XI system is configured to post to a wrong partner profile
    (if you fill your partner data in a mapping for example)
    so it's one of the other for sure - check it/change it and it will work
    for more info about IDOCs and XI you can check my book:
    www.sap-press.com/product.cfm?account=&product=H1935
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • Creation of IS OIL TD Shipment using Inbound IDOC Processing?

    HI Expert,
    We are on IS OIL 4.72E version . As part of once of our requirement we need to process inbound shipment IDOC from SCM system and create the TD Shipment document in R/3 ..
    Delivery is already created in R/3 ; In SCM assginement of vehicle is done and IDOC is transferred to R/3.
    I want to know how to process this inbound shipment IDOC ; for creating only TD shipment not the delivery as it is already exist.. what is the process code and function module to be given in partner profile....
    Kindly explain me step by step if possible....
    Regards,
    Adityakumar Waghmode

    Hi,
    Function module field is used to define the path functionality of file generated.
    EDI_PATH_CREATE_CLIENT_DOCNUM is the recommned fucntion by SAP .
    Function is used to prevent unprocessed files being overwritten.Tihs function generates file directory path dynamically.
    Hope this helps.
    Thanks.
    Mark points if helpful.

  • LSMW   using Idoc process

    Hi Experts,
        I am new to LSMW idoc process. Please guide me in this. I want all the steps if possible with screen shots involved in idoc processing. Please do it as soon as possible.
    Regards,
    Nagaraju.

    Hi
    Send me an email to [email protected]
    i will send you the ppt which holds all the steps

  • Sales Order Creation using LSMW IDOC method.. ( Custome Interface)

    Hi ABAP'rs,
                     Please provide me LSMW steps for creating Sales Order using IDOC method.
                            Thanks and Regards,
                                                  Param.

    LSMW-IDOC in General
    LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
    • Most of the functions are within R/3, hence platform independence.
    • Quality and data consistency due to standard import techniques.
    • Data mapping and conversion rules are reusable across projects.
    • A variety of technical possibilities of data conversion.
    • Generation of the conversion program on the basis of defined rules
    • Interface for data in spreadsheet format.
    • Creation of data migration objects on the basis of recorded transactions.
    • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
    •Project – ID with max of 10 char to Name the data transfer project.
    • Subproject – Used as further structuring attribute.
    • Object – ID with max of 10 Characters, to name the Business object .
    • Project can have multiple sub projects and subprojects can have multiple objects.
    • Project documentation displays any documentation maintained for individual pop ups and processing steps
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
    • Standard Batch / Direct input.
    • Batch Input Recording
       o If no standard programs available
       o To reduce number of target fields.
       o Only for fixed screen sequence.
    • BAPI
    • IDOC
    o Settings and preparations needed for each project 
    Preparations for IDOC inbound processing:
    • Choose settings -> IDOC inbound processing in LSMW
    • Set up File port for file transfer, create port using WE21.
    • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
    • Setup partner type (SAP recommended ‘US’) using WE44.
    • Maintain partner number using WE20.
    • Activate IDOC inbound processing.
    • Verify workflow customizing.
    Steps in creating LSMW Project:
    • Maintain attributes – choose the import method.
    • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
    • Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
    • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
    • Maintain relationship between source and target structures.
    • Maintain Field mapping and conversion rules
    • For each Target field the following information is displayed:
    o Field description
    o Assigned source fields (if any)
    o Rule type (fixed value, translation etc.)
    o Coding.
    o Some fields are preset by the system & are marked with Default setting.
    • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
    • Specify Files
    o Legacy data location on PC / application server
    o File for read data ( extension .lsm.read)
    o File for converted data (extension .lsm.conv)
    • Assign Files – to defined source structures
    • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
    • Display read data – To verify the input data being read 
    Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
    • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
    • Standard Batch input or Recording
    o Generate Batch input session
    o Run Batch input session
    • Standard Direct input session
    o Direct input program or direct input transaction is called
    BAPI / IDOC Technique:
    • IDOC creation
    o Information packages from the converted data are stored on R/3 Database.
    o system assigns a number to every IDOC.
    o The file of converted data is deleted.
    • IDOC processing
    o IDOCS created are posted to the corresponding application program.
    o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
    • R/3 Transport system
    o Extras ->Create change request
    o Change request can be exported/imported using CTS
    • Export Project
    o Select / Deselect part / entire project & export to another R/3 system
    • Import Project
    o Exported mapping / rules can be imported through PC file
    o Existing Project data gets overwritten
    o Prevent overwriting by using
    ‘Import under different name
    • Presetting for Inbound IDOC processing not transportable.
    Reward if useful.
    regards
    santhosh reddy

  • Call multiple screens from LSMw

    Hi
    i want to call multiple screens from lsmw
    I need to call a three transaction from LSMW wich are subzequent steps for data entry.
    1) first tcode to be called is eprodcust which creates some master data and using this master data and some fields of data creatd i need to call two more tcodes first iq01 to create meter and save then eg31 tcod to feed data.
    Please suggest where in lsmw can i give options for suc hscnerio and call of subsequent screens.
    regards
    Edited by: Prieti_V on Nov 8, 2011 8:28 PM

    Hi Priti ,
    we have few options to handle such cases , to avoid Locked Problems what you can do is
    -->write BDC program within LSMW to create installation ( this will be created within step of 11 Convert Data ).
    -->Based on the above BDC results ,run another BDC within LSMW to create Device.( this will be created within step of 11 Convert Data ).
    -->third BDC records , let SAP do it thru LSMW or can you do it convert data step itself.
    this approch needs lots of codes , so in worst case and if you dont want to break the loadings the follow this.
    *Better to find any BAPI which will do creation of installation ,devices
    regards
    Prabhu

  • How to create an XML Port in we21

    Hi friends,
    Please help me in creating the XML Port in we21.
    what are the inputs I need to pass to create the
    XML File  Port.
    Kindly suggest me
    Thanks in Advance,
    Ganesh

    Hi Ganesh,
    Create a XML port thru Tranx WE21 and send the IDoc to that port system will create an XML file for you of your EDI document
    see this link
    http://sap.wikispaces.com/edi-tx-we21
    XML basics blogs
    /people/tobias.trapp/blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
    REFER THIS THREAD
    http://help.sap.com/saphelp_nw04s/helpdata/en/dc/6b7fa443d711d1893e0000e8323c4f/frameset.htm
    Ports are use to define the way data is send (or received) from another partner (e.g. other system).
    Port type Transactional RFC defines an RFC Destination.
    Port type File defines a file and directory (and a function module that does the record handling for your output file)
    Port type CPI-C defines an SAP R/2 system and transmission parameters.
    Port type Internet, allthough in the system is no longer supported (See SAP note 315083).
    Port type ABAP-PI defines a function module that will do the transmission. This is often used if you want total control over the sending (or receiving) process.
    XML defines a file and directory (and a function module) specific to XML formatted files. The XML-HTTP leaves out the file and can transmit directly to a website location
    thanks
    karthik

  • How can u creat LSMW port in Idoc Processing

    how can u creat LSMW port in Idoc Processing
    actullay i'm using Lsmw with bapi

    Hello Ronei
                 *After giving the project ,sub project ,object & short description
                      *go to menu bar click on settings  in that select idoc inbound processing ,
                      *in that screen click on maintain port push button
                      *port creation screen will be displayed in that left menu expand the file
                      *after that select file_port
                      *click on copy button
                      *provide your port name
                      *provide the short description
                      *after that deselect the uni code check box
          --->*this is the main step
                     *in the directory you will provide the path of your flat file other wise your
                      project will be terminated after 13 th step .
    thanks .
    prasad gandepalli     

  • Creation of Service Contract from Inbound IDOC

    Hi Experts,
    I am using Inbound IDOC type ORDERS02 with message type ORDERS for creation of Sales Order. Now my requirement is like to create a  Service Contract from that Inbound IDOC. The IDOC type contains all the data require to create a Service Contract. The scenario is like, after creation of Sales Order it will check for the corresponding Service Contract exits or not by querying on a Z table which contains all those entries.
    So my idea is to create a Z Program, in which it will check for the Service Contract and will create the same by reprocessing the same IDOC or by calling some Function Module. Please suggest how shall i proceed to create a Service Contract.
    Is there any way to reprocess the IDOC or to collect the Data from the IDOC segments pass them to a FM which is responsible for creation of Inbound IDOC. Please suggest if this is feasible.
    Thanks in Advance.
    Regards,
    Priyabrata.

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • How to port database changes from development to a production environment

    How do I port database changes from the development to the production environment?
    I am using v8 and have always had to redo everything using the schema manager all over in the production environment. Is there an easy way to generate a script, for example to dump the database changes on the development machine to be executed later on the production machine?

    This should already be a clearly defined change control process. Once a procedure, function, package, trigger, or whatever completes the testing rounds, it should be promoted to production.
    Forgive me if it seems I'm trivializing, but I don't see the problem, just copy the object(s) from your software library (or development) into production using whatever tool works best or has been chosen. If you are doing data copies then you have various options again including good old export/import.

  • How do I port a number from Sprint?

    I just signed up for Verizon yesterday with an individual line, and need to port my number from Sprint (also an individual line). What number do I need to call?

    Good morning tommaxwell,
         Welcome to our happy wireless family! We LOVE welcoming new members to Verizon! Since a cell phone is one of few things that we keep within reach at all times, I can certainly understand the benefits of keeping your current number! Some of these benefits are:
    • No new number to remember
    • No need to contacts friends, family member, and associates for a contact update.
    • No unnecessary expense of printing new business cards and other stationeries.
         May I ask have you started the port process yet? If not then it will be my pleasure to assist! First, I would like to provide a link to some frequently asked questions, http://bit.ly/qDhvBY. Once you are ready to start the process then you can send me a direct message with your full name, contact number, and a brief summary of the task at hand. I took the liberty of following you and it is pending your approval. I look forward to hearing from you my friend!
    Thank you…
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • Creation of WBSE in SAP-PS from all Phase of Project from cProjects

    Hi,
    Need suggestion for the automatic creation of WBSE in SAP-PS from each phase of Projects from cProjects i.e. multi level controlling scenario
    I have done the required configuration of Define Controlling Scenario where for the project type, controlling method has given (Multilevel Controlling (Structure Element, Automatic).
    But in my case only one WBSE is getting created for all phse s & project defintion of project in cProjects.
    Request you to suggest me on this issue.
    Regards,
    Ranjan

    Hi Vetrivel,
    Thanks for your prompt response. These are settings made for multi level controlling scenarios.
    1. Project Type:
    Accounting Intergation-accounting integration in my SAP ERP, as of relese of the project
    2. Define Object Links for Accounting Integration
    - 0FIN_INT_ERP_PS Single-Obj. Controlling on WBS Elements
    - Search Fields OLR3_TS_PRPS_SHLP
    - Proxy Class CL_DPR_OLR3_WBSELEMENT
    - 0FRAME9 frame has considered
    3. Controlling
    - Controlling Scenarios: PS01 Costing Variant
    - Then Costing Model has assigned to Controlling Scenarios
    - Assignment of Cost Elements to Cost / Revenue rate
    Please suggest me if i have missed some things. I am checking the planed cost in CN41 transaction of the PS module. Morever in Project in cProjects costing button is disabled & while doing calculate no planned cost os updating in Projects.
    I am following role based costing process. Project Role has defined & employee assiged to Projects.
    Thank you in advance.
    Regards,
    Ranjan

  • I have moved from a G5 Powermac to an Intel Mac Pro and am porting over Items from a Backup HDD. How can I access and use drawings and documents created on the PC computer on the Intel computer ?

    I have moved from a G5 Powermac to an Intel Mac Pro and selectively porting over items from a backup hard drive.
    How can I access and use documents and drawings created on the PC based computer ?

    Clarisworks, you need Appleworks, which will only work with Mac OS X10.6.8 or earlier.  See this tip if you must go newer.  Mac Pros with newer hardware configuration than July 20, 2011 can't use Mac OS X 10.6.8 or earlier without this tip and then it would be Mac OS X Server.  I'm not sure if the new black Mac Pro supports that configuration or not.
    iPhoto, there is an iPhoto for all versions of Mac OS X.
    iTunes, there is an iTunes for all versions of Mac OS X.  Note with iTunes versions 11 and later, which are needed for syncing with iOS 7 or or later, you will lose coverflow, if you liked that feature.  Sadly you can't run an older version of iTunes from within Mac OS X 10.9 or later.
    Sketchup: http://help.sketchup.com/en/article/60107 shows the versions that will work with intermediate Mac OS X versions, and this shows the latest version: http://help.sketchup.com/en/article/36208 be sure to click on the operating system you choose to use.
    GIF - Viewing GIFs Apple's Preview can do that.  Editing them, I like http://www.lemkesoft.com/ Graphicconverter.
    DMG is able to be opened by all versions of Mac OS X.  This are just "disk images" which store programs on a virtual disk that will open when double clicked.    Frequently you'll find the installer of the said program inside.  To find out if the program itself is compatible with 10.7 through 10.9, see http://www.roaringapps.com/
    Otherwise see the resources on:
    https://discussions.apple.com/docs/DOC-2455
    If you end up deciding to stick with Snow Leopard.

  • Service Entry sheet creation - Using a diffent contract diff from line item

    Hi,
    Here is the scenario...
    I have a services purchase order referring to contract  and its service item with services ( service masters) attached to it.
    And the PO  item is a limit item with some limits maintained on the limits tab, but contract reference is specified at the limits level it is only at the line item level.
    System version : ECC 6.0
    Lets say PO number : 123456789
    Lets say contract number and item is : 2323232323  item 10 ( Account assignment U )
    My supplier is : 111111111
    Now I am creating the Service Entry sheet  and I am trying to add the services  ( services selection button)  I get a pop up to  search for services  by certain selection criteria  and one of them is purch document ( remember it doesn't pre-populate and grey out the purch doc field with that the contract number from the item level) and now I can select any service contract that belongs to any supplier and select the services from it and complete my  SES.
    So lets say the contract from which I chose the service is : 3232323232
    And the supplier on the contract is 2222222222
    Is this a valid scenario or not?
    Has any body ran into this situation  before?
    Hope I was clear in explaining my scenario....  
    Thx,
    Krishna.

    Hi Krishna,
    the External Services Management distinguishes between planned and unplanned services.
    In case you have ONLY limits, no planned services in the PO item, it does not matter if you have entered a contract number into the PO item - in this case this contract will be not a real reference for your services.
    If you have entered limit values only as overalllimit and expected value and you did not enter a contract limit on the contract limit tab, then you will not have a special contract reference on unplanned level neither.
    In this case it is NOT an error when you start the entry sheet creation and you can select services from other contracts or purchase orders against your limit values in the PO into the entry sheet.  The system does NOT check for a different vendor when you select services from other documents than the contract which you have specified in your PO item, because it is NOT a real reference - nor on services level as you have only limits in your PO item, nor on limit level since you have NOT entered a contract limit into your PO item.
    In order to understand this process please study the unplanned scenario and contract reference scenarios.
    Regards,
    Edit

Maybe you are looking for