cancel
Showing results for 
Search instead for 
Did you mean: 

mass processing function for production/process orders - set deletion flag

sven_schneider2
Explorer
0 Kudos

With SAP ERP 6.0 EHP3 and activating business function LOG_PP_MIS you get new functions for mass processing of production-/process-orders.

In compound with Transaction CISL you can change list types and correspondig mass processing functions.

There are two new undocumented mass processing functions for production-/process orders with list type order header PPIOH000 (transaction COHV/COHVPI):

 

260          Set Deletion Flag

270          Set Deletion Indicator

 

At least "260 set deletion flag" function seems to be working.(I could only test this)

 

Before activating of business function LOG_PP_MIS these two mass processing functions were explicitly inactivated in function module CO_WORK_REGISTERED_FUNCTIONS_S.

(look for constants cowrk_c_fct_delflag or cowrk_c_fct_delind / comment "also delete functions which are not supported in COHV yet")

 

Does anyone know whether these functions were officially released or where they are documented?

 

Otherwise we would have to implement a class with BAPI_PROCORD_SET_DELETION_FLAG with integration into the navigation profile of COVH / COHVPI.

That's what I wanted to avoid, if there is already a standard implementation.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Sven and Dee,

any News on this Topic? what are your experiences? Do you use the functionalities?

regards
and thanks

Horst

sven_schneider2
Explorer
0 Kudos

Here the answer from SAP Enterprise Support :


The mass processing functions

  • Set deletion indicator
  • Set deletion flag

are implemented at least since ECC 6.0. In
addition the BAPIs for the process orders support these 2 functions as well.

With the business function  LOG_PP_MIS available in ERP 6.0 EhP3  it is possible to
activate COISL (change list types). With this transaction you can select the two
functions also for mass processing in COHVPI.  So, these functions are
officially released and supported.

Unfortunately, this is not yet documented
(in the official documentation nor in the release note). -> We will do this
in the nearer future.

If you need an official note, we could
update an FAQ note asap.

Sven

Answers (3)

Answers (3)

DominikTylczyn
Active Contributor
0 Kudos
Former Member
0 Kudos

Thanks for your fast reply!

So, I guess that you activated LOG_PP_MIS (see also note 1819470) , changed PPIOH000 in COISL and restricted access to those new functions? If so, then how?

Thanks again

regards

Horst

sven_schneider2
Explorer
0 Kudos

Horst,

hope I understand your question?

First activate BF LOG_PP_MIS.

(In SFW5 check, that there are no activation error. If so, resolve them.)

We have then add function "260 Set deletion flag" in COISL.

Restrict access to these functions --> see my posts above or FM-documentation to the corresponding BAPI in SE37. (use authority object C_AFKO_ATY in your PFCG role)

Former Member
0 Kudos

Hi Sven,

thanks a lot!

rg

Horst

dejoy
Active Contributor
0 Kudos

Hello Sven,

Its good to know that these functions provided in LOG_PP_MIS but i also did not find any documentation or release info.

     you can use t-code CO78 as another option to flag deletion.Here choose first option"deletion flag/deletion indicator" only and flag collectively.

Regards,

sven_schneider2
Explorer
0 Kudos

Hello dee,

yes, but CO78(COA1)/COAC(COA5) or report PPARCHP1/PRARCHP1 are not really intended for production planner or production staff.

This transactions/reports are something for an archive administrator in conjunction with an archive concept.

And if you accidentally marked "set deletion indicator" here, there is normaly no way back. (see note 191216)

In addition, with activating BF LOG_PP_MIS and transaction COISL (typo above :slightly_smiling_face: ) you can only customize "260 Set Deletion Flag" for mass processing transactions COHV/COHVPI.

The same as in COR2.

But my initial question was:

Does anyone know whether these functions were officially released or where they are documented?

Or in other words, can I use this function safely?


Regards Sven

dejoy
Active Contributor
0 Kudos

Hello Sven,

yes you are right as its intended for archiving but i used it once for the same purpose though i have not tried to reset,so i am not aware about the issue you might face in resetting.

     If i found any reference to 260/270,will update here.

Regards,

sven_schneider2
Explorer
0 Kudos

Hello dee,

thanks for your replies.

But there is a further reason, why we can't use these archive functions.


Authority makes the difference for functions "set deletion flag/indicator":

  • in COAC(COA5) you need archive/delete rights with C_AFKO_ATY, ACTVT=06

  • in COR2/COOSPI you need only C_AFKO_ATY, ACTVT=02 (only set deletion flag possible)
    This is the same for COHVPI and mass processing functions 260/270 or corresponding BAPI's
    BAPI_PROCORD_SET_DELETION_FLAG / BAPI_PROCORD_SET_DEL_INDICATOR

Our "normal" users don't have archive/delete rights to C_AFKO_ATY (or generelly to S_ARCHIVE).

This applies to all SARA related archive objects.

Sven