File mapping

We are trying to work with Citrix and develop a web front end
for our applications. Citrix requires *.inc files, and when I try
to open them in Dreamweaver, after mapping the .inc file extension,
Dreamweaver disables the design environment. The only way to see
the finished product is to preview in a browser. This works fine
for me, but the users are not technically savvy and I would like
them to use Contribute to open these, and edit them. They include
html and CSS snippets. Is there a better way to handle these in
Dreamweaver/Contribute??
Gary M. Reilly
Programmer/Analyst
Iroquois Gas Transmission System

Hi,
   There is no automatic mechanism to convert BDC mappings to BAPI. So need to pass data from Source internal tables to  BAPI internal tables and finally need to call the BAPI.
For Sample code you can refer : [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-BAPIIncomingInvoicePost%28MIRO%29]

Similar Messages

  • File mapping in R/3

    Hey guys,
    is there a mapping module in R/3 like on PI Enterprise Service Builder? I mean, i want to know whether it is possible to use a standard tool from SAP to do a file mapping to a ABAP structure? E.g. a get a XML file via PI (i know, i could do the mapping in PI) which is routed to R/3. Now i want to do my mapping in R/3. Is there a tool in R/3? I could build such a tool but i want to know, does SAP deliver such a tool for R/3? Is it possible to use the module of PI for mapping in R/3?
    thx for your answers,
          W.

    You do not need another mapping in SAP once the mapping is done in PI. PI will map from external format to SAP IDOC format (either in IDOC flat file based or IDOC XML format). After you drop this mapped file which is in IDOC format (flat file/XML) into the application server (configured in the receiving systems) and trigger the startrfc.exe, SAP would take care of the rest (provided all inbound setting are setup).
    Now if you want a custom ABAP structure, you'll have to mimic the standard FM's. If you have a predefined structure, then create an custom IDOC and a custom FM to process it. Set it up just like the standards and then do the same process - map into the custom format from PI and then trigger the RFC, this would trigger the process code and invoke your custom FM to process this custom IDOC/structure.

  • "Could not open a file mapping" and crashes.

    Hello. I've just downloaded ReaderX from Adobe website. Rebooted. Now when I try to start Reader, the message box with title "Adobe Reader:AcroRd32.exe - Application Error", and the message box contents are "Could not open a file mapping". Reader window does not even show. When I click OK, the program terminates.
    What can I do to fix this error?
    I have a Windows 7 x64 installed.
    Update: Uninstalled, rebooted once again, reinstalled reader, now all works. Thread can be closed.
    Update2: After a hour of successful usage, I closed the Reader and then tried to open it again. Same problem with "Could not open a file mapping". Any suggestions?

    Repair via ARP is go to Add Remove Programs and select Adobe Reader, You will find two options highlighted one is repair and other is remove.
    From there you can Click on repair and click on next. It will repair your Reader install if there is some file missing.
    What are the other applications you have installed on your PC?

  • Flat file mapping problem.

    Hi,
    I've just created a file mapping, and i'm trying to split a flat file field into 3 subfields for a xml record, but i have the following message:
    Before the process run, i've tested the message mapping and the interface mapping, and the log result said that the mapping has been successfully ended, so, Have you ever seen this problem before?
    I appreciate your help, thanks.
    Marzolla.

    Hi Jorge,
              Check your XML input. Try to put the same xml instance in the message mapping transformation and test it out.
    Regards,
    Dhana

  • File to file mapping without xml

    Hello,
    is there a possible way to use a PI7.1 file to file mapping (one static-positioned field must be mapped) without storing the file in xml format ?
    We are having a flatfile and have to send this flatfile through our jms receiver adapter(as flatfile structure) but there is one important field which has to be mapped/changed(static value for all files).
    Our SAP Applikation (File sender) would avoid to change this during or after creating the flatfiles in the R/3 System.
    Thanks,
    Gordon

    Hi Gordon,
    >- Do you have an example for that abap mapping ?
    DATA g_str TYPE string.
      CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
        EXPORTING
          im_xstring  = source
          im_encoding = 'UTF-8'
        IMPORTING
          ex_string   = g_str.
      REPLACE 'ABC' WITH 'XYZ' INTO g_str.
      CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
        EXPORTING
          im_string   = g_str
          im_encoding = 'UTF-8'
        IMPORTING
          ex_xstring  = result.
    >I think i have to use some entry parameters for my interface right ?
    ?? no..
    >- Is it possible to use that within the integrated configuration ?
    ??  yes..
    Regards,
    Udo

  • File Mapping Issues

    Hi all,
    I am desperately seeking some insight regarding the OSX file mapping state.
    Just recently in August, my near-8 year old G3 Wallstreet running OS 8.1 pooped-out, so I ended up buying a 1.5ghz 12" PowerBook running 10.4.0. Lovely hardware. Mmmmm.
    During the first month or so, I ran into several unfamiliar issues (as I currently need to run 'Classic' as well) that I was able to work out on my own and since have learned a lot about this new OS to eventually move as many apps as I can to OSX.
    But I keep getting sidelined every now and then with this d@mn file mapping thing re: .EPS files.
    The problem arises when I have Adobe Illustrator EPS files and Photoshop EPS files on the same hard drive. With extensions necessary (due to cross platform exchanges required in my biz) confusion arises. I assign a Photoshop eps file it's application, then when I go to do the same with the Illustrator eps, it defaults to Photoshop -- and I can't change it for the likes of me. I use OnyX to 'Reset the Application Links' and start over -- usually in a different sequence. Sometimes that has worked. Not always. It appears no one thought of this when developing OS X, short of the pithy "Internet" control panel in OS 9 that proclaims that OSX takes it's cue from entries here. (Really?) At first I thought it was because I am using a mixture of 'Classic' apps and native ones. I find out from my peers this happens with them too. In OS 7/8/9 this was NEVER EVER EVER an issue. As a working professional, who bills by the hour, OS X is making my life twice as difficult now. Every time I have to deal with this I lose 2-3 hours of billable time trying to troubleshoot this 'oversight'. This has happened 4 or 5 times now since I bought this PowerBook in August '05. I hate to say it, but even WinXP Pro is more forgiving in this area -- (and only in this area)
    Does anyone out there know of a sure-fire Pref Panel, or anything like that, where you can go in and assign File Type, Creator and Extensions -- and it actually works -- rock solid? I've tried the DefaultApp pane to no avail, and everything else wants me to drag-n-drop folders to re-assign. Other tools I use for various things are: OnyX, Drive Genius, MainMenu and File Adopter.(For the record, I am aware of the Cmd-i > Choose > 'Always open with' > Select application routine -- somethings it works great with, others not)
    It's a pain not knowing what TYPE of EPS was just sent to me. Vector or Bitmap. When it comes from the PC world, who knows. I used to be able to tell in OS 8.1.
    Regardless, I'd like to stop tearing my hair out and just get back to work on this lovely little piece of hardware.
    Thanx in advance!
    12 G4 PowerBook/1.5 & PB 3400c/200   Mac OS X (10.4.2)  

    I suspect the confusion is due to the things that are sent to you from Windows machines. OSX can assign things with the same extension to different applications, provided the resource fork is there and shows the creator of the file. Thus, I have a pair of .eps files created on Macs, one is an Illustrator file and sports the Illustrator icon and is set to open by default in Illustrator. The other is a Photoshop eps file, has a custom Photoshop icon, and the defaut to open it is Photoshop. All well and good. But if there is no resource fork then that too is a "type" and the Mac will open it with whatever default application you assign to files that have an extension of eps and no creator code. This will be the case for files received from a Windows machine. Unfortunately in this case the "type" of eps and no creator code includes two possible applications and you can only pick one or the other as the default. Without the creator code there is no way for the Mac to tell which way to go. There may be in the future, since the actual creator may be included in the metadata, which may also be a part of Windows Adobe files (I don't have any to test so I don't know), and in the future this may be readable by the system. That's a lot of "maybes" and doesn't help right now.
    If those who send you files tell you whether they used Illustrator or Photoshop, I believe you can batch assign a creator code using SuperGetInfo from BareBones.
    Francine
    Schwieder

  • Regarding File mapping

    hello all
    i want to know what actually creation of a file mapping object does.
    does it loads the copy of specified bytes of file into physical memory and returns
    the handle to it. so is that the handle is only there in the virtual address space of
    the process that created it or whole of the file is loaded into the virtual address space
    of that process.So if mapped file is not loaded in the virtual address space of calling process
    that means it requires a contiguous memory space in physical memory.
    this imposes a constraint to get that much contiguous memory.
    so am i write in my concepts or misconcepts.
    where can i get the whole information about varoius memory mamagement related sys calls
    with description about what each call does right frm basic.
    hope u will clearing my misconcepts.
    thaking u in advance
    mudit

    A file mapping is an OS stuff that allows you use a file as a memory buffer, so you can read/write bytes from the file using a pointer. It is somewhat faster and easier to use than usual files, and they can alse be used as memory sharing. There is no native support for file mappings in C++ so this is quite OS based.
    Every OS implements is different from each other so better ask for your specific OS.
    In the case of Solaris[tm] file mapping, please read the man page on the mmap() system call for more detail.
    Its a way to misuse the OS algorithms for swapping and memory managment for your convinience.
    The OS (usually) will read in only those parts of the file you actually use. So if you only need small parts of a big file, this is way faster than reading it into memory first.
    Secondly, since only the used parts are read, the file can be way bigger than the actual memory you have. The OS can also remove parts from memory again if you run short. It's kind of having your own private swapfile.
    You can share the mapped file between threads and thus simulate shared memory with it. In fact (depending on the OS) you can map /dev/zero or /dev/null just for that purpose. The OS then shares the memory between the threads but forgets it on exit.

  • File mapping related

    I am using file mapping for a large file that I need to parse. The file is made of variable length entries, that are identified by their tags (e.g. : Entry:222, ...).
    Because of the size of the file (400, 000, 000), the program dies in/after the following code block. I am considering breaking the mapping into smaller chunks (i.e. 32,000) instead of reading the whole file at once, but the problem remains that I will never know if this chunk will truncate an entry in the middle, and it will not be parsed properly as a result. Here is the code:
    CharBuffer cb;
    FileChannel fc;
    ByteBuffer bb;
    //the program dies somewhere after this point.
    fc = new FileInputStream(parseFile).getChannel();
    bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, (int)fc.size());
    Charset cs = Charset.forName("ASCII");
    CharsetDecoder cd = cs.newDecoder();
    cb = cd.decode(bb);
    //then the CharBuffer is returned as a CharSequence, which is parsed after that, entry by entry.

    Read it in "per entry" rather than some fixed-length block size. This assumes you've written the file with some kind of structure to it, like the next 4 bytes gives the size of the next "entry" and so forth. Then you'd read the 4 bytes, then read the next N bytes based on that.

  • File Mapping Failed

    I have a laptop 3000 N100 with XP.  I keep getting an small error screen that pops up on the desktop several minutes after the laptop starts up indicating "File Mapping Failed".  How do I correct this error?

    Laptop is used at both office and home.  Regardless of whether it is comnnecting to a network or used as a stand-alone computer, the file mapping error screen displays a few minutes after start-up.  I have also noticed that files open slower and the "File Save As" command is very slow.  I found one solution on the Internet to update the bios but the update procedure failed.

  • ORDERS05-To-File Mapping the qualifiers

    Hi,
       I have a scenario of mapping idoc orders05 to file.
       Can anybody tell me how to map the qualifiers in the target file structure for any one qualifier.
       If any body has mapping program for orders05 to flat file mapping can u send the info.

    Hi
       u shud be given the mapping specification sheet right.
    actually QUALF number will be unique for each n every segment , some segments will occur multiple times but the QUALF number should be different.
       I have did orders05 to file mapping but , can u explain ur problem precisely.
    regards,
    aravindh.

  • Exporting Volume File Maps

    When I close a file I keep getting the message "Exporting volume file maps" which continues for a few seconds and the file then closes.
    This appears to have only started since I imported my Soundtrack Pro loops into the Logic Loop Browser. Also when I use the STP loops I get a message that the file cannot have an overview written yet the loop appears to work fine and I can alter the loop without any problems.
    I have deleted all unused items in the project and cleared the files up but I still get the exporting message. It even happens when the project only has one Ultrabeat track in it.
    Everything in Logic appears to be working fine but I am just concerned that something bad might be going on in the background that will cause a problem in my files.
    Anyone know anything about this.
    Powermac G5 2.3 Dual 4GB Ram   Mac OS X (10.4.5)   Powerbook 17", Motu 828Mk11,MCU

    Do not worry. This is part of Project Manager's operation.
    Project Manager keeps "maps" of your volumes (Drives, Partitions), for the data it knows about.
    Every file Logic encounters either by just using Logic or Project Manager scans will be in the map.
    J

  • Exporting Volume File Maps, please wait ...?

    I have just upgraded to Leopard and Logic 7.2. It all seems to be working well accept for this when I quit Logic a box comes up on the screen saying "Exporting Volume File Maps, please wait ..." .... and I wait ... it takes a very long time but eventually disappears (after about 4 minutes)
    Does anyone know what this is and why it takes so long?
    I never saw it when I was using Logic 7.1 on Panther
    Thanks

    Well it did that a few times and now ... it seems to have sorted itself out and does it unnoticed like you say.
    Yay!

  • Flat File  mapping issue

    Hello All,
    I am trying to an extract using flat file method in BI 7.0. I have some 150 fields in my CSV file but i wanted is just about 10 which are scattered around in the CSV file.When i Read Preview Data in the Preview tab i see incorrect data in there.And that too all under one tab, basically all under one field , though in the extraction tab for  Data Seperator i have been using ; and also tried checking the HEX box, for escape i have the ", tried HEX for this aswell.For rows to ignore i have 1.
    One thing i would like to know is how will the BI infoobject know where is the position of the flat file field in the  CSV file and where will it be mapped.i know it can be mapped in the Transformations but that is from the flat file datasource, i am asking about the CSV file.
    Please help me out and tell me what am i doing incorrectly.
    Thanks for your help.Points will be assigned.

    hi,
    use ,and ; as the escape signs.
    system takes care of it when u speicfy the path and name of the file and format as CSV.
    always the system checks the one to one mapping of the falt file fields with the infoobject in the datasource.
    options for u
    1. arrange the neccessary fields in the flat file that exactly maps with infoobjects for mapping. then start loading.
    2. keep as such and load with scattered field and in transformation map the required fields alone.
    second option consumes more memory space unneccessarily.
    For BI 7.0 basic step to laod data from flat (excel files) files for this follow the beloww step-by step directions ....
    Uploading of master data
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to select Insert Characteristics as info provider
    • Select required info object ( Ex : Employee ID)
    • Under that info object select attributes
    • Right click on attributes and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. Alternatively monitor icon can be used.
    BW 7.0
    Uploading of Transaction data
    Log on to your SAP
    Transaction code RSA1—LEAD YOU TO MODELLING
    5. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    6. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    7. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    8. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used
    Ramesh

  • Problem in idoc to file mapping

    Hi Experts,
    I am doing a idoc to file scenario...
    There is a single idoc with multiple header and line items .
    I am using multi mapping for header and lineitems.
    The problem i am facing is regarding the occurences in target strucure...
    at which level they should be specified so all the headers come in one strucure and line items in another...or should the occurences be o to unbounded at each field level.
    Kindly help me regarding the same ...

    hi
    i have the same scenario : IDOC (orders) to Flat File. can you plz help in mapping. the input format to XI is in the given way
    idoc
        a1---(0-1)
        a2---(0-1)
           b1--
        a3---(0-1)
           b1---(0-n)
             c1---
           b2---
             c1---
        a3---(0-n)
           b1---
           b2---
        a3---
          b1---
          b2---
        a3
          b1---
          b2---
    i have created the same output DT in the same format (parent-child) for flat file. and my questions are
    1. is that correct, do i need to create the same DT as the above idoc (like parent and child) or different?
    2. how to map the idoc fields to my file DT..do i need to map parent to parent and child to child...or different.
    plz help me out
    Thanks
    ram

  • Error in flat file mapping

    I am using flat file as source ,and when i am trying to validate the mapping i am getting the following error:
    No data file specified
    I tried to configure the mapping,I did not find any option asking source file name.
    Can you please help me...
    Kiran

    Hi Kiran
    As far as I remember...when you configure the map, the map configuration property inspector has a tree in the lhs if you navigate to the flat file operator, and right click on that node you should be able to add a data file. The properties for the data file are shown on the rhs when selected in tree.
    Cheers
    David

  • 1 input file to 2 output file mapping. Please help!

    Hi Experts,
      I have a snenario where from one input file I have to generate two output files. My sender and receiver systems are the same since I want to generate the output files in the same location. I am using both the systems same just for testing purpose.
    So in IR I have created
      1. one outbound interface for the input file
      2. two inbound interfaces for the output files
      3. one message mapping containing one input message  
          transformation to two output messages.
      4. one interface mapping containing one input interface
          transformation to two output interfaces.
      In ID I have created
        1. one file sender channel and two receiver channels for two output files with different names.
        2. two receiver agreements
        3. one sender agreement
        4. one interface determination of type "Enhanced".
        5. one receiver determination
      But when I run the scenario given one valid input file  I am getting the error in the sxmb_moni : RuntimeException in Message-Mapping transformation: Cannot produce target element.
    However message mapping and interface mapping works perfectly if I test it in IR with the same input file. 
    Can somebody help me understand what I might be doing wrong?
    Have I done the configuration correctly for 1:N mapping?
    Please help! I will be greatfull to you if you can help me.
    Thanks
    Gopal

    If my input file is like this:
       <ns1:LocationMsg_MT xmlns:ns1="http://www.abc.com/Gopal">
             <Location>
             </Location>
    </ns1:LocationMsg_MT >
    Then my scenario is working.
    But my input file will be like this:
    <LocationMsg_MT>
             <Location>
             </Location>
    <LocationMsg_MT >
    This is giving problem.
    How to handle this kind of file?
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Mar 14, 2008 3:19 PM

Maybe you are looking for

  • How to Open & Close the periods in Asset Accounting for Depreciation.

    Dear All, How to to How to Open & Close the periods in Asset Accounting for Depreciation ? Please let me know If there is any T.Code or procedure for it. Your help is highly appreciated. Thanks & Regards, Pankaj.

  • Music transfer from laptop to new iPad mini

    Hi, how do I transfer my music from my iTunes library to my new iPad mini? I feel I have tried everything they user guide/online help suggests and it's still not working. I have synced it with my iTunes, tried to manage my music manually, used I clou

  • In Need of Help Creating an Action

    Hello, I need to create several thousand QR codes and I am trying to work out how to automate it so that I don't have to make them one at a time. My idea was to download the EVEnX QR Code plugin for Photoshop and then make an action, or series of act

  • Flash Web Gallery HELP

    I decided to create a website to showcase some of my graphic design work and I have been stumped for over three weeks of how to insert a flash web gallery. I bought this gallery from Entheosweb awhile ago and have been trying to correspond with their

  • User-defined alert based on Top Activity screen?

    Does anyone know the query used to populate the Top Activity screen in Grid Control? I want to make a user-defined alert that will page me if the Top Activity is over a certain amount.