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

Call transaction Error

Former Member
0 Likes
466

Hi All!

i made this program to reverse a transaction (CN29) using call transaction.

in the transaction, i need to select a certain activity in a network to reverse it.

i made a logic to know which line item it is i need to reverse and made a variable to assign the line item number.

in the bdc code, it is returning this error.

Field RC27X-FLG_SEL . not found in loop of screen

my code is as follows:

'X' 'SAPLCORU' '2160',

' ' 'BDC_CURSOR' 'CORUF-UPD_ICON(02)',

' ' 'BDC_OKCODE' '=ISTR',

' ' 'RC27X-FLG_SEL(ly_index)' 'X',

' ' 'RC27X-FLG_SEL(05)' ' ',

lv_index is the variable.

i am quite sure my logic getting the index is correct.

Please help.

Thanks !!!

- joan

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
397

Declare lv_index as type c or type n.

concatenate 'RC27X-FLG_SEL(' lv_index ')' into lv_field.

condense lv_field.

Then pass lv_field 'X'.

1 REPLY 1
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
398

Declare lv_index as type c or type n.

concatenate 'RC27X-FLG_SEL(' lv_index ')' into lv_field.

condense lv_field.

Then pass lv_field 'X'.