cancel
Showing results for 
Search instead for 
Did you mean: 

PI AAE = IDOC control data to ECC

Former Member
0 Kudos

Hi All,

I am using the JAVA IDOC receiver adapter to send idoc's to CRM as a test to just send idocs

Need help on the control records.

Things done

1. Passing data manually.

2. Idoc begin =1 and all segments = 1

3. Created Logical system in WE20 in CRM and created partner profile with inbound parameters.

4. Checked business system in ID and it reflects the logical system ; albiet same as the one created in ECC.

5. Created a dummy partner profile in ECC to act as XI sender

Now, can tyou please guide me how to fill the fields in EDIDC_40?

<EDI_DC40 SEGMENT="1">

         <TABNAM>EDI_DC40</TABNAM>

         <MANDT>100</MANDT>

         <DOCNUM>Should i give?</DOCNUM>

         <DOCREL>1</DOCREL>

         <STATUS>1</STATUS>

         <DIRECT>2</DIRECT>

         <OUTMOD>1</OUTMOD>

         <EXPRSS>1</EXPRSS>

         <TEST>1</TEST>

         <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>

         <CIMTYP>1</CIMTYP>

         <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>

         <MESCOD>1</MESCOD>

         <MESFCT>1</MESFCT>

         <STD>1</STD>

         <STDVRS>1</STDVRS>

         <STDMES>1</STDMES>

         <SNDPOR>SAPXX1 ( DOne as part of document available- XX1 SID of pi)</SNDPOR>

         <SNDPRT>LS</SNDPRT>

         <SNDPFC>1</SNDPFC>

         <SNDPRN>XX1CLNT001 ( dUMMY CREATED IN CRM</SNDPRN>

         <SNDSAD>1</SNDSAD>

         <SNDLAD>1</SNDLAD>

         <RCVPOR>SAPXX1_SBX ( Port created in CRM)</RCVPOR>

         <RCVPRT>LS</RCVPRT>

         <RCVPFC>1</RCVPFC>

         <RCVPRN>CX1CLNT100 ( Partner profile created and inbound parameter assigned; also reflecting in the business system)</RCVPRN>

         <RCVSAD>1</RCVSAD>

         <RCVLAD>1</RCVLAD>

         <CREDAT>20140303<CREDAT/>

         <CRETIM>191016<CRETIM/>

         <REFINT/>1<REFINT/>

         <REFGRP>1<REFGRP/>

         <REFMES><REFMES/>

         <ARCKEY>1<ARCKEY/>

         <SERIAL>1<SERIAL/>

      </EDI_DC40>

I ahve something urgent to be delivered and need your help very badly

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

Exception caught by adapter framework: Sender Partner Number is not available

This is the error i get when i try to process my idoc for the receiver AAE IDOC adapter

Which value do i put in here and here is the config i have made.

1. WE20 in ECC with inbound parameters.

2. Logical system field in SLD filled for the business system i am using.

3. ICO config with Sender and receiver business components checked with the respective business systems.

4. I have also noticed that the sender business system in ID , where you check for adapter specific attributes is blank even though i have provided a logical system in SLD for the BS.Tried Clear SLD cache but still not reflecting. COULD THIS BE THE PROBLEM?

Kindly help as even if it fails i have to send over an idoc as part of my POC and i am dead late .

former_member184720
Active Contributor
0 Kudos

Hi - did you try with SAP<SID> (sid of your PI system) ?

Former Member
0 Kudos

Hareesh,

I have no problem trying it.But i am not able to corelate this. If you look at AEX, there is no IDX1 to create the port.The port i have created a type T port in ECC which is supposed to receive it.

Help me if i am missing something in understanding this.

Update: I tried SNDPOR field with SAP<SID> of PI and still same error. I need help guys..

Update 2: I realised that my sender business service was not populating the Logical system , hence had to delete it and create it again, to see its available.

Now, I have used header mapping in ICO, waiting to test as well.Will keep you updated with the next one.

Former Member
0 Kudos

Done and configured guys.. Was a problem with the control record

former_member184720
Active Contributor
0 Kudos

Hi Shyam - May be you can post which field has got incorrect and close the thread

Thank you

JaySchwendemann
Active Contributor
0 Kudos

I Second Hareesh here, please help keep SCN tidy: Provide solution and mark thread as answered

Cheers

Jens

former_member184720
Active Contributor
0 Kudos

Hi Shyam - Are you getting any error if you send the IDOC with the above payload?

No need to fill all the fields.. Infact i believe you can just map the segment field and try processing..

However for the list of fields and possible values refer the below document

The Control Record Fields of the IDoc Adapter (AAE) - Advanced Adapter Engine - SAP Library

Former Member
0 Kudos


made a mistake in a tag and message set to delivering. Not able to send any more messages.

My Business system is AS ABAP, so is my technical system and sending Business is 3rd party.

Dunno where there erro could be.

I have restarted J2ee to be sure the cache updates are in place.

Now trying to replicate the MM, OM and then assign it in ICO to ensure separate queue is built up.

Former Member
0 Kudos

Now when i try to execute the message

com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <CRMXIF_ORDER_SAVE_M01>:
state=READING_FIELD_VALUE_TAG, charPosition=603, lineNumber=1, columnNumber=604

I know this could be because of incorrect format  or incorrect data which need to pass through.I can understand it must be difficult for you to check this but in general hope this is an error with data/format

All i wanted is for the idoc to fail in ECC to prove this is working fine.

Your thoughts?

Former Member
0 Kudos

Hi Shyam - Check the date format how you are sending.

                   It may causing the problem.

Former Member
0 Kudos

Hi,

I checked the Log files and found this

Exception caught by adapter framework: Sender Partner Number is not available.

Since i am raising this question, also Sender Port etc.

I am not disabling the EDIDC_40 control record , so can i use the Header mapping in ICO to suffice this?

Since my scenario is a 1:1 pass thru as just a POC, Which value should i fill this up with?I am on Po 7.4 and hence the possibility of creating IDx1 port is not availble.

I am stuck please hlpe

former_member184720
Active Contributor
0 Kudos

Hi Shyam -

<RCVPOR>SAPXX1_SBX</RCVPOR>


AFAIK - for all the inbound IDOC's RCVPOR must be SAP<SID>.. Just change it and test..