cancel
Showing results for 
Search instead for 
Did you mean: 

'Buffer table not up to date' error occurs when clicking SES in ML81N created in background

anisha_b
Explorer
0 Kudos

We are trying to achieve ME58 functionality in the background.

in SAP PM Work orders are created having operations using framework orders. On saving the work order, purchase requisitions having service lines are automatically created .

I am passing pckg_no and line_no from BAPI_REQUISITION_GETDETAIL to

pln_pckg and pln_line in BAPI_ENTRYSHEET_CREATE and SES is created successfully with the service lines. But when it is clicked in ML81N, 'buffer table not up to date' error occurs. How to prevent this error?

Accepted Solutions (1)

Accepted Solutions (1)

anisha_b
Explorer

The issue got resolved after z program in SAP Note 2168168 was called each time after SES was created with BAPI_ENTRYSHEET_CREATE.

Answers (2)

Answers (2)

former_member182546
Contributor
0 Kudos

Hi Anisha Benjamin,

Please check the link .

https://archive.sap.com/discussions/thread/1984500

I hope the above might be useful.

With Regards ,

Sudhir S

raymond_giuseppi
Active Contributor
0 Kudos

You should look for OSS notes suitable for your version (As long as I remember, there are always been some notes on this subject from 2005 til 2018...) use keywords "SE001" and "ML81N".

anisha_b
Explorer
0 Kudos

Thanks Raymond. I've been looking into a number of notes. I am particularly worried about the note:

1598857-- How to create an entry sheet from a purchase requisition - External Services Management.

It has a caution which says BAPI_ENTRYSHEET_CREATE cannot be used.

I am able to achieve the functionality except that this SE001 is in the way. Do they mean we can run into such issues when we try to process in the background with the fm. What do you think?