ALEAUD to sending system in ALE scenario using XI
Hi,
I have a quite simple ALE scenario with following components;
SAP IS/OIL -> (CREMAS) -> XI -> (CREMAS) -> SAP Retail
I have read both how-to-guides; IDOC-XI scenarios and handle ack. for IDOCs.
By activating the runtime paramter ACK_SYSTEM_FAILURE, XI will send ALEAUD in case of error on XI - this works in a way.
By using program RBDSTATE on SAP Retail - this works in a way.
<b>Challenge 1:</b>
In case of error on XI, the ALEAUD message sent back to IS/OIL doesn't contain neither message type or the referenced IDOC from IS/OIL;
E1ADHDR-MESTYP
E1ADHDR-MESTYP_LNG
E1STATE-DOCNUM
is missing.
<i>Anyone with ideas?</i>
<b>Challenge 2:</b>
The ALEAUD from SAP Retail (using RBDSTATE) is not referring to the right IDOC from the sending system, seems to me that Retail is using it's own number range.
<i>Anyone with ideas?</i>
best regards
Torstein
Hi,
Even I have the same problem.
I have configured ALEAUD in Integration server. When there is an error ( sa incorect RFC Destination of Receiver), an ALEAUD message type iDoc is sent back to the sender SAP System. But i noticed that the iDoc has only data in the segment E1STATE ( with data status, statxtstamid). But the segments E1AHDHR and E1PRTOB are empty.
The acknowledgement idoc doesnt contain any reference to the message( like the message ID) which has gone for an error. It just contains error text.
Could you please let me know how you solved it
Thanks & Regards,
Vani
Similar Messages
-
Regarding Error: Unable to Convert Sender System to ALE Logical System
Hi friends,
in File to IDoc scenario, i created a sender business system called bs_filetoidoc_send based on Standalone technical system and a receiver business system based on ABAP r/3 system. in my SAP IDES system which is dual stack (abap+java), XI client is 001 (LS: devclnt001) and r/3 client is 800 (LS: t90clnt090) i.e i'm posting idoc to t90clnt090.
I tried to send a text file. but while processing xml message in XI, i got an error saying "Unable to Convert Sender System to ALE Logical System".
then i searched the blogs and forum and found the solution. it was saying LS name was not assigned to BS bs_filetoidoc_send. so i went to SLD and tried to assign LS devclnt001 to my sender BS bs_filetoidoc_send, but got an error saying that "A business system with LS devclnt001 already exists". when i checked which is that BS, it is supposed to be the INTEGRATION SERVER itself with BS name INTEGRATION_SERVER_DEV.
then i configured my sender BS as INTEGRATION_SERVER_DEV itself which picked up the text file successfully and also receiver abap server received the IDOC with correct data and format with status 51. so scenario worked fine when i used my sender BS as INTEGRATION SERVER itself.
please clear my following doubts which arose after this scenario.
1) why the scenario didn't work when I used only standalone sender business system?
2) why should we assign a LS name of XI server to sender business system only in this scenario?
scenario worked according to my requirement, but using integration server itself as a sender BS confused though.
Many Thanks.1) I can create any no of LS names using SALE
Yes you can create.
> 2) But I can assign a client to any one of those LS names (or 1 client will have only one LS name associated with it)
One Client will have one LS associated to it...and that can be any one of the LS..created.. use SCC4 to find the associated Ls for all the clients of a system
3) So anyways INTEGRATION_SERVER_DEV has to associated with the client 001 only, so finally I have to use INTEGRATION_SERVER_DEV only as my sender BS. Probleum is that I can't remove the LS name DEVCLNT001 from INTEGRATION_SERVER_DEV and assign it to bs_filetoidoc_send BS right. If I do so, I think I would get an error saying that INTEGRATION_SERVER_DEV is not associated with the LS name of client 001.
As the logical system defined in Partner profile is expected to arrive in Control record of IDoc..it should be passed in that...
Did u checked this blog../people/rajeshkumar.pasupula/blog/2009/03/16/unable-to-convert-the-sender-service-to-an-ale-logical-system so as per you need the explaination in the blog need to associate the logical system name .
HTH
Rajesh -
Unable to convert send system to ALE logical system
Hi Expters,
I am doing FILE 2 IDoc Scenario as follows...
Created 1 BS for sender as Third Party...
Created 1 BS for receiver as WebAs ABAP...
I did everything perfect in IR and ID. But I am getting error in end to end testing. I am placing file in my local drive and the file has been picked up correctly.
And also I can see my Logical System name in ID(Adapter Specific Identifiers) towards my receiver BS. But There is no logical system is displaying for the sender BS in ID.
Still I am getting Error: Unable to Convert Sender System to ALE Logical System...
I have followed blogs and wikis but not successfull...
Do needful in this regard...
Regards,
Basha.Hi,
Refer this link
/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
Problem Unable to convert the sender service to an ALE logical system
http://wiki.sdn.sap.com/wiki/display/XI/UnabletoconvertSendersystemtoALElogicalsystem
Regards,
Nithiyanandam -
Can anyone plz send me a sample scenario on ALE using BAPIs.
It will be still helpful if the scenario is from HR module.
Thanks,
Srinu.Hi,
Please check this link on how BAPI works with ALE.
http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0eb7725311d396a80004ac96334b/frameset.htm
Hope this will help to start with.
rewards if it helps u
vijay pawar -
How to send Org data from sender system thorugh ALE inbound switch
Hi All,
Could anyone please provide some input for sending the Org Data through ALE inbound switches.
The requirement is to make changes in the distribution model BD64 so that the org data will not be passed in the filter criteria. And when we execute PFAL then the Org data should flow directly to the receiver system through ALE switches.
Thanks in Advance.Hi,
So first you need to set your distribution model in BD64 (create model views and add message type). Please refer to note 312090 to set your filter settings. After this definition, we have to distribute the source system into the target system (Edit > Model view> distribute). In the target system, we have to generate partner profiles (environment> generate partner profiles).
So you have to create Partner profiles (transaction WE20). The best way is to define for outbound and inbound parameters into source system and target system with message type HRMD_A.
In the source system, we have two options :
-Transfer IDOC immediately
-Collect idocs
In the target system, you have also two options:
-Trigger by background programu2026 means that once datas are distributed, we have to run RBDAPP01 to process them.
-Trigger immediately (do not have to run any program)
Then after setting this distribution model, please review the way to distribute HR datas :
1- Using transaction PFAL, sending the objects C, O, S successively in Update mode with the infotypes 1000, 1002 and 1028 only, without using evaluation paths (all existing objects).
=> The objects will then be created without relationship, and no error must be reported.
2- Using transaction PFAL, sending the object P in Update mode.
=> As the structure objects are already present, no error message must be generated. If some are, please analyse them, and correct them before the next step.
3- Using transaction PFAL, sending the objects C, O, S successively in Update mode (without restrictions, or only the infotype 1001).
=> The relationships which were not sent in step 1 are then distributed.
4- The changes pointers can now be activated and processed, as the initialization has been done (steps 1 to 3).
Please also check note 550055 for further information,
Hope it helps,
Kind Regards
Christine -
Below is the i/b idoc scenario:
Sender of Idoc sys1
Receiver of Idoc sys2
I have maintained base logical system in sys2 as 'LS1' and assigned it to client 201.
Now, when i define a logical system for sys1(sender) in sys2(receiver), do I have to assign it to any client?
thanks,Hi
You have to assign it to client
check this following procedure
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
STEP 1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
-System Name : ERP000
-Description : Sending System
-System Name : ERP800
-Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
-Client : ERP 000
-City :
-Logical System
-Currency
-Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive
to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
STEP 3) Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
STEP 4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
STEP 5) Goto Tcode BD64
select the modelview
goto >edit>modelview-->distribute
press ok & Press enter
STEP 6) goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
STEP 7)goto Tcode : BD11 for Material Receiving
Material : 100-300
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Please check this site regarding ALE.
http://www.thespot4sap.com/Articles/SAP_ALE_Introduction.asp
Reward all helpfull answers
Regards
Pavan -
Sample scenarios using JMS Adapters
Hi Experts,
Can anyone send me sample step by step scenarios using JMS adapters e.g one scenario using JMS in the sender side and another scenario using JMS in the receiver side.
Thanks
AyanMost of the job is to be done in the Channel Adapter module for content conversion.
There's much more documentation about the File Content Conversion but most of it apply to JMS.
Can you be more specific in what you're looking for?
Content Conversion:
http://help.sap.com/saphelp_nw04/Helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Martin -
BPM--cannot convert sender logical system to ALE
Hi
My Scenario is file-bpm-idoc.. Where i am getting an error saying "cannot convert sender logical system to ALE" for the BPM.
i tried entering the logical system for the BPM in adapter specific attributes but it says logical system is already being used by some other service..
So i tried header mapping in receiver agreement now the messages are failed at the intital stage before entering the BPM only only saying cannnot find recvr agreement..
My sender system BS_EXT_100
BPM IP_calldoc
Recvr system BS_EDCR/3_200
i did the header mapping for recvr agreement of BPM by selecting the sender service and entering "BS_EXT_100"
Where am i going wrong...solved it myself.. Thanks
-
ALE IDOC to XML IDOC scenario using XML port
Hi,
I am working on ALE IDOC to XML IDOC scenario using XML port . The requirement is to place a XML IDOC on the application server using ALE IDOC scenario ( output type is created in NACE which is ALE enabled ).
Can anybody help me on the steps.
Regards
Kumar
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Sep 8, 2011 6:01 PMU can give a try as follows.
In the Partner Profile of Sender R/3 system,
Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
In XI, Party Definition of P_Party
Give the following Alternative Identifier
Agency - Sender R/3 Business System
Scheme - ALE#GP
Value - P_Party -
R/3 to PI using RFC Sender Adaptor as Asynchronous scenario
Hello Folks,
RFC Adp. SOAP Adp.
ECC-->XI--
>ARIBA
I am new to PI and doing a scenario mention above. we are using RFC sender adaptor to send the data to XI in asynchronous process.
I have config the Sender comm. channel as below.
Appl. Server(Gateway): My Ecc Server host name
Appl. Server Service (Gateway) : My Ecc server
Program Id : XYZ.
Note : while creating the the Service interface and Message mapping and Operation mapping I am using the RFCname.respone message type is that ok in asynchronous process?
And then I went to ECC in Tcode SM59 and created a RFC destination of type TCP/IP
and put the same information as given above and test the connection which is working fine.
I have created a FM at ECC end make it remote enabled. and calling the FM in back ground task using destination in a Work flow code.
When I run the Work flow code It ran successfully but i went to XI side there is no msg in the SXMB_MONI.
Then i went to the component monitoring->Adatptor engine>Comm. channnel Monitoring and found that under my RFC sender comm. channel there is an error msg saying
Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'BS_ECC', toParty '', toService '', interface 'YFPS_MM_I_0242_PO_APPROVAL_OUT', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_0242_PO_Approval_RFC_Sender' (channelId 19585252a58335ee871e4c3a771b027f)
Where as i have checked that in the sxi_cache t-code there is a sender agreement for my scenario under the sender agreement tab.
Please Help me in this to resolve the above error. I am totally stuck at this point.I would really appreciate a quick answer.Appl. Server Service (Gateway) : My Ecc server
Confused with this statement.....
it should have the format sapgwXX ....
XX is the system number which comes from the j2ee port mentioned in the XI homepage URL
http://<hostName>:5XX00:rep/start/index.jsp
How to configure sender RFC adapter...check this blog:
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1438
Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:
senderAgreement not found:
Sender Agreement is Expected in this communication which does not seem to be present in ID....create sender agreement using the RFC communication channel....
Regards,
Abhishek.
Edited by: abhishek salvi on May 2, 2009 1:24 AM -
XI scenarios using Sender RFC Adapter
Hi Forum,
I am eager to know what kind of XI scenarios use sender RFC Adapter, can u give an example,
does this mean........executing a RFC in a R/3 system and the result of the execution goes to XI.....or,
does this means, like a sender JDBC Adpter, from XI, triggering execution of a RFC on a R/3, and getting back the result into XI............
can i have a step by step blog to create such a scenario....
thanks and regardsHi Sudeep,
Sorry for late reply.
Yes the 2nd reply was for receiver RFC.
1. As i mentioned To configure Sender RFC you need TCP\IP connection. in that connection you will use the option registered server program and will mention a program ID there.
2. Sudeep just remember, please configure RFC sender on XI side first and give a Program ID there, gateway service, host and login of your R3 system. Program id can be any string your name also. and please dont forget to activate the channel before going to R3 side.
3. Then configure RFC in R3 side, and mention that same program id. mention your gateway host as R3 name or IP and you can get the gateway service from Tcode smgw. it must be something like smgw<xx>.
and for ur information the program id is nothing but an identity on which basis the R3 system will search that which server object is active using that program id.
4. when you will write a report to execute that RFC in background, use Commit work as last statement.
Please let me know if you want any further information.
Rewrds if found helpful,
Regrds,
Alok -
Integrtion Scenario using BPM with two sender and multiple receiver
integrtion Scenario using BPM with two sender and multiple receiver
How many Application Components are required?Hi Vinod,
1) In integration repository you can have one or many software components it depends on your landscape orchestration
2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
also each connection between systems and bpm must have receiver determination and so on.
Advice: Please treat BPM as a separate system.
best,
Wojciech -
One Sender system and two receivers system scenario. Pls help
Hello,
I have One Sender system and two receivers system scenario.
My sender is RFC (sync) in nature.
My one receiver is RFC (sync) in nature.
My second receiver is RFC (sync) in nature.
Pls tell me and send me links/docs for this scenario.
RegardsHi Rick,
For two receivers you require 2 interface determination, receivers determinations etc.
Go through these threads for one sender and multiple receivers:
one sender and two receiver
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
Then configure your RFC communication channel in XI system + activate it and after that using all same parameters make an TCP/IP RFC destinatioon on R3 side.
Rewrads if found helpful.
BR,
Alok -
I have One Sender system and two receivers system scenario. Pls help
Hello,
I have One Sender system and two receivers system scenario.
My sender is RFC (sync) in nature.
My one receiver is RFC (sync) in nature.
My second receiver is RFC (sync) in nature.
How to proceed with this.
If my second receiver is async then how to proceed with this.
RegardsHi Rick !
Depending on your requierements, you can create a BPM that
1) receives request from sender
2) sends request to receiver 1 / receives response from receiver 1
3) sends request to receiver 2 / receives response from receiver 2
4) do some processing with both responses
5) sends response to sender.
If your second receiver is async, just use an async send step in step 3. As far as I know, you cannot use multimapping with sync scenarios.
Regards,
Matias.
ps: please award points if helpful -
The problem is with the new operating system and sending photo via email when used in my iPad.
From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
Can you amend he system to allow emails to be sent from photo as previously.Have you tried restarting or resetting your iPad?
Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"
Maybe you are looking for
-
How can I unit test my Swing application?
Hi All, In my application I came across a situation where I have to automate the unit testing of my application. Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame. Can any one please help/suggest
-
CUSTOMER AUTO CLEARING F.13
Hi Friends, Presently I am facing one problem Customer auto clearing F.13 My client scenario is first they post the Credit memo because they might be having sale returns on earlier sales In the invoice they mapped that credit memo no. in Reference
-
Can't get Java 6 to work correctly
I am probably in the wrong place here, and for that I apologize. We use a program at our school called Power School. In order to enter student marks, one accesses a page which is generated by Java. Since I purchased this new computer, I have been una
-
To reduce execution time of CJ30,CJ32,CJ36,CJ35,CJ40
Dear experts, We are having about 500 WBS under one Project definition , when ever we try to allot budget in CJ30, Release budget in CJ32, give supplement , withdraw amount from any of the WBS it takes lot of time ( around 2-3 hrs for each ). please
-
Newbie - an infinite loop, unable to identify original message.
Please help, I'm running a simple program, calling a new 2-line idiot-proof method I created. When the program executes, my screen fills up with a message showing the line in my program where the loop occurs -(at CLASS.METHOD.LINE ) obviously the 2nd