cancel
Showing results for 
Search instead for 
Did you mean: 

NOTICHK: Block PO Item automatically upon Save

0 Kudos

Hi All,

I am using Substance Volume Tracking (NOTICHK)  for import scenarios. I want

set a block on PO item level once a material is not marketbable.

SAP delivers function module CBRC_PUR_DOCUMENT_BLOCK, but it only

issues a user dialog suggesting that the PO item block is set manually.

We want SVT to set the block automatically.

When saving a purchase order with a substance quantity threshold

exceeded, module CBRC_PUR_DOCUMENT_BLOCK is executed twice. During the

second run, import parameter I_EBELN is filled with the PO number, but

it does not exist on the database yet (tables EKKO and EKPO). Could you

please advise how to access the PO data before it is written to the

database?

I was thinking to have a report scan the PO items and set the block by a program,but i rather have it done upon saving.

regards

Peter

View Entire Topic
christoph_bergemann
Active Contributor
0 Kudos

Dear Peter

may be check:

http://www.stechno.net/sap-notes.html?view=sapnote&id=1345841

and:

http://www.consolut.com/en/s/sap-ides-access/d/s/doc/H-CCRCE_FCT_CHK_BLOCK

http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-CBRC_ONLINE_CHECKS

and: http://help.sap.com/bp_chem603/BBLibrary/Documentation/857_BB_ConfigGuide_EN_DE.doc

We do not use the "block" option in SVT; but customizing etc. allows to replace: CBRC_PUR_DOCUMENT_BLOCK

by customer specific one. I assume with the help of some consultant you could "rearrange" code etc. to block automatic.

May be check once again:

http://help.sap.com/erp2005_ehp_06/helpdata/en/43/96f989fad02293e10000000a1553f6/content.htm?framese...

Chapter " Online Checks" and the OSS mentioned here (Note 1263281)

and may be:

http://help.sap.com/erp2005_ehp_06/helpdata/en/46/1377f0be9e5876e10000000a11466f/content.htm

Chapter "BAdI Implementations for Online Check"

May be this helps to go on

C.B.