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

Problem with BAPI_REQUISITION_CREATE

Former Member
0 Likes
833

Hello All,

I want to create a Purchase Requisition with 3 items.

But bapi requisition create gives error:

" No account assignment exists for service line 0000000000"

Can you please help to sort it out?

5 REPLIES 5
Read only

Former Member
0 Likes
696

Hi,

Are you passing values to the structure "REQUISITION_SERVICES"?

Regards

Vinod

Read only

0 Likes
696

Yes...

for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.

the Package no for parent is the subpackage no for child.

also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES

.

Still I get the Error.

Thanks to help me resolve.

Read only

0 Likes
696

Hi,

Are you entering matching values in REQUISITION_SERVICES-LINE_NO,PCKG_NO and REQUISITION_SRV_ACCASS_VALUES-LINE_NO,PCKG_NO.

Regards

Vinod

Read only

0 Likes
696

Hello,

My input for the account SRVACCESSVALUES pass default serial_no as 1.

Than the service items are allocated in the pr. Problem I have is that the account assignment of service in line 2 now defaults to the gl account specified for service in item 1.

Claude

Read only

0 Likes
696

Problem solved. The partial invoice indicator must be set. Claude