Container operations and abstract interfaces

Hi
At first, could somebody maybe refer to blogs about how to exploit fault messages in BPM? (how to generate an fault response when a exception is thrown and handled)
As I could not find a fast way to see how fault messages work in BPM I tried to solve the problem the other way... but run into a problem again. The question is: is it possible to assign values to some elements in an abstract interface type container? Like put into the message a processing code, processing time or some other informative text.
In a more technical way: container operation allows only the whole container to be the target of the operation, while one can use any part of an container (of abstract interface) to use as the source of operation. Is it also possible to assign a value to a element in abstract interface?
Waiting for any ideas...

Hi
Thanks for Your answer. Still my question is unanswered. As You could read out from my question, I know that such a step exists but the problem is that target can be exactly one container. Its hard to make an example without too much of code samples.
I agree that if I have containers A and B then I can do:
A = B
But if A is of type abstract interface with structure:
rootNode
+ childNode1
    + anElement as xsd:string
+ childNode2
and B is a simple type then is it possible to do something like:
A:/rootNode/childNode1/anElement = B
As I don't want to change anything else in the response. Any ideas?
I need to do so because I am not able to throw fault messages as a synchronous interface response (first: there is no way to define fault type as abstract interface, second: send [close S/A bridge] step needs response message only).
Another way would be to replace response content by inserting fault information but as there is no way but message mappings (transformation step) to change the content of an abstract interface (is there?). It would be a very ugly solution - each fault in BPM shall have its own mapping that generates the whole message... and there would be other issues too.
Waiting for any ideas on how to solve the problem.
Any recomendations how to create a SOAP fault answer in BPM are also welcome!

