cancel
Showing results for 
Search instead for 
Did you mean: 

Name of USER EXIT

Former Member
0 Kudos

Dear All,

can anyone tell me Through which USER EXIT we can block PGI on plant basis.

Regards

Ajit

Accepted Solutions (1)

Accepted Solutions (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

You can use the userexit 'USEREXIT_SAVE_DOCUMENT_PREPARE' in report MV50AFZ1.

You can check it as:

IF condition.

LOOP AT xvbuk WHERE wbstk = 'C' "only PGI

READ TABLE yvbuk WITH KEY vbeln = xvbuk-vbeln

BINARY SEARCH.

IF sy-subrc = 0.

IF yvbuk-wbstk <> 'C'.

MESSAGE e014(Z1) WITH xvbuk-vbeln. "defini it in SE91

ENDIF.

ENDIF.

ENDLOOP.

ENDIF.

I hope this helps you

Regards,

Eduardo

PD: You can check the SAP Note 415716 - User exits in delivery processing

Edited by: Eduardo Hinojosa on Dec 15, 2009 9:49 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Check the userexit below, which can be viewed through T.Code: SPRO

Menupath: Logistics Execution >> Shipping >> System Modifications >> Previous User Exits in Shipping (IMG Activity documentation)

Incompletion Control of Deliveries

You can use the include FV50UZXX to program individual incompletion checks for a delivery document. Note 158807 contains more information on this.

Regards,

Rajesh Banka