Serialize ---- Proxy to Idoc scenario
Hi Folks,
I m using Proxy to Idoc scenario and am trigerring proxy messages one after other from my function module on the outbound side. However sometimes idoc2 gets posted before idoc1.
My requirement is that idoc2 to be processed only after idoc1 is successfully posted. Where and how do I serialize the idoc processing?
--- AKJ
Hi,
This issue is basically at ur receiver IDoc side, when its getting processed.
To ensure, ur IDoc 2 gets processed only after IDoc 1, changes can be done during message mapping.
During mapping, inside control records of target IDoc, there is an 'serial' field. Fill this 'serial' field with a new unique number which increases with each and every new IDoc creation.
This serial field with increasing number will be used during processing of IDocs in a sequence.
Refer SAP Note - 752194 & 152239 for more details..
Please let me know if still there are any issues.
Thanks,
Anoop
Similar Messages
-
Pipeline error for abap proxy to IDoc scenario
hi experts,
i am getting the following system error in moni for my proxy to idoc scenario.
In error it shows :
"Receiver service cannot be converted into an ALE logical system"
but i have checked adapter specific attributes of both receiver
and sender sys and they both have logical systems ( SO this is not the problem)
TRACE
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
<Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
pls suggest .
Appropriate points will be awardedHi,
Copy the payload from moni and test the mapping.
The error may be due to XML file generated by sender channel is not proper.
and also look at this blog
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Please reward points if it helps
Thanks
Vikranth -
Proxy to File scenario - IDOC as an flat file
Hi,
I am working on ABAP Sender Proxy to File scenario. The target structure in the message mapping is SHPMNT05 IDOC and the output of the file needs to be in the text format and then the file will be send to an EDI subsystem.
Currently, EDI subsystem gets the IDOC from ERP system as a flat file and expects the similar kind of file from XI system
The requirement is to have all the fields of the IDOC in the target file. If data does not exist for a particular field, then there should be a space for that field in the text file.
I would like to know if there is any other standard way of executing this scenario apart from using File Content conversion. In case if we have to use FCC, how difficult it would to be implementing the scenario. Please note that the output file needs all the fields of IDOC in it.
Regards,
Sakthi
Edited by: Sakthi on Sep 26, 2008 11:24 AMHello Sakthi,
By coding in proxy populate the idoc structure if it is difficult to handle thru Content conversion parameters then create an intermediate structure and populate that structure by concatenating the fields from idoc segments. If the fields are not having the values then add blank spaces as per length of the field.
You can configure the file channel and content converison parameters for the intermediate structure.
Hope it will helps to you.
Cheers
Veera -
SOAP-IDOC scenario- HTTP 500 error
Hi All,
We are working on SOAP- IDOC scenario.
We are getting a request from Sender which should come via Reverse Proxy server to PI.
We generated WebService on PI and the URL(X) is shared with Proxy team, wherein they mapped that URL (X)with other URL(Y). This URL (Y)is shared to sender and he is trying to send some requests now.But below is the error message.
[09/02/13 15:26:12] ID=app01 (trace) Delivered HTTP Direct outbound message, containing details...
Destination URL=https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User=ZZZZZZZ
Status Code=500
[req]Content-Length=7148
[req]X-HTTPS-ClientAuthCertificate=/AAAAAAAAAAAAAAAA
[req]X-HTTPS-ClientAuthCertificateForm=PKCS12
[req]Authorization=Basic RjRGSU5GWEQxMDA6c3luZ2VudGEx
[req]X-HTTPS-CACertificatePath=/BBBBBBBBBBBB
[req]X-HTTPS-PrivateKey=/CCCCCCCCCCCCCCCCC
[req]JMSReplyTo=sga.ws.test.response
[req]messageuniqueid=6d65d89f-ffff-ffc0-00ee-3aa7032c3299
[req]adpnextmlemarkersequence=3
[req]X-HTTPS-PrivateKeyPassword=ZZZZZ[maid
[req]Content-Type=text/plain
[resp]content-type=text/xml; charset=utf-8
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
Any ClueHi,
Check this
HTTP 500
o Internal error in J2EE
o Check SAP Note 807000 - Http requests are not fully read
after timeout
Regards,
Sreenivas -
File to IDoc Scenario exception handling
I have configured Time bound File to IDoc scenario with processing mode in Sender adapter as 'Delete'. And it is running perfectly. I am trying to add additional functionality to the scenario, i.e.,if a file does not exist on the ftp server, a mail should be sent to a recipient.
May be using Java proxy is not appropriate, as poll interval does not be accounted in Java Proxy and file server should be having Java runtime.
Please can any one suggest, how this can be acheived?
Regards,
Suraj KumarHi Bhavesh,
What you have understood is correct?
Any way, I will come out in more detail.
My Ftp server: //yhsap/xi
File: xi_for_upload.txt
Sender Adapter: File Adapter using content conversion with processing mode as 'Delete' and poll interval is 600sec.
Simple Mapping is achieved.
Receiver Adapter: IDoc Adapter.
So, if file is not available in Source system, send mail to [email protected]
Can you suggest a suitable solution?
VasanthaKumar: After adding wait step in BPM, can you please illustrate me how to ping the ftp server and how to read whether file is there? Can you please explain in more detail.
Thanks & Regards,
Suraj Kumar -
Hello everybody-
I am trying a proxy to File scenario, Its from SRM-XI-File , i have followed the blog
Learning XI
but the question i have is, if iam sending a invoice from SRM to XI , what are the configuration steps that i need to do in SRM and in XI, i mean how do i configure proxy in SRM?(in that matter any source system), Can someone tell me the configuration steps that need to be done in SRM and XI to use proxies.Venkat
Instead of using proxies for sending invoice from SRM use IDOC's. There are idocs aviable to do this activity. But if u are going to recive a response then u might think of proixes as idocs supports only asyn interface. for large data voumens make use of proxies.
Go through SRm master guide that gives you details of Standard Interface available.
service.sap.com/installation
and then goto SRM - Master Guide
also
SRM, like many other mySAP Business Suite applications, provides standard XI Content. You can download that content from here:
http://service.sap.com/swdc then
Support Packages and Patches->SAP Application Components->SAP SRM (WITH SAP EBP)
Then you go to the specific content version, depending on what SRM release you're on. also u can check with:
http://service.sap.com/~sapidb/011000358700002897402004E/ServiceProcurementNEW.pdf
http://service.sap.com/~sapidb/011000358700002897382004E/Plan-DrivenwithSInew.pdf
http://service.sap.com/~sapidb/011000358700002897342004E/CCMConfig10_01_05.pdf
http://service.sap.com/~sapidb/011000358700003992672005E/Config_Guide_CCM200_640doc.pdf
NOTE: There are some preconfigured mappings available for SRM in www.service.sap.com. Check out this thread
Is there pre-configured message mapping for SRM Content? -
Hello,
we've implemented IDoc-IDoc scenario. Sender is regular SAP system, receiver is Non-SAP system supporting IDoc receiving via RFC. We have following problem:
1. Receiver system is stopped.
2. Sender system sends IDoc but the IDoc cann't be delivered into Receiver (it's still stopped). The message is placed into some queue.
3. Receiver system is started again.
4. Sender system sends IDoc and the IDoc is delivered into Receiver (now it's already running).
5. After a few minutes adapter try to re-send the first IDoc. Now the adapter is succesfull and the first IDoc is also delivered into Receiver.
Problem is that we need keep right order of the messages.
Is it possible to resolve it?
Thanks in advance for every advice!
Regards,
ZbynekI've tried that but it doesn't work.
Also I've tried to follow this blog /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi but it doesn't work either.
I think all IDocs are send from Integration Engine but if they are not delivered they are putted into some special queue of IDoc adapter. Is it possible? -
I want to master IDOC scenario...
Where i can see step by step of IDOC scenario?.
I want steps in ECC side and steps involved in XI side....
Never saw a nice blog showing each step in details like wiki pages....
Can somebody write or do we have a detailed blog?.HI,
See the below links
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
File-XI-IDoc Scenario - File to Idoc
idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
see the below links to get more details about IDocs
ALE/ IDOC/ XML
Troubleshooting of ALE Process - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
IDOC Convertion
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
Please check this online document for ALE and IDoc.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
serialization /people/alessandro.guarneri/blog/2006/11/26/content-based-serialization-dynamic-queue-name-in-xi
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.henrikfrank.dk/abapexamples/IDOC/gl_postings2.htm
http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages
Process codes in IDOC
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b806743d711d1893e0000e8323c4f/frameset.htm
http://edi.stylusstudio.com/msg04418.htm
Check this link to find out the difference b/w ALE,IDOC and BAPI
http://www.sap-img.com/abap/ale-bapi.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
---Split messages :
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Regards
Chilla -
Hi Experts,
I am working on a Proxy to IDoc Interface for Business Partner data.
Sender : ECC 6.0 (Proxy)
Receiver: 4.6c (Idoc)
I have used standard Message type "ABABusinessPartner" as sender.
And i am mapping this message to DEBMAS and ADRMAS idocs (splitting).
After making the changes for business partner in transaction BP, It is creating one XML file in sender and splitiing in PI and creating 2 idocs in receiver.
The problem is, the ADRMAS idoc is not getting any data. Its blank.
It is fine with DEBMAS, it contains the expected data.
I have tried passing the control record as constants and selected the option to take the control data from payoad in Cc.
If required any other info. please let me know.
Waiting for your inputs , Thanks.
Regards,
NaveenThanks for your replies.
Yes, i am able to see the payload in MONI.
i have done all the IDX stuff. and i am able to see the idoc in my receiver side.
i have tested my mapping. Even i am able to see the data in receiver payload.
and tested the scenario in ID using 'Test configuration'. it is fine.
I am able to see the idoc in receiving system, but it is failing with error
"No appropriate entry found in table TSADOBJ".
I had a check in table TSADOBJ. It contains the entries for BUS1006 (BP Address).
Regards,
Naveen -
Suggestions for File to IDOC Scenario
Experts,
Here is the requirement A Legacy System will Produce the Customer data file and we have to transform certain data and post it to DEBMAS.
As Part of the information in the file there is a field Which could have a value Update,Amend or Delete.
My Question is How do it handle this.
Please give me your valuable thoughts.
Is it Possible to go for File2IDOC here?
Thanks
Vasu.Hi Vasu,
If Customer data file is of type xml then file to IDOC scenario is preferable.
Else you have to convert Customer data file to xml first and then proceed for that you can use content converson feature of File Adapter.
The information for Update,Amend or Delete will be provided by customer or you have to decide it based of data in table?
if it is provided by customer then you can go for ABAP Proxy for that take help of ABAPers.
If you have to decide the Update,Amend or Delete logic.
Then fetch the data from table compare it with incoming data decide the Action and then perform the action this can also be handled in ABAP Proxy.
Reward Points if HElpful
Thanks
Sunil Singh -
hi,
my proxy-to-idoc is working fine and i checked runtime workbench and sxmb_moni,
but the idoc is not see updated in reciever system.
plz provide solution to trouble shoot idoc receiving.
thanks and regards
vijednerHi,
For Your scenario
1) Check in the Sender system(Proxy) at SXMB_MONI, are you able to see the success message or not
2)There by check in XI side in SXMB_MONI for the xml message.If the message is not come means check in SMQ2 of XI and also in IDX5 for the same
3) If the message is there in XI and not come to R/3 means,
check in SM58 of XI for any error entries and also check in SMQ1 of XI
Any one of the above mentioned places you shld see your Message
REgards
Seshagiri -
Error while executing a JDBC to Idoc scenario : No standard agreement found
Hello SAP PI Gurus,
I am having a JDBC to idoc Scenario .And the interface is running at 10 min of duration.
<SAP:AdditionalText>No standard agreement found for ,
BS_EXT_CTBSREPDB, , BS_ERPQAS_QE1_320, http://XYZ.com/FI/FI_FI_01/Charges, FIDCC2</SAP:AdditionalText>.
While i test the configuration...i get an error in reciever agreement as mentioned above.
Can you pls help me in resolving this issue.
Regards,
RaviHi,
I think the problem is with namespace....for IDOC the namespace will be "urn:sap-com:document:sap:idoc:messages"...but in your case it is different.....i.e http:....etc.....please check whether you 've used the same IDOC withe above mentioned namespace in all the configuration objects like interface determination, receiveragreement etc.....
Thanks
Priyanka -
Dear All,
I am working on Idoc-XI-Idoc scenario in which I am getting ORDRSP Idoc in input. In one of its segment I am getting value as either A or B. If value is coming as A in input then in the output we want PORDCR101 Idoc but if we have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for each line item there will be different idocs.
Please guide me on how we can implement BPM in this scenario as required two MM i have created and they are working fine.
Regards,
NJHi,
If value is coming as A in input then in the output we want PORDCR101 Idoc but if we
have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for
each line item there will be different idocs.
For Source = A:
SourceField----
-----equalS ----ifwithoutElse ----then Constant(blank) ---> PORDCR101
Constant(A)---
Assuming that A in input then in the output we want PORDCR101 Idoc means that you need only one occurence of the IDOC
For Source = B:
SourceField----
-----equalS ----ifwithoutElse ----then LineItem ---> PORDCR102
Constant(B)---
Regards,
ABhishek. -
XI 3 File to IDoc scenario - Still referencing Old Logical system
Hi
Dont know if you can help. I have a file to idoc scenario using XI 3 to R/3 4.6c system.
I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
Regards
Danielhi daniel...
this thread wud answer ur query....
Re: IDOC Payload
regards..
vishal -
Issue in IDOC-XI-IDOC scenario
Hi,
We are facing a strange issue in an IDOC-XI-IDOC scenario. We are using a SAX parser to parse the code here.
The error we are getting in 'sxmb_moni' is
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS</SAP:P1>
<SAP:P2>java.lang.RuntimeException</SAP:P2>
<SAP:P3>For input string: ""</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>During the application mapping com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS a java.lang.RuntimeException was thrown: For input string: ""</SAP:Stack>
The strange thing is, when I restart the message, it gets processed successfully. Also, when I copy the payload, and test the same on a different environment, it gets processed successfully.
Would really appreciate some pointers here!
cheers,
PrashanthHi,
This related to mapping error check it once again.Check in Interface mapping Test tab.see the result.check the sxmb_moni and get the source of mapping come back to interfcae mapping and test .
See the below links
Hi I got EXCEPTION_DURING_EXECUTE in RWB->Message Monitoring
I am getting MAPPING EXCEPTION_DURING_EXECUTE
EXCEPTION_DURING_EXECUTE- Error in Mapping. Doubt about IE and AE
EXCEPTION_DURING_EXECUTE
Mapping problem - EXCEPTION_DURING_EXECUTE
ERR: EXCEPTION_DURING_EXECUTE while using FILE CONTENT CONVERSION
Regards
Chilla..
Maybe you are looking for
-
I have three residences, and in each I have an iMac and a MacBook Pro (sixe devices in total, I do not like carrying computers through airports :-)) and I have an iPhoto '11 Library with 3,000 photos+. I know I can use Photo Stream to access recent
-
Brain food for MSI engineers, malware in MSI hardware
Good Morning Everyone, This is for MSI engineers, I will be happy if you can sort out this problem or in any case this email will help you design your systems better in the future. Let me start by thanking MSI engineers for doing a great job, I love
-
F11 Recovery don`t work - error Windows failed to start
After downloading MS updates don`t work administrator password. I try F11 Recovery and see black screen: windows failed to start. A recent hardware or software change might be the cause ... File: \windows\system32\winload.efi status: 0x0000001 Info:
-
Will not print text from PDFs - all other print is fine - Using nitro reader - Win7- HP4255
Will not print text from PDFs - all other print is fine - Using nitro reader - Win7- HP4255
-
Safari launch and Flash problems
Safari seems to crash at random times or not function well with certain Web sites. This is what has been happening so far... 1. It takes about 30 to 45 seconds for Safari to launch. 2. Sometimes after launching, Safari crashes immediately after a bla