cancel
Showing results for 
Search instead for 
Did you mean: 

how to set the ABAP break-pint in PCR

Former Member
0 Kudos

Dear All,

Please tell me how to set the ABAP break point for a PCR.

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

SumanPoddar
Active Participant
0 Kudos

Hi,

To set the break-point during PCR debugging, there are 2 ways-

1. Using BREAK function. or 2. Using BREAK operation.

You have to set one user parameter from SU01- AB4(ABAP prefix). This ABAP prefix works as input parameter for both function and operation.

See the documentation from SAP.

*1. Using BREAK function :*

Setting a break point

  +Object+

    Function

  +Use+

    The BREAK function allows you to interrupt processing at any point in
    the schema and branch into the break mode.

  +Procedure+

    Interruption will only effective if the parameter entered under Par1 and
    the ABAP/IV prefix are identical.

  +Syntax+

    Par1  ABAP-IV-Prefix
        No check
        All entered values are valid. Setting of the ABAP-IV prefix takes
        place via the menu path "System -> User Profile -> User Parameter".
        The accompanying user parameter is called AB4.

  +Required Entry+

    Parameter 1

  +Example+

    You want to set a break point in payroll as a test. Your ABAP prefix is
    'XX'.

+Access+
  Fct   Par1  Par2  Par3  Par4
  BREAK XX

*2. Using BREAK operation 😘 

BREAK : Setting a Break-Point

  +Object+

    Operation

  +Use+

    The BREAK operation interrupts the processing of rules and branches into
    the debugging mode.

  +Procedure+

    Break-points must be set by each user individually. For a break-point to
    function properly, the description must be identical to the ABAP IV
    prefix which you can maintain via the transaction USER.

  +Syntax+

    OOOOO VVVV

    OOOOO       BREAK       Name of operation

    VVVV                    Identification of the break-point
                            ABAP IV prefix

Regards.

Suman

Private_Member_274426
Active Participant
0 Kudos

Dear...

Run the Schema (Payroll or time) and display log... There u will find that PCR is mentioned Input and Output style. From there u can debug the PCR.