cancel
Showing results for 
Search instead for 
Did you mean: 

When we are holding Service PO but it is not coming in Change Mode when we Reopen for saving Purpose

Former Member
0 Kudos

Sir

If we hold Service PO & and reopen for Change Document date. Document date filed is Appearing in display Mode, so how we can change Document date if PO Order is hold.

Note: We are Treating Message no. 06028(Purchase order date is in the past ) as per Error message. that’s why we want to change Document Date as per Date of final save.

Accepted Solutions (1)

Accepted Solutions (1)

former_member193326
Active Contributor
0 Kudos

Hi,

Normally the functionality to set service purchase orders on hold is not included in the standard R/3 system. The responsible Development Department decided to include this functionality just for 'normal' purchase orders (material POs). In the case of service and blanket Purchase Orders the 'Hold' function does not work.

Please, see the note 380296 which indirectly explains this (also note 499626 question2).

But as you have already noticed, there is a little gap in the functionality according message 06028 and services purchase orders.

Please read the information from development:
At present the HOLD functionality will work for services purchase orders only when the Message no. 06028 is set as warning."

You have two workaround:

1. set the error as warning.

2. Use  Badi ME_HOLD_PO to prevent holding of service purchase orders if needed.

In this case, the BADI ME_HOLD_PO should only disable the HOLD button specifically for Service PO it could be like the following:

Step 1: Create the class for the interface.
Step 2: Add the below coding

method IF_EX_ME_HOLD_PO~IS_ALLOWED.

IF im_header_with_error = 'X'.
    ch_allowed = space.
ENDIF.
READ TABLE im_bekpo WITH KEY PSTYP = '9'
                   TRANSPORTING NO FIELDS.
    IF sy-subrc IS INITIAL.
      ch_allowed = space.
      EXIT.
    ENDIF.

endmethod.
Step 3: Activate the Badi.

Best Regards,

Arminda Jack

Former Member
0 Kudos

Thanks for   Reply

Mam  i think y are saying that if  we use  Suggested BADI ME_HOLD_PO ,that’s why we can’t hold Service PO.

former_member193326
Active Contributor
0 Kudos

Hi,

No, it is not because of the BADI it is because:

"At present the HOLD functionality will work for services purchase orders only when the Message no. 06028 is set as warning."

So you need to change this message from error to warning.

If you use the BADI to change the standard system behaviour, then you will be able to leave the message as error message. 

Best Regards,

Arminda Jack

Answers (1)

Answers (1)

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

Which version you are in!


For External services: Possibility of putting service items in the purchase order on hold (changed),
Refer SAP Note:380296

Also refer link:

http://help.sap.com/saphelp_47x200/helpdata/en/79/d98d38f3c49164e10000009b38f842/content.htm

Regards,

Biju K

Former Member
0 Kudos

Ecc6