Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI BAPI_FIXEDASSET_GETLIST

Former Member
0 Likes
1,926

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

3 REPLIES 3
Read only

roger_gomez
Active Participant
0 Likes
1,260

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

Read only

0 Likes
1,260

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

Read only

Former Member
0 Likes
1,260

Hi Brian Henning,

After every BAPI call you need to call the function BAPI_TRANSACTION_COMMIT, maybe you already know this.

Regards,

Isaac