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

Plz help with BDC coding

Former Member
0 Likes
383

Hi,

In the QM view of mm02 I have 5 rows containing inspection types 1,2,5,7,15. When I do the BDC recording to delete insp type 5, the BDC cursor is on position (03) RMQAM-SELEKT(03). How do I write the BDC code to select the row based on inspection type. RMQAM-ART(05) where ART is the insp type field selects row 5 which has insp type 15.

Regards,

bindazme

2 REPLIES 2
Read only

Former Member
0 Likes
347

Hi,

What I understand from the your question is that you want to make changes on a particular row but in recording that row is shown as (03) or (05) and likewise.

What I can suggest is that there must be a line number for the row which you want to change.Also line number field must also have an entry in the respective field.If you observe closely the recordings have a pattern of 03 for line 30 05 for line item 50 and so on.You can read that line item field from the table itself and then divide it by 10 to get the correct number.Store it in a variable.Make sure that the variable type is such so that ypu get 03 and not just 3(use type i).Then concatenate the entire text for the bdc cursor using the variable and then use it in you program.

Hope it works,

Thanks,

Sandeep.

Read only

0 Likes
347

Hi Sandeep,

You are correct about my question. How do I find out which field holds the line number. The structure holding the row info is RMQAM. Any other info about line item will be helpful.

thanks and regards,

bindazme