Skip to Content
author's profile photo Former Member
Former Member

BAPI_ENTRYSHEET_CREATE

Hi,

I am using BAPI_ENTRYSHEET_CREATE to create service entries in ML81N. Once the entry sheet is created I want to see the account assignment of service line with "Distribution on Quantity Basis". However, the BAPI creates it by percentage distribution. Please let me know what else needs to be done to get the distribution on quantity basis.

Here is how I am filling the tables of the BAPI.

ENTRYSHEETHEADER

BEGDATE ENDDATE PCKG_NO SHORT_TEXT PO_NUMBER PO_ITEM DOC_DATE POST_DATE

21.04.2014 27.04.2014 0000000001 ROB SCHROEDER W/E 04/21/2014 4500436511 00016 06.05.2014 06.05.2014

ENTRYSHEETACCOUNTASSIGNMENT

PCKG_NO SE GL_ACCOUNT WBS_ELEM COUNTER

0000000001 01 42100100 T.3000491.02.00.00 00000001

0000000001 02 42100100 T.3000491.01.01.90 00000000

0000000001 03 42100100 T.3000491.02.00.00 00000000

0000000001 04 42100100 T.3000491.02.00.00 00000000

ENTRYSHEETSERVICES

PCKG_NO LINE_NO EXT_LINE OUTL_LEVEL SUBPCKG_NO SERVICE QUANTITY BASE_UOM UOM_ISO PRICE_UNIT GR_PRICE SHORT_TEXT DISTRIB PERS_NO

0000000001 0000000001 0000000000 X 0000000002 0.000 0 0.0000 1

0000000002 0000000002 0000000010 0000000000 40.000 HRS HRS 1 10.0000

RSCHROEDER - STD 04/21/2014 1 90000011

0000000002 0000000003 0000000020 0000000000 8.000 HRS HRS 1 15.0000

RSCHROEDER - OT 04/21/2014 1 90000011

0000000002 0000000004 0000000030 0000000000 8.000 HRS HRS 1 20.0000

RSCHROEDER - OT 04/21/2014 1 90000011

ENTRYSHEETSRVACCASSVALUES

PCKG_NO LINE_NO SE PERCEN SE QUANTITY NET_VALUE

0000000002 0000000002 01 37.5 01 15.000 0.00

0000000002 0000000002 02 62.5 02 25.000 0.00

0000000002 0000000003 03 100.0 03 8.000 0.00

0000000002 0000000004 04 100.0 04 8.000 0.00

Three entry sheets are created as shown in 1st Screenshot. If I get into the account assignment of line 10, I get the values shown in screenshot 2.

NOTE:- While entering values to table ENTRYSHEETSRVACCASSVALUES I tried keeping the field PERCEN as blank but that didn't help as well. I get an error -

E 06 408 Please enter account assignment

Thanks,

Rakesh

Acct Assgmt.PNG (23.1 kB)
Entry Sheet.PNG (12.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2014 at 06:54 AM

    Looking for any help...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.