on 12-05-2008 2:56 PM
Hi,
I am having issues when I make an RFC call to get information using BAPI's that only have tables for passing in values and no individual import parameters. A good example is BAPI_MATERIAL_GETLIST, you pass the select options as a table, but when it returns the response, I only get a bunch of blank XML nodes for each table that should have come back with values. I have tried the exact same call in SE37 in the system and have no problems, so this is confusing. It is happening on all BAPI's that work this way. Any helps is appreciated! It seems like it is just ignoring my import values and using defaults or something.
Regards,
Chris
Hi Chris,
The MATNRSELECTION and MATERIALSHORTDESCSEL tables will default to the following if the BAPI doesnu2019t find any values. This might be why you get back nothing from your request.
<MATERIALSHORTDESCSEL>
<item>
<SIGN>E</SIGN>
<OPTION>CP</OPTION>
<DESCR_LOW>*</DESCR_LOW>
<DESCR_HIGH/>
</item>
</MATERIALSHORTDESCSEL>
<MATNRSELECTION>
<item>
<SIGN>E</SIGN>
<OPTION>CP</OPTION>
<MATNR_LOW>*</MATNR_LOW>
<MATNR_HIGH/>
</item>
</MATNRSELECTION>
If you are creating the input xml as part of a lookup call, then the format will need to look something like the following:
<MATNRSELECTION>
<item>
<SIGN>I</SIGN>
<OPTION>EQ</OPTION>
<MATNR_LOW>AXXXXX</MATNR_LOW>
<MATNR_HIGH/>
</item>
</MATNRSELECTION>
If this doesn't help, you can also set your user (if you have the authorization) to be used in the comm. channel and then set an ABAP External Breakpoint in the BAPI to see the actual values which are being sent into the BAPI.
Thanks,
-Russ
Edited by: Russell Darr on Dec 5, 2008 6:08 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.