Application Development and Automation 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: 
Read only

BAPI ME_PROCESS_REQ_CUST - invalidate item

MariaJooRocha
Contributor
0 Likes
842

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
Read only

Former Member
0 Likes
511

Have you ever solved this problem?

André

Read only

Former Member
0 Likes
511

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