Skip to Content
avatar image
Former Member

BAPI_REQUISITION_CREATE not allowing account assignment distribution for Service PR

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers