File2IDoc - new IDoc when client-number in sub-segment of MT is different

Hi, we have an Message-Type and IDoc with four different Segments. Each of it contains a client-number.
First segment: Header
Second-fouth: Childs
When i read File via FTP in XI it could happen that the Header-Segment is not depending on the child. That is when the client-number in the text-file is different. When this happens, XI should create a new IDoc where no Header-Segment will occur.
How should i manage this in mapping? i have to read the payload and must compare the client-number of each child in the txt-file.
Could you give me some help?!
This is the source-structure:
<?xml version="1.0" encoding="UTF-8"?>
<MT_BESTFILE>
   <BestfileRecordSet>
      <BestFileHeader>
         <BDKDNR/> (=client-number)
      </BestFileHeader>
      <BestFilePos>
         <BDKDNR/>(=client-number)
      </BestFilePos>
      <BestFilePos1>
         <BDKDNR/>(=client-number)
      </BestFilePos1>
      <BestFilePos2>
         <BDKDNR/>(=client-number)
      </BestFilePos2>
   </BestfileRecordSet>
</MT_BESTFILE>

Hi Carsten,
Below UDF will solve your problem,
Here it will take input as BDKDNR from Header, Pos, Pos1 and Pos2, and output should be mapped to IDOC Header so that it will create a new idoc when ever there is a change in child segment.
as per your query it is clear that BDKDNR from header will match with child segments but some times it will differ at that point we should create a new IDOC.
in the UDF header BDKDNR will be compared to the child BDKDNR's if it is not matching with  the header then it will create a new idoc.
Please let me know it the problem still exits.
public void test(String[] header,String[] pos,String[] pos1,String[] pos2,ResultList result,Container container){
int i,j,count=0;
for(i=0;i<header.length;i++)
  result.addValue(header<i>);  
  for(j=0;j<pos.length;j++)
    for(i=0;i<header.length;i++)
     if(!(pos[j].equals(header<i>)))
     count++;
   if(count>0)
   result.addValue(pos[j]);
   count=0;  
  for(j=0;j<pos1.length;j++)
   for(i=0;i<header.length;i++)
    if(!(pos1[j].equals(header<i>)))
     count++;
if(count>0)
   result.addValue(pos1[j]);
   count=0;  
  for(j=0;j<pos2.length;j++)
   for(i=0;i<header.length;i++)
  if(!(pos2[j].equals(header<i>)))
     count++;
if(count>0)
   result.addValue(pos2[j]);
   count=0;  
Regards,
Karan

Similar Messages

  • Why a new idoc number is generating at target in IDOC to IDOC scenario

    Hi Experts,
    I observed that a new idoc number is generated when I triggered an Idoc in an Idoc to Idoc scenario. Please let me know the mechanism that leads to generate a new idoc number at target system.
    regards
    Raj

    Hi Raj,
    I observed that a new idoc number is generated when I triggered an Idoc in an Idoc to Idoc scenario. Please let me know the mechanism that leads to generate a new idoc number at target system.
    An IDoc is an instance of an IDoc type. Each IDoc is assigned a unique number for tracking and futurereference. An IDoc serves as a focal object for tracking the state of the process that generated it.( and laso Every IDOC has an unique number(within a client)).
    thanks,

  • How can I get a new IDOC number?

    Hi,
    I have developing a method to send IDOCs from non-SAP system to SAP but I have a doubt:
    -When non-SAP system creates a new IDOC to send it to SAP, what IDOC number can use? I think it's mandatory otherwise how can make a relation between IDOC_CONTROL_REC_40 and IDOC_DATA_REC_40 ?
    Best regards,

    Can you describe the problem in more detail (without giving us your serial number)?
    Exactly what version of LR are you running, the LR on the CD, or a downloaded copy? If downloaded, are you sure it is LR5, and not the Creative Cloud version? Where did you purchase this version of LR 5?
    Have you tried these steps? Find your serial number quickly

  • I have a new computer running os10.9. my old computer ran cs5.5(upgrade version). I am trying to get CS5.5onto my new computer. when i load cs5.5 towards the end of the install it asks for the cs5.5 serial number. i put that in and everything is accepted

    I have a new computer running os10.9. my old computer ran cs5.5(upgrade version). I am trying to get CS5.5onto my new computer. when i load cs5.5 towards the end of the install it asks for the cs5.5 serial number. i put that in and everything is accepted but then it asks for a serial number for a full version of a product which men is design premium cs3 but it doesn't give me that product as a choice from the drop down menu. it only gives me adobe master collection cs3. why when i have purchased all these different upgrades can i now not use them and how can i sort this out. i need cs5.5 on my new computer.

    Contact Adobe support:
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • HT201269 If I transfer all my content from my old 4S to my new 5S on a temporary number will it disappear when my new provider transfer my number to my new phone

    If I transfer content from the cloud to my new 5S which is on a temporary number will this disappear when my new provider transfers my number tomorrow morning

    No.
    Content are tied to your Apple ID not phone number.

  • Reprocess failed Idoc: new Idoc number?

    Hi,
    I have a failed Idoc no 4711 with status 51.
    Now I want to reprocess the same Idoc because the Idoc content was correct opnly a customizing entry (country) was missing.
    Question:
    Will the system generate a new Idoc which will have status 53 after successful posting and the old idoc No 4711 remains in status 51 for ever? And if so, how can I link the new Idoc to the old failed Idoc in order to control that all faled Idocs have been re-processed successfully? LIKE OPTION A BELOW
    Or will the idoc No 4711 get a new status 53 after successful posting?
    LIKE OPTION B BELOW
    OPTION A:
    Idoc 4711:
    20.01.2010: status 51    error: country 'EN' missing
    Idoc 6767:
    23.01.2010: status 53:   successfully posted (this idoc is the re-processed idco 4711)
    OPTION B:
    Idoc 4711:
    20.01.2010: status 51    error: country 'EN' missing
    23.01.2010: status 53:   successfully posted
    Hope my question was understandable and would appreciate any answer and comment.
    Thanks,
    Thomas

    OR use the transaction code BD87 to reprocess the error IDocs.
    If you process the IDoc using WE19 transaction code a new IDoc number will be created and the status of old IDoc will be unchanged.
    Thanks,
    Bhanu

  • Create IDOC when the credit memo is generated

    I want to create an IDOC.
    The IDOC will be created when the credit memo is generated.
    Please help me to create the segments.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    First you find the relative Idoc Type and Message type for that credit memo in the tables EDBAS and EDMSG
    Then go to WE31 and create the additional segments as per your requirements apart from doing lot of other related settings
    see the doc
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    How to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    Try this..Hope this will help.
    >>>> SAP ALE & IDOC<<<<
    Steps to configuration(Basis) >>
    1. Create Logical System (LS) for each applicable ALE-enabled client
    2. Link client to Logical System on the respective servers
    3. Create background user, to be used by ALE(with authorizaton for ALE postings)
    4. Create RFC Destinations(SM59)
    5. Ports in Idoc processing(WE21)
    6. Generate partner profiles for sending system
    The functional configuration(Tcode: SALE)
    • Create a Customer Distribution Model (CDM);
    • Add appropriate message types and filters to the CDM;
    • Generate outbound partner profiles;
    • Distribute the CDM to the receiving systems; and
    • Generate inbound partner profiles on each of the clients.
    Steps to customize a new IDoc >>>
    1. Define IDoc Segment (WE31)
    2. Convert Segments into an IDoc type (WE30)
    3. Create a Message Type (WE81)
    4. Create valid Combination of Message & IDoc type(WE82)
    5. Define Processing Code(WE41 for OUT / WE42 for IN)
    6. Define Partner Profile(WE20)
    Important Transaction Codes:
    SALE - IMG ALE Configuration root
    WE20 - Manually maintain partner profiles
    BD64 - Maintain customer distribution model
    BD71 - Distribute customer distribution model
    SM59 - Create RFC Destinations
    BDM5 - Consistency check (Transaction scenarios)
    BD82 - Generate Partner Profiles
    BD61 - Activate Change Pointers - Globally
    BD50 - Activate Change Pointer for Msg Type
    BD52 - Activate change pointer per change.doc object
    BD59 - Allocation object type -> IDOC type
    BD56 - Maintain IDOC Segment Filters
    BD53 - Reduction of Message Types
    BD21 - Select Change Pointer
    BD87 - Status Monitor for ALE Messages
    BDM5 - Consistency check (Transaction scenarios)
    BD62 - Define rules
    BD79 - Maintain rules
    BD55 - Defining settings for IDoc conversion
    WEDI - ALE IDoc Administration
    WE21 - Ports in Idoc processing
    WE60 - IDoc documentation
    SARA - IDoc archiving (Object type IDOC)
    WE47 - IDoc status maintenance
    WE07 - IDoc statistics
    BALE - ALE Distribution Administration
    WE05 - IDoc overview
    BD87 - Inbound IDoc reprocessing
    BD88 - Outbound IDoc reprocessing
    BDM2 - IDoc Trace
    BDM7 - IDoc Audit Analysis
    BD21 - Create IDocs from change pointers
    SM58 - Schedule RFC Failures
    Basic config for Distributed data:
    BD64: Maintain a Distributed Model
    BD82: Generate Partner Profile
    BD64: Distribute the distribution Model
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    Regards
    Anji

  • Problems creating a new folder when using webmail

    Hi, has anyone else out there encountered problems when trying to create a new folder when using webmail ?
    It just seems to create a new folder called 'New Folder' and misses out the step that would normally allow you to rename it to a title of your choice.
    A whole list of folders called 'New Folder' is about as useful as an ashtray on a motorbike.
    It did used to work as I've used it many times in the past.....but then so did a lot of things before the 'new' and 'improved' version of BT Mail came along.
    Any help or suggestions gratefully received (apart from the obvious solution, switch to a mail client).
    Maybe it needs flagging to the 'techies'......they must be really busy trying to sort out all the so called teething problems.
    Solved!
    Go to Solution.

    What should happen is that when you click on the + for add a new folder a box should appear, somewhere amongst the folder list. (The list is in alphabetical order so if you have a number of folders previous to the letter N it maybe out of view ) .
    The box will have the text " New folder-X," ( see below for the explantion for the -X ) you then delete the text, type in the name you want, hit enter and there it is.
    If you don't notice the box, possibly because it's off screen further down the list, you then open and close the list, or log out the next time you view the list it, or they, are simply named New folder.
    So you now have umpteen " New folders ", here's how to rename them.
    Place your cursor on the word New Folder in your folder list, you will see a little box appear with" New folder-X,"  x being the number of the new folders you have created., eg -0, -1, -2 etc.
    Then double click on it, you should then get a larger box with New folder-X.
    Delete the text in the box, type in the name you want for the new folder, hit enter there's you newly named folder.

  • How To Get rid of Exponential format in datagridview when the number is very large

    When the number is very large like :290754232, I got 2.907542E +08. in datagridview cell
    I using vb.net , framework 2.0.
    how can I get rid of this format?
    Thanks in advance

    should I change the type of this column to integer or long ?
    The datagridview is binded to binding source and a list ( Of).
    Mike,
    I'll show you an example that shows the correct way to do this and a another way if you're stuck using strings in exponential format. The latter being the "hack way" I spoke about Friday. I don't like it, it's dangerous, but I'll show both anyway.
    In this example, I'm using Int64 because I don't know the range of yours. If your never exceeds Int32 then use that one instead.
    First, I have a DataGridView with three columns. I've populated the data just by creating longs starting with the maximum value in reverse order for 100 rows:
    The way that I created the data is itself not a great way (there's no encapsulation), but for this example "it'll do".
    Notice though that the third column (right-most column) isn't formatted at all. I commented out the part that does that so that I could then explain what I'm doing. If it works, it should look like the first column.
    The first column represents an actual Int64 and when I show the code, you can see how I'm formatting that using the DGV's DefaultCellStyle.Format property. That's how it SHOULD be done.
    The third column though is just a string and because that string contains a letter in it, Long.TryParse will NOT work. This is where the "hack" part comes in - and it's dangerous, but if you have no other option then ...
    You can see that now the third column matches the first column. Now the code:
    Option Strict On
    Option Explicit On
    Option Infer Off
    Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) _
    Handles MyBase.Load
    With DataGridView1
    .AllowUserToAddRows = False
    .AllowUserToDeleteRows = False
    .AllowUserToOrderColumns = False
    .AllowUserToResizeRows = False
    .AlternatingRowsDefaultCellStyle.BackColor = Color.Aquamarine
    .ReadOnly = True
    .SelectionMode = DataGridViewSelectionMode.FullRowSelect
    .MultiSelect = False
    .RowHeadersVisible = False
    .RowTemplate.Height = 30
    .EnableHeadersVisualStyles = False
    With .ColumnHeadersDefaultCellStyle
    .Font = New Font("Tahoma", 9, FontStyle.Bold)
    .BackColor = Color.LightGreen
    .WrapMode = DataGridViewTriState.True
    .Alignment = DataGridViewContentAlignment.MiddleCenter
    End With
    .ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing
    .ColumnHeadersHeight = 50
    .DataSource = Nothing
    .Enabled = False
    End With
    CreateData()
    End Sub
    Private Sub CreateData()
    Dim longList As New List(Of Long)
    For l As Long = Long.MaxValue To 0 Step -1
    longList.Add(l)
    If longList.Count = 100 Then
    Exit For
    End If
    Next
    Dim stringList As New List(Of String)
    For Each l As Long In longList
    stringList.Add(l.ToString("e18"))
    Next
    Dim dt As New DataTable
    Dim column As New DataColumn
    With column
    .DataType = System.Type.GetType("System.Int64")
    .ColumnName = "Actual Long Value (Shown Formated)"
    dt.Columns.Add(column)
    End With
    column = New DataColumn
    With column
    .DataType = System.Type.GetType("System.String")
    .ColumnName = "String Equivalent"
    dt.Columns.Add(column)
    End With
    column = New DataColumn
    With column
    .DataType = System.Type.GetType("System.String")
    .ColumnName = "Formated String Equivalent"
    dt.Columns.Add(column)
    End With
    Dim row As DataRow
    For i As Integer = 0 To longList.Count - 1
    row = dt.NewRow
    row("Actual Long Value (Shown Formated)") = longList(i)
    row("String Equivalent") = stringList(i)
    row("Formated String Equivalent") = stringList(i)
    dt.Rows.Add(row)
    Next
    Dim bs As New BindingSource
    bs.DataSource = dt
    BindingNavigator1.BindingSource = bs
    DataGridView1.DataSource = bs
    With DataGridView1
    With .Columns(0)
    .DefaultCellStyle.Format = "n0"
    .Width = 150
    End With
    .Columns(1).Width = 170
    .Columns(2).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
    .Enabled = True
    End With
    End Sub
    ' The following is what I commented
    ' out for the first screenshot. ONLY
    ' do this if there is absolutely no
    ' other way though - the following
    ' casting operation is NOT ADVISABLE!
    Private Sub DataGridView1_CellFormatting(ByVal sender As Object, _
    ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) _
    Handles DataGridView1.CellFormatting
    If e.ColumnIndex = 2 AndAlso e.Value.ToString IsNot Nothing Then
    ' NOTE! The following is dangerous!
    ' I'm going to use coercion to force the
    ' string into a type long. TryParse will
    ' NOT work here. This can easily throw an
    ' exception if the string cannot be cast
    ' to a type long. I'm "depending on" the
    ' the string to cast. At the very least
    ' you might put this in a Try/Catch but
    ' that won't stop it from failing (if
    ' it doesn't work).
    Dim actualValue As Long = CType(e.Value.ToString, Long)
    Dim formattedValue As String = actualValue.ToString("n0")
    e.Value = formattedValue
    End If
    End Sub
    End Class
    Like I said, only use that hack way if there's no other option!
    I hope it helps. :)
    Still lost in code, just at a little higher level.

  • Using ALEAUD for application reply? or build a new IDOC ?

    Hello.
    I have a scenario where a 3rd party sends me a message, that I map in my PI to an ACC_DOCUMENT IDOC.
    I need to send a reply on the ACC_DOCUMENT IDOC after processing it.
    The reply must contain several applicative values from the IDOC - so that the 3rd party will be able to
    "understand" on what message it receives the reply.
    Should I use ALEAUD in this case? I'll have to add an extension so that it will contain the applicative values.
    Or should I build a new IDOC or ABAP proxy to send the reply back? will I be able to generate it when I process the IDOC?
    Anyone has a Rule of thumb on this matter?
    Thanks in advance,
    Imanuel Rahamim.

    Hi,
    If you want to give the application response with minimal effor, you might want to change the ACC_DOCUMENT IDoc used so far to calling BAPI_ACC_DOCUMENT_POST. Actually, their data structures are identical, because ACC_DOCUMENT is an ALE interface generated for this BAPI. Thanks to this, you will immediately receive application response from your ECC system, including information like document number of the document posted, and similar.
    Alternatively, if you do not want to use synchronous scenario, I recommend developing a custom ABAP Proxy that you will use to pass posting information from ECC to PI to your 3rd party system. You can call this Proxy after each IDoc is posted, or on a regular basis to collect multiple postings information into a single call. I think this will be easier to do it from scratch than to enhance ALEAUD message.
    Or you can go one step further and configure FIDCC2 IDoc distribution to have the financial postings automatically sent from ECC to PI to 3rd party, immediately after the posting document is created. It is up to you to decide, based on the actual requirements and possibilities of the 3rd party system.
    Hope you'll find this useful,
    Greg

  • Creation of new package and request number.

    Hi frndz,
    Hope everyone are doing fine. Coming to my query, its quite simple for you guys.
    But me being new to BW, I would like to know how to create a new package and request number.
    And I have a task to create a new IS and DS also. So do i need to create these new package and request number separately or at the time of creation of IS and DS.
    Please give me clear idea.
    Thanking you.
    regards
    Dubbu

    Hi Vinay,
                   I hope you are speaking about Package to collect Objects and collecting them in Transport Requests.
    Usually you use the same packages for all the objects. According to requirement if you want to create the Package you can goto SE80--> There you can create a New Package. Give Transport layer as SAP. and Activate it. Then you collect the package in a Transport Request. You can create the request by the create button on the screen when it ask for Transport Request.
    While creating the Infosource or other objects you mention the package which you have created while saving and you can use the existing TR or new TR for collecting them.
    You can use RSA1---> Transport Connection to collect the objects easily to TR's
    Regards
    Karthik

  • Open page in new window when click on HELP TAB

    Hi
    I have a number of tabs which work on my pages. My very last Tab is a Help Tab.
    What I'm trying to achieve is that when a person clicks on the Help tab, the page should open in a new window.
    The rest of the tabs should function normally, ie just switch pages in the same window.
    Message was edited by:
    Keith Jamieson
    Made it more readable

    Hi all
    is there any other property along with the target frame what we need to set to get this working?
    i have tried it again and still the new page when clicked on the link opens in the same window
    I am using a link item which has a fire action set to yes
    In the fire action i am calling a new page using
    pageContext.setForwardURL
    thanks
    abc
    Edited by: abcdxyz on May 18, 2011 1:56 PM

  • IDOC_INBOUND_ASYNCHRONOUS FM not creating new IDOC?

    Hi,
    IDOC_INBOUND_ASYNCHRONOUS function module is not creating new IDOC in SAP.
    I configured all related functions against message type and idoc type.
    Please let me know the issue.
    I am processing old IDOC (created from non sap system) through BD87 and using custom function module. I called IDOC_INBOUND_ASYNCHRONOUS in custom function module.
    Chandra

    Hello,
    Aren't you getting any error messages ? You may check by creating watch points on the message id and / or number .
    Thanks

  • HT1549 Can anybody tell me how to enable shared folders regardless of the number of sub folders?

    Rather than having th "get info" and enable file sharing of every sub folder how can you enable file sharing in any depth ( number) of sub folders in one easy way? Any help appreciated.
    Best regards, BAGBOY1

    You will not find a serial number with the CD if the product is Educational version or Volume License ( Enterprise) version. For Educational version, you need to submit the Proof of Eligibility for the serial number. Contact Customer support for detail. For Volume License serial number, you need to login to the Adobe Licensing Website (LWS) then login using your email address that is used to place the order. If you do not have a password, you can create a new one from the login screen. Login to LWS and you can find the serial number there.

  • Global Navigation - Sites (no longer offers the 'scroll' option when there are many sub sites)

    Hi, just completed a test migration (database attach method) to SharePoint 2010 from MOSS 2007. We have many subsites in the SiteDirectory and in MOSS2007 they would all show when you mouse over the 'Sites' TAB on the page. In 2007, when the list was too
    long for the page, you would get the little down arrow triangle and you could mouse over this to scroll the list down. I can see that in 2010 there is a new option for 'Maximum number of dynamic items to show within this level of navigation', and here you
    can set the number of items to be 'returned' for this view. The problem is that it doesnt give you the nice little down arrow so you cant scroll to the rest of the items (as you could in 2007)! Now, forgive me if I am a little blunt here, but what the heck
    is going on here when some really great and simple functionality is removed when you change the Visual Upgrade settings to v4 (i.e. 2010) and you cannot scroll up and down you list of sites now!
    I hope someone else has seen this and can offer some help/ideas to get around this limitation.
    Thanks
    Phil

    Hi Jimmy,
    No, never found an answer back then... We opted to create a 'site navigation' page, and included the different webparts to filter/show the subsites etc.
    Hope you find an easier solution!
    Cheers
    Phil
    Phil

Maybe you are looking for

  • A problem while using Flash with xml

    Hello, I made an earlier post about this but wasn't clear, so here are the details & hopefully someone can help I wanted to make a news slideshow for my websiteBut I keep getting this error : Error opening URL 'file:///F|/files/undefined' I think the

  • Exporting in mpeg2?

    Still learning Premiere Pro (CS6 in this case). I'm getting pretty good at it, but sometimes I want to export in mpeg2. Yet I can't find an mpeg2 setting in the Export window. Can anyone help?

  • "To" information is missing!

    Help! I don't know how to describe this exactly, but my "to" information is missing on incoming my emails. For instance, incoming mail message area displays "From" "Subject" "Date" and that's it! Also, if I display the "To" column in column view, mos

  • Transfering several PR's from R3 to one SRM bid invitation

    Good morning, We are using Plan driven procurement and bidding with Extended classic scenario (SRM 5.0). Indicator IMG sourcing is "Sourcing via automatic bid invitation for items without a source of supply" Is it possible to transfer several PR's fr

  • Network error in flex application

    Hi I am working on a flex application, sometimes I get error message saying that 'Send failed', Can anyone help me how to get rid of this message and how to show proper user friendly message.. I think its basically due to network failure... Thanks an