cancel
Showing results for 
Search instead for 
Did you mean: 

SES creation error

former_member210770
Active Participant
0 Kudos

Hello..

I am creating the Service Entry Sheet using bapi BAPI_ENTRYSHEET_CREATE . But i am getting the error that Short text and Order line is not maintained.

i have passed all the necessary parameters . but every time i m getting the same error.

i  am fetching the data from excel file.

plz suggest some idea.

View Entire Topic
JL23
Active Contributor
0 Kudos

if you are sure that you passed all the necessary parameters, then the only option left is that you are passing the parameters with a wrong content.

the error "Order line is not maintained" makes me think that SAP cannot find the order and/or order item with the numbers you submitted.

Please make sure that you are not missing leading zeros.

former_member210770
Active Participant
0 Kudos

Hii..... I don't have that much of knowledge of MM . So i didn't recognize that is my test cases is fully ri8 or not .

I m attaching the code and text file which is csv seperated .

I had try with changing  the parameters values but i m getting the same error... 'Short Text and Number of outline not maintained'.

Plz if possible check the code and suggest the help....

JL23
Active Contributor
0 Kudos

the item number field is 6 long in table EKPO

a number in that field is stored this way 000001

your source file just has a 1

000001 is not equal to 1

former_member210770
Active Participant
0 Kudos

Hii....as u said i have make changes still getting the same error..if u change that value as static rather than input and try with '000001' or '00001' i m getting the same error.

JL23
Active Contributor
0 Kudos

Have you found this contract from your file in table EKPO using transaction SE16?

former_member210770
Active Participant
0 Kudos

Yes .... i have this record in my ekpo table.. But didn't get that y this error is coming.. i think there is some error in my test data file .. can u plz suggest that what exactly the values needed for that BAPI_ENTRYSHEET_CREATE and from which table we have to fetch it like package no and all.....