on 11-11-2010 3:55 PM
Dear experts
I ask for your help and ideas to the following request on SAP PI 7.11.
I receive data from a FTP legacy system and need to create an IDoc. Within the mapping I need to perform a RFC to the Target-SAP-System (ERP), because I need some informations from there for creating the IDoc. The RFC function module requests a table as input and returns another table, which I need to use for creating the IDoc.
In the past I realized scenarios like this with ABAP-mappings (parse inbound message -> call function x destination erp -> build IDoc). For some reasons I do not want to do this with ABAP mappings.
I think the best way would be a Java-mapping. Since I am developing in Eclipse the RFC should also work outside the PI.
1.) How can I perform this?
2.) Shall I use JCo in the Java-mapping? How is this done?
3.) Do you other better ideas?
Thanks in advance
Markus
R u callling RFC and posting IDOC in the same ECC Box.
If yes then in that case u can use Inbound proxy scenario - Once u received the data in ECC through inbound proxy u cal RFC FM and get the required data from RFC and then post the IDOC using inbound using associated process code and FM in R3.
In this case u dont have to Do any RFC look up from PI mapping which will avoid additional step of sending data to RFC and getting responde. which will avoid processing time.
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I registered and activated the queues. Now the messages have been processed but are in status System Error. I think I will be able to fix this.
Regards
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now I can see the XML messages in transaction SXMB_MONI / SXI_MONITOR of the ECC. The problem is now, that they are in status scheduled and are not processed.
Does anybody have an idea?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Chirag and Markus
First of all many thanks for your suggestions. I did not think about using a proxy scenario but I think this would be a very smart solution. I am already working on the proxy scenario but I still have some configuration issues. If there are any news or additional questions I will post them
Best regards
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
as Chirag has said - if can replace the IDOC with a proxy call you could do that because its less complicated then a IDOC with RFC.
But if you still need it, from PI 7.1. you have the RFC Lookup function available in Graphical Mapping.
This is a function that allows you to get data from other systems by RFC which you require to MAP your IDOC structure.
If you need more information on this, let me know.
best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.