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

Bapi BAPI_ENTRYSHEET_CREATE

Former Member
0 Likes
1,615

Hello,

About this question i found one thread in Abap forum :

and i have the same doubt that appears in the end of the thread. Can anyone explain the significance of the import and table field parameters, related to one P.O. with services items. Also, please with the link between the data entered in the bapi, and the EKKO, EKPO and ESLL contents for that purchase order.

I'm trying to use the bapi, but i got the message that there's an error in the register update. The bapi returns one entry sheet number, but it does not exists.

Thanks,

Paulo Sousa

5 REPLIES 5
Read only

Former Member
0 Likes
1,051

HI Paulo Sousa,

have a look at Include program LMLSXF31, you will get what data to pass and how to pass that data.

Regards

Sudheer

Read only

0 Likes
1,051

Hi,

The problem is i believe i'm filling the entry parameters well, but i think there's someting missing, reason why i got the error message. In my example i have P.O n. 4500009283 that have in EKPO PACKNO = 16964. In ESLL the entry that have PACKNO = 16964 has SUB_PACKNO = 16965. Also in ESLL with PACKNO = 16965 i have 4 entries, one of them ( with EXT_NUMBER = 0060 ) is the service i want to pass to the entry sheet with Servico code = 4000001, quantity 1 and value 100, 00.

To do that i'm filling the following parameters :

ENTRYSHEETHEADER

PCKG_NO = 0000016964

SHORT_TEXT = TEST

PO_NUMBER = 4500009283

PO_ITEM = 00010

DOC_DATE = 27.12.2006

POST_DATE = 27.12.2006

ACCEPTANCE = X

ENTRYSHEETACCOUNTASSIGNMENT

PCKG_NO = 0000016964

GL_ACCOUNT = 62235000

BUS_AREA = ANA

COSTCENTER = 110400

ENTRYSHEETSERVICES ( 2 entries )

1ST

PCKG_NO = 0000016964

LINE_NO = 0000000001

SUBPCKG_NO = 0000016965

2ND

PCKG_NO = 0000016965

LINE_NO = 0000000002

EXT_LINE = 0000000060 ( the service item i want to enter )

SERVICE = 4000001

QUANTITY = 1,000

BASE_UOM = UN

GR_PRICE = 100,00

ENTRYSHEETSRVACCASSVALUES

PCKG_NO = 0000016965

LINE_NO = 0000000002

QUANTITY = 1,000

NET_VALUE = 100,00

and when i test the bapi with those parameters i got the message 'Error updating register'. I got a entrysheet number in the ENTRYSHEET parameter but that entry sheet number does not exists.

I'll apreciate any sugestion about data that i need to give in the entry parameters/table entries, and that is not being filled at the moment.

Thanks,

Paulo Sousa

Read only

Former Member
0 Likes
1,051

Hi,

Does anyone have this problem ? I really need help to put the bapi working well.

Thanks,

Paulo Sousa

Read only

0 Likes
1,051

Hi,

I've checked in this and other forum that there exists several persons with this proble. Does anyone have solved it ?

Thanks,

Paulo Sousa

Read only

Former Member
0 Likes
1,051

The problem was caused by an user-exit that should not be active.