XI File BPM scenario
Hi all,
i have questions regarding the usage of big files with a BPM scenario. The functional requirements are as follows:
1. Pick up large (raw data) file (1MB) from FTP server
2. Drop this file to a second FTP server
3. After the file has been transmitted sucessfully (criticall !), look into a DB and extract information with the help of the filename of the transmitted file and extend the message (in a message mapping)
4. Send this data to ECC and update a custom table
My approach to realise this scenario, would be to perform the DB lookup in a java mapping. Are there any other options?
In addition I am concerned about performance issues, because we will send about 200 files a day (up to 10 at a time) using that interface. Is there a possibility to avoid the integration process?
Kind regards and thanks in advance
Florian
Hi Floarin,
Your requirment can be accomplished with and without BPM.
With BPM:
To improve performance:
you can use the Concepet of Message Packaging For BPE which is best suited for requirment of your kind i.e where you have multiple files coming in in bunch.
you can also define receive of a file on a FTP under a block only as you are not using file content and you need file name only.
Please use JDBC look up only it will improve the Performance to a greate extend.
After JDBC look up you can use that Data to write into ECC
Without BPM:
You can find Modules that can extract file name and pass that file name to JDBC look up and then output of JDBC to ECC.
Even here also you can use Concept of Message Packaging.
To handle Exception you can use Alert
Reward Points if Helpful
Thanks
Sunil Singh
Similar Messages
-
Help with simple file to file BPM scenario
Hi Gurus,
I am doing simple file to file BPM scenario.
I am getting an error in SXI_CACHE with status code 99.
I activated the business process then status code changed to 2.
When i tried to activate the process again i am getting prompted to enter access key details.
Is there any other way to get rid of the error i.e., to get the status code to zero with giving access key details.Sample access key details are also greatly appreciated.Hi Bhavesh,
I tried doing that but of no use.
I registered at https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm
and got a mail with details.I was actually looking for access key details in the mail from sap.The details in the mail contains License key but not access key .Are the both access key and license key same? -
Hi Experts,
I am getting the below error for File to File BPM scenario.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message is not used by any processes</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please tell me, why I am getting this error.
Regards
SaraIR IP
FileTOFile_BPM
1. Receive Step (Used MI_Abs_Async)
2. Send Step (Used MI_Abs_Async)
Please find the below configurations which I hv done in ID
IP in ID
BPM_FileToFile
Business Service & CC
1. SENDER_SERVICE
CC: File_Sender_BPM
2. RECEIVER_SERVICE
CC:File_Receiver_BPM
3. Receiver Determination:
a) Sender Service : SENDER_SERVICE
Sender Interface : MI_Outbound_Async
Receiver Service : BPM_FileToFile
Receiver Interface : MI_Abs_Async
Mapping : IM_File
b) Sender Service : BPM_FileToFile
Sender Interface : MI_Abs_Async
Receiver Service : RECEIVER_SERVICE
Receiver Interface : MI_Inbound_Async
Receiver Agreement : File_receiver_BPM -
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 -
Hi Gurus...
I was doing this simple File to File BPM Scenario.When i place my file in the Source its being sent but i am not getting the output.I have checked for errors but found no errors...So please can anyone tell me where exactly i am going wrong...Hi Chakradhar,
Look at the discussion in this forum, [File Receiver Adapter is not writing the file?;, could help you out.
Edited by: P.Ravi Varma on Jul 23, 2010 1:46 PM -
Rfc to file bpm synchronus blogs
Hi ,
Can anybody suggest me best rfc to file BPM scenario weblogs??Hi Gowri,
Check the below blogs:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
Please search in SDN before posting a question....
Thanks, -
N:1 file merging scenario in bpm
Hi friends,
Can anybody send me link of blog for file merging scenario in BPM. i hav two files and i hav to merge it into one single file. I am new to XI, plz help me.
Thanks in advance,
ShwetaHi,
Check this blogs...
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Merging using corelation -
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
Example using correlation:
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Please reward points if it helps
Thanks
Vikranth -
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 -
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 -
Error in file to BPM Scenario.
hi experts,
iam doing the scenario file-bpm-file scenario.
here i have three message types where one for sender .
2 for receiver( sender message split by using cust id).
start->receive->transformation->fork->two RD's for two branches> and two send steps for two branches after RD's>end of fork automatic-->stop.
here in sxi_cache the return code is 0.
in sxmb_moni the flag is black and white.
but i didn't get both the messages at output directory.
only first i got.
split.xml------->split1.xml &split2.xml
i got only split1.xml
could u plz tell me where to modify to get the two messages at output side.i followed IP design just like this .
but iam using send context in "receivers from" property of send step.
is it necessary to use the receivers list in that field of send step(both)
if so how can i modify it in the integration diectory.
will i need to reload the IP service in to it.
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
help me regarding this. -
Hi Friends,
Can anybody send me File to BPM Scenario with screen shots.
Regards,
Naidu.Hi,
Please check the following links regarding file toBPM.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
For all the pattern u mentioned, u can get the same from SAP BASIS component.
regards
mahesh. -
How many Communication Channels required for File--Bpm(SAP R/3)--File
Hi
Pl..help me on this
I am doing the following scenario File 2BPM 2 File
i.e File -
BPM(ASync)
BPM -
SAP R/3(Sync)
SAP R/3 ---BPM (Sync)
BPM ---File (Async)
For me it looks three CC's but still i am not confident
Can any one explain me on this
Adv thanx
Prasad KFile(<b>CommChannel 1 -File Sender</b>) -
> BPM(ASync)
BPM -
> SAP R/3(Sync) (<b>CommChannel 2 - RFC Receiver</b>)
SAP R/3(Comm Channel 3 -RFC Sender) --- > BPM (Sync)
BPM ---> File (Async)(<b>CommChannel 4 - File Receiver</b>)
<i><u><b>So a TOTAL of 4 Comm Channels.</b></u></i>
Since Sinchronous so 4 channels .. if you use idoc adapter instead of RFC 3 channels will do
Cheers,
Himadri
null -
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: 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,
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
Maybe you are looking for
-
Moving two accounts to external hard drive.
I am getting a brand new computer tomorrow. In preparation I am attempting to move all of our music to our external hard drive, something I've been meaning to do for a couple months since we bought the drive but have been too chicken to attempt. It l
-
Language support bug with iphone 2.0 software?
With 2G iPhone running with 2.0 software, I have noticed the following. When I have "Settings -> General -> International -> Language" set to English, the Chinese text sent in my emails becomes corrupted in the email body, and other non-iphone users
-
Csv file uploading for database table creation
Hi there, I'm in the process of making an application that will be able to upload a csv file and create a table based on the same file. As of now, I have managed to make my application upload a csv file into the database. My problem now is to transfe
-
Constant what has this got to do with readingHow to create some thing like
Q] IN the statement SABC_ACT_READ(4) VALUE 'READ', Taken from http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/content.htm SABC_ACT_READ(4) is a of type C , & has a value 4 what has this got to do wi
-
DataGrid - listen to row change
How I can I catch an event of a row being changed by moving up or down? Thanks