Similar Messages

  • BPM Container for an abstract interface

    Hello all,
    I have created few abstract interfaces. But when I create a BPM container of type abstract interface and click on input help, abstract interfaces are not displayed. What might be the problem ?
    Shankar.

    hi,
    try saving and <b>activating </b>the abstract interfaces
    first
    it might be a problem with the cache
    but try activating the interfaces first
    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>

  • Alrt with field Lelvel Info - By using Container Operation and Control step

    HI,
    I have developed File to File scenario from /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    I created Integration Process in IR with two BPM steps Receive and Send step.
    Since I need a filed level info on alerts...I have included Container Operation and Control steps in between receive and send like..
    Receive --- Container Operation --- Control step -
    Send
    And now I have created the Alert category in Alrtcatdef and used the same category in control step.
    I have tested the above scenario with error message ( with mapping fail )...But I am unable to find the alert in the system?!!
    ---S

    HI Stallin
    Did alert generated by BPM itself. Check with BPM workflow.
    Another thing while generating alert from BPM, standard alert element will not work with BPE engine. Create elements for the same
    Thanks
    Gaurav

  • Contains Operations and Move Percentage

    Hi,
    I am newbei in ABAP programming and rather stuck in these Problem, while doing a exercise.
    Can any one explain me, how can i do it.
    Problem 1:
    <u><b>Move Percentage</b></u>
    Data mc1(10) TYPE c VALUE 'ABCDEFGHIJ'.
    <b>Use MOVE cmd with PERCENTAGE addition to display</b> output ‘ABCD’ left-aligned & right-aligned
    Problem 2:
    <u><b>Contains Operations</b></u>
    Data test(50) type c value ‘Today is a wonderful day’.
    <b>Check if it contains any numeric character</b>     
    Data num_var(6) type n value ‘12345’.
    <b>Check if it contains all numeric values</b>
    Also, Can u explain me OVERLAY String operation with a example. I am a bit confused in understanding this Operation.
    Thanks in Advance.
    Samir

    Hi Samir,
    Try this..
    Problem 1:
    Data: mc1(10) TYPE c VALUE 'ABCDEFGHIJ',
          mc2(10).
    move mc1 to mc2 percentage 40 left.
    write:/ mc1,mc2.
    move mc1 to mc2 percentage 40 right.
    write:/ mc1,mc2.
    Problem 2:
    Data: test(50) type c value ‘Today is a wonderful day’,
           test2(10) value '1234567890'.
    if test ca test2.
    write:/ 'data contains a numeric character'.
    endif.
    Data: num_var(6) type n value ‘12345’,
          num(10) value '1234567890'.
    if num_var co num.
    write: / 'Only mumeric values'.
    endif.
    Example for OVERLAY:
    DATA: WORK(20) VALUE 'Th t h s ch ng d.',
          HELP(20) VALUE 'Grab  a   pattern'.
    OVERLAY WORK WITH HELP.
    WORK now contains 'That has changed.' and the system field SY-SUBRC is set to 0.
    Regards,
    Suresh Datti

  • Files are not appended in the container operation step ?

    Hi Guys,
    I have a BPM scenario where i receive a single file with multiple transactions
    1. Receive step receives the file and starts the process
    2 Transformation Step - Splits the file into individual transactions
    3. Block step --ForEach - Block has the follow 2 steps    
            1. Send - Synchronus - sends the request of each individual transaction to a 3rd party system and receives the response.
           2. Container Operation: Appending all the responses into a single file.
        Properties of container operation:
    Target: Multiline element (Block level element)
        Operation: Append
        Expression: Single element similar to structure above with out multiline.
    4. Send Step: I am writing this file locally to a file and this always shows only the last transaction in case of ParForEachMode and first transaction in the case of ForEach mode.
    can anybody explain why the messages are not appending into a single file. any help would be really appreciated
    Thanks,
    Srini

    Hi Liang,
    Check to see if the Sync Send step send every reply messages it received to container operation step:
    You might need to remove the container operation to see if you receive each individual msgs.
    > I have removed the container operation and i am able to see all the individual responses which i basically written to file just to cross check and every thing looks fine.
    Another way to go to workflow log (Complete Process with all the steps) to get debug information:
    SXMB_MONI -> Click "PE" under outbound queue -> Press "Display WorkFlow Log" button -> Click List with technical details -> Click Show Work item Container
    Here you can see the container and XML message used in this process step.
    You might have information on how message be processed in this step
    > I have checked in the workflow log and workflow shows the container operation only in the case of  ParForEach mode and when the block is in the ForEachMode i dont see any container operation step in the workflowlog and even in the ParForEach mode the container operation dosent have any details.
    Your Container Element reference to response message should also defined in block level, since the response message only exist inside the block. However, using process level container element should not cause any problem
    > I have defined the response messsage at block level in the container and the target i have defined it as multiline element defiend at process level. This multiline element is taken as input in the transformation step at prrocess level.
    are there any other alternatives for this process, i dont understand why the container operation is not appending the elments.
    any help would be appreciated
    Thanks,
    srini
    Edited by: srinivas kapu on Feb 25, 2008 12:10 PM

  • Regarding Abstract Interface

    Hello,
    What makes the difference between the Normal Interfaces and Abstract Interfaces. Is there any technical differences between these two interfaces.
    Thank you

    Hi,
    You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure.
    When you create a message interface you define the communication parameters by using the attributes Mode and Category as Sync/Async, Inbound/Outbound or Abstract.
    Message interfaces of this category can perform the role of an inbound or outbound interface within integration processes, depending on whether it is used to send or receive a message. For this reason, no direction is specified during definition. In integration processes, you can use the same abstract interface to receive and send a message. Abstract message interfaces generally receive the message from an outbound interface of a sender system and send it to an inbound interface of a receiver system, thus performing a complementary role.
    BPM can interact and deal with only Abstract Interfaces. And so, if you have a transformation step inside the BPM , the source and target interface will have to be abstract interfaces.
    These characteristics determine the direction of an interface:
    ·        An outbound interface sends a request message that is only used to make a communication party aware of data sent, without waiting for a response message. In the case of the latter, we also refer to publishing interfaces.
    ·        An inbound interface receives a request message that you reply to with a direct response message or whose data you can process in the system without a response.
    Thanks
    Swarup

  • Workflow stop at container operation

    Hi,
    I have problem in workflow.
    My workflow stop at container operation and i don't have any idea why it could happend.
    [Workflow Stop|www.freeimagehosting.net/uploads/4132b300f6.gif]
    Thanks,

    Hi,
    Can you check the workflow log with technical details.
    I think it would give you better idea what is happening?
    Try refreshing the buffer.
    Regards,
    Raj

  • 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

  • Sync interface as container element, And Sync Rec in BPM

    Hi Everyone,
                I am trying to implement a scenario with sync RFC to Sync SOAP using BPM.
      RFC <- -> BPM <- -> SOAP
    How do I implemnt this scenario, cause if I am not mistaken the first receive step in the BPM can only be asynchronous.
    Also when I declare container variables in BPM, it lets me choose only from async interface and does not display synch interfaces. So iam only able to create container variables of abstract asynch type.
    Please advice.
    Regards,
    Ashish

    Guys here's why I  want to use BPM:
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    Start > Receive (Async) > Send (Sync) > Send (Sync. This step only if boolean true) > Send (Async) > Stop.
    Also i am using BPM because I am implementing double mapping, i.e Message1>Message2>Message3.
    Regards,
    Ashish

  • Container definition for Abstract Synchronus Interface

    I am trying the simple scenario where the bpm process consumes soap request message (opens S/A bridge). After it queries another web services and sends back synchronously soap response, closing S/A bridge.
    I've walked through different weblogs and forum posts but still not getting how the interface variables should be created in this case.
    All my abstract interfaces are synchronous, and container definition for category "Abstract type" is only for Asynchronous interfaces.
    Should I create two additional asynchronous interfaces with the same request/response message names to be able create interface variables?
    And if message names are different in both soap calls should I create 4?
    Thanks,
    Evgeni
    scenario is similar to the one described in the weblog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    but without call to the legacy system and instead of JDBC it is another webservice.

    Hi, thanks for replay,
    >So this Abstract interface is used in the Receive step of the BPM(opening of the Sync/Async Bridge).
    I've created Abs Sync interface and used it in the Receive step. My problem is I can not assign value to the Message Name in the step Properties.
    To assign value I need first create container. To create container I need provide Type, which can be selected from the list of the "Message interfaces". But the list displays only Async Abs interfaces not Sync. How I should create container for Sync Request message?
    Looking on the help link you provided. How I should create following:
    Container
       Request
         BpmPatternBridgeRequest
       Response
         BpmPatternBridgeResponse
    Kind regards,
    Evgeni.

  • How can i refer Synchronous Abstract Interface as a container var

    Hi All,
       Why A(an) "<u>synchronous</u>" Abstract interface can not be referred as a Container variable in the BPM?
    Thank you
    Ganges Leaves
    Message was edited by: Ganges Leaves

    Hi,
    BPM containers will hold one message. If you want to hold multiple messages you need to make it multiline.But it works like an Array. So you can't have multiple message types with one container.
    Just have a look at this blog-
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    Hope this helps,
    Moorthy

  • What is the diff b/w Abstract class and an interface ?

    Hey
    I am always confused as with this issue : diff b/w Abstract class and an interface ?
    Which is more powerful in what situation.
    Regards
    Vinay

    Hi, Don't worry I am teach you
    Abstract class and Interface
    An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.
    Edited by SASIKUMARA
    SIT INNOVATIONS- Chennai
    Message was edited by:
    sasikumara
    Message was edited by:
    sasikumara

  • Context index and contains operator syntax how it works ?

    Hi
    I create a context index on four collumns (text_prof, text_gest, text_citizen, text)
    of the same table content.
    When i have more than one collumn being queryed using the contains syntax, oracle display the ora 29907 error saying found duplicated labels in primary invocations .
    This query works:
    SELECT * FROM content WHERE cod_type = '1'
    AND (UPPER(title) LIKE UPPER('%tabagismo%')
    OR contains (text, 'tabagismo',1)>0
    This not works:
    SELECT * FROM content
    WHERE cod_type = '1' AND (
    UPPER(title) LIKE UPPER('%tabagismo%')
    OR contains (text, 'tabagismo',1)>0
    OR contains (text_citizen,'tabagismo',1)>0
    OR contains (text_gest,'tabagismo',1)>0
    OR contains (text_prof,'tabagismo',1)>0
    How can i fix it ?
    I need to query all these colluns !
    Does the contains operator can be used only in one collumn?
    Thank´s in advance

    Hi
    I create a context index on four collumns (text_prof, text_gest, text_citizen, text)
    of the same table content.
    When i have more than one collumn being queryed using the contains syntax, oracle display the ora 29907 error saying found duplicated labels in primary invocations .
    This query works:
    SELECT * FROM content WHERE cod_type = '1'
    AND (UPPER(title) LIKE UPPER('%tabagismo%')
    OR contains (text, 'tabagismo',1)>0
    This not works:
    SELECT * FROM content
    WHERE cod_type = '1' AND (
    UPPER(title) LIKE UPPER('%tabagismo%')
    OR contains (text, 'tabagismo',1)>0
    OR contains (text_citizen,'tabagismo',1)>0
    OR contains (text_gest,'tabagismo',1)>0
    OR contains (text_prof,'tabagismo',1)>0
    How can i fix it ?
    I need to query all these colluns !
    Does the contains operator can be used only in one collumn?
    Thank´s in advance

  • 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.

  • Outbound and Abstract Sync message Interface difference

    Hi Experts,
    Is there any difference between the input and output messagetype for Outbound/Inbound Synch Message Interface and Abstract Sync Message Interface.
    Do we  need to mention the same input and output messagetype for both outbound and Abstract or it should be otherway around?
    Regards
    Sara

    ---Is there any difference between the input and output messagetype for Outbound/Inbound Synch Message Interface and Abstract Sync Message Interface.
    No there is not. U can select any message type irrespective of the type of message interface.
    ---Do we need to mention the same input and output messagetype for both outbound and Abstract or it should be otherway around?
    Yes. As per ur requirement u can specify the same.
    Regards,
    Prateek

Maybe you are looking for

  • Windows 10 Prieview on Dell Venue 8 Pro

    Hello, I am one of those goofballs that installed the Windows 10 Technical Preview on my Dell Venue 8 Pro tablet.  Windows 10 preview runs great on the tablet, however I really miss the ability to swipe down a window to close it.  In fact, I miss tha

  • Sounds no longer working on iPhone 4

    Hello, So a few days ago I dropped my iPhone 4. I'm not 100% sure but I think that is when my sound stopped working. The speakers are working fine, I can hear music and things like that. None of the phone sounds such as clicking when lock/unlocked, k

  • Song sequence in iTunes all wrong

    Hello, I've been using iTunes for years and never had any problems, until now. Since last week iTunes shows all the songs in my library in alphabetic order. This is the case with downloaded stuff, but also with imported songs from a cd. I have tried

  • Create Run And Stop Buttons on Front Panel, rather than using the toolbar run/stop

    I would like to make my vi more user friendly by creating start and stop buttons on the front panel. I havent found much info on how to create them. I have created a boolean stop button to stop my FOR LOOP. -Chris

  • Screen layout in PO

    Hi all, In PO, there is field "Outline agreement" originally set to mandatory field. I'd like to set it optional temporarily to delete some items that is no contract in some PO. Therefore I go to the IMG Purchase Order > Define Screen Layout at Docum