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: 

BAPI_REQUISITION_CREATE not allowing account assignment distribution for Service PR

0 Kudos

Hi,

I have made a program for PR Upload and it's working for all cases except for PR service subitems which have distributed account assignment based on Percentage or Quantity.

item 10 - subitem 10- having 2 distributed accounts based on percentage.

I have already Passed distrib = 2 and Part_inv = 2 in requisition_items.

Also requisition_services package logic is done properly as it is creating service subitem properly.

REQUISITION_SRV_ACCASS_VALUES is filled as follows

I have put ser_no = '01' and serial_no = '01 'for any new subitem in service item and filled package and line no as given in requisition_services package

in addition I also filled the serial_no in requisition_account_assignment as incrementing for each subitem i.e

item 10

subitem 10 01

20 02

item 20

sbitem 10 01

for service pr with 2 subitems in item 10 and 1 sub item in item20.

Now problem is in REQUISITION_SRV_ACCASS_VALUES for which I am not able to deduce how to populate the serial no so that it distributes the account assignment among the same sub item.

I have attached the debugging screenshots for understanding.

0 REPLIES 0