cancel
Showing results for 
Search instead for 
Did you mean: 

Incomplete Idoc received in SAP R/3

Former Member
0 Kudos

Hi XI Gurus

I am working on a File to Idoc scenario and stuck because of a strange issue.

The output Idoc structure sent from XI and as viewed in IDX5 / SXMB_MONI is as below

<?xml version="1.0" encoding="UTF-8"?>

<ACC_DOCUMENT01>

<IDOC BEGIN="1">

<EDI_DC40 SEGMENT="1">

<SNDPRT>LI_SND</SNDPRT>

<SNDPFC>LF_SND</SNDPFC>

<SNDPRN>0000000100</SNDPRN>

</EDI_DC40>

<E1BPACHE09 SEGMENT="1">

<OBJ_TYPE>BKPFF</OBJ_TYPE>

<OBJ_KEY>PR2000627830002007</OBJ_KEY>

<OBJ_SYS>T47CLNT800</OBJ_SYS>

<BUS_ACT>RFBU</BUS_ACT>

<USERNAME>lovein</USERNAME>

<COMP_CODE>3000</COMP_CODE>

<DOC_DATE>2007-09-11T05:18:52-07:00</DOC_DATE>

<PSTNG_DATE>2007-09-11T05:18:52-07:00</PSTNG_DATE>

<DOC_TYPE>SA</DOC_TYPE>

</E1BPACHE09>

<E1BPACCAHD/>

<E1BPACGL09>

<ITEMNO_ACC>1</ITEMNO_ACC>

<GL_ACCOUNT/>

<ACCT_TYPE>S</ACCT_TYPE>

<DOC_TYPE>SA</DOC_TYPE>

<COMP_CODE>3000</COMP_CODE>

<PSTNG_DATE>2007-09-11T05:18:52-07:00</PSTNG_DATE>

<VENDOR_NO/>

</E1BPACGL09>

<E1BPACAP09>

<ITEMNO_ACC>00001</ITEMNO_ACC>

<VENDOR_NO/>

<COMP_CODE>3000</COMP_CODE>

<PYMT_METH>ach</PYMT_METH>

</E1BPACAP09>

<E1BPACCR09>

<ITEMNO_ACC>1</ITEMNO_ACC>

<CURR_TYPE>00</CURR_TYPE>

<CURRENCY>USD</CURRENCY>

<CURRENCY_ISO>USD</CURRENCY_ISO>

<AMT_DOCCUR>-30000</AMT_DOCCUR>

</E1BPACCR09>

<E1BPACCR09>

<ITEMNO_ACC>Constant</ITEMNO_ACC>

<CURR_TYPE>00</CURR_TYPE>

<CURRENCY>USD</CURRENCY>

<CURRENCY_ISO>USD</CURRENCY_ISO>

<AMT_DOCCUR>0</AMT_DOCCUR>

</E1BPACCR09>

<E1BPACCR09>

<ITEMNO_ACC>Constant</ITEMNO_ACC>

<CURR_TYPE>00</CURR_TYPE>

<CURRENCY>USD</CURRENCY>

<CURRENCY_ISO>USD</CURRENCY_ISO>

<AMT_DOCCUR>30000.00</AMT_DOCCUR>

</E1BPACCR09>

</IDOC>

</ACC_DOCUMENT01>

But the Idoc received in SAP R/3 as viewed in Transaction WE02 or table EDID4 has only one node E1BPACHE09

and because rest of the nodes are missing SAP R/3 fails to process the Idoc .

Any help to analyse the issue will be highly appreciated.

Thanx

Lovein

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check it by mapping the attribute SEGMENT for all the missing segments with some constant and check now. U dont believe that i faced a similar problem and it got resolved after i did as i said above.

Please let me know if it solves ur problem also. Then i can conclude my above assumption.

Regards,

Sudheer.

Message was edited by:

Sudheer

Answers (6)

Answers (6)

nisarkhan_n
Active Contributor
0 Kudos

if your IM or MM is working fine, you should not get this problem.

Former Member
0 Kudos

Hi Lovein,

In addition to my earlier response, If you have not done this as mentioned in the Michal's blog to test your mapping, then plz do it. I guess there will be some problem in your mapping only.

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

I hope this will resolve your issue.

Regards,

Sarvesh

***Reward Points, if it helped you.

Former Member
0 Kudos

Hi Lovein,

What you can do is:

1. Go to SXMB_MONI and take the output xml.

2. Now go to your mapping under TEST tab and test the above mentioned output xml and see what is the output, i mean are you able to see all the desired output as per you mapping or not.

3. If not then probabily you will get an error message, then try to find out the solution in your mapping only.

4. If you are not able to do that, kindly send the error message, which you got in mapping.

I hope this will solve your issue.

Regards,

Sarvesh

****Reward points, if found helpful.

Former Member
0 Kudos

I did tried all the options above including reloading the metadata.

But no improvement.

To clarify again that mapping transformation goes through without fail resulting in the desired Idoc structure in SXMB_MONI/ IDX5 . It is incomplete only when viewed in SAP R/3 WE02 .

Is there any other intermediate step (transaction) or log in XI where I can view the actual message being transmitted to R/3 or log (on R/3) in which I can view the message being received by R/3.

Thanx

Lovein

Shabarish_Nair
Active Contributor
0 Kudos

try the MDT - http://host:port/mdt

prasanthi_chavala
Active Contributor
0 Kudos

HI Lovein,

Check ur inbound and outbound payload in the sxi_monitor and verify whether all the elements in the inbound idoc payload has generated or not...if not then there is some problem in ur message mapping...

Regards,

Prasanthi.

Former Member
0 Kudos

Hi have a look at this Blog

<b>Troubleshooting File-to-IDOC Scenario in XI.</b>

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

Thanks !!

former_member214364
Active Contributor
0 Kudos

Hi Lovein,

Delete MetaData from IDX2 Tcode and reimport it.

Cheers,

Jag

former_member614185
Contributor
0 Kudos

Hi,

Did u check the Data records in WE02