02-09-2011 5:19 AM
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
02-09-2011 5:46 AM
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
02-09-2011 7:19 AM
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
02-09-2011 11:29 AM
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.
02-15-2011 10:27 AM
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.