Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI ME_PROCESS_REQ_CUST - invalidate item

MariaJoãoRocha
Contributor
0 Kudos

Dear SAP,

We are using BADI BAPI ME_PROCESS_REQ_CUST and pretend to flag parameter re_valid as mmpur_rule_invalid, on the method PROCESS_ACCOUNT

or PROCESS_ITEM.

According to note Note 611175 - ME_PROCESS_REQ_CUST: Documentation, we must use method is_valid, but the parameter re_valid has type returning.

How can we invalidate the document item?

Thanks in advance,

Maria João rocha

2 REPLIES 2

Former Member
0 Kudos

Have you ever solved this problem?

André

Former Member
0 Kudos

Try setting BROKEN_RULES.

Sample code.

DATA: lv_object TYPE REF TO object,

lv_attrib TYPE string.

FIELD-SYMBOLS: <fs1> TYPE ANY.

lv_attrib = 'MY_STATE->BROKEN_RULES'.

ASSIGN lv_object->(lv_attrib) TO <fs1>.

SET BIT 2 OF <fs1>.

George Centino