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 & report problem

Former Member
0 Likes
455

Hi

experts can u please help me.my problem is i want to know that how to read the value against a particular field by read statement .like i want to read emo_amend against order no.(both r in same table ymt_mill_order.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
439

hi Gaurav,

do this way ..


loop at ymt_mill_order.
   lv_tabix = sy-tabix.
   clear emo_amend.
   read table emo_amend with key order = ymt_mill_order-order.
   if sy-subrc = 0.
      <get the fields that you want>
   endif.
endloop.

3 REPLIES 3
Read only

Former Member
0 Likes
440

hi Gaurav,

do this way ..


loop at ymt_mill_order.
   lv_tabix = sy-tabix.
   clear emo_amend.
   read table emo_amend with key order = ymt_mill_order-order.
   if sy-subrc = 0.
      <get the fields that you want>
   endif.
endloop.

Read only

Former Member
0 Likes
439

hi

<b>read table itab with key order no = <value> .

into work area.

move work area-emo_amend to <varable of type emo_amend ></b>

regards

ravish

<b>reward if useful</b>

Read only

Former Member
0 Likes
439

Hi,

please check out the link below it might help you

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3605358411d1829f0000e829fbfe/content.htm

**********please reward points if the information is helpful to you*****************