cancel
Showing results for 
Search instead for 
Did you mean: 

XI to R/3 via ABAP Proxy

Former Member
0 Kudos

Hi,

The Scenario is File to R/3 . The complete connection has established between XI and R/3 . The file is not transferred to the R/3 system . The SXMB_MONI shows the error as follows

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>

<SAP:P1>/MessageHeader/MessageId</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>XML element /MessageHeader/MessageId missing in SOAP message header (SAP XI Extension)</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

If any one has come across or worked on it before please let me know what can be done to rectify the same.

with regards

Vasagam R K

Wipro Technologies.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

i understand your scenario as XI--> CRM system.

and if you get the error as below how will your message reach CRM system...?

In general if you want to test whether the message has successully been processed by CRM system u need to use the exception handling.

The general convention is, create an ABAP Server proxy, test its functionality and then send data from XI to insert into teh CRM system. B'cos it becomes difficult for you to debug the aplication this way( b'cos u do not know where the error has occured).

XI Receiver Adapter Configuration should be :

TargetHost : <hostname>

Service : 8000

Path : /sap/xi/engine/entry?type=entry

U also need to provide the login credentials for CRM system.

U can refer to my blog on Creation of Server Proxies for more info:

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

Hope this helps you.

Cheers,

Siva Maranani.

Message was edited by: siva maranani

Former Member
0 Kudos

Hi all,

I got the problem solved . Its just because i selected XI 3.0 when my reciever system version is 620. It worked fine when i selected XI 2.0.

XI 3.0 can be used only when the R /3 system is 640 and above.

Thanks and Regards

VasS

Former Member
0 Kudos

Hi,

Are u setting all the parameters of the message interface in ABAP program and sending it across.

I suspect you would have missed some of the parameters..

can you check that once again...

Cheers,

Siva Maranani.

Former Member
0 Kudos

Hi siva,

I have not touched the ABAP program on the receiver side. First i should know whether my message is transferred to the R/3 system or not.

How will i check this? I checked it in SXMB_MONI in the CRM system but it is not showing me any message posted. Before that i should know the problem with message header/message id.I think it is in the config of XI adapter.

Regards

Vasagam R K

udo_martens
Active Contributor
0 Kudos

Hi siva,

go to transaction sproxy at the crm. Is your proxy allready generated? If yes, go to your inbound interface resp proxy and then to the execute-method of the class. Put following code:


DATA: message TYPE temsg-emtext.
message = 'myVariableOrText'.
CALL FUNCTION 'SM02_ADD_MESSAGE'
  EXPORTING
    MESSAGE                    = message
   EXPIRATION_DATE            = SY-DATUM
   EXPIRATION_TIME            = '230000'
   DELETE_TIME                = '230000'.

If you change the transaction, you will get a little popup. A good way to control whether the inbound proxy is executed and debug variables.

Regards,

Udo