2008 Feb 15 4:13 PM
HI Iam new to SAP
I have created a SAP proxy and would like to read all the Assets from a company using
BAPI_FIXEDASSET_GETLIST ()
How ever the function does not return any data.
How do you enter the parameters in
REQUESTEDTABLESX ?
I am using Visual studio 2003 and SAP .net connector
Any info would be appreciated.
Thanks
HI Roger
Thanks for the help Iam still not getting any data
The following is returned by BAPIRET2
<?xml version="1.0" encoding="utf-8" ?>
- <BAPIRET2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
<TYPE xmlns="">S</TYPE>
<ID xmlns="">BAPI1022</ID>
<NUMBER xmlns="">010</NUMBER>
<MESSAGE xmlns="">No records were selected</MESSAGE>
<LOG_NO xmlns="" />
<LOG_MSG_NO xmlns="">000000</LOG_MSG_NO>
<MESSAGE_V1 xmlns="" />
<MESSAGE_V2 xmlns="" />
<MESSAGE_V3 xmlns="" />
<MESSAGE_V4 xmlns="" />
<PARAMETER xmlns="">SELECTIONCRITERA</PARAMETER>
<ROW xmlns="">0</ROW>
<FIELD xmlns="" />
<SYSTEM xmlns="">PRDCLNT400</SYSTEM>
</BAPIRET2>
How do i set the SELECTION CRITERIA ?
Regards
Brian
2008 Feb 15 4:22 PM
Hi Brian,
You have to enable the field indicators in the structure REQUESTEDTABLESX with "X" for the data desired to be returned by the BAPI.
Regards,
Roger
2008 Feb 18 8:01 AM
HI Roger
Thanks for the help Iam still not getting any data
The following is returned by BAPIRET2
<?xml version="1.0" encoding="utf-8" ?>
- <BAPIRET2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
<TYPE xmlns="">S</TYPE>
<ID xmlns="">BAPI1022</ID>
<NUMBER xmlns="">010</NUMBER>
<MESSAGE xmlns="">No records were selected</MESSAGE>
<LOG_NO xmlns="" />
<LOG_MSG_NO xmlns="">000000</LOG_MSG_NO>
<MESSAGE_V1 xmlns="" />
<MESSAGE_V2 xmlns="" />
<MESSAGE_V3 xmlns="" />
<MESSAGE_V4 xmlns="" />
<PARAMETER xmlns="">SELECTIONCRITERA</PARAMETER>
<ROW xmlns="">0</ROW>
<FIELD xmlns="" />
<SYSTEM xmlns="">PRDCLNT400</SYSTEM>
</BAPIRET2>
How do i set the SELECTION CRITERIA ?
Regards
Brian
2008 Feb 27 3:58 AM
Hi Brian Henning,
After every BAPI call you need to call the function BAPI_TRANSACTION_COMMIT, maybe you already know this.
Regards,
Isaac
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |