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: 

BDC Question

Former Member
0 Kudos

Hi,

I have created a recording to change the EAN/UPC Category field in mm42 transaction. Now my problem is e.g if we have 5 rows in the grid of ean/upc. sometimes I want to change 2nd and some time 3rd depending upon my load file. My question, is there any way that I can read the grid based on my load file data and then change that line.

e.g

aa 1234

bb 3333

cc 5555

so according to my load file, I just need to change 3rd record which is CC. How to achieve this. If it's static all time then i can use bdc_cursor to 3rd line but its dynamic. How to achieve this.

Thanks,

Moderator message: please use more descriptive subject lines for your posts.

Edited by: Thomas Zloch on Feb 9, 2011 10:41 AM

4 REPLIES 4

former_member404244
Active Contributor
0 Kudos

Hi,

First get the data from db table and then sort it itemwise... Now loop your internal table and then check the field value with ur load file value ...once it matches means you know the record you need to modify...Hope you got

Regards,

Nagaraj

Former Member
0 Kudos

Mostly,

Use the Combinations to select the proper field,

Like,

EAN, Batch, Grid, Material.

Use this combinations,

This is AFS Domain Specfic fields, so just check witih this fields, & filter the data, you will get solution.

Thanks & Regrads,

Dileep .C

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi ,

You can use BAPI_MATERIAL_SAVEDATA for changing International article numbers.

and If you want to change your main EAN then you have mention it in the UOM table.

Its clearly mentioned in the documentation.

BDC for EAN change is complicated.

Former Member
0 Kudos

Hi,

Fetch the data from database table and then see the sequence of data stored in table & on screen then you can find the way to identify the row in the screen while running BDC.

Hope this helps.