File to IDOC 4.6c (ORDERS05.ORDRSP) PI 7.11
Im reading a file through the PI file adapter and writing it to the IDOC adapter into 4.6C.
I have overwritten MESTYP in mapping in the EDIDC40 to (ORDSP) but when the IDOC is received in 4.6 the message type displays as ORDERS not ORDRSP and so the Partner Profile doesnt trigger.
<ORDERS05>
- <IDOC>
- <EDI_DC40>
<IDOCTYP>ORDERS05</IDOCTYP>
<MESTYP>ORDRSP</MESTYP>
Any help would be appreciated.
Fellas,
I am having issue with ordrsp idoc.
Currently we are receiving ack from third party for order changes. PI is configured to get idoc xml using HTTP service configured.
After PI gets the xml it calls idoc adapter to create idoc in r/3 system.
ORDRSP.ORDERS05 IDOC is already imported in PI and PI pushes it to r/3 via idoc adapter service. This interface is working in production fine. However recently sterling have started populating another control field which is <MESCOD>. R/3 is creating the idoc but not populating this particular field (MESCOD).
Their is no message mapping in PI to populate any fields. Data comes from 3rd party via HTTP and gets processed using IDOC adapter. Not sure why MESCOD is not getting populated.
Looked at message arriving in PI and can clearly see MESCOD field getting populated with right content.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <ORDERS05>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>011</MANDT>
<DIRECT>2</DIRECT>
<IDOCTYP>ORDERS05</IDOCTYP>
<MESTYP>ORDRSP</MESTYP>
<MESCOD>WEB</MESCOD> -
>>
<SNDPOR>SAPP1C</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>EDIGATEWAY</SNDPRN>
<RCVPOR>SAPR1C</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>R1CCLNT011</RCVPRN>
<CREDAT>20120213</CREDAT>
<CRETIM>000242</CRETIM>
</EDI_DC40>
Can someone please guide why would this one field not get populated when IDOC gets created in R/3 system..
Please help..
ta,
Jas
Similar Messages
-
Flat file with IDOC structure on sender side - how to convert
Hello,
I have a flat file with an IDOC structure in it, like produced from R/3.
Example:
EDI_DC40 4000000000000761577620 3014 ORDERS05 ORDRSP SAPR3P LS LS_R3P_302 DATEIPORT2KMBG0000019887 20061206095508 20061206095508
E2EDK01005 400000000000076157700000100000001004 EUR 1.00000 0039 DFUE0000543012 12Muenster/Weststr.0000019887
E2EDK14 40000000000007615770000020000000200630
E2EDK14 40000000000007615770000030000000200710 ......
I need to send this file via XI to an R/3 system as an ORDERSP IDOC.
My question is:
What is the easiest way to do this?
My intention is to us a self programmed mapping!
Best regards
Dirk
nullHi Shabarish,
I found a sinple solution:
File adapter picks up file from external drive
Receiver adapter saves it on XI server directory
We21 can pick up now from here!
But, next problem:
When trying to save the file port in We21 (like described in the guide) I get a message: Port incomplete, not possible to save! (mess. is green -> information).
But I cannot save the port. What is wrong?
Hm, possibly reason was that inbound and outbound file name was the same! Now its OK! Port is created!
Regards
Dirk
Message was edited by:
Dirk Meinhard -
Hi,
in one of my scenario i am sending data from CSV file to idoc(ORDERS05).
I have created on third party Technical System and assign business system and logical name(XYZ) for business system.
I have done FCC in sender CC.
Sender Partner Type is KU.
in receiver system i need to do in bound configuration for Sender Partner Type KU?
From where i created Partner Profile for KU.
regards
Mohitcheck this blog this might help u:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47?quicklink=index&overridelayout=true
also look at the same:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660?quicklink=index&overridelayout=true
U can create partner type KU from We20 tcode in R3.
chirag -
Hi All,
I am doing File to IDoc scenario( Bypass) for Orders05.
File is picking succesfully and not posting the idoc in the SAP..
My source file(idoc-xml) consists of all the required data to post the idoc including the segment 'E1EDK01'.
but the error it is showing is <b>" Obligatory node 'E1EDK01' missing in the structure ORDERS05 "</b>
Please suggest me ASAP what is going wrong .
Thanks in Advance.
Regards
Seema.The source File is not the idoc XML. It is invalid. You might need to ask the source to change the XML or use a Mapping to do this.
This is how it should look, ( check the parts in bold),
<?xml version="1.0"?>
<ORDERS05>
<IDOC <b>BEGIN ="1"</b>>
<EDI_DC40 SEGMENT="EDI_DC40">
<DOCNUM>1</DOCNUM>
<DIRECT>2</DIRECT>
<IDOCTYP>ORDERS05</IDOCTYP>
<CIMTYP></CIMTYP>
<MESTYP>ORDERS</MESTYP>
<SNDPOR>XXXXXXXXX</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPFC></SNDPFC>
<SNDPRN>XXXXXXXX</SNDPRN>
<RCVPOR>XXXXXX</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPFC></RCVPFC>
<RCVPRN>XXXXXXXX</RCVPRN>
<CREDAT>20070511</CREDAT>
<CRETIM>152803</CRETIM>
</EDI_DC40>
<E1EDK01 <b>SEGMENT = "1"</b>><BELNR>AAAAAAAAA123</BELNR>
</E1EDK01<b>SEGMENT = "1"</b>>
<E1EDKA1 ><PARVW>EK</PARVW> <ILNNR>231654845121</ILNNR>
</E1EDKA1>
<E1EDKA1 <b>SEGMENT = "1"</b>><PARVW>LF</PARVW>
<NAME1>international</NAME1>
<NAME2>Delhi</NAME2>
<ILNNR>2121211545</ILNNR>
</E1EDKA1><E1EDK02 <b>SEGMENT = "1"</b>><QUALF>001</QUALF>
<BELNR>AAAAAAAAA123</BELNR>
</E1EDK02><E1EDK02 <b>SEGMENT = "1"</b>><QUALF>002</QUALF>
<BELNR>AAAAAAAAA123</BELNR>
</E1EDK02><E1EDP01><POSEX>45</POSEX>
<E1EDP19 <b>SEGMENT = "1"</b>><QUALF>001</QUALF>
<IDTNR>00000000002150059</IDTNR>
<KTEXT>Reddy</KTEXT>
</E1EDP19><E1EDP19>
<QUALF>003</QUALF>
<IDTNR>5484218521214</IDTNR>
</E1EDP19></E1EDP01>
</IDOC></ORDERS05>
Regards
Bhavesh
PS : You need to add SEGMENT = "1" for every segment. Please do add it if I have missed in the XML above. -
Hi All,
File to Idoc:
Sender :
Party : PT_ABC
Business Service : BS_ABC
Note : I provided the LS name(PARTABC) for BS_ABC Under Adapter Specific identifiers.
Receiver :
Business system (Without party) : BS_DEV_R/3
In the IDOC receiver communication channel, I enabled the options
-Apply COntrol records from Payload
-Take sender from Payload
-Take Receiver from Payload.
Note : When i won't enable the above three options in IDoc RCV channel... Message is not processing and showing error as "Unable to convert the sender service BS_ABC to an ALE logical system..!"..
File is picked and message processed and when i checked in SXMB_MONI,Idoc control records are showing clearly like below.
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<DIRECT>2</DIRECT>
<IDOCTYP>ORDERS05</IDOCTYP>
<CIMTYP>ORDERS05</CIMTYP>
<MESTYP>ORDERS</MESTYP>
<STDMES />
<SNDPOR>SAPDPI</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>PARTABC</SNDPRN>
<RCVPOR>SAPDL1</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>DEVSAP</RCVPRN>
</EDI_DC40>
But the Idoc is reached to R/3 with status '56' .And in the control records.. the receiver port (SAPDPI) is missing.
I dunno what happened.When i cross checked, the remaining interfaces are working perfectly.
Any idea whats going wrong?
Regards
Deepthi.As a matter of fact it is not strange at all:)
It means you need to check the partner profile in the receiving r/3 system. This type of problem occurs because you need to define the partner profile PARTABC to the IDOC ORDERS05. If this association is missing you would always see the RCVPOR missing in the destination system.
Also you have mentioned that "Note : When i won't enable the above three options in IDoc RCV channel... Message is not processing and showing error as "Unable to convert the sender service BS_ABC to an ALE logical system..!"..
This is because for the BS_ABC sender service you must have a logical system associated; you can check the same by looking at the adapter specific identifiers. In your case I believe it is empty so the system can't find the logical system for it.
Thanks
Abinash -
Help in creation of XML file for IDOC postings
Hi All,
Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
We have an existing input file, which is working correctly. We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability). This tax code is working fine for manual postings. But, through IDOC, tax postings are not correctly triggering.
Could you please confirm if any one has experience on this, so that I can share more details for resolving.
Thanks & Regards,
SriniHello,
you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
Regards Otto -
Hi
I am developing an scenario of file to idoc.
My problem is, when it is generating the idoc in target system, the Parner Number in control record is filling with the logical system name given when creating the business system.
I tried changing the logical system name with actual partner number which I want but giving an error ' The selected integration server already has a business system with logical name "pidclnt001". Select a different integration server or change the logical name. '
Can anybody advice me, is it not possible to create two scenarios to send same Idoc to same system ?
Regards,
ShyleshHi Shylesh !
You need to enable the header mapping option in your receiver agreement to overwrite the Logical System name that is sent to the R/3 destination system...which now is the Logical System name linked to your sender system (info is in SLD if is a business SYSTEM or in the Adapter Specific identifier attributes if it is a business SERVICE)
You cannot have more than 1 business service/system with the same Logical System name...but you can overwrite the sender logical system name that arrives to the destination R/3 system using the header mapping section of the receiver agreement as noted above.
Regards,
Matias. -
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 -
File to Idoc OR File to AbapProxy
Hello,
Let me expose my problem.
In fact, I need to integrate new Goods Movements sent by a non-Sap system to ECC system.
To do that, the non-sap system sends a file.
Then, I need to generate from this file an Idoc (MBGMCR), fill this Idoc with some extra data (from Ecc tables) and then to integrate it into ECC.
The question here is to find the best solution (according to performance and feasibility) to do that using PI (7.0).
We are hesitating between two scenarios:
1- File to Abap Proxy
We get the data sent by an abap proxy, and then we complete it with the necessary extra data from ECC tables in order to create complete the Idoc segments.
In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
Even, using PI will be a waste of performance/time (due to mappingu2026)
2- File to IDOC
This alternative looks more interesting (at least in the PI way).
But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
For example, the file contains Orders headers and I need to generate Goods Movements for the materials contained in the orders. So I need to access Orders posts, to retrieve the materials data.
Is there a way to retrieve simple information in PI using ECC data?
Any other suggestion/comment is welcome.
(Any other scenario is also welcome)
Thanks you in advance.
Saber L.
SAP PI consultant.
Edited by: LMS LMS on Nov 7, 2008 10:24 AM
Edited by: LMS LMS on Nov 7, 2008 10:25 AM
Edited by: LMS LMS on Nov 7, 2008 10:25 AMABAP proxy would improve performance in terms of providing adapterless communication.
In this case, I canu2019t see the need of SAP PI because we could have just basically read the file directly with ECC.
Making a direct connection would increase point to point connectivity across the organization whose reduction is one of the reason why XI is used.
If ur communication is async and u have the idoc structure ready, then u may proceed with Idocs.
But this scenario may lead to the following problem: there are a lot of fields not filled by the data coming from the non-sap system (even whole segments).
If you want to prevent the node from getting generated, simply disable it in mapping.
I hope u have seen this
Choose the Right Adapter to integrate with SAP systems
Regards,
Prateek -
Message has error status at outbound side File To Idoc Scenario
hi ,
In my File to Idoc scenario , when i go to sxmb_moni , i found that its showing red flag at Outbound Status Tab and showing message "Message has error status at outbound side".
When i go to IDX5 and and select my idoc and click on Transaction Id it shows "Password logon no longer possible - too many faile" .
Please suggest what may be the problem ?
Regards,
Rohit1. First check the RFC destination name used in receiver Idoc adapter communication channel.
2. As i said earlier, in sm59 transaction in XI gui, u can check same rfc destination under type 3. There check the logon credentials and the username.
3. Now goto the R3 system GUI and check in su01 that same user is locked or not. If locked unlock it.
4. And if u change the password of that user, then do the similar change in XI -> sm59 -> rfc destination logon credential
Regards,
Prateek -
Error in File to IDOC Scenario
Hi,
I have File to IDOC scenario.
I am getting error in sender file channel.
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
Despite of this error in sender channel I am receiving the message in XI.
But in XI also it throws error :
"Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
Any help on this ?
Thanks,
VikasHello Vikas,
I am getting error in sender file channel.
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
Check your flat file structure whether the key field you have chosen is appropriate and also recheck the FCC details whether you have assigned the value for the key field i.e. keyFieldValue.
"Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
regarding the above error refer this
https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
Regards,
Prasanna -
Error in file to idoc scenerio
hi
in file to idoc scenario
i got error in sxmb_moni
in status it is showing recording,
in Q.status it is showing stop symbol.
waiting for suggestions.Hi Sandeep,
Have a look at queue problms here
/people/prashanth.azharuddin/blog/2006/11/24/some-errors-in-an-xi-production-environment
Some additional help
Q.Status is "Queue stopped"
queue status is stopped
Regards,
Prateek -
Error while doing a File to IDOC scenario
Hi Experts,
I have created a File to IDOC scenario where in i have sent a file which has to pass data to ABSEN1 IDOC.I could see the IDOC reaching R/3 ,but with the status 56: "EDI: Partner profile inbound not available"
I have checked with all the configurations and couldnt find where it went wrong.
Kindly help me in this regard.
Thanks.Hi
Check the inbound parameter and the process code.
To find Process code for IDoc use Tcode WE42.
ALE idoc trouble shooting use
Troubleshooting of ALE Process
look also this configuration
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34 -
FILE to IDOC SCENARIO NEED MANDATORY FIELDS IN MATMAS IDOC
Hi
I'm learning a scenario like File to Idoc which is i need some what are the mandatory fields for creting the message mapping.. between source file and MATMAS IDOC... because it was showing several fields.
is there any way to find out the fields we need to map compulsory... for sending IDOC successfully.
Thanks
BabuHi Babu !
Log into the R/3 system, transaction WE60, enter the idoc type MATMAS01 or 02, 03, 04, then press F8 or go to Documentation menu, HTML Format.
It will display a document, telling you which fields are optional and which mandatory.
Regards,
Matias
PS: please award points if helpful. -
Hi,
While working with File to IDOC, How can we know what are the mandatory fields that need to mapped?
Regards
Krishna.Hi,
I want to know the mandatory fields before I import the IDOC into XI, so that I can mention those fields in my source structure.
So, how can I know that?
Regards
Krishna.
Maybe you are looking for
-
How can i make shared librarys say home sharing
I have two computer and usually can download music from one to another but now it won't let me it just says shared library? Ho w can i make it say home sharing again
-
I'm using the ipad 4 why can I not install free apps it tells me there is a billing problem
I'm trying to install free apps from the apps manager but it won't allow me to install them as its saying there is a problem with my billing information. I have purchased items from the iTunes Store many times using the same information.
-
VAT Registration number in FB60
Hello SAP experts, May any body advise me how can I get Vat registration numger in FB60 automatic from Vendor Master(I hope it should) I am not seeing Vat registration number(field is in display mode) in FB60 while doing invoice for the vendors where
-
Firefox is ignoring the Applications Options
In Tools > Options > Applications i have set Firefox to open Adobe Acrobat Document application/pdf files in "Adobe Acrobat (in Firefox)". However, when i open a pdf it opens it in the browser in Foxit Reader. If i then disable the Foxit Reader plugi
-
In Crystal Enterprise - how do I email if no records exist
I havea report thatis an exception report. It is a daily import into another table by a 3rd party. I run the report daily to test to see if there are no records. If there are records in the report, then I do not want to email the report, however if