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

bdc..table cntrl

Former Member
0 Likes
713

hi there,

I have to update material discription to other language for 14,000 records.

1. which method is the best a.call tran 2. session (i prefer)

2. in third screen, afer vews selection (basic view), clicking 'additional data', we will get a table control to enter language and discription.

how can i check the language 'en' exits already or not to enter my required language in second row. if english is there i need not to change it, i shud enter my language in second. ow in first.

points will be awarded:)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

Hi,

Look u can set sy-langu = en in the options available when u call function upload/ws_upload.

Pls reward points.

Regards,

Ameet

6 REPLIES 6
Read only

Former Member
0 Likes
689

Hi

In the BDC program within the Loop..endloop

of the code

starting immediately after LOOP...write a select statement to MAKT table to check whether a record(description) exists in MAKT for that Material or not.

If sy-subrc<> 0.

process the upload of descriptions in MM02..

endif.

Reward points for useful Answers

Regards

Anji

Read only

0 Likes
689

i got it almost.

we can see 3 possibilities

1. having both en and sv.

2 sv only.

3. no sv only en

where i need to update sv.

how can i get it

Read only

0 Likes
689

HI,

In MAKT table there is a field SPRAS. So you can read the table MAKT with SPRAS = 'EN'.

Thanks and regards,

shyla

Read only

0 Likes
689

Hi,

In selection from MAKT put langu field as other than the language that u want.

Regards,

Saurabh

Read only

Former Member
0 Likes
690

Hi,

Look u can set sy-langu = en in the options available when u call function upload/ws_upload.

Pls reward points.

Regards,

Ameet

Read only

0 Likes
689

HI

depending on the sy-langu required language position changes.

if sy-langu = en.

in table control..

en english descritption.

sv swedish desc

if sy-langu = sv.

sv swedish desc

en english disc

if sy-langu = de

sv swedish desc

en english desc

i how can i know the position of sv in table control to update it's discription . it would not be depended on sy-langu..

any idea???

urgent plzzz

position of table control: mm02>enter matnr>basic view1-->click additional data..