Application Development 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: 

ME52N Unblocking the Purchase Requisition in the background

Former Member
0 Kudos
1,024

Hi,

I am trying to unblock the purchase requistion via a program. The program needs to run in the background as a batch job.

BAPI_PR_CHANGE does not allow the field EBAN-BLCKD to be updated.

The field is not open for input when using a BDC session and CALL TRANSACTION causes an "Unable to initialise ABAP Control Framework" error message when run in the background when using transaction ME52N.

The block field does not appear on ME52.

Does anyone have any other ideas for unblocking the PR?

I am working in an SAP 4.7 version.

Regards,

Derick

2 REPLIES 2

Former Member
0 Kudos
170

ME52N is probably an EnjoySAP transaction and not suitable for batch input in the background. Try transaction ME52 instead.

Rob

0 Kudos
170

Dereck, Logan,

I'm running into the exact same problem:

- There are no BAPI's that will actually change the Block field for a Purchase Requisition

- ME52N Will not run in a background BIM

- ME52 does not seem to contain the Block field

Have you found a solution for your problem?

regards,

Wilco