on 07-12-2006 2:40 PM
Hi all,
I am doing a file to Multiple Idocs scenario. The file contains multiple records. I want to recieve multiple idocs in the R/3.
My idoc type is CREMAS03. In my mapping i have disabled the EDI_DC40 field. But i am getting an error as: <b>Control record must start with tag EDI_DC40, not E1LFA1M</b>.
I have also tried by enabling the EDI_DC40 field and giving default values to it. In this case the error gets eliminated but i am not receiving any Idocs.
Can anybody help me with this?
Regards,
Divija.
Hi Divija,
Yes, you need not generate EDIDC_40 in mapping. However just test the mapping once and ensure that the output structure from mapping looks like below:
<MSG_TYPE>
<IDOC BEGIN="1">
<E1LFA1M>
.....
</IDOC>
<IDOC BEGIN="1">
<E1LFA1M>
...
.....
</IDOC>
...
</MSG_TYPE>
Secondly, dont't forget to check "Apply Control Record From Payload" in the receiver CC.
This will create the control record runtime as per the configurations.
I hope this solves your problem.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Thanks for your reply. I tested the mapping as suggested by you. It is working fine with the EDIDC_40 field disabled. But when i run the entire scenario, i am getting the error: Control record must start with tag EDI_DC40, not E1LFA1M.
Michal: Yes, I am using the same technique mentioned in your weblog. (Without using BPM)
Regards,
Divija.
Divija,
if you have disabled the control record in your mapping, then in that case, the control record will be automaticcaly filled from the data in the COnfiguration.
Just make sure that in the Receiver IDOC adapter, the following options have not beeen selected.
Take Sender from payload,
Take receiver from payload,
apply control record from payload.
Regards,
Bhavesh
Hi Amit,
My scenario is LS to LS.
I tried by checking the Apply control record values from payload option. I have also enabled the EDI_DC40 field and i have given proper values for MESTYP, SNDPOR, SNDPRN, RCVPOR and RCVPRN.
I have checked in IDX5 transaction in XI. There i can see the Idoc being created. Idoc number is also generated.
But in R/3 i am not receiving any messages. Can any body help me with this?
Regards,
Divija.
Divija,
Can you take a look at the following?
1. Do you see a chequered flag on both sides of your message in SXMB_MONI?
2. Go to SM59 -- RFC DESTINATION poitning to the R3 system and try a remote log on. Is it succesful?
3. Also, go to transaction SM58 and see if there is any dump for your RFC log?
Regards,
Bhavesh
Hi Bhavesh,
1.I am seeing one chequered flag at the biginning and <b>one red flag at the end</b>. But i could not see the error message associated with this error.
2.Remote logon to the R3 system was successful.
3.In sm58, i tried by giving my RFC destination name. But i got a message saying <b>nothing was selected</b>.
Also now i have disabled the EDI_DC40 field and i have not selected the Apply control record values from payload. Because my mapping is working properly only under this condition.
Please help.
Regards,
Divija.
Divija,
<i>I am seeing one chequered flag at the biginning and one red flag at the end. But i could not see the error message associated with this error.</i>
This implies, the IDOC was not sent out of XI.
Steps to check :
1. Make sure that the details entered in the IDOC comm channel, like RFC destination ,port , etc are correct.
2. Sm58, is the transaction RFC log. Just try to execute the scenario again , do not give anything against the RFC destination name and just see the log of the error messages.
Regards,
Bhavesh
Hi Divija,
Please try following:
1. Disable the EDIDC_40 in mapping
2. Apply control record from payload
3. Check the adapter-specific parameters for the business service / system by right clicking on them in directory. Make sure the logical system names given are same as that in the partner profile configured in R/3.
CHEERS
Amit
Hi Bhavesh,
In the RFC destination field, i have given the name of a RFC destination which takes me from the XI system to R3 system.
In the Port field, I have given a port which is using the above mentioned RFC destination.
I executed the scenario again and checked in the tRFC log by not giving anything against the RFC destination name. But still i am getting the same message: Nothing was selected.
Pls help.
Regards,
Divija.
Hi,
I tried doing a simple file to Idoc scenario. But even that was not working properly. Again the file is received by XI and the idoc is generated. In IDX5 i can see the generated idoc.
In sxmb_moni, i am seeing a red flag at the end. When i check in SM58, i saw a message saying: <b>"No authorization to send IDocs with message type CREMAS03"</b>. I also saw the system log in the transaction sm21 but there i did not find any entries regarding my scenario.
In SM58, i selected my entry and i tried Edit->Execute LUW. But i got a message saying: <b>"Function module does not exist or EXCEPTION raised."</b>
I am not understanding which authorization it is reffering to? Can anybody help me with this?
Regards,
Divija.
HI,
First test your mapping. Take input xml from SXMB_MONI and test in the Repository with Test Tab. And check your target structure is populated correctly as required or not.
Regards,
moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you have a look at my weblog?
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Regards,
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.