BPM Scenario Design Doubts
Hi Expert,
My source system (3rd party) calls a RFC service, based on some credentials the RFC program triggers a text doucment in the zip file format on a specified location.
I need to send the response and as well as the file (zip) and the size of the file will be approx 50MB. How do I design my scenario? Is BPM advisbale?
Anticipating your valuable inputs..
Warm Regards
Hi Asha,
Could you explain me your scenario with clearly....As i understood that third party system is hitting xi and xi will communicat to the receiver system. In the receiver system we have RFC. The RFC will give you only the messae as in the form of response....if you wan to send the zip file I guess we should send first to the one receiver system (file system) fromt there we can send to the third party system.Of course we have to use BPM to achieve this.
Hope I am clear.Please let me know if you have any quereis.
Thanks and Regards,
Chandu
Message was edited by:
Chandu
Similar Messages
-
Sync RFC scenario VS BPM scenario -- speed doubt
Hello friends!
My case:
I have to choose between 2 scenarios:
1) SAP(Idoc) <=> XI <=> ThirdPart(WebService)
2) SAP(s\q\tRFC) <=> XI <=> ThirdPart(WebService)
In 1st scenario I need to use BPM. In 2sd I needn't.
So I want to know which way more simple to implement and more speedy.
Thanks in advance!
Alexandrhi
The first case is easier i.e with BPM...in terms of hadling errors..to send any alerts.....
if you want any weblogs i can post for you
regards
kummari -
Hi,
I am trying out an BPM scenario for an N:1 mapping,in which i'll be sending N number of 2 different structure of messages.The source file got picked from the Source.The SXMB_MONI describes that the "Message being sent",but i couldn't get at the target.I doubt that my BPM design could have strucked up in the looping and hence the message couldn't be delivered.Can anyone provide some pointer to get it resolved.The BPM design is as mentioned below :
Block
Deadline
Exception Handler
Loop1 Recv1 Container1 Loop1
Fork Fork Transformation(2:1) Send Stop
Loop2 Recv2 Container2 Loop2
Note : The loop will come out when the deadline time reaches 2 min.Yes.The Correlation desfined as below
File1 of Abstract type Message Interface
FileList1 of of Abstract type Message Interface(Multiline checked)
File2 of Abstract type Message Interface
FileList2 of of Abstract type Message Interface(Multiline checked)
TargetFile of Abstract type Message Interface -
BPM Scenario : How to Proceed ?
hi folks,
I am working on a BPM scenario .
Scenario goes like this : I want to pick the data from a file and post the data into SAP using a RFC and get some data in response .now data which came back as a response from RFC response should be written in a XML file whose name should be dynamically generate and then the name of the dynamically generated XML file should go into a table.
My BPM is like this
Step 1 : Receive ( For collecting the data from file)
Step 2 : Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
Step 3 : Send Step ( For sending the response data to XML file , name should be dynamically generated)
Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
Till step 3 i have worked fine and getting the desired output also ( as i am getting the dynamic file name in the output xml file) but after that not sure how to proceed...
how to push the dynamic file name from XML file to Table.
Now my doubts...
Is design of my BPM is right...? if not please correct me...and also if there is any other way to get the same functionality ?
Regards,Hi Latika,
-->hw r u generating the filename? is it thru a field in ur structure that u are capturing by setting adapter specific attributes in receiver file adapter config?
Yes
-->if yes, then use that field only to get the file name. in ur last send step u can use a mapping to trasfer this field into the target structure for oracle database.
even i also want todo this...but how..this is the question..
My BPM is like this
Step 1 : Receive ( For collecting the data from file)
Step 2 : Sync Call to RFC ( For making a sync call to RFc and then sending back the resp data)
Step 3 : Send Step ( For sending the response data to XML file , name should be dynamically generated)
Step 4 : Send step ( For sending the dynamic file name of XML file to Table)
I step 3 data to file(dynamic file name) is send.
Now how can i send the data from dynamic file generated just now to JDBC.....?
Kindly help by step by steps..explanation..
Regards, -
BPM scenario,message struck in queue.
Hi folks,
I am doing a Simple file to file BPM scenario(NO TRANSFORMATION)...
My scenario executed properly,but in moni i receive a green flag, after i looked it in
LUW -->Display Process, I can see the steps as
Receive1--initialize-send1-UNDEFINEDWork flow completed.
I think there is a problem after send.... can u plz tell me what may be the reason.
Or Am i doing in creating a IP,..... if so can u give me a simple file to file scenario,with detailed stepsYes i have checked everything,
Status code of IP is 0 in sxi_cache-->IP
and interfaces are assigned properly at right places......
Still the message gt struck in queue...
I have a doubt,that why The Unsefined step is coming after send1....
RECEIVE1>INITIALIZE>SEND1>UNDEFINED-STEP>COMPLETED -
Integration process in File to BPM Scenario
hi,
gud morning. i got a problem while designing a BPM. in designing the integration process in IR, i am not able to get both the abstract interfaces to select from, while defining the container. plz post a solution for this. thank u.Hi,
In this blog, I have used Business <b>Service</b> created in the integration directory.. This is an abstract . So I need to specify , the Sender and Receiver Interfaces explicitly in the business service. and it doesnot have any entry in the SLD.
But if you create the Business System in the SLD and if you import that into the Integration Directory-->Assign this into your configurations scenario, then this step is not required.
Regd. Importing Integration Process- BPM is kind of Abstract Service.. i.e BPM is acting as a Receiver Service and Sender service both..
i,e Source to BPM ( here BPM is a Receiver)
BPM to Target( here BPM is a Sender Service)
Hope this clarifies..
Regards,
Moorthy -
SOAP1 - SOAP2 - SOAP3 BPM scenario
Hi Experts,
This is continuation of the below thread.
SOAP -> SOAP -> SOAP BPM scenario
SOAP1 -> SOAP2 -> SOAP3 BPM scenario
BPM Steps
1. Receive Sync Step -> Receive the SOAP1 request inside BPM.
2. Send Sync Step -> Send SOAP2 request and get the response
3. Send sync Step -> Send SOAP3 request and get the response
4. Send Step -> Send SOAP3 response to SOAP1
SOAP1 DataType
1. DT_SOAP1Request
2. DT_SOAP1Response
SOAP2 & SOAP3 External Definitions
1. SOAP2_wsdl (SOAPRequest and Response datatypes)
2. SOAP3_wsdl (SOAPRequest and Response datatypes)
Message Type
1. MT_SOAP2Request
2. MT_SOAP2Response
Message Interface
1. SOAP1_ABS_Request
2. SOAP2_ABS_Request
3. SOAP2_ABS_Response
4. SOAP3_ABS_Request
5. SOAP3_ABS_Response
6. SOAP1_ABS_Response
Doubt: Do we need to create SOAP1 outbound Sync Message interface also?
Message Mapping (Outside BPM)
1. MM_SOAP1Request_To_SOAP2Request
2. MM_SOAP2Response_To_SOAP3Request
3. MM_SOAP3Response_To_SOAP1Response
Interface Mapping
1. IM_SOAP1_To_SOAP2 (SOAP1request to SOAP2Request)
2. IM_SOAP2_To_SOAP3 (SOAP2response to SOAP3Request)
3. IM_SOAP3_To_SOAP1 (SOAP3response to SOAP1Response)
Could you please help me, whether the approach is correct or not?
Regards
Sara
Edited by: Sara D on Jan 18, 2008 12:33 PM
Edited by: Sara D on Jan 18, 2008 1:02 PMHi Prateek,
Now I have to use Sync/Async bridge inside BPM know?
1. Start the BPM process
2. Receive Step -> To Receive the SOAP1 Request
Message : SOAP1_Request(SOAP1_ABS_Req_MI)
Mode : Opens S/A Bridge
Sync Interface ( SOAP1_Sync_ABS_MI - Input Mesage : MT_SOAP1Request and Output Message MT_SOAP1Response)
3. Send Step -> To send and receive SOAP2 request and response
Mode : Sync
Sync Interface : SOAP2_Sync_ABS_MI - Input Mesage : MT_SOAP2Request and Output Message MT_SOAP2Response
Request Message : SOAP2_Request (SOAP2_ABS_Req_MI)
Response Message : SOAP2_Response (SOAP2_ABS_Res_MI)
4. Send Step -> To send and receive SOAP3 request and response
Mode : Sync
Sync Interface : SOAP3_Sync_ABS_MI - Input Mesage : MT_SOAP3Request and Output Message MT_SOAP3Response
Request Message : SOAP3_Request (SOAP3_ABS_Req_MI)
Response Message : SOAP3_Response (SOAP3_ABS_Res_MI)
5. Send Step -. To the Sync/Async bridge
Mode : Closes S/A Bridge
Message : SOAP1_response (SOAP1_ABS_Res_MI)
Opend By: Receive1
6. Send Step : To Send the message back to SOAP1 (Not sure whether this step is required or not)
Mode : Asyncr
Message : SOAP1_Response (SOAP1_ABS_Res_MI)
Is the above approach correct? The above steps I have done it before you provide the new Abstract interface objects..Not sure about the flow..
Please correct me, If I am wrong..
SOAP1_Sync_ABS_MI ,SOAP2_Sync_ABS_MI , SOAP2_Sync_ABS_MI .. Are these Sync Abstract Message interfaces or correct..or I have to use the two MI which you have mentioned it in the thread?
Please respond to me as early as possible.
Regards
Sara -
BPM Scenario: Message has error status on outbound side
Hi All,
I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
Thanks & Regards,
PurushothamHi Nutan,
I hv configured my scenario as follows
1. Start
2. Block ( Deadline and Control step for cancell the process)
3. Fork(Necessary branches 12)
4. Loop(12 loops)
Under loop
a. Receive Step
b. Container Operation( For count)
c. Container Operation(For append)
5. Fork( Necessary branches 12)
6. Transformation
7. Send
8 Stop
This is my scenario. In the first Fork step i am checking end condition as total number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
Now can you please tell me what is the problem.
Thanks & Regards,
Purushotham -
Hi All
I have done a simple file_2_file and SOAP_RFC scenario. Both of them are perfectly working fine.
Now I did a simple file_2_file scenario using BPM and this doesn't work. When I go the transaction SXI_CACHE, it shows as "Cache contents are obsolete". Also, in SXMB_MONI, when I see the messages, only sender interface is there and no part of the BPM messages are shown.
I am sure that my BPM configuration is perfect as its a simple example which I implemented from one of blogs.
Do I have make any settings for a BPM scenario to work? Please help.
Thanks,
VijayHi Moorthy,
I already implemented your blog. After activating all the objects, I just tried SXI_CACHE, it says the "Cache contents are obsolete". Also, my previous scenarios doesn't work. Now If I take out the BPM scenario, I mean if I delete the scenario, then the previous scenarios start working fine.
Any solution please?
Thanks,
Vijay -
File to RFC with multiple records using BPM Scenario Error...!!!
Hello Guru's,
I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
Can any one tell me what mistake would i have done.
Thanks in advance.Hi,
There is one similar discussion I found,
FTP TO RFC using BPM
Thanks
Swarup -
Hi Experts,
Do we need to do any Post-installation to work on PI 7.0 BPM scenarios? I have creted and activated the business process thro' PI, but I couldn't see those business process in SXI_CACHE.
Please share your suggestions..
Regards
SaraBusiness logic is the functionality performed on the data at the communicating systems (sender/receiver).
Intregration logic are the business rules based on which the data is transformed from one format to another and the path through which data should flow
BPM mostly concentrates here on the integration logic.
Regards,
Prateek -
Webservice response in BPM scenario
I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
Do you guys think it is a cache problem or something else?
Thank you.this is because there is no proper error handling in your BPM.
you need to handle the exceptions in case of mapping or communication failures.
refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm -
File to RFC to File with BPM Scenario
Hi all,
I am trying to implement a Sender File ( async ) to RFC (sync ) to Receiver File with a BPM. I using the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesnt work. First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
Message Error Workflow
Error handling for work item 000000001714
Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
No reference message specified when sending a response
No reference message specified when sending a response
I configured my BPM scenario in this way:
( Sender File Adapter )
First Step
Receiver Step ( Asynchronous )
Mode: Asynchronous
Receive Message: File Request
( Receiver RFC Adapter )
Second Step
Send Step ( Synchronous )
Mode: Synchronous
Request Message: File Request
Response Message: File Response
Receiver From: Send Context
( Receiver File Adapter )
Third Step
Send Step (Asynchronous )
Mode: Asynchronous
Receive Message: File Response
Receiver From: Send Context
I have changed it, many times and I can get solve it. About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc )
I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
Could you help me about this problem?
Thanks for help
Best regards
Fábio Ferri
Consultant XI/ABAP/NetweaverHi ,
<b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
In BPM did u used as
Recive Step Async
Synchronous Send Step
Send Step is Async
<i><b> it is possible to use a Async / Sync Brigde.</b></i>
No need to use Asyn Sync Step for this
Assign poins if u found hepful
Best Regards.,
V.Rangarajan -
hi,
Using a BPM scenario (File->File). In SXMB_MONI the status of the process is showing "Scheduled for Outbound Processing", with a green flag associated with it. How would I go about troubleshooting this error? Have checked SM58 and made sure all the queues are registered and activated. Also no messages show up in SXMB_MONI_BPE. Could you please guide on how to proceed?
regards,
SKHi
Have a look at the following links, even though they are not specific to your scenario, they give you some good hints on troubleshooting and where to look.
http://help.sap.com/saphelp_nw04/helpdata/en/29/e0194120ddf223e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
Sameer -
hi
Do we need to add any Parametrs in SXMB_ADM to BPM scenario to work
SVHi,
>Do we need to add any Parametrs in SXMB_ADM to BPM scenario to work
NO
Regards
Agasthuri Doss
Maybe you are looking for
-
Statspack is still available in 11g for those who do not have AWR license. I am seeing that ELAPSED_TIME of stats$sql_summary is overstated by the factor of loaded_versions. The elapsed_time does not add up to difference between snapshots for some of
-
I installed the new 7.0 on my ipad and now I cannot get my internet connection to work. Any ideas, I have already tried rebooting but no luck. Another useless apple update that doesnt work?
-
Interactive form on mobile devices and other PDF viewers
Hello! I made an interactive PDF, which i first made in InDesign. It's basically built up like this: There are fields with a picture and text which go to transparency 0% when i go over them with the mouse and then you can see the background. I dind't
-
Curve 8310 text/email - want separate
I already went into the general options within email and selected separate - however my emails are still showing up within my text in box - any suggestions as to what else I should/need to do or how to fix? Thanks
-
Copy a text from another dokument
hello... if I want to copy a text it doesn`t take the textstile from pages automatically. do you know how I can set this up? thank ypu.. best regards franzi