Child pages
  • Edit Button is not available on Purchase Order Header
Skip to end of metadata
Go to start of metadata

Purpose

This article will help you to resolve the problem that on certain Purchase Orders, the edit button is unavailable and so, the Purchase Order cannot be edited.

Overview

This page explains common issue about Edit button and debug tips.

How to reproduce the issue

  1. Create a Purchase Order.
  2. Order the PO.
  3. Display the PO and Observe that 'Edit' button is unavailable.

Cause of the Issue

1)  User pushed complete button and the PO is Transaction Completed Status.

Please check the Clarification on Complete Button Functionality (Transaction Completed Status) in PO Wiki page.

2)   No one  completed the PO , and there is not status Transaction Completed in BBP_PD

As per the standard system behaviour, the determination of enabling the Edit button in PO is done based on the status of the PO. It is determined like this: If the PO is ORDERED, and any of these statuses are active, then the 'Edit' button is disabled:

In Transfer to Execution Syst.(I1080)

In Transfer to Planning Syst. (I1081)

Solution

For cause 2 that  No one  completed the PO , and there is not status Transaction Completed in BBP_PD

  1. Go to transaction SE37.
  2. Run the function module BBP_PD_PO_TRANSFER_EXEC.
  3. The PO statuses should then be reset. Edit button should now be available.

Debug tips

The transfer related status is updated in:

Function module SPOOL_DPO_TRANSFER_DO

Function module SPOOL_DPO_WRITE_BAPI_IMPORTS

 

Meta code for the header EDIT button:

Class : /SAPSRM/CL_PDO_DYN_MDA_HD_PO

Method     CHECK_EDIT

Related Content

Related Documents

Clarification on Complete Button Functionality (Transaction Completed Status) in PO