Skip to Content
author's profile photo Former Member
Former Member

badi_ehsrc_track_proc impl. not updating monitoring tables for PUR scenario in SVT

In SVT purchasing scenario we are trying to update the monitoring tables for planned quantities(CCRCT_PUPL) and confirmed quantities(CCRCT_PU) respectively using program RREGCH_VT.

We are entering the below mentioned values in the selection screen.

  • Regulatory list : REACH
  • Scenario: PUR
  • Radio button : Delta Run


We have found a badi badi_ehsrc_track_proc called inside FM: CBRC_PUR_DATA_FILL which updates the monitoring table. Also for the definition for the badi SAP has provided an example class: CL_EXM_IM_EHSRC_TRACK_PROC which we are referring for badi implementation.


Inside the class it refers to a method IF_EX_BADI_EHSRC_TRACK_PROC~DATA_FILL which actually updates the monitoring tables based on scenarios. The code written inside the method refers to a lot of check conditions which requires to be satisfied before the tables are updated with the values.


PROBLEM:

Since we are running the report for PUR scenario the code checks whether the internal table X_PU_TAB or X_PU_DEL_TAB is not empty. But in our case no values are getting populated in either of the tables for normal purchase scenario.

We investigated on why the values are not getting populated in either of the tables. We found a FM: CBRC_PUR_MSEG_CO_FILL which is called inside the FM: CBRC_PUR_DATA_FILL.

But in debugging we were unable to find the root cause on why the condition tables were populated with no values. So we were unable to satisfy the check conditions inside the BADI implementation.


Kindly provide any pointers on this BADI implementation. Any sample code apart from that mentioned in the example classes would be really helpful.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 11, 2014 at 07:43 PM

    Dear Kapil

    please list the customizing activities you have executed to do the SAP EHS SVT set up.

    Please describe how you have scheduled RREGCH_FILL

    PLease describe how you identify EHS SVT relevant materials; how you maintain the data in EHS etc.

    In most case you need not to use the BADi badi_ehsrc_track_proc to get a useful EHS SVT set up.#


    Do you know the SAP EHS SVT consulting OSS note in which the EHS SVT set up is decribed? Please check: Substance volume tracking in SAP EH&S


    C.B.

    PS: EHS SVT is asked for rarely here. But there is a general document available: Important OSS Notes for Substance Volume Tracking

    May be check as well: SAP EHS Management for Beginners

    Here some reference is provided to other SVT related threads

    PPS: may be check as well:#consolut - IF_EX_BADI_EHSRC_TRACK_PROC MENU_EXIT_CALL - Call Menu Exit During Volume Monitoring

    consolut - BADI_EHSRC_TRACK_PRO - BAdI: Substance Volume Tracking (Enhancement Tracking Process)

    C.B.

    PS: please describe content in tables as:

    SAP Table CCRCT_EHS_COMP - EHS: Composition (EH&S Data)

    CCRCT_EHS_REG EHS: Registration Status (EH&S Data) - SAP Table - ABAP

    etc.

    PLease provide information about SAP release you are using (SP status etc.)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 15, 2016 at 06:16 PM

    Dear Kapil

    I need to look on this function now as well deeper. According "default implementation". you must activate one business function. Therefore: with out knowledge how you have done the job no additiona help possible.

    C.B.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.