IDOC as Abstract Interface

I am trying to use IDOC structure as an Abstract Interface. We store all our imported IDOCs in a different software component. In Integration Process when I try to define Container Element I am not able to select the IDOC as an Abstract Interface.
I tried to make an External Definition by importing the IDOC and then trying to build a Message Interface and that did not work too.
Any suggestions welcome.
Regards
Mike

Hi Michael,
Directly you cannot use Idoc interface as an Abstract Interface. You have to create Absatact Interface in IR for the imported Idoc and then you can use it to define container element.
Also check this...
"An integration process can only reference interfaces from its own software component version."
http://help.sap.com/saphelp_nw04/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
Regards
Anand

Similar Messages

  • BPM Abstract Interface for IDOC?

    Hi all,
    I am doing an IDOC XI File scenario with BPM.
    I have created an Inbound Asynchronous and an Abstract Interface for the LEGACY SYSTEM(Target Message).
    I didn't create any Abstract interface for the IDOC(Source message).
    I am getting this error:
    <b>"Expression must return the interface type DEBMAS.DEBMAS06.DEBMAS06".</b>
    Do I need to create an Abstarct Interface for the IDOC?
    According to the above error, BPM is expecting an ABSTRACT INTERFACE Type for the IDOC.
    Experts need help from you.
    Thank you,
    Joslyn.

    That mapping is an dummy mapping between Idoc to Abstract Idoc Type. Here Sender Idoc Interface is mapped with Reciever Abstract Idoc interface.
    So inside the BPM, Abstract Idoc interface acts as a Container variable to collect the idocs.
    For simplicity-for collection of idocs
    You can see, BPMPatterns from the SAP BASIS Software Component in your XI Repository.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Regards,
    Moorthy

  • IDOC Abstract Interface

    I assigned IDOC to an Integration Process. During design I did an interface mapping between the IDOC and the Abstract Interface of the IP. I have to assign a Message Mapping to the interface mapping.
    1. As the structures are the same do I need a Message Mapping.
    2.I am following an answer Yes for 1 and created a Message Mapping with same structure on both sides. Now I have to map all these IDOC fields. Any easy way to map by one drag and drop.

    Hi,
    If you want to use the Idocs in the BPM , then abstract interfaces are required.
    <i> During design I did an interface mapping between the IDOC and the Abstract Interface of the IP</i>
    Is it mean, the same idoc absract Interface as a target here ?
    <i>1. As the structures are the same do I need a Message Mapping.</i>
    >> Not required.
    If your Idoc is in the SWC of the Integration Process and you have defined the Absract Interface for the Idoc type, then it is not required to create the mapping here. You can directly use i.e you can receive the Idoc message in the Idoc Abstract Interface.
    Regards,
    Moorthy

  • Abstract Interface for IDoc Proxy

    Hi All,
              Do we need to make Abstract interfaces for IDocs and Proxys too if we want to use them in BPM?
    XIer

    Aamir,
    I agree with u that we can't create proxie's for Abstract interfaces. But consider the case I want to call Proxy inside BPM, is this possible?
    Yes its possible. As I mentioned in my previous replies for IDOC's .Similarly for Proxy receiver Interface determination we need to give Actual Inbound Interface name instead of Abstract. MI_Proxy_Abs --> use MI_Proxy_IB . Provided both the interfaces has the same structure.
    I hope it clears!!!
    Best regards,
    raj.

  • IDoc Collection Scenario (IDoc to Mail Interface)

    Hi,
    I am configuring IDoc to Mail Scenario using BPM.
    I gone through following link for develop the scenario. I am still unable to complete the scenario.
    Collect Idoc
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    I have done following steps in my configuration. Please correct my steps if i am wrong.
    Source is Outbound Invoice IDoc (SAP System).
    Target is Inbound EDI 810 format send as a email(Mail System).
    1. Create an Abstract Interface for Invoice IDoc(MI_IDoc_ABS)
    2. Create a Message Interface for EDI 810 for Inbound(MI_EDI810_IN)
    3. Create an Abstract Interface for EDI 810(MI_EDI810_ABS)
    4. Message Mapping between Outbound IDoc and Abstract Invoice IDoc.  I did this as per one of the above link. but did not understand the importance of this. On Message tab of Message Mapping, it shows the occurance as 1 for both source and target. I did not see the mention of this mapping in the BPM. Not sure if this was required?(MM_IDoc_ABS)
    5. Message mapping between Abstract Invoice IDoc to Abstract EDI 810. On the message tab of message mapping, occurance of Source message is changed to 0-unbounded and occurance of target is kept as 1.(MM_EDI810_ABS)
    6. Define Interface Mapping for above mappings
    a) IM_IDoc_ABS - Outbound Invoice IDoc + MI_IDoc_ABS
                                  MM_IDoc_ABS
    b) IM_EDI810_ABS - MI_IDoc_ABS + MI_EDI810_ABS
                                 MM_EDI810_ABS
    7. Create a BPM in Integration process. Define 3 Containers namely
    a) collectIDoc - Abstract Interface - MI_IDoc_ABS
    b) collectIDocList - Abstract Interface - MI_IDoc_ABS(Multiline)
    c) targetFile - Abstract Interface - MI_EDI810_ABS
    8. Create a Block and define a infinite while loop with Block. Condition to be defined as (1=1)
    9. Define a deadline block withing Block with duration = 5minutes
    10. Define a Correlation in Correlation editor as SNDPOR as a ID.
    11. Define a recieve step inside infinite while loop with following properties
    Message = collectIDoc
    Start Process = Checked
    Use Correlation = Correlation
    Activate Correlation = Correlation
    Correlation
    SNDPOR = collectIDoc./INVOIC02/IDOC/EDI_DC40/SNDPOR
    12. Define Container operation next to recieve step. properties are
    Target = collectIDocList
    Operation = Append
    expression = collectIDoc
    13. Outside the block, there is Transformation Step with following properties
    Interface Mapping = IM_EDI810_ABS
    Source message = collectIDocList
    Target message = targetFile
    Acknowledgement = None
    Reciever From = Send Context
    Now the next step is to define Communication Channel and Receiver determination, Interface determination in the Integration Directory.
    I don't know, how to go further on these steps.
    In addition, could you please validate my above steps.
    I appreciate your help.
    Thanks,
    Gowri

    Hi Bhavesh,
    Thanks for the directions and help. I appreciate your help. I understand the steps but i am unable to implement it.
    I have few more questions on above answer.
    a) Do i have to create Sender Agreement?
    b) Do i have to import bmp process in Integration Process in Integration Directory?
    The steps that i carried out in Integration Directory.
    1. Create a Scenario EDI810_Scenario
    2. Create a party called EDI810_Party and EDI810_Service.
    3. In EDI810_Service, Receiver tab has interfaces defined. MI_EDI_IN and MI_IDoc_ABS. In sender tab, it is INVOIC.INVOICE02 (IDoc) and MI_EDI810_ABS.
    4. Define a receiver communication channel CC_EDI810_Receiver(RFC).
    5. Business System for SAP is defined in Service without Party.
    6. Defined Sender communication channel CC_IDoc_Sender(IDoc)
    7. Create Interface Determination (First)
    Properties are
    Sender Service : SAP Business System
    Sender Interface : INVOIC.INVOICE02 (IDoc)
    Sender Namespace : IDoc namespace
    Receiver Party : EDI810_Party
    Receiver Service : EDI810_Service
    Configured Inbound Interface is
    MI_IDoc_ABS and IM_IDoc_ABS
    8. Create Interface Determination Determination (Second)
    Properties are
    Sender Service : BPM_IP (Bpm process is imported in Integratio directory)
    Sender Interface : MI_EDI810_ABS
    Receiver Party : EDI810_Party
    Receiver Service : EDI810_Service
    Configured Inbound Interface is
    MI_EDI_IN. I do not see IM_EDI_ABS in the list. How do i get that.
    What step did i miss?
    Thanks,
    Gowri

  • Transformation Abstract interface

    Hello , i am using a message transformation step in BPM where msg 1 thats input for this map is xml and output is being mapped to a IDOC.
    Now since in BPM i have to use abstract interfaces and how can i relate this abstract interface in transformation step with the IDOC. Can i create the abstract interface and then relate it to IDOC and use it in BPM ?
    Krishna

    Hi Krishna ,
    in message mapping just - drag and drop - the IDOC_type from your node "imported objects"
    Thats all.
    Regards Mario

  • Use of abstract interface

    I have a series of questions....... Go through.
    What is the use of abstract interface in java ?
    What is the use of static object in java ?
    What is the use of abstract key word to variables ?
    Object reference passed to method are final. Can ' t we change it ?

    class Testing {
         int i;
    public class RefFinal {
       public static void f ( Testing t1, Testing t2) {
           Testing temp;
           temp=t1;
           t1=t2;
           t2=temp;
           System.out.println("value of i in t1 =" +t1.i);
           System.out.println("value of i in t2 =" +t2.i);
       public static void main( String args[]) {
          Testing t1 = new Testing();    
          Testing t2 = new Testing();    
          t1.i=10;
          t2.i=20;
          f(t1,t2); 
          System.out.println("value of i in t1 =" +t1.i);
          System.out.println("value of i in t2 =" +t2.i);
    }      Here the code explain why?

  • Difference between abstract interface and normal interface

    Hello Friends,
    What is the Difference between abstract interface and normal interface?....

    What is the Difference between abstract interface and
    normal interface?....The difference is that you didn't follow convention in the first case. All interfaces are implicitly abstract so you don't have to declare them as such.

  • BPM, abstract interface unavailable

    Hello,
    I want to build a business process. Therefore I need some container elements. One container element has the type abstract interface. The message interface is defined in some namespace of some software component. But unfortunately I can't select this message interface in the dialog. Of course I have already activated my change list. I also refreshed the CPA cache, but this doesn't help a lot. What can I do in order to see this abstract interface.
    Thank you very much,
    Oliver

    Hallo Oliver,
    XI currently only allows BPM to use interfaces within the same software component or within a software component with which you have a based on relationship defined.
    I think, that this does not make too much sense, but that's the answer we got to an according OSS message.
    Best Regards
    Christine

  • Mapping Issue for IDoc to JDBC interface

    Hi All,
      I am having problem in implementing logic in IDoc to JDBC interface where I have to filter out E1WBB07-KSCHL = VKP0.
      Source IDoc structure is like ->
    E1WBB01(occ 0 -1000)
      |-> E1WBB03 (occ 0-100)
                |-> E1WBB07(occ 0-1000)
                         |-> KSCHL
                              DATAB
                              DATBI
    Now, For each KSCHL = VKA0 there should be a duplicate VKP0 record. From these 2 records only the VKA0 should get processed and VKP0 ignored.
    Duplicates for VKP0 and VKA0 can be identified by identical DATAB and DATBI.
    Suppose, in one  E1WBB03 segment,there are 4 E1WBB07 segment having following values.
    1: KSCHL=VKP0, DATAB=20102011, DATBI=25102011
    2: KSCHL=VKP0, DATAB=26102011, DATBI=30102011
    3: KSCHL=VKA0, DATAB=26102011, DATBI=30102011
    4: KSCHL=VKP0, DATAB=01112011, DATBI=31129999
    2 & 3 are duplicates. From these, 2 should get dropped.
    As a result only 1, 3 and 4 should get  processed.
    How can I proceed with this..?...I have tried some work around but not able to do it successfully. Is a UDF required to compare DATAB and DATBI. If yes how it can be written.?
    Thnx in advance,
    Praveen.

    chk below mapping:
    change the context of DATAB, DATAB1 and KSCHL to E1WBB03 (right click-> context) in all the mappings shown below
    1)
    DATAB
    ------------concat-----sort----splibyvalue(value change)-----collapse context---TargetNode
    DATBI
    2)
    DATAB
    ------------concat-----sortbykey \
    DATBI                    /        \
    KSCHL------------/                 \
    ----------------------------------------FormatByExample----sort-----UDF1----Target KSCHL
    DATAB                                    /
    ----concat---sort--splibyvalue(value change)-
    DATBI
    3)
    DATAB
    ---concat ( ; )-----sort-splibyvalue(value change)---collapse context--splitbyvalue (each value)--UDF2---TargetDATAB
    DATBI
    4)
    DATAB
    ------------concat ( ; )-----sort----splibyvalue(value change)-----collapse context--splitbyvalue (each value)--UDF3---TargetDATABI
    DATBI
    UDF1: execution type : all values of a context...input: var1
    int a=var1.length;
    int count=0;
    if(a>=2)
    for(int i=0;i<a;i++)
    if(var1<i>.equals("VKA0"))
    count= count+1;
    else
    result.addValue(var1[0]);
    if(count>1)
    for(int i=0;i<count;i++)
    result.addValue("VKA0");
    UDF2:execution type: single value...input: var1
    String [] temp= var1.split(";");
    return temp[0];
    UDF3: execution type: single value...input: var1
    String [] temp= var1.split(";");
    return temp[1];

  • Copy value of container (abstract interface) to an other container

    Hello,
    Is it possible to copy the value of an container (abstract interface) in BPM to an other container (abstract interface)?
    Thanks and regards
    Verena

    Hi Verena,
    If you have the entire msg that you want to want in a container then you can probably use APPEND in container operation.
    But if your msg is a part of an intermediate strucure like the one i showed in my previous posts, then you Have to use Mapping in a BPM Transformation step for the simple reason that you cannot change a message by using a container operation.
    Regards,
    Sridhar

  • Difference B/w abstract & interface

    Anyone tell me what is Difference B/w abstract & interface. because i m very confiuse.
    plz tell me

    Anyone tell me what is Difference B/w abstract &
    interface. because i m very confiuse.
    plz tell meNo doubt you're very confused, seeing how you post this kind of vague-ness.
    http://forum.java.sun.com/thread.jspa?threadID=734360
    Maybe this is the wrong field for you. Just maybe.

  • What is a "Abstract Interface" ?

    According to JavaDoc, <code>HttpSession</code> is described as
    public abstract interface HttpSession.
    What is an "abstract interface" ?

    All interface's are implicitly abstract so declaring an interface abstract is a bit pointless.

  • Fortran 2003's abstract interface

    Although the documentation for the 12.4 beta claims support for the ABSTRACT INTERFACE feature, it's not clear whether the support is full or partial.  The following code fails to compile with sunf95:
    module mod1
      use iso_fortran_env
      implicit none
      abstract interface
      pure function i_f(x)
      real :: i_f
      real, intent(IN) :: x
      end function
      end interface
    contains
      subroutine iterate(f, x, y)
      procedure(i_f) :: f
      real, intent(IN) :: x(:)
      real, allocatable, intent(OUT) :: y(:)
      integer :: i
      allocate (y(SIZE(x)))
      do i = 1, SIZE(y)
      y(i) = f(x(i))
      write (OUTPUT_UNIT, '("y(",I0,"): ",G0)') i, y(i)
      enddo
      end subroutine
      pure function square(x) result(res)
      real :: res
      real, intent(IN) :: x
      res = x ** 2
      end function
    end module mod1
    use mod1
    implicit none
    integer :: i
    real, allocatable :: x(:), y(:)
    x = [real :: (i, i = 1, 10)]
    call iterate(square, x, y)
    end
    The compiler assumes that the passed procedure is a subroutine ---i.e., it ignores the abstract interface.

    This is a bug in the compiler. The problem is not in the abstract interface but in getting the interface from the host scope. To work around the problem, you can copy the abstract interface from the host scope to the local scope where it is used, like this:
      subroutine iterate(f, x, y)
      abstract interface
      pure function i_f(x)
      real :: i_f
      real, intent(IN) :: x
      end function
      end interface
      procedure(i_f) :: f
      real, intent(IN) :: x(:)
      real, allocatable, intent(OUT) :: y(:)
      integer :: i
      allocate (y(SIZE(x)))
      do i = 1, SIZE(y)
      y(i) = f(x(i))
      write (OUTPUT_UNIT, '("y(",I0,"): ",G0)') i, y(i)
      enddo
      end subroutine
    then the dummy procedure 'f' will be correctly identified as a function.

  • Can we have abstract interface

    can we have abstract interface if so wats the significance of it?
    plz give me an example

    public abstract interface AbstractInterface {
    }The compiler allows it, so you can have them. But as said it's redundant and discouraged.

