on 03-22-2006 1:59 PM
Hi XI SDNers,
i have the following scenario.
i should like to select asset from r/3 with BAPI_FIXEDASSET_GETLIST.
i map the following source message to the bapi.request
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_ASSET_REQUEST xmlns:ns="http://abc.de">
<CRITERIA> //map to SelectionCriteria
<item>
<PARAMETER>GENERALDATA</PARAMETER>
<FIELD>ASSETCLASS</FIELD>
<SIGN>I</SIGN>
<OPTION>BT</OPTION>
<LOW>00000611</LOW>
<HIGH>00000612</HIGH>
</item>
<item>
<PARAMETER>TIMEDEPENDENTDATA</PARAMETER>
<FIELD>COSTCENTER</FIELD>
<SIGN>I</SIGN>
<OPTION>BT</OPTION>
<LOW>0000450000</LOW>
<HIGH>0000459999</HIGH>
</item>
<item>
<PARAMETER>POSTINGINFORMATION</PARAMETER>
<FIELD>CAP_DATE</FIELD> //Asset capitalization date
<SIGN>I</SIGN>
<OPTION>BT</OPTION>
<LOW>20060301</LOW>
<HIGH>20060331</HIGH>
</item>
</CRITERIA>
</ns:MT_ASSET_REQUEST>
but the bapi.reponse is empty.
i have the guess the CAP_DATE is wrong.
can any find my bug.
thanks
daniel
Hi Daniel,
but how is your target message (SXMB_MONI) looking?
Plz look to runtime workbench / adapter monitoring for errors.
And have a look to michal weblog <a href="/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-: Debugging RFC calls from the XI not possible? Who said that? :-)</a>, to find out why the return is empty.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
my problem has been solved.
for the period and costcenters wasnt entries in the database.
sorry a mistake on my part.
without the costcenters the target message looking.
<?xml version="1.0" encoding="UTF-8" ?>
<ns5:MT_ASSET_RESPONSE xmlns:ns5="http://abc.de/nemetschek_allfa2_anla">
<STATEMENTE_NAME>
<TABLENAME action="INSERT">
<table>NPHSYSTE</table>
<access>
<IFNOBJE_SUPER>1721</IFNOBJE_SUPER>
<IFNHREID_TAB>12703</IFNHREID_TAB>
<IFGKOSTID_TAB>0000420100</IFGKOSTID_TAB>
<IFKMASEID_TAB />
<TGUELTANFANG>2006-03-03</TGUELTANFANG>
<CBEMERKUNG>Monitore 19", Sony G420:</CBEMERKUNG>
<CINVENTARNR>000000015410</CINVENTARNR>
<IFNORGA_SUPER>2</IFNORGA_SUPER>
</access>
</TABLENAME>
</STATEMENTE_NAME>
.
.
.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.