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_FIXEDASSET_OVRTAKE_CREATE Problem

Former Member
0 Likes
2,315

Hello,

I am trying to create assets data (AS91) using BAPI_FIXEDASSET_OVRTAKE_CREATE

I have a pblem when i try to define if my item is ' new' or 'OLD'.

When i try to fill the field "PURCH_NEW" strcuture BAPI1022_FEGLG009 I get this message from my bapi.

"can't access Field ANLA_TGT-ORD41" ( translated from french : Zone ANLA_TGT-ORD41 non accessible)

But when i do it manually in the transaction AS91 it works and i have access to put a value in my field.

this a bit of my sourcecode:

ST_ORIGINE-PURCH_NEW = 'X'.

ST_ORIGINEX-PURCH_NEW = 'X'.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,386

Strange, the field indicated in the error message comes from ALLOCATIONS-EVALGROUP1 and not from ORIGIN-PURCH_NEW, check if this other field is used in the call and check the Customizing of the Asset Class, Specify Required Entries for Asset Master Data. (or SM34 on VC_T082G_10)

Regards,

Raymond

2 REPLIES 2
Read only

andreas_mann3
Active Contributor
0 Likes
1,386

better try to use report RAALTD01 and structure BALTD with field XAFABCH

A.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,387

Strange, the field indicated in the error message comes from ALLOCATIONS-EVALGROUP1 and not from ORIGIN-PURCH_NEW, check if this other field is used in the call and check the Customizing of the Asset Class, Specify Required Entries for Asset Master Data. (or SM34 on VC_T082G_10)

Regards,

Raymond