cancel
Showing results for 
Search instead for 
Did you mean: 

WBS elements in Service Entry Sheet

former_member602116
Participant
0 Kudos

Hi All,

We have a custom program to create a service entry sheet and update PO history for a Purchase Order. Input is in excel file. However upon creation of the service entry sheet, not all WBS elements from the excel file are captured. Example, in excel input file, I have 34 WBS Elements, but only 32 WBS elements are considered once service entry sheet is created. And thus only 32 line items are posted in PO history. My question is how does this happen? I have tried to debug the program but it happens in the standard part of the code, while creating the service entry sheet.

Any inputs will be highly appreciated.

Thank you!

Regards,

Katherine Darunday

former_member335961
Active Participant
0 Kudos

Hello Katherine,

Have you tried to create the SES manually for the pending lines and validate if there is something wrong related to master data?

Best regards,

Oscar.

Accepted Solutions (0)

Answers (2)

Answers (2)

ankurch
Active Contributor

Hi Kathrine,

Can you check for those WBS element are fine with posting or something missing in WBS element!

Thanks,

pataselano
Active Contributor
0 Kudos

I assumed that your custom program used BAPI_ENTRYSHEET_CREATE.

Debug your program and check 'RETURN' table in BAPI_ENTRYSHEET_CREATE for two WBS elements which was not posted yet. Maybe any error message for two WBS elements.

former_member602116
Participant
0 Kudos

Hi Andy,

Already checked lt_return but no error messages were captured. Only success and information message.

1	S	SE	534	Entry sheet 1000127095 created
2	I	SE	103	Entry sheet 1000127095 accepted
pataselano
Active Contributor
0 Kudos

Hi Katherine,

At posting 34 WBS elements, are you using the same username as same as at debug process?

For your information, BAPI_ENTRYSHEET_CREATE also check authorization objects of M_BEST_BSA, M_BEST_EKG, M_BEST_EKO and M_BEST_WRK.

former_member602116
Participant
0 Kudos
Hi Andy,

Yes same username used. However, what does these auth objects got to do with the missing WBS entries upon posting?

Thank you.

Regards,

Kath

pataselano
Active Contributor
0 Kudos

Hi katherine,

Sometimes, previous posting process is still not finish yet. So, next posting process will error because table lock.

Please add delay around 0.5~1 second after posting for avoid error because lock table.