IDOC extraction in file format in a customized manner

Hi Experts,
I have an IDOC : pexr2002 (payment instructions). In this IDOC bank id field is there.
My requirement is:
I need to create a transaction with 'Save' button
By clicking on 'save' button, the idoc should be triggered and if the bank id field is equals to 'scb', then IDOC should be downloaded into local folder
how can I do this.
Edited by: kalandar on Mar 18, 2010 8:49 AM
Edited by: kalandar on Mar 18, 2010 10:09 AM

Hi,
If you are lokinf for IDOC acknowledgements means check these
setting up Audit Response.
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
ALEAUD need at least following fields to be filled:
E1ADHDR/MESTYP: original message type
E1ADHDR/E1STATE/DOCNUM: original IDoc number
E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
If you are using XI 3.0 SP12 then there is some bug See : 828277
Just have a look into this blog-/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
ALEAUD not coming to SAP from XI & u0093Acknowledgment not possible" in idx5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
Or else if you are looking to receive the File Acknowledgements means have a look at this
/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
Regards
Seshagiri

Similar Messages

  • PO Idoc in Flat File format

    Hi all,
    I am able to generate the PO Idoc in Flat file format using standrad FM IDOC_OUTPUT_ORDERS. but the Flat file appearing is not in a appropriate format.
    I'm looking to generate the Flat file in such a way that there will be only one line for each Idoc Segment.( with Line termination).
    How to Achieve this.
    Regards,
    S Anand

    Resolved.
    we can use CG3Y transaction.
    Regards,
    S Anand

  • Creating IDoc from DMEE File Format

    Hi SDN,
    Can I create Custom IDOCs from the DMEE file format.
    The file is getting downloaded after the DMEE Run in a specific format individual to every company code.
    I want to generate IDOCs for every DMEE Run.
    Thanks,
    Manu

    Hi,
    your problem is just like filling the segements using the data in other segements. that means if you have knowledge of enhancing the idoc and populating the enhanced segments then in the same way you can populate the BATCH segment also.
    you just go to the function module which will be creating the idoc(if its outbound) / function module which will be posting the idoc which is for inblund and then find the perform where it fills the segments ( it will be the one which you will use to fill the segment BATCH )and go that and at last of form you will find one customer function which you can use to fill the BATCH segment.
    i think this will help u,
    Regards,
    Ravi

  • Import From Folder: How to Extract the File Name in a Custom Column.

    Hello All
    Here´s what we´re trying to do:
    We have a folder with csv files named like this:
    Sales_2013-02-05.csv
    Sales_2013-02-04.csv
    Sales_2013-02-03.csv
    Sales_2013-02-02.csv
    Sales_2013-02-01.csv
    And in the csv files there are the sales columns but not the date column.
    So we want to extract the date from the file name.
    I´ve tried entering = Source[Name] in a custom column, but it adds a "LIST" link, and on a click on expand, it adds ALL file names from the folder in each row, instead of just the needed one.
    If we could get the proper file name in each row (from where they got extracted), we could split the column and get the date from there. But I don´t know how put the filename there properly.
    Can you help?

    This isn't entirely straightforward, but it's definitely possible. What you need to do is to apply all of your transforms to each individual file instead of the combined files. I do that as follows:
    1) Use Folder.Files as generated by the GUI to look at the list of my files.
    2) Pick one file and do all the transformations to it that I want to apply to all of the files. Sometimes, this just amounts to letting the autodetection figure out the column names and types.
    3) Go into the advanced editor and edit my code so that the transformations from step 2 are applied to all files. This involves creating a new function and then applying that function to the content in each row.
    4) Expand the tables created in step 3.
    As an example, I have some files with names that match the ones you suggested. After steps 1 + 2, my query looks like the following:
    let
        Source = Folder.Files("d:\testdata\files"),
        #"d:\testdata\files\_Sales_2013-02-01 csv" = Source{[#"Folder Path"="d:\testdata\files\",Name="Sales_2013-02-01.csv"]}[Content],
        #"Imported CSV" = Csv.Document(#"d:\testdata\files\_Sales_2013-02-01 csv",null,",",null,1252),
        #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
        #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
    in
        #"Changed Type"
    For step 3, I need to take steps 3-5 of my query and convert them into a function. As a check, I can apply that function to the same file that I chose in step 2. The result looks like this:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        #"d:\testdata\files\_Sales_2013-02-01 csv" = Source{[#"Folder Path"="d:\testdata\files\",Name="Sales_2013-02-01.csv"]}[Content],
        Loaded = Loader(#"d:\testdata\files\_Sales_2013-02-01 csv")
    in
        Loaded
    Now I apply the same function to all of the rows, transforming the existing "Content" column into a new value:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        Transformed = Table.TransformColumns(Source, {"Content", Loader})
    in
        Transformed
    Finally, I need to expand out the columns in the table, which I can do by clicking on the expand icon next to the Content column header. The resulting query looks like this:
    let
        Source = Folder.Files("d:\testdata\files"),
        Loader = (file) =>
            let
                #"Imported CSV" = Csv.Document(file,null,",",null,1252),
                #"First Row as Header" = Table.PromoteHeaders(#"Imported CSV"),
                #"Changed Type" = Table.TransformColumnTypes(#"First Row as Header",{{"One", Int64.Type}, {"Two", type text}, {"Three", type text}})
            in
                #"Changed Type",
        Transformed = Table.TransformColumns(Source, {"Content", Loader}),
        #"Expand Content" = Table.ExpandTableColumn(Transformed, "Content", {"One", "Two", "Three"}, {"Content.One", "Content.Two", "Content.Three"})
    in
        #"Expand Content"
    From here, you should be able to get to what you want.

  • IDOC- Diff. File format.xml.......Pls Help....

    Hi,
       My scenario is that from R/3, they are sending ZACKXI IDOC to XI. In XI we have imported an xml named ROWSET in External Definition. Now I have mapped ZACKXI with ROWSET as XI would be able to receive ROWSET format from R/3.
    R/3>(ZACKXI IDOC)>(ROWSET.xml)-->XI.
    I am using normat receiver File adapter and FTP as the protocol in the ID.
    But Surprisingly, XI is receiving xml msg, but not ROWSET, it is receiving ZACKXI IDOC xml.That should not be case. XI has to receive the ROWSET.xml format from ZACKXI IDOC coming from R/3.
    Pls reply what to do..How would I be able to solve my problem....
    BR
    Soumya

    Hi,
    In SXMB_MONI you can see both Payload.
    One is IDOC and other is ROWSET.
    It will execute succesfully if you add your interface mapping name in your interface determination.
    Regards,
    Akshay.
    Mark your question as answered if it is solved.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar

  • Oracle script to extract SQL server data to XML/CSX file format

    HI,
    I have a requirement like-
    Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
    Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
    Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
    We may/may not be using the staging table
    Could anyone please respond immediately as it is urgent ?
    Thanks,
    Inbamalar

    user10594152 wrote:
    HI,
    I have a requirement like-
    Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
    Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
    Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
    We may/may not be using the staging table
    Could anyone please respond immediately as it is urgent ?
    Thanks,
    Inbamalar
    Urgent issues indicate a live/production system is having problems and a company is losing money, or customers are being prevented from using it.
    For urgent issues you should raise your issue with Oracle Support using your customer support identifier.
    The community forums are for non-urgent issues.  To suggest such issues are urgent is considered rude, as the people who help here are volunteers with their own jobs to do, so demanding their time for your "urgent" issue is not appropriate.  It also suggests that you think your issue is more important than other people's issues, so you are being rude to those people too.  Your issue is no more important than anyone elses.
    In relation to your question, you need to provide more information.
    Please read: Re: 2. How do I ask a question on the forums?
    When you refer to "SQL Server" are you referring to the Microsoft SQL Server product, or are you just referring to a physical server with your oracle database on it?

  • Data Extraction  or IDOC to flat file

    hi,
    I have a project to create a flat file from SAP, for an external legacy system. There are 3 requirement.
    What approach should I take. Simple data extraction OR Idoc to flat file.
    There are 4 requirements:
    1. first time extract all data.
    2. on subsequent run, extract only changed & new records
    3. if in SAP table, a record is deleted, then marked deleted in flat file.
    What approach should I take if I use data extraction.
    Thanks.

    I read your question, my first thought would be to look at where the data is going?
    What are the data requirements of the legacy system. IDOCs can speed up the development related to pushing the data out from SAP. Using ALE and change pointers you can automatically pass out the delta with a limited amount of development.
    However, the receiving system then needs to parse the IDOC data. depending on the IDOC you are working with this can be a challenge especially if the legacy developer doesn't get IDOCs.
    Sometimes its easier to collect and write the data from SAP using "simple data extraction". The data is more readily organized into a format the receiving system is expecting.
    You can also pass the idoc to a middleware maping application if one is available and do the SAP to legacy mapping there.
    Cheers

  • How to extract  different date format in text file

    well, iam new for using regex api(regular expression), In my project i want to extract the different format of date from the text file... date format will be 3rd june 2004, 03-06-2004, june 3rd and so on....
    can any body give me regular expression to extract the date from the text file...
    i will be very grateful..
    kareem

    date format will be 3rd june 2004, 03-06-2004, june 3rd and so on....The only way to do this (without implementing a "mind reader") is to determine in advance all the possible date formats that are possible in your input, and try to interpret each date using each of those formats until one of them passes.
    It's easy enough to handle june 3rd vs 3 june vs 3rd june, but 6/3 vs 3/6, of course, is ambiguous.

  • How to write an inputter for a custom input file format?

    On a project I'm working on I've got a custom capture log of driver communications between user-mode to system drivers.
    I've been trying to figure out how I can use Windows Message Analyzer to input my custom capture format and visualize the result (it is not a text logfile). I've had a look through the OPN extensions and I can't find the implementation of each file format
    it can handle other than the logfile handlers. Am I crazy to be using Windows Message Analyzer to navigate non-network packets? I'm just looking for a good framework to navigate messages which have destinations, sources, and data:
    timestamp
    src_pid
    src_name
    dst_hdevice
    dst_name
    buffer
    After inputting this data, I may explore writing parsers for particular drivers.
    Any thoughts or pointers on where to start and if this is the right framework?

    Yes, this is possible today.  You can write OPN to parse a text file. There are some examples in :\Users\yourname\AppData\Local\Microsoft\MessageAnalyzer\OpnAndConfiguration\TextLogConfiguration\DevicesAndLogs.  You can add your own, but be warned
    they might not be backed up when you upgrade.  So I would save a backup.
    The examples there should serve as a good start.  I also just wrote another response regarding how to handle timestamps that might vary from our strict format.
    If you are still stuck, please ask more questions.
    Paul

  • I'm trying to extract audio files from my OLYMPUS Digital Voice Recorder VN-6200PC I am getting this error whenever I try to play its file type on my MacBook Pro,"The document "VN622195.WMA" could not be opened. The movie's file format isn't recognized."

    I'm trying to extract audio files from my OLYMPUS Digital Voice Recorder VN-6200PC
    I am getting this error whenever I try to play its file type on my MacBook Pro,"The document “VN622195.WMA” could not be opened. The movie's file format isn't recognized."

    The mac has no native way to read .wma files (these are Windows Media Audio files).  Do a search on the internet for playing wma files on a mac.  You will find several links to solution (one is to use flip4mac).

  • IDOC file format convert into ANSI 834 *12 file format

    Hi all,
    I have a new IDOC, I want to change this flat file structure into ANSI 834  *12 file format.
    How it will done.
    Suggest.
    Thanks
    Sanket sethi

    hi
    Go to transaction WE30 and give the IDoc basictype name CRMXIF_PARTNER_REL_SAVE_M01 and press the view-button (or press F7 key).
    This information you will need.
    The records are builded using the following structure:
    1st record contains control record information and follows the structure of table EDIDC.
    Starting at where "220" is given (this is the CLIENT), it is followed by the IDoc number field DOCNUM (16 digits) and so on. Not all fields must be filled, only those that are used for inbound messaging. Keep here in mind: Less fields filled will probably work better (because SAP will add its own details on arrival of the IDoc).
    All following records follow the structure of table EDID4 upto the field: HLEVEL (Hierarchy level, identical to the level found in WE30).
    Thereafter it is followed by the name of the segment (including spaces) and after this it will follow the exact structure of the segment.
    To view a sample, just generate a dummy (test) IDoc and use transaction WE19 to fill in the fields after changing to the correct IDoc type.
    thanks

  • Idoc File format

    Hi,
    1, Where can see the IDOCS file format, whether is there any possibility of having different file format for different IDOCS?
    Please let me know one example for this....
    Thanks in advance.

    Hi
    Idoc file format is flat file structue, that structure converted into idoc number format(16 degit number). If you are using file port EDI sub-system conver this file format into non-sap language format.
    Thanks & Regards,
    Murali

  • Simples for IDOC - Flat files (Formated) process

    Hi all,
    I m looking for same exemple showing how to create formated flat files from a standard IDOC.
    Thanks in advance,
    Fouad,

    hi,
    have a look at this :
    https://websmp102.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf
    abap mapping from IDOC to flat file
    all the code is inside the pdf
    or you can generate a file from R3 directly
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Any one know how to use "custom" option present under the data access tab in XLS file format of Data Services

    Hi Experts,
            Any one know how to use or what is the purpose of "custom" option present under the data access tab in Excel workbook file format of Data Services
    Thanks in Advance,
    Rajesh.

    Rajesh, what is the Custom Protocol you are trying to use? It should be  something like PSFTP, etc.,
    Cheers
    Ganesh Sampath

  • Loading completely custom file formats

    I have historic test data in about 5 different completely custom file formats.  Data is saved in raw int 16 and converted to engineering units at the time of loading.  Is this something that DIAdem is capable of doing?
    I have not used the software before, but it is something I am considering implementing for our lab.  Answering this question is the first step in deciding if that is what we want to do.

    Hi Bowen,
    Here's the example DataPlugin closest to what you're describing.
    You can also look at Exercise 5 from the DIAdem Hands-On, posted here:
    http://www.ni.com/example/30393/en/
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for

  • Inspection lot creation while partial comformation-QM

    Dear SAP Guru Can anybody plz tell me- how to create inspection lot while partiallly confirming production order ? It is being created at full confirmation of production order. Regards Pooja

  • In PO script values not flowing in Print out ( print preview is ok)

    hi,                             I am modifying MEDRUCK so that I can place a new Window to display <i><u>PO text</u></i>   . I am using FM 'READ_TEXT' to get the <i><u>PO text</u></i> .  In <b>print preview</b> I can display the <u><i>PO text</i>,</u

  • Ap not showing up in wlc

    Hey All, i have an AP that is not showing up in the wlc. when i place the WLC on a diffrent vlan to the WLC it shows up in the WLC but once it is placed on the same vlan to the WLC it dosnt show at all. the vlan the WLC on has spare IP's in DHCp so i

  • Re: Cancel Billing Document

    Hi Experts, Good Morning to all, I have a problem i want to cancel a Billing document in VF11 which posted in other country currency. So i went to VF11 and given the Billing document number the system says an Error Log so i went to Menu Tool bar of E

  • Multiple people on one project

    Hey guys, Another person was assigned to help me on a project so I had them install Flash Builder 4 and told them where my workspace it. Now I get an error when I try to open the same workspace when they have it open.  How can I have multiple people