Maybe you are looking for

  • Wireless Guest Tracking

    I am looking for how to track the number of wireless guest users that have used wireless during a month. I see the enterprise guest management options but that is real overkill in this situation because I only have two 1200 series autonomous APs that

  • Too much RAM... and now?

    I have an iMac 8,1 - 24-inch, Early 2008. It is fitted with 2x2 GB (4 GB 800 MHz DDR2 SDRAM) RAM. This is expandable (unofficially) to a max of 6 GB addressable memory. The best thing (but not necessary) is to place them in 'pairs'. So 1x 2GB en 1x 4

  • BADI :Batch_Master Method CHECK_CLASSIF_BEFORE_SAVE

    Hi Al, I am implementing method CHECK_CLASSIF_BEFORE_SAVE of the BADI for the msc2n transaction , on the characterstic tab of the transaction there are some fields in the sub-sreen whose values should be populated to the importing parameters of the m

  • How can i extract messages from icloud backup in apple 4

    how can i extract watsapp messages from icloud backup in apple 4

  • To copy Equipment number from Maintenance order to Work approval or work clreance application or Wcd

    Hi All, I had an issue with WCM Please suggest a solution on the below issue. What is the possible way to copy the equipment number of the maintenance order to the Work approval or work clreance application or Wcd. After creating the order based on t