Application Development 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: 

Create requisition error: asset not in company code

sim_chen
Explorer
0 Kudos

Dear All,

I am getting the following error while creating requisition using 'bapi_requisition_create'.'

Return table show message:"Asset xxxxxx not in company code xxxx" (AA001).

I search the sysytem pg and find error position:SAPLANLR -> lanlru04->Line 114

IF I_BYPASSING_MEMORY = 'X' OR ....SO ON

SELECT SINGLE * FROM ANLA.....

ENDIF.

In fact ,table anla have this record, but can not get.

Kindly give your suggestions to solve this problem.

Thanks and Regards,

Sim

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Check your asset number format (it uses ALPHA conversion, so if data comes from some interface, use CONVERSION_EXIT_ALPHA_INPUT '1234 ' -> '000000001234')