Mapping Control record?
Hi all,
iam doing File to idoc Senario and i need to map control record,How to map the control record.
regards,
phani
Hi Venkatraman,
if you want to control sender (and receiver) of an IDoc message by mapping, check "Take sender from payload" (and "Take receiver from payload") on. Map the fields of EDI_DC40:
for the sender:
SNDPRN (Sender Partner Name)
SNDPRT (Sender Partner Type)
and the receiver:
RCVPRN (Receiver Partner Name)
RCVPRT (Receiver Partner Type)
RCVPOR (Receiver Port)
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm">Configuring the Receiver IDoc Adapter</a>
Regards,
Udo
Similar Messages
-
Cannot map control record values from payload w/XSLT after SP13 upgrade
Hi!
Since we upgraded to SP13, the mapping of control record values form the XML payload to the IDOC control record (File->XI->IDOC scenario) no longer works if the mapping is done via XSLT. It works if the XI graphical mapper is used. The XSLT used is the same pre and post upgrade, but worked fine previously.
[ Apply Control Record Values from Payload is checked in the IDOC adapter comm channel. ]
Has anyone else experienced this? Am looking for any inspiration
Cheers
DuncanAre you sure the xslt file is still there?
Maybe some non-compliance was corrected in later SP and your XSLT was using that non-compliance.
If you post the XSLT we could try to point out any possible errors.
Regards,
Henrique. -
Mapping of Control records in file to idoc scenario
Hi,
In the mapping part of file to idoc scenario is it necessary to provide the exact control record details
or will it pick what ever is mentioned ? Can any one please explain regarding the same?
Many Thanks,
Sharathhi,
in case of apply control records from payload
It is indeed very simple to do it and the feature is available from SP10. I have seen lot of posts on the forum for the same and that is the reason for this blog. We can manipulate the control record in the mapping editor and map the EDI_DC40 segment of Idoc as required. Most of the times we need to map only SNDPRN, RCVPRN, SNDPRT, RCVPRT for posting Idocs with appropriate partner profiles in SAP R/3 destination systems. We can disable the rest of the fields as shown below. We need to manually change the control record of idoc for populating partner profiles in the control records while dealing with non-sap sender system, which will be used by receiver SAP system for posting idocs with appropriate ALE configurations.
check this blog
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
regards
chandra -
Changing IDOC control record by XSL Mapping
Hi,
I am using scenario: legacy -> XI -> R/3.
In the first step I am mapping XML -> IDOC. I have to map the field "SERIAL" in idoc control record in EDI_DC40 (idoc control record structure) with a constant. When I view the message in XI monitor. I cannot see the change and that field is not visible as before.
Any suggestions would be highly appreciated !
Regards,
FaiqHi,
If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
MESCOD
MESCFT
TEST
EXPRSS
STD
STDVRS
STDMES
SNDSAD
SNDLAD
RCVSAD
RCVLAD
REFINT
REFGRP
REFMES
STATUS
DIRECT
OUTMOD
CREDAT
CRETIM
You can change the contents of only above fields by using a mapping and getting it replected in the SAP System.
Regards,
Bhavesh -
Idoc control record DIRECT field mapping
Hello,
I have a file to idoc scenario where the receiver system is an external one.
I have the necessity to set in the outbound idoc control record DIRECT = 1.
The XI system is XI 3.0 SP 19 and I've set up the mapping of the idoc control record in the message mapping and selected Apply Control Record Values from Payload and Take receiver from Payload in the Receiver Communication Channel but the idoc is still generated with DIRECT = 2.
In the documentation the field DIRECT is listed as one that will be filled using the message mapping if Apply Control Record Values from Payload is selected.
How can I generate an idoc with DIRECT = 1?
Regards,
ElisaHello Punit,
I know that logically the right value should be 2 but the request of the receiver system is to have it as 1.
They only elaborate the idoc they receive with DIRECT = 1 (outbound).
In SAP documentation the field is listed as one that can be mapping with the message mapping but the idoc adapter is ignoring the mapping even when the Apply Control Record Values from Payload is selected.
Regards,
Elisa -
Why control records disable in mapping for idoc communication?
Hi, In the mapping we disable conrol records in file to idoc ...why is their any specific reason..>? plz respond me soon..accurate question reward more..thanq
Hey,
EDI_DC40 contains the data about control records.
Before the message leaves the Integration Server, the message header contains values that are exported and used later to complete the IDoc control record.
Adapter populates it runtime.
Correct me if i am wrong
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b> -
IDOC control record mapping - Sender Partner number defaulted to log. sys.
My PI scenario is file to IDOC scenario.
I have ticked "apply values from payload" checkbox, so Sender Partner Number is being defaulted to logical system assigned to my business system.
Logical system name has to be unique in PI. My understanding is that I can not have more than 1 business system with the same logical system assigned to it.
In SAP, I need to have idocs, coming from different businees systems through PI, set to have the same sender partner number,
which is not possible when "apply values from payload = 'X' and messages are coming from different business systems.
Calling all PI Gurus, have you got a workaround ?Hi,
Idoc will be processed in SAP ECC based on the sender details (snprn,sndpor,sndpfc...) of idoc control record..
instead of different partners name sending in the sender details of control record ...pass the value of the PI logical system name in SNDPRN.... (use only one and this is common for all partners...) any how data records of idoc will have the needed partner details...
In SAP ECC you need to have this logical system ...to process the received idocs..
thats it... Hope you got
Regards
Rajesh -
How to handle the control records in case of file to idoc scenario.
Hi All,
can you please clarify me how to handle the control records in case of file to idoc scenario.Hi,
In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
Regards
Seshagiri -
Populating MESFCT and MESCOD in IDOC control record through XI.
Hi Experts,
I want to map only MESFCT and MESCOD fields to IDOC control record as i see help.sap.com and all forums this part in XI is very confusing, as mentioned in the below thread i disabled all the mandatory fields(which are in red color) in the EDI_DC40 and mapped MEDCOD and MESFCT with constants and in IDOC receiver adapter (Communication channel) i have checked the option (Apply Control Record values from Payload) , now i can see both the values MEDCOD and MESFCT in XI payload, however I'm unable to see them in the target (ECC 6.0) system
Threads Used:
/people/sravya.talanki2/blog/2005/12/02/manipulating-idoc-control-records-from-payload
/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
SAP Note : 728792
Target System
WE09
IDOC control record structure.
Under Typinfo tab:
Message Varient : <Still Empty>
Message Function : <Still Empty> not populated from XI payload.
Any guess ??? will there be any configurations required from ECC point of view to populate these values from XI payload.
Thanks in advance
Kelli.You mentioned that the payload values are visible post mapping during runtime so ,
Try to edit the IDoc adapter once again and ensure that
you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter
Activate the adapter and try again. -
Error values in Idoc Control Records in File to Idoc Scenarios
Hi All,
I am posting 2 different types of Idocs in 2 different File-to-Idoc Scenarios. In many cases both these files may get picked at the same time. One is an Orders Idoc and the other one is Shipment Idoc. The Orders Idoc has a control record value in the Sender Partner Fn as 'ZC' while as for Shipment Idoc that value is not passed. The other Sender parameters are passed and are different for both these idocs. But when the files are processed, the value 'ZC' get populated for the Shipment Idoc also. When 100 files are sent with 90 orders and 10 shipments, the shipments get created with 'ZC' partner fn. This is visible in the Call Adapter Pipeline Step under the node IDocOutbound. . I have 2 different Idoc receiver adapters.Can anybody help me out here?
Thanks,
GeethaHey,
>'ZC' while as for Shipment Idoc that value is not passed
Check whether the Source/ Mapping populates the 'ZC' , Did you checked Apply Control record in Receiver Adapter for Shipment, What is the name you have mentioned for the in the SLD -Logical system for Sender system
Cheers
Agasthuri -
Change the info. in control record?
hi...
how 2 change the information in control record?Not in ALE?
bye.you can use the various options in the IDoc adapter and change the info in the control record.
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
The options like;
1. <b>Apply Control Record Values from Payload</b>
If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values.
<b>Take Sender from Payload</b>
If you want to take the sender of the message from the payload and not from the configuration information in the Integration Directory, set this indicator.
If you do not set the indicator, the information is taken from the configuration in the Integration Directory.
<b>Take Receiver from Payload</b>
If you want to take the receiver of the message from the payload and not from the configuration information in the Integration Directory, set this indicator.
If you do not set the indicator, the information is taken from the configuration in the Integration Directory.
To know more abt the control records, ref: http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm -
Receiver partner type in control record is default"
Hi all,
I am Getting 56 Error"Receiver partner type in control record is default".
When I go to that perticular IDoc under control record under parter tab I am providing "PARTNER TYP" AND PORT.When I save these details th idoc is getting posted.
The port ifo is present in we21.I checked RFC Destination,It is fine.
Now where to give this information centrally since I have to manually enter this every time.
Thanks,
SrinivasaPHi,
If error is 56.
Check the partner profile is created or not, if not create partner profile, restart the process by TA.BD87.
If partner profile is exist then check the control information in the IDoc file is incorrect. Correct the IDoc file and restart the process
Please check receiver IDoc Adapter is configured with the said details are not.
And if possible map the values in EDI_DC40 control record.then you need not to give these details every time.
Regards
Chilla.. -
Port field is blank in Control record
Hi Experts,
I am sending the idoc from R3 to XI to R3, the idoc successfully came to R3 to XI and XI to R3, but in reciever r3 system when i check idoc control reocrd, the port field is blank.
Can you please help me why it is blank.
Kind Regards,
Praveen.Hi,
If you have chosen the "Apply control records from Payload" check box in Receiver IDOC adapter configuration, then you have to look at what value did you map the RCVPRT field in your message mapping.
If "Apply Control recrds from payload" is not checked, then you have to re-check if your port configuration is properly done in IDX1 transaction in your XI box.
Regards,
Ravi -
Sender Information in control record of IDOC adapter
Hello All,
I am sending data from JMS to R/3 (IDOC). I need to populate the SNDPRT with LI and SNDPRN with 42980.
I have mapped SNDPRT with LI and SNDPRN with 42980 in the control record. I have checked the <b>Apply Control recrod values from check box</b> in the IDOC adapter communication channel.
Also checked the Sender Party in the Receiver aggrement. I have selected <b>the context object as the SNDPRN of IDOC control record</b>
But it is failing. I am getting an error Unable to convert sender XI party ........to an IDOC party
I need to resolve thsi problem
Please help me.Hi Abinash,
In addition to the document Mike suggested, SAP has many How-to Guides at the following link
http://service.sap.com/nw-howtoguides
https://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
Mike: Thanks a lot for spending your valuable time helping the forum even on Weekends. SAP really appreciates your help on this.
Regards,
Sam Raju -
How to put data in MESCOD field of in IDOC Control Record ?
We have a File->XI->IDOC scenario.
Two different types of files have to been mapped to the same IDOC (WMMBXY).
We want to use the field MESCOD in order to differ idocs from one type file or the other.
In the Message Mapping, I have the EDI_DC40 record dissabled, to permit that it is fulfilled by XI.
How can I put information in MESCOD field?. Is the only solution to enable EDI_DC40 record ? (I don't like this solution because automatic fulfilled is lost ).
I've seen that a Header Mapping exists in Receiver Agreement, but this is only available to Sender&Receiver.
Thank you.
Francisco.hi Francisco,
take a look at this:
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
section:
The following table provides information about
how the fields of the control record are filled by the
receiver IDoc adapter.
now you see which fileds are supplied by receiver idoc adapter
then:
If you have not set the Apply Control Record Values from
Payload indicator in the receiver IDoc adapter, the
fields are filled as follows:
now you see which fields are taken from ID
so enable EDI_DC40 and just fill MESCOD
this will be much easier than any other routing
(if such exists if you disable it)
Regards,
michal
Regards,
michal
Maybe you are looking for
-
Entitlements not getting displayed in Entitlements Tab - OIM11gR2
Hi Experts, I am trying to provision entitlements to users by requesting entitlements. When i successfully provision entitlements, the entitlement is getting displayed in accounts tab, child form. But the same is not getting displayed in entitlements
-
How can I "Save" more than 1 page at a time?
Firefox 4.0.1. Safari 5.0.5. iMac OS10.6.7. Just started using Firefox. Can't figure out how to Save more than 1 page at a time. Tried to save 3pp article in NY Times, several times in several ways. No deal. Went back to Safari and did it easily. Pro
-
System Image Utility "volume on diskxsx failed to mount"
I've been trying to create a NetRestore image using System Image Utility (SIU) for the past couple of days, but no matter what I do it fails. I was oringally using OSX 10.8.4, but have now upgraded to 10.8.5. After reading through the logs, I can se
-
Shockwave Adobe Flash 10.2.152.32 only plays in one 'user account'
Shockwave Adobe Flash 10.2.152.32 won't play anything imbedded using *my* User Account in WinXP SP3(for ex.: items on HuffPost/none of Hulu/no streaming radio stations' broadcasts listening functions, eg, 'radioplayer' and 'mediaplayer' in these sit
-
Object Links for HR Person PA10
Hi DMS Experts I want to link DMS Document to a Person in HR via PA10 where we can see data of Person in HR. Also I need help in linking new object to DMS.If these object are not in standard Object link configuration in Define Docuemnt Types. I have