on 09-27-2007 6:54 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if your IM or MM is working fine, you should not get this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
try the MDT - http://host:port/mdt
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 !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lovein,
Delete MetaData from IDX2 Tcode and reimport it.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did u check the Data records in WE02
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.